Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Unable to create temp file: Error

Reply
Thread Tools

Unable to create temp file: Error

 
 
=?Utf-8?B?SmFtZXMgUHJvY3Rvcg==?=
Guest
Posts: n/a
 
      12-16-2004
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my
clients is intrested in a web based application, so im trying to play on and
learn it a tad. However im comming across lots of problems. Up until now ive
managed to sort most of them, but now im strugling. When i run my application
i keep getting this.

Server Error in '/WebApplication1' Application
--------------------------------------------------------------------------------

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:\DOCUME~1\XP-MAC~1\ASPNET\LOCALS~1\Temp\': Access is denied.

Source Error:



[No relevant source lines]


Source File: vbc : Line: 0



Show Detailed Compiler Output:


C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\vbc. exe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.enterpriseservic es\1.0.5000.0__b03f5f7f11d50a3a\system.enterprises ervices.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__ b77a5c561934e089\system.xml.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0 .5000.0__b03f5f7f11d50a3a\system.web.services.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a 5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__ b03f5f7f11d50a3a\system.web.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000 .0__b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0_ _b77a5c561934e089\system.data.dll"
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5 000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net
files\webapplication1\3860b6e6\760156ee\assembly\d l2\2fa85b6b\50f17af8_e2e2c401\webapplication1.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ Temporary ASP.NET
Files\webapplication1\3860b6e6\760156ee\xs005t5z.d ll" /DEBUG=1 /debug+
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
Files\webapplication1\3860b6e6\760156ee\xs005t5z.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:\DOCUME~1\XP-MAC~1\ASPNET\LOCALS~1\Temp\': Access is denied.





Show Complete Compilation Source:


Line 1:
'------------------------------------------------------------------------------
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will
be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9:
'------------------------------------------------------------------------------
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Text
Line 20: Imports System.Text.RegularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Caching
Line 23: Imports System.Web.Security
Line 24: Imports System.Web.SessionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.HtmlControls
Line 27: Imports System.Web.UI.WebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
Line 32: Public Class Global_asax
Line 33: Inherits WebApplication1.Global
Line 34:
Line 35: Private Shared __initialized As Boolean = false
Line 36:
Line 37: Public Sub New()
Line 38: MyBase.New
Line 39: If (ASP.Global_asax.__initialized = false) Then
Line 40: ASP.Global_asax.__initialized = true
Line 41: End If
Line 42: End Sub
Line 43: End Class
Line 44: End Namespace
Line 45:





--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573

Has anyone else had this?? Or know what im doing wrong. Hope someone can
help me out.

Regards

James

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q2hyaXMgTWFsY29sbQ==?=
Guest
Posts: n/a
 
      03-04-2005
Try adding the 'Network Service' account to the ACL.

"James Proctor" wrote:

> Hi there, im brand new to ASP. Ive done loads of VB coding and one of my
> clients is intrested in a web based application, so im trying to play on and
> learn it a tad. However im comming across lots of problems. Up until now ive
> managed to sort most of them, but now im strugling. When i run my application
> i keep getting this.
>
> Server Error in '/WebApplication1' Application.
> --------------------------------------------------------------------------------
>
> 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:\DOCUME~1\XP-MAC~1\ASPNET\LOCALS~1\Temp\': Access is denied.
>
> Source Error:
>
>
>
> [No relevant source lines]
>
>
> Source File: vbc : Line: 0
>
>
>
> Show Detailed Compiler Output:
>
>
> C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\vbc. exe"
> /t:library /utf8output
> /R:"c:\windows\assembly\gac\system.enterpriseservic es\1.0.5000.0__b03f5f7f11d50a3a\system.enterprises ervices.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__ b77a5c561934e089\system.xml.dll"
> /R:"c:\windows\assembly\gac\system.web.services\1.0 .5000.0__b03f5f7f11d50a3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a 5c561934e089\system.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__ b03f5f7f11d50a3a\system.web.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000 .0__b03f5f7f11d50a3a\system.drawing.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0_ _b77a5c561934e089\system.data.dll"
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5 000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\te mporary asp.net
> files\webapplication1\3860b6e6\760156ee\assembly\d l2\2fa85b6b\50f17af8_e2e2c401\webapplication1.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ Temporary ASP.NET
> Files\webapplication1\3860b6e6\760156ee\xs005t5z.d ll" /DEBUG=1 /debug+
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temp orary ASP.NET
> Files\webapplication1\3860b6e6\760156ee\xs005t5z.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:\DOCUME~1\XP-MAC~1\ASPNET\LOCALS~1\Temp\': Access is denied.
>
>
>
>
>
> Show Complete Compilation Source:
>
>
> Line 1:
> '------------------------------------------------------------------------------
> Line 2: ' <autogenerated>
> Line 3: ' This code was generated by a tool.
> Line 4: ' Runtime Version: 1.1.4322.573
> Line 5: '
> Line 6: ' Changes to this file may cause incorrect behavior and will
> be lost if
> Line 7: ' the code is regenerated.
> Line 8: ' </autogenerated>
> Line 9:
> '------------------------------------------------------------------------------
> Line 10:
> Line 11: Option Strict Off
> Line 12: Option Explicit On
> Line 13:
> Line 14: Imports Microsoft.VisualBasic
> Line 15: Imports System
> Line 16: Imports System.Collections
> Line 17: Imports System.Collections.Specialized
> Line 18: Imports System.Configuration
> Line 19: Imports System.Text
> Line 20: Imports System.Text.RegularExpressions
> Line 21: Imports System.Web
> Line 22: Imports System.Web.Caching
> Line 23: Imports System.Web.Security
> Line 24: Imports System.Web.SessionState
> Line 25: Imports System.Web.UI
> Line 26: Imports System.Web.UI.HtmlControls
> Line 27: Imports System.Web.UI.WebControls
> Line 28:
> Line 29: Namespace ASP
> Line 30:
> Line 31:
> <System.Runtime.CompilerServices.CompilerGlobalSco peAttribute()> _
> Line 32: Public Class Global_asax
> Line 33: Inherits WebApplication1.Global
> Line 34:
> Line 35: Private Shared __initialized As Boolean = false
> Line 36:
> Line 37: Public Sub New()
> Line 38: MyBase.New
> Line 39: If (ASP.Global_asax.__initialized = false) Then
> Line 40: ASP.Global_asax.__initialized = true
> Line 41: End If
> Line 42: End Sub
> Line 43: End Class
> Line 44: End Namespace
> Line 45:
>
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
> Version:1.1.4322.573
>
> Has anyone else had this?? Or know what im doing wrong. Hope someone can
> help me out.
>
> Regards
>
> James
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.net vbc : error BC30138 Unable to create temp file robwharram@gmail.com ASP .Net 10 09-23-2005 06:13 PM
How to initialize member reference with temp object and delete the temp object when the destructor is called? PengYu.UT@gmail.com C++ 2 05-09-2005 05:48 PM
Unable to create temp file: Error James Proctor ASP General 3 12-15-2004 09:03 PM
Temp Internet and temp files now in winnt directory w2k pro Bibble Bobble Computer Support 1 11-27-2003 06:14 PM
Compile Error BC30138 Unable to create Temp directory. Jon ASP .Net 2 11-12-2003 09:42 PM



Advertisments