Solved

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

Posted on 2015-02-06
5
316 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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Auto Apply Receivables Credit Memos to Invoices in Microsoft Dynamics GP 1 194
String manipulation in Visual Basic 7 90
AWS ELB 5 122
C# LINQ ForEach() question 6 119
Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
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.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

710 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