Though you have installed IIS and copied your web application in to the root of Websites in a virtual directory folder, you may receive this error.
This problem occurs when you start running your 'ASP.NET' web application probably the first time. Or you have installed .NET Framework latest version and trying to host that application in the IIS.
It's time you have to register your iis for running this current version of .NET application.
It's done by using the following simple steps..
1. Click start and run the command 'cmd'.
2. Go to the folder "C:\WINDOWS\Microsoft.Net\Framework\v2.0.50727>"
3. Run the command "aspnet_regiis -i"
4. This installs the required files and configure the web service extensions too.
By running the command "aspnet_regiis -i", you install this version of ASP.NET and update script maps at the IIS metabase root and for all scriptmaps below the root. Existing scriptmaps of lower version can be updated to this version.
Also note that, the webservice Extensions has permission 'Allowed' to the 'ASP.NET'.
Make sure, you have given the Allowed permission as shown and highlighted in the image.
Hope this post helps you to solve the problem. Please feel free to write to me if you still have problem.
Good Luck!!
No comments:
Post a Comment
Please leave your comments here to improve myself!