Results 1 to 5 of 5

Thread: debug Error

  1. #1

    Thread Starter
    Junior Member w8taminute's Avatar
    Join Date
    Aug 2006
    Posts
    24

    debug Error

    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.


    Has anyone else ran into this problem before?

  2. #2
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: debug Error

    Welcome to VBF

    Sounds like you got some COM in your app. Make sure you registered all your dlls on the computer you're running this from.

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: debug Error

    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)
    Attached Images Attached Images  

  4. #4

    Thread Starter
    Junior Member w8taminute's Avatar
    Join Date
    Aug 2006
    Posts
    24

    Re: debug Error

    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?

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: debug Error

    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width