Tuesday, September 20, 2005

VS.Net update components

Got the dump of Visual Studio.Net and installed web service components - it doesn't install by default.

Then, got the original message:
---------------------------
Microsoft Development Environment
---------------------------
The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://conceptinc/WebService1'. 'The server name or address could not be resolved'.
---------------------------
OK Help
---------------------------


Did aspnet_regiis -i

Got the familiar
Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services.

Saw that there was a older version folder
C:\winDOWS\microsoft.NET\framework\v1.1.3705 - deleted it.

Nogo.

Did aspnet_regiis -i and regsvr32 aspnet_isapi.dll

And then...

http://www.mastercsharp.com/India/Forums/ShowPost.aspx?PostID=700

Even came up with a nice batch file...
Echo Stop IIS

iisreset /stop
echo "----------------------"

echo "Deleting the ASPNET account."

net user ASPNET /delete

echo "----------------------"

cd C:\winDOWS\microsoft.NET\framework\v1.1.4322

echo "Reregistering ASP.NET and the ASPNET account."
aspnet_regiis -i

echo "Restarting IIS."
iisreset /start
echo "----------------------"

Enough of this naatak...looks like the only way out is to install IIS first and VS next - then aspnet_iis -i once. I had done it vice versa and thought there would be a workaround - but then, as always there seems to be no shortcut.

No comments: