|
|
|
start date: Wed, 20 Jun 2007 18:37:11 -0000,
posted on: microsoft.public.dotnet.framework.aspnet.security
back
| Thread Index |
|
1
slolife
|
|
2
Alexey Smirnov
|
|
3
slolife
|
How to run aspnet_regiis.exe with on site other than w3svc/1?
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.
Date:Wed, 20 Jun 2007 18:37:11 -0000
Author:
|
Re: How to run aspnet_regiis.exe with on site other than w3svc/1?
On Jun 20, 8:37 pm, slolife 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/"
Date:Sat, 23 Jun 2007 22:17:11 -0000
Author:
|
Re: How to run aspnet_regiis.exe with on site other than w3svc/1?
That doesn't work because it thinks that /W3SVC/1444110353/root/ is a
virtual dir, not a site. I just noticed (don't know why I didn't see
it before) that there is a -site flag. I'll try that.
On Jun 23, 3:17 pm, Alexey Smirnov wrote:
> On Jun 20, 8:37 pm, slolife 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/"
Date:Tue, 26 Jun 2007 16:43:10 -0000
Author:
|
|
|