Solved

Asp.net 4.0 deployment on Windows 2003 server

Posted on 2011-03-21
6
431 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

615 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