Go Premium for a chance to win a PS4. Enter to Win

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
?
372 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 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
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…

963 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