Results 1 to 4 of 4

Thread: Error descriptions?

  1. #1

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    Error descriptions?

    Does any one know where I could get mor information on errors that I get from my .NET.

    I got this error and i would like to know what my fault could be:

    An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll

    Additional information: Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

    Today I tried to use some code I used (successful, and error-free) last week, I got that errror this time. Could someone help me please?
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  2. #2
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    The max information that I've been able to get out of the system is with something like the following,.....

    Code:
    Catch ex As Exception
        mb.Show(ex.Message & " - " & ex.StackTrace)

  3. #3

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    thx, I allready found what my error was, I wos running my app from an network disk, it didn't find some dll's
    thanks though.
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    OK , try something else to get the source of error (your app , external app ..)
    It's better your create a function that trap any error and returns a discriptive msgs.
    VB Code:
    1. Try
    2.             Dim frm As Form1
    3.             frm.Name = "error"
    4.         Catch x As Exception
    5.             MsgBox(x.Source)
    6.         End Try

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