Solved

Asp.net 4.0 deployment on Windows 2003 server

Posted on 2011-03-21
6
426 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 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