View Single Post
  #7 (permalink)  
Old July 20th, 2007, 03:04 PM
djm djm is offline
Registered User
 
Join Date: Jul 2007
Location: Calgary, Alberta, Canada.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Kamal,

I ran into a similar problem. I'm using VS 2005 on a new machine. I created a website and used the default (dev) server. IIS was not even installed. I decided to install IIS and then 'publish' the website so others in the office to view / evaluate it.
The problem I discovered was that VS created the virtual directory and copied the files from the dev directory.

BUT, the directory was not marked as an application!

I went into IIS, expanded the 'Web Sites' tree, found the correct folder under 'Default Web Site', right-clicked on the folder and selected properties. The 'Directory' tab has an entry labeled 'Application Name' that is grayed out and the text box says 'Default Application'.

Just click on the 'Create' button and then the OK button.

HTH

DJ