|
-
Feb 11th, 2003, 08:20 AM
#1
Thread Starter
Fanatic Member
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.
-
Feb 11th, 2003, 09:01 AM
#2
Registered User
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)
-
Feb 11th, 2003, 09:22 AM
#3
Thread Starter
Fanatic Member
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.
-
Feb 11th, 2003, 01:18 PM
#4
Sleep mode
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:
Try
Dim frm As Form1
frm.Name = "error"
Catch x As Exception
MsgBox(x.Source)
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|