Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

Directory Name is Invalid - Repost

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Dillon - 11 May 2004 22:09 GMT
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.
CT - 12 May 2004 02:43 GMT
Have you tried giving the ASP.NET user account write permissions to the
c:\windows\temp folder?

Signature

Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105

> This compiler problem is keeping us from rolling out any .NET applications.
>
[quoted text clipped - 17 lines]
> /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+
[quoted text clipped - 8 lines]
> 'c:\windows\system32\inetsrv\%SystemRoot%\TEMP\': The directory name is
> invalid.
Scott B - 18 Jul 2005 17:08 GMT
Did you ever get the answer to this one? I am having the same issue!
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

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

Source Error:



[No relevant source lines]


Source File: vbc :    Line: 0

>This compiler problem is keeping us from rolling out any .NET applications.
>
[quoted text clipped - 45 lines]
>'c:\windows\system32\inetsrv\%SystemRoot%\TEMP\': The directory name is
>invalid.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.