2
Answers

SQL Server Security Exception Error Message

Rodney Johnson

Rodney Johnson

14y
1.9k
1
Because my laptop "broke" I have had to reinstall SQL Server 2008 R2 Express on my machine.  Now when I run an application I have created I am getting the following error message:

        SecurityException was unhandled by user code

Within the message box the following description is given:

        The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.

When I hit the step into button the app continues.  Is this an issue with my SQL setup?

Thank you,

Rod
Answers (2)
0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 14y
Uninstall all sql instance, remove any temp folders, restart the system. Install SQL Server in administrator role/login, restart, then run the exe as "Run as Adminsistrator" role. Might helps you...
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 14y
I assume that the log is an event log and it is teh security events that are the problem. Do you understand that? The event logs are where Windows puts various error messages and information messages. Originally there were System, Security and Applicaiton logs but now there are many more. So it appears that there is something that SQL Server wants to tell you about security and it cannot. Are you sure that the correct account is being used for SQL Server?