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
0
votes
0 answers

We. config encryption when multiple datasets are present

I am trying web.config encryption for server deployment. I am using the aspnet_regiis.exe for encryption of the connection string. In this project there are multiple datasets for the database calls. how can I set decryption for all these datasets…
Anurag.Desai
  • 103
  • 1
  • 15
0
votes
1 answer

Unable to register aspnet_regiis.exe on my pc

I am running aspnet_regiis.exe file from command prompt but it is giving the following error. Need your help!
Junaid Bashir
  • 152
  • 3
  • 15
0
votes
1 answer

ASPNET_REGIIS Encryption on shared hosting

I've Encrypted connectionString section in web.config using ASPNET_REGIIS successfully. however i've done this on my local machine. When I tried to publish website on a shared hosting server I received a configuration file error. Is there any way I…
0
votes
1 answer

Decrypting using a imported key from one server doesn't work on another server

I have two servers Windows 2008 R2, Server 1 & Server 2. I generated the RSA keypair on Server 1 under windows account 1 using: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pc "MyKeys"…
boggy
  • 3,674
  • 3
  • 33
  • 56
0
votes
0 answers

what is the best strategy to encrypt only some values under appSettings in webconfig file using aspnet_regiis

I am trying to encrypt only some values under the appSettings in webconfig file using aspnet_regiis, What is the best strategy for doing this ?
0
votes
1 answer

"aspnet_regiis -pef " command removes " " section of web.config

I am using the following command to use a machine key to encrypt part of my web.config (it is actually an app.config for a .net app, renamed to web.config so the aspnet_regiis will work with it): aspnet_regiis -pef "section-to-encrypt"…
Jonesome Reinstate Monica
  • 6,618
  • 11
  • 65
  • 112
0
votes
1 answer

Getting 'dns server not authoritative for zone' error when using aspnet_regiis -i

I am trying to get a .NET 4.5.1 asp.net app to run on my company computer (Windows 7 Enterprise) for the first time. Visual Studio told me to configure ASP.NET to use .NET 4.5. When I issued aspnet_regiis -i in an admin command prompt, the command…
Tony_Henrich
  • 42,411
  • 75
  • 239
  • 374
0
votes
2 answers

Encrypting externally stored App blocks with exportable Key Provider

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…
nialljsmith
  • 474
  • 1
  • 7
  • 18
0
votes
1 answer

Encrypt App.Config Custom Element using cmd

I am able to configure the Connection String Encryption using the aspnet_regiis.exe command. Now I have created the Configuration Section on which it is added Custom Configuration Element Collection and this will store the value of Connection…
0
votes
1 answer

Encryption ConnectionStrings App.config

I have try to encrypt with code below, but it can use only on my PC, other PC can't connect to SQL server in my PC. anyone help me? thanks so much!!! (I also try with aspnet_regiis.exe but have same problem) public static void…
Ricky
  • 1
0
votes
1 answer

Encrypting MachineKey with AES256

I've spent a while googling this to no avail so either this is trickier than I thought or I fundamentally misunderstand how this works. My web server has a service whose web.config file contains a machinekey. I want to encrypt it.
Chris
  • 37
  • 1
  • 3
0
votes
1 answer

server 2012 how to check if asp.net register valid or not?

I want to register asp.net to my server 2012, then I check by using aspnet_regiis.exe -lv, it return the result below, it didn't state is valid or not.. then it's means register successful on the server or not? 4.0.30319.0 …
user3522363
  • 35
  • 2
  • 8
0
votes
0 answers

Application pool not working after registering aspnet_regiis

I've installed the iis 7 and afterwards I've checked that the localhost is work ing under .net 2.After that checked worked fine, I've registered the aspnet_regiis in order to work with .net 4.5 applications on his but after the registration (and…
Amit Ben Ami
  • 548
  • 2
  • 6
  • 21
0
votes
1 answer

Using aspnet_regiis.exe to encrypt web.config changes euro sign to gibberish

I am using a PowerShell script to automatically encrypt certain sections of my web.config after deploying my WebApplication using Release Management. In this PowerShell script I make use of aspnet_regiis.exe to perform the encryption for me as…
0
votes
1 answer

aspnet_regiis -c 0x80040154 Class not registered

I have a weird issue with windows 8.1 and .NET 2 (yes I have to use it for this project). Running aspnet_regiis -c for .NET 4.5 gives no errors and says it copied the client side files correctly. When I go into the .NET 2 folder it gives this…
FrostyFire
  • 3,212
  • 3
  • 29
  • 53