Re: How to run aspnet_regiis.exe with on site other than w3svc/1?
- From: Alexey Smirnov <alexey.smirnov@xxxxxxxxx>
- Date: Sat, 23 Jun 2007 22:17:11 -0000
On Jun 20, 8:37 pm, slolife <slol...@xxxxxxxxx> wrote:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe /lk
W3SVC/ 1.1.4322.2300
W3SVC/1029688701/root/ 1.1.4322.2300
W3SVC/1156445961/root/ 1.1.4322.2300
W3SVC/1283203219/root/ 1.1.4322.2300
W3SVC/1444110353/root/ 2.0.50727.0
The app that I am trying to encrypt is on W3SVC/1444110353/root/
I want to run the following:
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -prov
"DataProtectionConfigurationProvider" -pe "Credentials"
But it appears that it tries to do that on W3SVC/. I tried:
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -prov
"DataProtectionConfigurationProvider" -pe "Credentials" -app "W3SVC/
1444110353/root/"
But that doesn't work because -app only looks for the virtual dir on
w3svc.
Anyone have any ideas?
I can't use the -pef parameter because it cannot find the config
section handler that other posts have touched on.
When I try ...-app "W3SVC/1444110353/root/" it returns me an error
"The value used in the -app parameter must begin with a forward
slash". Can you try to add a slash?
"/W3SVC/1444110353/root/"
.
- Follow-Ups:
- References:
- Prev by Date: Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- Next by Date: WebSite Administration Tool
- Previous by thread: How to run aspnet_regiis.exe with on site other than w3svc/1?
- Next by thread: Re: How to run aspnet_regiis.exe with on site other than w3svc/1?
- Index(es):
Relevant Pages
|