Questions tagged [aspnet-regiis.exe]

Aspnet_regiis.exe is the ASP.NET IIS Registration Tool. It is used to register ASP.NET applications with Internet Information Services (IIS)

When multiple versions of the Framework are executing side-by-side on a single computer, the ASP.NET version mapped to an ASP.NET application determines which version of the common language runtime () is used for the application. The ASP.NET IIS Registration Tool (Aspnet_regiis.exe) allows an administrator or installation program to easily update the script maps for an ASP.NET application to point to the ASP.NET ISAPI version that is associated with the tool.

The tool can also be used to display the status of all installed versions of ASP. NET, register the ASP.NET version that is coupled with the tool, create client-script directories, and perform other configuration operations.

102 questions
41
votes
4 answers

Failed to encrypt the section 'connectionStrings' using provider 'RsaProtectedConfigurationProvider

Failed to encrypt the section 'connectionStrings' using provider 'RsaProtectedCo nfigurationProvider'. Error message from the provider: Object already exists. I followed the guide in http://msdn.microsoft.com/en-us/library/2w117ede.aspx but in step…
user1663380
  • 1,003
  • 4
  • 18
  • 21
37
votes
5 answers

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:
29
votes
7 answers

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…
Kiran Bheemarti
  • 1,439
  • 2
  • 12
  • 14
28
votes
2 answers

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…
Chris Fewtrell
  • 7,555
  • 8
  • 45
  • 63
18
votes
3 answers

What's the difference between "aspnet_regiis -ir" and "aspnet_regiis -iru"?

The help text of aspnet_regiis utility says the following for "-ir" option: Install this version of ASP.NET, register only. Do not change any web applications to use this version. And the following for "-iru" option: Install this version of…
Yan Sklyarenko
  • 31,557
  • 24
  • 104
  • 139
13
votes
4 answers

How to check whether ASP.NET 4.0 registered on IIS 7.5

Is there any reliable way how to check whether ASP.NET 4.0 registered on IIS 7.5 programmatically? I need to test it in the installer as prerequisite, before ASP.NET application installation start. If ASP.NET 4.0 not registered on the IIS, later…
zbynour
  • 19,747
  • 3
  • 30
  • 44
9
votes
3 answers

How to register Dot net framework 4.6.2 on IIS 8.5 in Windows Server 2012 R2

I installed dot net framework 4.6.2 from this path & now want to register this in IIS. If it was a earlier framework version (2.0,3.5,etc ) & an earlier server ( For Eg Windows 2003), I would have typed the following command in the appropriate path.…
Abdul Rehman Sayed
  • 6,532
  • 7
  • 45
  • 74
9
votes
5 answers

MSDeploy automatic encryption of connection strings, key not found in dictionary

Since Web Deploy 3.5 automatic encryption of connection strings is supported using the flag: –EnableRule:EncryptWebConfig. However, upon running it with: "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe"…
cederlof
  • 7,206
  • 4
  • 45
  • 62
9
votes
2 answers

Alternative for the Registering ASP.NET 4.5 on Windows Server 2012

I am getting MIME is not registered error when I run WCF service. I used this link to resolve this issue. After that I started getting another error which asked me to register the ASP.NET framework with IIS. So I used "aspnet_regiis" command for it…
alok_dida
  • 1,723
  • 2
  • 17
  • 36
8
votes
1 answer

Aspnet_regiis in Framework64 folder for a 32 bit web app

In a 64 bit system, is there any reason ever to use the aspnet_regiis in the Framework folder as opposed to that on Framework64? Even for an app compiled to x86 I know that just registering aspnet with the exe in Framework64 and setting the…
Mike
  • 753
  • 1
  • 7
  • 16
7
votes
4 answers

aspnet_regiis does not exist

I am having this issue, but while trying to fix it as per the suggested answers, I cannot find aspnet_regiis in my computer, I checked the matching .NET library as described here, but the file is not there.
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
6
votes
4 answers

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…
6
votes
1 answer

How does IIS Config File Encryption work?

I'm trying to understand how the aspnet_regiis.exe tool "encrypts" Web.config files. Here is the documentation for how to use the tool: Encryption: http://msdn.microsoft.com/en-us/library/bb986855.aspx Decryption:…
Jay Sullivan
  • 17,332
  • 11
  • 62
  • 86
6
votes
2 answers

Invalid JSON being randomly returned by WCF

I am running an ASP.Net app on Windows Server 2008 R2. I have up to .NET Framework 4.5 installed. Upon migrating from .NET Framework v2.0 to v4.0 I began to experience random behavior from WCF. My web service returns JSON. Upon restarting IIS the…
Kevin MacDonald
  • 650
  • 8
  • 21
5
votes
1 answer

Is it possible to encrypt a config file specified as a configSource from web.config?

I have a custom section in my web.config I need to encrypt. This custom config section uses the configSource attribute to point at a separate config file (as this file is not to be source controlled) and I'd like for this separate config file to be…
Braydie
  • 716
  • 9
  • 27
1
2 3 4 5 6 7