User avatar
johan
GpsGate
Posts: 14840
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

FIX: System.Web.AspNetHostingPermission

Wed May 26, 2010 5:16 pm

GpsGate Server on Windows 2008 and IIS7

PROBLEM

You get the following error when trying to login to GpsGate Server

Parser Error Message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (C:\inetpub\wwwroot\GpsGateServer\IIS\web.config line 37)

SOLUTION

Followed those steps:
1. Open IIS Manager
2. Right click on the application pool the web site uses and select "Advanced Settings..."
3. Change "Load User Profile" to "True"
4. Click "OK".

Now reload the page in your web browser and it works.

Reference:
http://dbvt.com/blog/post/AspNetHosting ... -IIS7.aspx

Regards,
Johan

Franson Support

mguiduc
Posts: 2
Joined: Tue Nov 02, 2010 3:49 pm

RE: FIX: System.Web.AspNetHostingPermission

Tue Nov 02, 2010 4:54 pm

thanks a lot!
Marco

Return to “GpsGate Server - How to setup and use”