<span id="blogname"></span>


All that's beautiful drifts away like the waters ——W. B. Yeats
Modisied by Leslie-Cheung.com
 
2013/4/9 9:01:00
500.19 Internal Server Error, There is a duplicate
 

After shipping your asp.net 2.0, 3.0 or 3.5 application to a new server you get the following error:
There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’
Don’t worry you haven’t done anything wrong, your are just trying to ship to a new server that has been configured to use .NET 4.0 as the default, and lucky for you it is a quick and simple configuration change to fix it:
Change Application Pool to .Net Framework v2.0
Open Internet Information Services (IIS) Manager
Goto the Application Pools screen
Open the Application Pool offending web application(s) are using
Change the Application Pool to use dotnet 2.0 instead of .net 4.0
Hard Refresh the erroring page with a <Ctrl> F5

 
By 小鱼儿  阅读全文 | 回复(0) | 引用通告 | 编辑

发表评论:
 
Calendar

<<  < 2013 - >  >>
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

Login


Bulletin
Recent Entries
Comments
Messages
Information
Links


Designed by Subdreamer
 
Powered by Oblog.