By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,693 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,693 IT Pros & Developers. It's quick & easy.

System.Security.SecurityException was unhandled

P: n/a
Dear Experts,

I've created a Console application to perform a checking of an Excel file.
During development using 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"
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
EventType clr20r3, P1 spqautomation.exe, P2, P3 43f3058e, P4
spqautomation, P5, P6 43f3058e, P7 18, P8 1, P9, P10 NIL.

For more information, see Help and Support Center at

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


Feb 15 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.