PC Review


Reply
Thread Tools Rate Thread

FileNotFoundException on start

 
 
Pascal Cloup
Guest
Posts: n/a
 
      9th Apr 2009
Hi,

I want to update from XP to Vista a windows form application written in C#
with .Net 2.0 and VS2005.

Under Vista, i installed VS2005pro + sp1 + vs2005 update for vista

The solution is correctly generated but when starting the execution i get a
FileNotFoundException (HRESULT : 0x8007007E). What is surprising is that the
program does not reach the Main() function; some static variables are
initialized normally and then this FileNotFoundException ; when i try to
display the details of the exception, the FileName member is null !

Someone have an idea on what can produces this kind of error?

thanks in advance,

Pascal

 
Reply With Quote
 
 
 
 
Pascal Cloup
Guest
Posts: n/a
 
      9th Apr 2009
Hi again,

i found the problem.
It was some dll which were not present on the system i used.

cheers,
Pascal

"Pascal Cloup" <pascal-(E-Mail Removed)> a écrit dans le message de
news:49ddd45e$0$17102$(E-Mail Removed)...
> Hi,
>
> I want to update from XP to Vista a windows form application written in C#
> with .Net 2.0 and VS2005.
>
> Under Vista, i installed VS2005pro + sp1 + vs2005 update for vista
>
> The solution is correctly generated but when starting the execution i get
> a FileNotFoundException (HRESULT : 0x8007007E). What is surprising is that
> the program does not reach the Main() function; some static variables are
> initialized normally and then this FileNotFoundException ; when i try to
> display the details of the exception, the FileName member is null !
>
> Someone have an idea on what can produces this kind of error?
>
> thanks in advance,
>
> Pascal


 
Reply With Quote
 
 
 
 
Jeff Johnson
Guest
Posts: n/a
 
      13th Apr 2009
"Pascal Cloup" <pascal-(E-Mail Removed)> wrote in message
news:49de1772$0$17753$(E-Mail Removed)...

> i found the problem.
> It was some dll which were not present on the system i used.


So, in other words, "file not found"....


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WebServices and getting FileNotFoundException Tim Mavers Microsoft Dot NET Framework 6 27th Apr 2004 08:14 PM
Random FileNotFoundException on assembly containing code for User Control Martin Bertolino Microsoft Dot NET Framework 0 18th Mar 2004 07:10 PM
Re: System.IO.FileNotFoundException Miha Markic [MVP C#] Microsoft Dot NET Framework 1 31st Jan 2004 12:36 AM
Catching FileNotFoundException Kevin Burton Microsoft Dot NET Framework 7 1st Oct 2003 09:50 AM
XmlSerializer, System.IO.FileNotFoundException Chris Aitchison Microsoft Dot NET Framework 0 3rd Sep 2003 01:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:12 AM.