Solved

Asp.net 4.0 deployment on Windows 2003 server

Posted on 2011-03-21
6
428 Views
Last Modified: 2012-05-11
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
Comment
Question by:katzhoward
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
6 Comments
 

Author Comment

by:katzhoward
ID: 35181121
I also have created a seperate Application Pool for this new, asp.net 4.0 app but still no success.
0
 

Author Comment

by:katzhoward
ID: 35181132
I have restared IIS and reset w3svc but still no success
0
 

Author Comment

by:katzhoward
ID: 35181144
I do not have Visual Studio 2010 installed on the Windows server 2003 box.  I just copied the files over.
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 7

Expert Comment

by:nbove
ID: 35181916
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
 

Accepted Solution

by:
katzhoward earned 0 total points
ID: 35182253
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
 

Author Closing Comment

by:katzhoward
ID: 35221185
Because my problem went away
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question