A website running asp.net 4.0 not runs in 4 .5? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

A website running asp.net 4.0 not runs in 4 .5?

I published a web site in in windows server 2008 installed with asp.net 4.0 and successfully running the site. but when the same published in windows server 2012 with with asp.net 4.5 showing internal server error. can anybody guide me please.....

20th Jun 2017, 5:13 PM
Sreeyesh T
4 Answers
+ 1
We need a little bit more information to help you. Have you recompiled the code in dotnet 4.5? Does your website has dependency to external DLL? Are those DLL compiled with dotnet 4.5 What is the exact error code you are getting?
23rd Jun 2017, 8:49 AM
Philippe Cotte
Philippe Cotte - avatar
+ 1
as per the error msg, deleted some portion of the code and it worked...thanks
30th Jun 2017, 3:26 PM
Sreeyesh T
0
I haven't recomoiled the code in don't 4.5. the error HTTP error 500.19 - internal server error error code 0x800700b7
23rd Jun 2017, 5:26 PM
Sreeyesh T
0
This error is probably related to an error in your web.config file. Probably the error message, can give you an hint what is the error.
24th Jun 2017, 6:16 AM
Philippe Cotte
Philippe Cotte - avatar