the registry
System.Security.SecurityException: Requested registry access is not allowed.
I followed the following article and I still get the error:
http://support.microsoft.com/defaul...kb;en-us;329291
Any suggestions?
ThanksWhen you say write to the registry, do you mean using the EventLog? Or do
you mean explicitly writing to the registry? The account that your ASP.NET
code is running as needs the rights to do whatever you're trying to do. Under
IIS5 it's the local ASPNET account. Under IIS6 it's the local Network Service
account.
-Brock
DevelopMentor
http://staff.develop.com/ballen
> I keep getting this error when my asp.net application tries to write
> into
> the registry
> System.Security.SecurityException: Requested registry access is not
> allowed.
> I followed the following article and I still get the error:
> http://support.microsoft.com/defaul...kb;en-us;329291
> Any suggestions?
> Thanks
Actually the problem was that I did not creat the Installet class properly
so Gacutil was unable to create the right permissions for my ASPNET user.
Thanks for your help
"Brock Allen" <ballen@.NOSPAMdevelop.com> wrote in message
news:763197632520356933089056@.msnews.microsoft.com ...
> When you say write to the registry, do you mean using the EventLog? Or do
> you mean explicitly writing to the registry? The account that your ASP.NET
> code is running as needs the rights to do whatever you're trying to do.
> Under IIS5 it's the local ASPNET account. Under IIS6 it's the local
> Network Service account.
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>> I keep getting this error when my asp.net application tries to write
>> into
>> the registry
>> System.Security.SecurityException: Requested registry access is not
>> allowed.
>> I followed the following article and I still get the error:
>> http://support.microsoft.com/defaul...kb;en-us;329291
>>
>> Any suggestions?
>>
>> Thanks
>>
0 comments:
Post a Comment