Enterprise Library
-
Hi, i need help with this. Im using the enterprise library in my asp.net application. I made a web service that uses it. But when i try to test the web service i receive the next error: System.TypeInitializationException: The type initializer for "Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent" threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed. I have looked for this in google, and i have found that i should give access and permissions to the folder event log in Registry Editor\system\currentcontrolset\services. But i dont have the permissions option when i rigth click on this folder. What kind i do with this error? What else u recommend me?
The option is called 'security'. Having said that, your exception is not about file system access, it's about access to the registry. Christian Graus - Microsoft MVP - C++
-
The option is called 'security'. Having said that, your exception is not about file system access, it's about access to the registry. Christian Graus - Microsoft MVP - C++
-
Ok, im run regedit...and in the folder EventLog i see this options: Expand New Find... Delete Rename Copy Key Name I dont see the option "security", i guess im in other folder....
Ah... sorry, I thought you were looking at a FOLDER, you're looking at registry keys. There is indeed an option called 'permissions'. Are you running as admin, perhaps it's hidden from you ? Christian Graus - Microsoft MVP - C++
-
Ah... sorry, I thought you were looking at a FOLDER, you're looking at registry keys. There is indeed an option called 'permissions'. Are you running as admin, perhaps it's hidden from you ? Christian Graus - Microsoft MVP - C++
Yea, im a user administrator of the server. Its not hidden, i mean its not even disable, this option just doesnt appear. If it helps, i can see this option running regedt32, but i gave to it the permissions for the aspnet user of the server...but still doesnt work, i receive the same error...i guess its on regedit, but i dont see the option "permissions"... thanks..
-
Yea, im a user administrator of the server. Its not hidden, i mean its not even disable, this option just doesnt appear. If it helps, i can see this option running regedt32, but i gave to it the permissions for the aspnet user of the server...but still doesnt work, i receive the same error...i guess its on regedit, but i dont see the option "permissions"... thanks..
BECK7 wrote: i guess its on regedit, but i dont see the option "permissions"... Well, if you set it in regedt32, then it's set. I dunno what's up with regedit tho, it's not like you'd have a different version to me. Christian Graus - Microsoft MVP - C++
-
BECK7 wrote: i guess its on regedit, but i dont see the option "permissions"... Well, if you set it in regedt32, then it's set. I dunno what's up with regedit tho, it's not like you'd have a different version to me. Christian Graus - Microsoft MVP - C++
-
i set it in regdt32, but its not still working...how u get into the option permissions? what way u take? maybe im lost....
BECK7 wrote: i set it in regdt32, but its not still working... Then the user is not the asp.net user, or some other problem exists. BECK7 wrote: how u get into the option permissions? Right click on the folder icon, permissions is in the menu. Christian Graus - Microsoft MVP - C++
-
BECK7 wrote: i set it in regdt32, but its not still working... Then the user is not the asp.net user, or some other problem exists. BECK7 wrote: how u get into the option permissions? Right click on the folder icon, permissions is in the menu. Christian Graus - Microsoft MVP - C++
-
I have no idea why you can't see it, but I don't see the problem. You only have one registry, both programs access it, it doesn't matter which one you use to set the permissions. If it doesn't work, you did it wrong, or there is another problem. Set it so anyone can use it, including anonymous users, then see if it works. Christian Graus - Microsoft MVP - C++
-
I have no idea why you can't see it, but I don't see the problem. You only have one registry, both programs access it, it doesn't matter which one you use to set the permissions. If it doesn't work, you did it wrong, or there is another problem. Set it so anyone can use it, including anonymous users, then see if it works. Christian Graus - Microsoft MVP - C++