Posted in General

ASPNET_REGIIS

Sometimes when you try to create a Web Project Visual Studio complains that it cant create ASP.NET project. This happens when you deploy ASP.NET application to a new web server it shows all code and not output. Usually its the fact that ASP.NET is not registered with IIS. If we register it it will work cool.

Go to Start –> All Programs–> Visual Studio .NET 2003 –> Visual Studio Tools–> Visual Studio Command Prompt. Type the following command, it will fix most of the stuff. This should work even if you install .NET framework after IIS or other way round. If you dont have Visual Studio.NET installed on PC, then you just need to go to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 (replace with your Windows Directory and .NET version) through command prompt and type below command.

aspnet_regiis -i

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s