aspnet-regiis.exe

Connectionstring error after encypted using aspnet_regiis.exe

I've encrypted the connectionstring in my web.config file using the steps in the link below: http://www.codeproject.com/KB/database/WebFarmConnStringsNet20.aspx However, whenever I call my application, it will give the following error: Failed to decrypt using provider 'CustomProvider'. Error message from the provider: The RSA ...

Get the metabase path for an IIS entry (Installation stopped because the specified path is not a valid web application)

I'm by no means a sysadmin so please correct me if I'm wrong. I want to run aspnet_regiis.exe -s. This requires the metabase path of my website. How do I find this metabase path? ...

Encrypting externally stored App blocks with exportable Key Provider

Hi all, I have been trying for quite a while to figure out how to encrypt Application blocks that are stored in an external file called dev_entlib.config I can see in entlib (4.1) that it's possible to use the default protection providers to encrypt the blocks but, I really need to deploy this Application on different servers and thus ...

Using ASPNet_Regiis to encrypt custom configuration section - can you do it?

I have a web application with a custom configuration section. That section contains information I'ld like to encrypt (was hoping to use ASPNet_RegIIS rather than do it myself). Web.Config: <?xml version="1.0"?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt; <configSections> <section...

Will running aspnet_regiis.exe -ir create any problems?

Hi there. I've asked a question about changing the version of .Net sites in the IIS. If it affects classic asp sites etc (See Does asp.net setting affect classic asp (IIS 6 settings)) And that seems fine. So my follow-up question is, will running this command get me fired? What it does is changing the default value (and all existing?) of...

Determining if ASP.Net is properly registered

Does anyone have a bulletproof method (in C# ideally!) of determining if ASP.Net is properly registered on your computer ? I am writing an installation program for an ASP.Net application and I need to know whether I should run aspnet_regiis. At the moment we always run aspnet_regiis -i to ensure that ASP.Net is regsitered properly bu...

Aspx pages in IIS 5.1 on WinXP

Hi all, I've been developing in VS 2005 w .Net 2.0. I want to test this website from an outside local so am trying to set up IIS. Apparently only IIS 5.1 is compatible with XP, but by defualt it only hosts .asp (not aspx) pages. Is there a way to host aspx pages w .Net 2.0 in IIS5.1? ...

RSA KEY Encryption/Decryption Problem

I tried C:\dev>aspnet_regiis -pc "NetFrameworkConfigurationKey" -exp Creating RSA Key container... The RSA key container could not be opened. Failed! and C:\dev>aspnet_regiis -pa "NetFrameworkConfigurationKey" "ASPNET" Adding ACL for access to the RSA Key container... The RSA key container was not found. Failed! B...

Web.config Encryption Error

Having problem with encryption. I gave full permissions to all users to RSA folders. I did C:\>aspnet_regiis -pe "appSettings" -location "web.config" -prov "RsaProtectedCo nfigurationProvider" Encrypting configuration section... An error occurred executing the configuration section handler for appSettings. Failed to encrypt the section...

Installing .net Framework 1.1 globally configured all my websites for 1.1 How do I undo this/permanently reconfigure them back to asp.net 2.0?

I have a Windows 7 machine on which I am using VS2005. .Net 2.0 and .Net 3.5 are installed on it. An app claimed it needed .NET framework 1.1 before it would run. I therefore installed framework 1.1 and it now runs. Problem: Now whenever I try to open a website in VS2005 I get a messages saying it is configured for 1.1 rather than 2.0...

Configuring 32-Bit ASP.NET Application on a 64-Bit IIS Server

Hello, I’m trying to install a 32-bit ASP.NET application onto a 64-bit IIS server running on Windows Server 2008. This is a clean installation of the operating system with no other applications installed. As a prerequisite for our installation, we run the 32-bit version of aspnet_regiis –i It fails with the following message: The e...

What does aspnet_regiis.exe do

What does aspnet_regiis.exe do exactly other than updating the document mappings to correct aspnet_isapi.dll version, is updating the ASP.NET version from inetmgr same as running aspnet_regiis, I could not find any blog post or article describing the steps this particular batch command does. Please give any links you know of detailing th...