Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot get .Net 1.1 ASP.Net website to work on Windows Server 2012 R2 (64 bit)

Posted on 2015-02-06
5
Medium Priority
?
346 Views
Last Modified: 2015-02-11
Hey,

I am in the process of migrating a .Net 1.1 ASP.Net website from a dedicated Windows 2008 Server R2 (64 bit) server to a new Windows 2012 R2 Datacenter Server on Azure.

The site has worked fine on the Win2008 server, but I cannot get it to run on the new Win2012 server.

I have configured a separate Application Pool, targeting .NET CLR Version 2.0.

The mappings to the virtual folder seem to be ok, as I can access static files from the browser. But any reference to *.aspx pages just results in:

HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.

I'm at a loss.

Can anyone offer any advice?

Thanks.
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.

Open in new window

0
Comment
Question by:trumajee
[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
  • 3
5 Comments
 
LVL 9

Expert Comment

by:James Bilous
ID: 40593874
Sometimes running the following command will help:

aspnet_regiis.exe -i

https://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx
0
 

Author Comment

by:trumajee
ID: 40593895
I have located a number of instances of aspnet_regiis.exe, one located in:

c:\Windows\Microsoft.NET\Framework\v1.1.4322

I ran aspnet_regiis.exe -i from there, and it finished installing.  I restarted IIS, but still get the same error as above.
0
 
LVL 13

Expert Comment

by:Jesus Rodriguez
ID: 40593975
The error information definately indicates 4.0 framework is not registered on IIS side. The registration is required, and to use different runtime for one site, you will need to create an application under the site and set a different application pool that targeted to the different framework for the application.

Check this post
http://stackoverflow.com/questions/11319311/mime-types-missing-in-iis-7-for-asp-net-404-17
http://forums.iis.net/t/1160143.aspx
0
 

Accepted Solution

by:
trumajee earned 0 total points
ID: 40594081
It transpires that .Net 1.1 is not supported in Windows Server 2012.

In desperation, I set up a new virtual server running Windows Server 2008 R2, and the site now works fine.

Thanks for your advice anyway. :)
0
 

Author Closing Comment

by:trumajee
ID: 40602741
Not resolved.
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
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…

730 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