ASP.NET WEB HOSTING. Fast windows web hosting at discount prices. Microsoft Windows 2008 server hosting. web site hoting Home    web hosting asp net Login  

Search FAQ-Home Ask question Help

 Categories

· Show all categories

FTP
Front Page
Email
Web Site
Domain Name
MySQL
MS Access
E-Commerce
Hosting
ASP
ASP.NET
PHP
Buy Hosting Account
Upgrade
Billing
Others
PERL
CodeBank
MS SQL
Virtual Private Server

· FAQ-Home


Question:  ASP.NET:
When I deploy my project to Windows server 2012 with IIS 8.0 I get: 500 - Internal server error



Answer:   You get :

500 - Internal server error

because your web.config file is set to use ASP.NET 3.5 while IIS8.0 offers ASP.NET 4.5.

There is a difference between web.config file for ASP.NET 3.5 and the new ASP.NET 4.5.

The workaround for the second scenario is to delete or comment out all the system.web.extensions configuration section definitions and configuration section group definitions from the application-level Web.config file. These definitions are usually at the top of the application-level Web.config file and can be identified by the configSections element and its children.

Also manually delete the system.codedom section, although this is not required.

http://www.asp.net/whitepapers/aspnet4/breaking-changes#0.1__Toc256770149



Last update: 2012-10-15 10:17
Author: admin

printer-friendly version Send to a friend
Show this as PDF file export as XML-File

Average rating: 2.73 from 5 (832 Votes )

Please rate this entry:
completely
useless

1

2

3

4

5
most
valuable
You cannot comment on this entry | Content Overview: ASP.NET
  WINDOWS WEB HOSTING | ASP.NET HOSTING | WEB HOSTING | WINDOWS 2003 HOSTING PLANS
TERMS OF SERVICE |  CONTACT  |  PRIVACY POLICYHOMEMASTERCARDDISCOVERAMERICAN EXPRESSPAYPAL
Copyright BIZHOSTNET.COM All rights reserved.  All trademarks are property of their legal owners.
BIZHOSTNET.COM is a web hosting company specializing in the following Web Hosting Products:
Windows Hosting Windows Hosting Windows 2008 Hosting Windows 2003 Hosting Windows 2008 Hosting Windows 2008 Hosting Frame .NET Hosting Frame .NET Hosting ASP Hosting ASP Hosting ASP Web Hosting ASP Web Hosting ASP.NET Hosting ASP.NET Hosting ASP.NET 4.0 Hosting ASP.NET 4.0 Hosting ASP.NET 3.5 Hosting ASP.NET 3.5 Hosting ASP.NET 2.0 Hosting ASP.NET 2.0 Hosting ASP.NET 1.1 Hosting ASP.NET 1.1 Hosting Microsoft Frontpage Hosting Microsoft Frontpage Hosting PHP Hosting PHP Hosting PERL and CGI Web Hosting PERL and CGI Web Hosting DOMAIN NAMES STATUS CODE Domain Names Status Free Domain names Free Domain names
Free MySQL Database Free MySQL Database Free SQL Database Free SQL Database