• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

Asp.net 4.0 deployment on Windows 2003 server

Hello Experts,
On my windows 2003 server, I have a asp.net 3.5 website that works fine.  I have installed the 4.0 Framework. Sql Server Resporting Services 2005 works fine.  The problem is with a new web site using asp.net 4.0.  

If I run http://localhost/TheShoppingCart/TextEmil.htm it runs fine.  
If I run http://localhost/TheShoppingCart/TextAsp.asp it runs fine.  

But if I run http://localhost/Default.aspx I get a Page cannot be found error.  
In IIS, I do have 4.0 selected in the asp.net tab.  Any ideas

Thanks
Howard
0
Howard Katz
Asked:
Howard Katz
  • 5
1 Solution
 
Howard KatzDatabase Report DeveloperAuthor Commented:
I also have created a seperate Application Pool for this new, asp.net 4.0 app but still no success.
0
 
Howard KatzDatabase Report DeveloperAuthor Commented:
I have restared IIS and reset w3svc but still no success
0
 
Howard KatzDatabase Report DeveloperAuthor Commented:
I do not have Visual Studio 2010 installed on the Windows server 2003 box.  I just copied the files over.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Nathan BoveSoftware EngineerCommented:
What happens when you navigate to:
http://localhost/TheShoppingCart/Default.aspx

I expect IIS will serve up the page.
If you want to be able to omit TheShoppingCart from your URL, then you have to bind the "Default Web Site" in IIS to your web application.
0
 
Howard KatzDatabase Report DeveloperAuthor Commented:
I have found the solution.  In IIS in the Web Service Extensions folder, asp.net v4.0 was set to prohibited. As soon as I changed it to allowed, It worked.
0
 
Howard KatzDatabase Report DeveloperAuthor Commented:
Because my problem went away
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now