470,615 Members | 2,342 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,615 developers. It's quick & easy.

System.Security.SecurityException was unhandled

Dear Experts,

I've created a Console application to perform a checking of an Excel file.
During development using vb.net in Visual Studio 2005, the application is
running fine. I can get my expected result. Then I move the executable files
and related *.dll files into a server to schedule for execution. The server
is running on Windows 2000 sp4 and installed with .NET Frameword 1.1 and 2.0.
When I execute the application I received and error message. The error is as
follow shown in the debugger:

System.Security.SecurityException was unhandled
Message="System.Security.Permissions.SecurityPermi ssion"
Source="SPQAutomation"
StackTrace:
at SPQAutomation.SPQAutomation.Main()
While, from the Application log in Event Viewver I have the following error:

Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date: 15-Feb-06
Time: 6:57:51 PM
User: N/A
Computer: IT3
Description:
EventType clr20r3, P1 spqautomation.exe, P2 1.0.0.0, P3 43f3058e, P4
spqautomation, P5 1.0.0.0, P6 43f3058e, P7 18, P8 1, P9
system.security.security, P10 NIL.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

May I know, what should I do/configure in the server in order for my
application to be executed?
Many thanks in advance.

Regards,
SB

Feb 15 '06 #1
0 1926

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Sam | last post: by
reply views Thread by James B | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.