Having trouble installing version 0.3.10
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,
Dick
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Anton Gogolev on 08 Sep, 2013 05:02 AM
Dick,
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 Posted by Dick on 13 Sep, 2013 06:42 PM
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.
Dick.
Support Staff 3 Posted by Anton Gogolev on 23 Sep, 2013 09:34 AM
Dick,
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