471,319 Members | 1,625 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

System.IO.FileNotFoundException problem ?

I wrote one program which can query processes info., it 's work well in my
local Computer, but failed and got the below error when i query remote host
processes,
anybody can help me ?

"Unhandled Exception: System.IO.FileNotFoundException: Explorer.EXE
at System.Diagnostics.FileVersionInfo.GetVersionInfo( String fileName)
at QueryProcess02.Main()"
Jan 9 '06 #1
3 8499
roopeman wrote:
I wrote one program which can query processes info., it 's work well
in my local Computer, but failed and got the below error when i query
remote host processes,
anybody can help me ?

"Unhandled Exception: System.IO.FileNotFoundException: Explorer.EXE
at System.Diagnostics.FileVersionInfo.GetVersionInfo( String
fileName) at QueryProcess02.Main()"


long shot: no-one is logged into the remote system, so no shell has
been started, so explorer.exe isn't running.

FB
--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Jan 9 '06 #2
Hi,
"roopeman" <ro******@discussions.microsoft.com> wrote in message
news:C5**********************************@microsof t.com...
I wrote one program which can query processes info., it 's work well in my
local Computer, but failed and got the below error when i query remote
host
processes,
anybody can help me ?

"Unhandled Exception: System.IO.FileNotFoundException: Explorer.EXE
at System.Diagnostics.FileVersionInfo.GetVersionInfo( String fileName)
at QueryProcess02.Main()"

Post your code

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Jan 9 '06 #3

"roopeman" <ro******@discussions.microsoft.com> wrote in message
news:C5**********************************@microsof t.com...
|I wrote one program which can query processes info., it 's work well in my
| local Computer, but failed and got the below error when i query remote
host
| processes,
| anybody can help me ?
|
| "Unhandled Exception: System.IO.FileNotFoundException: Explorer.EXE
| at System.Diagnostics.FileVersionInfo.GetVersionInfo( String fileName)
| at QueryProcess02.Main()"
If you are using UNC paths make sure they have the correct format.

\\server\path\filename

like:
....GetVersion(@\\myserver\dir\some.doc);

Willy.
Jan 9 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Karl Hungus | last post: by
reply views Thread by rosydwin | last post: by

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.