I am trying to open my .exe which resides on another machine on my network,the directory and .exe is shared, but I keep getting this JIT Debugging message:
JIT Debugging Failed with the following error: Class not registered
Please check the documentation topic 'Just-in-time debugging errors' for more information.
It may also be a permissions issue. Since COM (and parts of .NET) are wired into the registry, and partial trust applictions can't access a lot of local resources.
By default network shares only have partial trust by the .NET framework, where as local drives have full trust.
Go into start -> Control Panel -> Administrative Tools -> Microsoft .NET Framework 2.0 Configuration
From here use the image below to change your local intranet trust level to full.
(You also have the option of only giving full trust to your application specifically, instead of all network locations. That is up to you)
Thanks for the welcome!
kleinma....I tried what you suggetsed and it worked. I was looking for more information on why that effects the app, but couldn't find any info. Do you know why\how "trust" effects my app?
I am not sure of any full listing of permissions versus security levels, but that doesn't mean there isn't one.
specific objects and methods in the MSDN documentation will have a section on security and will specify what security those actions require to be carried out. Usually its stuff like writing to the registry, file access, etc...