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

FIX: Cannot login after Win 2008 install

Tue Sep 13, 2011 3:54 pm

FIX: Cannot login after Win 2008 install

SYMPTOM

After you have installed GpsGate Server on Windows 2008, the SiteAdmin login will look strange, and you cannot login. In the log file you get the error:

Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\xyz.cs' could not be found
error CS2008: No inputs specified

CAUSE

The IIS user cannot read temp files.

SOLUTION

1. Right click on "C:\Windows\Temp"
2. Select "Properties"
3. Select "Security" tab
4. Click on "Edit..."
5. Click on "Add..." to add a new group
6. Enter "IIS_IUSRS" and click "Check named"
7. Click "OK"
8. Make sure "Read & execute", "List folder contents" and "Read" is enabled for IIS_IUSRS
9. Click "OK" and "OK" again.

Try again and it should work.

Regards,
Johan

GpsGate Support

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