473,473 Members | 1,881 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

COM files cannot be found by the system

seraieis
60 New Member
Hello all,

I'm having an issue that, frankly, I don't understand. I've been developping a VB.NET application for months and today, when I open the solution file, and tried rebuilding it, I am getting several errors, all various permutations of "The referenced component 'SOMETHING' could not be found." There are 5 COM objects that it cannot seem to load (Excel, Office.Core, VBIDE, Word, and OISSERVERLib).

When I go into the References section, I see next to those COM objects, the path is now shown as "<The system cannot find the reference specified>". I've followed the steps outlined here, including updating the reference paths to directly point to the files, but nothing seems to be fixing the issue.

Does anyone know what could be causing this, or (even better) how to fix it? This is the first time in 4 years that I've encountered an issue like this.

I've attached a zip file containing a screen print of Visual Studio showing the errors.

Thank you in advance!
Attached Files
File Type: zip screen.zip (157.0 KB, 79 views)
Nov 4 '09 #1
3 2395
Plater
7,872 Recognized Expert Expert
That probably happened after some update to office from microsoft update or something.

Why are you referencing them directly? Shouldn't you be using the ms office interop dll?
Nov 4 '09 #2
seraieis
60 New Member
I am using the interop DLL referenced through Visual Studio. I had attempted to connect to them directly when this error first occured.

But, I'm glad (albeit confused) to report that the issue has cleared itself up. It just started working again yesterday morning. Neither I nor tech support has done anything to my computer, but I'm not going to complain!

Thanks!
Nov 10 '09 #3
!NoItAll
297 Contributor
I ran into a similar problem a couple of years ago. It was because I had done a deployment of my appliction using InstallShield and tested the full install AND removal on my machine. Well, it did work; it removed all of the com components I had installed to use with the project!
I found I had to reinstall everything. Spit.
Could you have done this, or something similar?
Nov 29 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Kay Lee | last post by:
Hi, I looked up os module to find out some method to move and copy files in python, but os doesn't support such methods. Is there any way to move & copy files in python? Thanks in adv.
11
by: MM | last post by:
Hi I have never written any C programs before, but it seems that I need to do so now. Hope some of you out there can spend a few minutes and help me by writing a simple example of something...
3
by: James | last post by:
Hi, I'm importing some csv files with this code /// start of code snippet int iPos = strFileName.LastIndexOf(@"\"); string strPath = strFileName.Substring(0,iPos); string strSelect =...
0
by: tfs | last post by:
I have loaded my .doc files (word documents) into my Sql 2000 server. I am trying to read and display the doc files in my ASP page. The error I get is Internet Explorer cannot download...
5
by: Bas Hendriks | last post by:
Has anyone any idea how asp.net find it's files back after compiling them to the temporary asp.net directory? I found on numerous webpages that the directorynames are chosen random but cannot find...
0
by: Don | last post by:
I intermittently get a runtime Compilation Error that says 'The compiler failed with error code 2000'. It appears that a DLL cannot be found in the 'temporary asp.net files' directory. The...
0
by: thejamie | last post by:
I am unable to add three needed text files into a web setup distribution. Application runs fine in debug mode. I have placed the three files into the setup project and deployed it to my localhost....
5
by: Robert Dufour | last post by:
I am trying to use framework 1.1 - stuck with it. to send emails from a windows form application. The email messages can have attachments, usually two and they can be either text or sounds (wav...
4
by: Joey | last post by:
asp.net 2/C#/VS2005 I have a web app where I use a stream writer to create a CSV (text) file. I then use my code to save the file in the site's 'App_Data' folder, in a subfolder called 'Temp'....
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.