473,394 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Could not load file or assembly..The system cannot find the file specified

Hi All,

I developed Outlook add-in with VS 2005 , everything work fine , until the
machine reboot unnormally , when I opened the solution again

many projects was not there ! (I have more then 10 project that depends each
other).

I add them again , also add the primary output again to the setup project.

the build was without errors but I saw that it's skip all the
sub-projects... even if the dependencies was ok ! , so based on the article
on

http://forums.microsoft.com/MSDN/Sho...72098&SiteID=1

and change the solution configuration that will build all etc..

the build + setup was correct , but then when I run outlook the add in start
to throw exception that some assmbly (the based one that all other dependes
on him) is not find

Could not load file or assembly 'Types, Version=1.0.2420.758

I saw that it was copied to the program files\app folder etc , but the
version number was different ! 1.0.2423.18652 instead of 1.0.2420.758 that
the runtime looked for

when I looked in reference to this assembly in other projects that reference
it - its point to the 1.0.2423.18652 (newer version) also.

Why the runtime looked for other version and how I can solve it ?

also , when I try to go to some backup version of my solution before all the
bugs that worked fine... it also throw the same error !

thanks a lot
Aug 20 '06 #1
2 11078
Hi Semedao,
I developed Outlook add-in with VS 2005 , everything work fine , until
the machine reboot unnormally , when I opened the solution again many
projects was not there !

Do you mean that after the machine reboot unnormally, you opened the
solution only to find that many projects couldn't load in the solution?

Maybe this is just a phenomenon that has no relation the problem. I know
that if we change the locations of the sub-projects and open the solution
in VS again, VS won't find the sub-projects. Is this the reason?
Why the runtime looked for other version and how I can solve it ?
Maybe the reason is that you haven't rebuilt all the relevant sub-projects.
Is the setup project in the same solution? If yes, you could rebuild the
setup project to rebuild all the relevant sub-projects one by one. To do
this, right click the setup project in the Solution Explorer and select
Rebuild command from the shortcut menu. Then you may reinstall the add-in
program.

Please try my suggestion and let me know the result.
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 21 '06 #2
Hi Linda,
first thank you for the answer.
but I already solve it , I try all what your suggestions , but what solve it
in the end was:
1. because of the re-adding of the project , for some reason , the
configuration changed from debug to release..
so I changed it back to debug.
2. I changed the all project assmebly version to higher version.
I write it here , for others that will have the same problem :)
thanks

"Linda Liu [MSFT]" <v-****@online.microsoft.comwrote in message
news:Fi****************@TK2MSFTNGXA01.phx.gbl...
Hi Semedao,
>I developed Outlook add-in with VS 2005 , everything work fine , until
the machine reboot unnormally , when I opened the solution again many
projects was not there !

Do you mean that after the machine reboot unnormally, you opened the
solution only to find that many projects couldn't load in the solution?

Maybe this is just a phenomenon that has no relation the problem. I know
that if we change the locations of the sub-projects and open the solution
in VS again, VS won't find the sub-projects. Is this the reason?
>Why the runtime looked for other version and how I can solve it ?

Maybe the reason is that you haven't rebuilt all the relevant
sub-projects.
Is the setup project in the same solution? If yes, you could rebuild the
setup project to rebuild all the relevant sub-projects one by one. To do
this, right click the setup project in the Solution Explorer and select
Rebuild command from the shortcut menu. Then you may reinstall the add-in
program.

Please try my suggestion and let me know the result.
Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.

Aug 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eric Falsken | last post by:
Eric Falsken <eric@db4o.com> wrote on 04 Dec 2005: > craigkenisston@hotmail.com wrote on 19 Nov 2005: > >> I'm working in the migration of an asp.net application in 1.1 to 2.0. >> I'm new to...
1
by: urs | last post by:
Two days ago, I built an ASP.NET 2.0 application and published it on a shared IIS 6 Web server. After publishing, and during the whole day, it worked fine. The server remained untouched since....
1
by: ddelaney | last post by:
I've seen this posted before in many places, but have yet to find a real fix. I have a web application on dev server right now, and randomly, hours or days, it returns the expception posted below. ...
3
by: Yusuff | last post by:
Hi, I Have created an external assembly to generate a GUID. The class is static. I am trying to access it in the Message Assignment shape in the orchestration. It seems that I can access the...
0
by: dave.dolan | last post by:
I haven't changed the code I'm running for a long time, and it's been working. Now, starting yesterday, I keep getting an error randomly when I load my site. It doesn't happen every time, but...
2
by: antonyliu2002 | last post by:
I am testing AJAX. I've downloaded the AJAX Extension and the CTP December package and installed on BOTH my development machine and the production server. Then I created a very very simple web...
3
by: pratikkagda | last post by:
Hi all, My system contains Framework 3.5 with visual studio 2008 as well as 2005; here I have developed an application with crystal report with framework 2.0. It is working great in my system but...
0
by: Andy | last post by:
Thanks Peter, I thought I'd give an update on this problem. My application had 2 assemblies that contained classed for the Data access and business logic layer. It was on one of them that I was...
1
by: Steve Wofford | last post by:
I am recieving the following. This happens when I moved it from my development system to our production SBS 2003 w/ latest .net frameworks and service packs . I developed under XPSP2 and VS2008. ...
4
by: lasida | last post by:
Hi, I have developed an application in C#. Now I'm working on a tool which is again written in c# which will give me all the assemblies referenced by my application. In the code i need to get...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.