Having trouble installing version 0.3.10

Dick Wilder's Avatar

Dick Wilder

06 Sep, 2013 03:34 PM

I'm having trouble installing. I've followed the steps in "Installing HgLab" successfully up to the last bit where I "Head over to an URL of a web site". The result I see in the browser is:
Server Error in '/' Application.
Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\Windows\TEMP\et5bubhl.0.cs' could not be found
error CS2008: No inputs specified

I am installing HgLab version 0.3.10 on Windows Server 2008 R2 with .NET 4.0 Extended and Client Profile, IIS 7 and SQL Server Express 2008 with management tools. It is a clean install on a VMware virtual machine, all Microsoft updates are applied. No other applications are installed.

In Sql Server, I used the script from the instructions but changed the password. I also changed the password accordingly in connectionStrings.config.

In IIS, I have created a new WebPage Hg using an AppPool named Hg which uses a local machine user account named HgLab. The physical directory is C:\HgLab, and user HgLab has read privilege. Running "Test Settings..." succeeds.

BTW: I am an experienced embedded C/C++ developer, but have only superficial knowledge of Windows Server, IIS, ASP.NET and C#. Perhaps I've missed something obvious?

Thanks for your assistance,

  1. Support Staff 1 Posted by Anton Gogolev on 08 Sep, 2013 05:02 AM

    Anton Gogolev's Avatar


    Greetings from a fellow developer!

    What is the stacktrace for the error?

    This exception is usually caused by IIS_IUSRS losing access to system temp folder. Open up cmd.exe, head over to c:\windows\microsoft.net\framework64\v4.0.whatever and run "aspnet_regiis -i" from there.

    On 06.09.2013, at 19:34, "Dick Wilder" <[email blocked]> wrote:

  2. 2 Posted by Dick on 13 Sep, 2013 06:42 PM

    Dick's Avatar

    Anton -
    Thanks for your reply.

    I've attached the results I see in my browser, which includes a stack trace. I think it is just saying it can't access the system temp folder, as you surmised.

    I re-ran "aspnet_regiis -I" - it says it succeeded to install - but no joy, same result.

    Question #1: Is this a 32 vs. 64 bit thing? I'm intending it to be pure 64, but perhaps Windows still has 32 bit bits and pieces lurking in IIS and/or ASP?

    Question #2: Is this a server vs. workstation thing? This is server 2008 not windows 7.


  3. Support Staff 3 Posted by Anton Gogolev on 23 Sep, 2013 09:34 AM

    Anton Gogolev's Avatar


    As I understand, this is related neither to bitness nor to workstation vs server differences.

    Could you please open up elevated command prompt and paste the output of the following command over here: net user HgLab

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM


19 Dec, 2019 06:58 AM
21 Aug, 2019 09:07 AM
30 Jul, 2019 08:59 PM
31 May, 2019 02:29 PM
26 Nov, 2018 01:47 PM
16 Nov, 2018 07:51 PM