We help IT Professionals succeed at work.
Get Started

server 500 error when uploading to server

Last Modified: 2012-05-12
Hi all,

I have run my site locally just fine. However when I uploded to the server (web server 2008 running IIS7) i received thef ollowing error.

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Type System.Drawing.Point, System.Drawing, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in the data at line 120, position 4 cannot be located. Line 122, position 5.

So after googling it appeared that the application pool the site is set with was not configure to use asp.net 4.0. So I rightclickc -> advanced settings and changed the application pool here to be ASP.NET 4.0 (I have tried all the variations) and this is now givinga server 500 error.

Any ideas on howto fix this?

Watch Question
This problem has been solved!
Unlock 1 Answer and 27 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE