Solved

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

Posted on 2015-02-06
5
279 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
  • 3
5 Comments
 
LVL 7

Expert Comment

by:James Bilous
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Not resolved.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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…
A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
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.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now