How to ‘Publish’ a Web Application in Visual Studio 2003

3 08 2010

If you’ve used later versions of Visual Studio for creating web applications, you will know that there is an option to ‘Publish’ your application which allows you to compile your application into only files needed to run the application (a good practice to use when putting your application online).

When it comes to Visual Studio 2003, there isn’t such an option but the functionality is still there, just masquerading under a different menu option!

When you have your project open, build it in ‘Release’ mode (it is not essential that it is built in ‘Release’ mode but I find there are performance improvements over building it in ‘Debug’ mode). Now select ‘Copy Project’ from the ‘Project’ menu along the top.


You will then be presented with the following pop-up dialog:


Here you give it a destination project folder (in my case, the same as the source project folder, but to a folder called ‘Published’), and a web access method. I choose to publish it to my local file system, and then upload it myself. You then choose to copy ‘Only files needed to run this application’ and click ‘OK’. If you now go to the folder which you chose in the ‘File Share’ path, you will have all the files you need to upload to put your web application online, the same as if you had ‘Published’ a web application in a later version of Visual Studio.

How To Enable Integrated Windows Authentication in IIS 7

16 06 2010

I’m currently working on a website that was created in .NET 1.1 and Visual Studio 2003 and I had nothing but nightmares getting it to work on my Vista machine which is running IIS7! My final hurdle was getting it to run in Debug from Visual Studio 2003. To do this I needed to enable integrated Windows authentication for the website. So here is how I did it:

1 – Open IIS Manager

2 – Highlight your website that you want to enable integrated Windows authentication for


3 – Double-click the Authentication tab

4 – Where it says “Windows Authentication” in the Name column, the status column should read “Enabled”. If it reads disabled, right click and select “Enable”.


This did it for me and I was then able to go back into my Visual Studio 2003 environment and successfully run the website in debug mode. REMEMBER!!! Visual Studio 2003 might need to be run as an administrator to allow debugging (Right Click — Run as administrator) so if you are still having problems give that a go!