Problems with Fortress installation

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
tumeke
Posts: 6
Joined: Tue Nov 21, 2006 7:51 pm

Problems with Fortress installation

Post by tumeke » Wed Jun 27, 2007 12:05 am

I get the following problem

Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------

The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +3482363
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +226

[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3434991
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


I had not problems during installation. It is installed in a Windows Server 2003 VM box. Vault was originally installed and the option to keep the existing database was choosen. Could someone please tell me what this error is please.

This is what is in the eventlog when I tried the above request:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/27/2007 4:08:49 PM
Event time (UTC): 6/27/2007 6:08:49 AM
Event ID: eec110831e0d4d25a490977c8daffe09
Event sequence: 1
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/VaultService-18-128273981289843750
Trust level:
Application Virtual Path: /VaultService
Application Path: C:\Inetpub\wwwroot\VaultService\
Machine name: ORANTESTMERC

Process information:
Process ID: 4372
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpException
Exception message: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

Request information:
Request URL: http://localhost/VaultService/Admin/Licenses.aspx
Request path: /VaultService/Admin/Licenses.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 8
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Wed Jun 27, 2007 7:13 am

The Fortress server installer should be setting the security rights on this folder, but it looks like it didn't. Can you look at the fortress_install.log file in the %TEMP% directory of the user that installed the server to see if it had an unreported problem setting the security?

As a workaround, give the NT AUTHORITY\NETWORK SERVICE full permissions on the 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files' directory and all of its subfolders.

Post Reply