Sunday, June 03, 2007

ASP.NET and IIS

I need to have a Notebook prepared for a demo of Community Server. I was able to install this application on a number of PC's running Windows XP and a local IIS. For some reason my Notebook hangs on serving the asp.net .aspx pages. Not only for the CS application but for all .aspx pages.
The symptoms are that after 10-20 seconds you hear an alert sound (probably some error notice) , however nothing is showed (not on screen and in the obvious log files).

The easy solution would be to reinstall XP, but that is the easy way out.

I tried a number of suggestions from the web:

- uninstalling and reinstalling IIS
- reinstalling ASP.NET v2
- run aspnet_regiis -i
- check all IIS settings
- give ASPNET account full control

Nothing works.

Alternative way:

- I installed the Cassini webserver

To my surprise Cassini worked right away. Only it has a problem with the login routine in the application, (uses Windows authentication)

Command to open Visual Studio command prompt

%comspec% /k ""C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"" x86

Command to compile Cassini

build.bat

Command to run Cassini

cassiniwebserver C:\Inetpub\CS2007_3.0.20510.895.demo\Web 8080 /cs

1 comment:

Herman said...

Another option would be to run Virtual PC and mount a Windows Server 2003 image with the required software installed (depending on the amount of available memory, of course.. though you wouldn't need too much for just Server, IIS, ASP.Net + CS.

LinkWithin

Related Posts with Thumbnails