System.Security.SecurityException

G

Guest

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.SecurityPermission"
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
 
E

Ehab El-Gindy

Dear Seok,
Tell me whether you are running the application using an administrator
account or not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top