This project has moved and is read-only. For the latest updates, please go here.

Can't publish website to local

Topics: SharpMap v0.9 / v1.x
Apr 15, 2013 at 8:52 AM
I have a website sucessfully using sharmap v0.9/v1.x Everything works ok. When I make publish the website, and copy it to the webserver(local,IIS 7) it gives an error like this:
Could not load file or assembly 'DotSpatial.Projections' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Help me! Thanks.
Apr 15, 2013 at 12:34 PM
Looks like your application pool is not running .NET 4.0?
Apr 18, 2013 at 10:01 AM
thanks for response

if application pool running .NET 4.0 it gives an error:
HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.
Apr 18, 2013 at 11:52 AM
You have an error in your web.config

Check if you have any httpHandlers registration that is wrong (It have moved between IIS 6 and IIS 7)