473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Windows service security exception

Hi,
I am having a windows service project which is built by someone else and I have to understand the fuctionality. While running the service I am getting the following exception.

"An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll

Additional information: Request for the permission of type System.Security.Permissions.RegistryPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed."

The solution is having some 20 projects. Its showing this exception in a few projects exe.

I am getting the follwoing kind of debug output in different exes.

'AutoRecoveryAgent.exe': Loaded 'M:\GKS\NerveCenter\AutoRecoveryAgent.exe', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\ntdll.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\mscoree.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\kernel32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\advapi32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\rpcrt4.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\shlwapi.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\gdi32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\user32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\imm32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\lpk.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\usp10.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorw ks.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\msvcr7 1.dll', Symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion .dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\ole32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\shell32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\comctl32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorl ib.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\assembly\NativeImages1_v1.1.4322\mscorli b\1.0.5000.0__b77a5c561934e089_c9960a75\mscorlib.d ll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscors n.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\urlmon.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\version.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\mpr.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\drprov.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\ntlanman.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\netui0.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\netui1.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\netapi32.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\netrap.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\samlib.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\system32\davclnt.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\assembly\GAC\System\1.0.5000.0__b77a5c56 1934e089\System.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\assembly\NativeImages1_v1.1.4322\System\ 1.0.5000.0__b77a5c561934e089_6e0a5663\System.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\assembly\GAC\System.Drawing\1.0.5000.0__ b03f5f7f11d50a3a\System.Drawing.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\assembly\NativeImages1_v1.1.4322\System. Drawing\1.0.5000.0__b03f5f7f11d50a3a_5e686291\Syst em.Drawing.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\mscorj it.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'M:\GKS\NerveCenter\AMAT.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'M:\GKS\NerveCenter\NARABrain.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'C:\WINNT\Microsoft.NET\Framework\v1.1.4322\diasym reader.dll', No symbols loaded.
The thread 'Win32 Thread' (0x9b0) has exited with code 0 (0x0).
'AutoRecoveryAgent.exe': Loaded 'c:\winnt\microsoft.net\framework\v1.1.4322\mscorl ib.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c56 1934e089\system.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'c:\winnt\assembly\gac\system.drawing\1.0.5000.0__ b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'M:\GKS\NerveCenter\AutoRecoveryAgent.exe', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'm:\gks\nervecenter\amat.dll', No symbols loaded.
'AutoRecoveryAgent.exe': Loaded 'm:\gks\nervecenter\narabrain.dll', No symbols loaded.
An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll

Additional information: Request for the permission of type System.Security.Permissions.RegistryPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

The thread 'Win32 Thread' (0x158) has exited with code -532459699 (0xe0434f4d).
The program '[1608] AutoRecoveryAgent.exe' has exited with code 0 (0x0).
The program '[1608] AutoRecoveryAgent.exe: Native' has exited with code 0 (0x0).


Please help.its very urgent.

Regards,
Pratika...
Nov 27 '06 #1
0 1689

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chris | last post by:
Hello all, Here is my problem. I have a windows service (C#) that is supposed to move files from/to the local drive to/from a UNC share (\\domainserver\share). The service is running on a Win3k...
4
by: androoo | last post by:
Hi I have a windows control I embed onto an aspx page which is grabbing a dataset from the client and sending it to the server through a webservice. This works fine in a windows app. However...
3
by: Doug Bailey | last post by:
I am trying to control a Windows Service via a Web Service interface. (I am developing in .NET2003) I am using the ServiceController object which allows me to read the state of the services with...
6
by: Jimmy | last post by:
Hi, I need to develop a secure Web Service that requires a username and password. One of the requirements is that the WS supports Windows Authentication, meaning accepts the username and...
0
by: CESAR DE LA TORRE [MVP] | last post by:
I am using WSE 3.0 with Visual Studio 2005, specifically I'm using Kerberos authentication and passing Kerberos ticket from Presentation Tier (VSTO.2005 client) to Server Tier through our Web...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
3
by: gourmet | last post by:
Hello! I need to restart the "Windows Audio Service" (audiosrv) via C#. I'm using the ServiceController Class to do this. It is no problem under XP and no problem under vista if UAC is...
7
by: GD | last post by:
Hi, I am trying to call a webservice from a windows service application. It works only if I launch the windows service app from VS.Net 2005 (Worked around from Main()) or from a winform test...
5
by: =?Utf-8?B?cnZhbmdlbGRyb3A=?= | last post by:
Hello, I have a problem with our OnlineBackupService.exe. This is a Windows Service which is built in .Net 1.1 and basically grabs files from the file system and will try to upload them using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.