Directory Name is Invalid - Repost


J

Jeff Dillon

This compiler problem is keeping us from rolling out any .NET applications.

When I browse to a simple .aspx page, I get the error:

Unable to create temp file in path
'c:\windows\system32\inetsrv\%SystemRoot%\TEMP\': The directory name is
invalid.

My TEMP variable is c:\windows\temp

My OS is Win2003 Server, Web Edition. Using Visual Studio, I created a one
page webform1.aspx page. When I browse to
http://localhost/compiletest/webform1.aspx as described in KB article #
#825791 I get the error. How do I fix this?

Show Detailed Compiler Output:

c:\windows\system32\inetsrv>
"c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library
/utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary
asp.net
files\compiletest\fd5b3df8\9db14f67\assembly\dl2\065b6713\f05fbc8f_d836c401\
compiletest.dll"
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
em.drawing.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
eb.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.x
ml.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
data.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\compiletest\fd5b3df8\9db14f67\towipj3v.dll" /D:DEBUG=1 /debug+
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\compiletest\fd5b3df8\9db14f67\towipj3v.0.vb"


Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

vbc : error BC30138: Unable to create temp file in path
'c:\windows\system32\inetsrv\%SystemRoot%\TEMP\': The directory name is
invalid.
 
Ad

Advertisements

C

CT

Have you tried giving the ASP.NET user account write permissions to the
c:\windows\temp folder?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top