Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does Visual Studio.NET refuse to publish to IIS on my XP machine?

0
Posted

Why does Visual Studio.NET refuse to publish to IIS on my XP machine?

0

I’ve encountered this problem before on one of our faculty laptops where a person had turned on IIS and was trying to publish an ASP.NET project to the laptop’s webserver, which served as a testbed system. The reason this does not work is that the Windows XP system image we install, includes Visual Studio.net and the ASP.NET framework, but IIS is not installed yet. If you turn on IIS and have already installed the VS.NET component and ASP.NET you have to run the following command since those programs need to copy files and/or registry keys into the IIS code: Open up a command prompt and cd to your .NET Framework runtime directory (typically C:\\Windows\\Microsoft.NET\\Framework\\v1.0.3705 in XP), then execute the following: aspnet_regiis.exe -i In my experience restarting IIS is not required.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.