473,769 Members | 6,926 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to create temp file: Error

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\LO CALS~1\Temp\': Access is denied.

Source Error:

[No relevant source lines]
Source File: vbc : Line: 0

Show Detailed Compiler Output:
C:\WINDOWS\syst em32> "c:\windows\mic rosoft.net\fram ework\v1.1.4322 \vbc.exe"
/t:library /utf8output
/R:"c:\windows\a ssembly\gac\sys tem.enterprises ervices\1.0.500 0.0__b03f5f7f11 d50a3a\system.e nterpriseservic es.dll"
/R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c5619 34e089\system.x ml.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.service s\1.0.5000.0__b 03f5f7f11d50a3a \system.web.ser vices.dll"
/R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c561934e0 89\system.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web\1.0.500 0.0__b03f5f7f11 d50a3a\system.w eb.dll"
/R:"c:\windows\a ssembly\gac\sys tem.drawing\1.0 .5000.0__b03f5f 7f11d50a3a\syst em.drawing.dll"
/R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b77a5c561 934e089\system. data.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.mobile\ 1.0.5000.0__b03 f5f7f11d50a3a\s ystem.web.mobil e.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\webapplic ation1\3860b6e6 \760156ee\assem bly\dl2\2fa85b6 b\50f17af8_e2e2 c401\webapplica tion1.dll"
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1. 4322\Temporary ASP.NET
Files\webapplic ation1\3860b6e6 \760156ee\xs005 t5z.dll" /D:DEBUG=1 /debug+
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webapplic ation1\3860b6e6 \760156ee\xs005 t5z.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\LO CALS~1\Temp\': Access is denied.

Show Complete Compilation Source:
Line 1:
'------------------------------------------------------------------------------
Line 2: ' <autogenerate d>
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.Visua lBasic
Line 15: Imports System
Line 16: Imports System.Collecti ons
Line 17: Imports System.Collecti ons.Specialized
Line 18: Imports System.Configur ation
Line 19: Imports System.Text
Line 20: Imports System.Text.Reg ularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Cach ing
Line 23: Imports System.Web.Secu rity
Line 24: Imports System.Web.Sess ionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.H tmlControls
Line 27: Imports System.Web.UI.W ebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime .CompilerServic es.CompilerGlob alScopeAttribut e()> _
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_asa x.__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.432 2.573; ASP.NET
Version:1.1.432 2.573

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

Regards

James
Jul 22 '05 #1
3 2660
try asking your question in a .net group. this is a classic asp group.

damn, i hate the word classic.
"James Proctor" <Ja**********@d iscussions.micr osoft.com> wrote in message
news:A2******** *************** ***********@mic rosoft.com...
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\LO CALS~1\Temp\': Access is denied.

Source Error:

[No relevant source lines]
Source File: vbc : Line: 0

Show Detailed Compiler Output:
C:\WINDOWS\syst em32>
"c:\windows\mic rosoft.net\fram ework\v1.1.4322 \vbc.exe"
/t:library /utf8output
/R:"c:\windows\a ssembly\gac\sys tem.enterprises ervices\1.0.500 0.0__b03f5f7f11 d50a3a\system.e nterpriseservic es.dll"
/R:"c:\windows\a ssembly\gac\sys tem.xml\1.0.500 0.0__b77a5c5619 34e089\system.x ml.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.service s\1.0.5000.0__b 03f5f7f11d50a3a \system.web.ser vices.dll"
/R:"c:\windows\a ssembly\gac\sys tem\1.0.5000.0_ _b77a5c561934e0 89\system.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web\1.0.500 0.0__b03f5f7f11 d50a3a\system.w eb.dll"
/R:"c:\windows\a ssembly\gac\sys tem.drawing\1.0 .5000.0__b03f5f 7f11d50a3a\syst em.drawing.dll"
/R:"c:\windows\a ssembly\gac\sys tem.data\1.0.50 00.0__b77a5c561 934e089\system. data.dll"
/R:"c:\windows\a ssembly\gac\sys tem.web.mobile\ 1.0.5000.0__b03 f5f7f11d50a3a\s ystem.web.mobil e.dll"
/R:"c:\windows\m icrosoft.net\fr amework\v1.1.43 22\temporary asp.net
files\webapplic ation1\3860b6e6 \760156ee\assem bly\dl2\2fa85b6 b\50f17af8_e2e2 c401\webapplica tion1.dll"
/out:"C:\WINDOWS \Microsoft.NET\ Framework\v1.1. 4322\Temporary ASP.NET
Files\webapplic ation1\3860b6e6 \760156ee\xs005 t5z.dll" /D:DEBUG=1 /debug+
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webapplic ation1\3860b6e6 \760156ee\xs005 t5z.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\LO CALS~1\Temp\': Access is denied.

Show Complete Compilation Source:
Line 1:
'------------------------------------------------------------------------------
Line 2: ' <autogenerate d>
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.Visua lBasic
Line 15: Imports System
Line 16: Imports System.Collecti ons
Line 17: Imports System.Collecti ons.Specialized
Line 18: Imports System.Configur ation
Line 19: Imports System.Text
Line 20: Imports System.Text.Reg ularExpressions
Line 21: Imports System.Web
Line 22: Imports System.Web.Cach ing
Line 23: Imports System.Web.Secu rity
Line 24: Imports System.Web.Sess ionState
Line 25: Imports System.Web.UI
Line 26: Imports System.Web.UI.H tmlControls
Line 27: Imports System.Web.UI.W ebControls
Line 28:
Line 29: Namespace ASP
Line 30:
Line 31:
<System.Runtime .CompilerServic es.CompilerGlob alScopeAttribut e()> _
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_asa x.__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.432 2.573;
ASP.NET
Version:1.1.432 2.573

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

Regards

James

Jul 22 '05 #2

"thorpe" <th****@notthor pesystems.com> wrote in message
news:41******** @dnews.tpgi.com .au...
try asking your question in a .net group. this is a classic asp group.

damn, i hate the word classic.


How about ASP.deprecated? ;]

Ray at work

Jul 22 '05 #3
have to agree.

long live php. :-)
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:OL******** ******@tk2msftn gp13.phx.gbl...

"thorpe" <th****@notthor pesystems.com> wrote in message
news:41******** @dnews.tpgi.com .au...
try asking your question in a .net group. this is a classic asp group.

damn, i hate the word classic.


How about ASP.deprecated? ;]

Ray at work

Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2333
by: lawrence | last post by:
I'm probably missing something obvious, but I'm unable to write a file with this function. I've used my FTP software to set permissions to 777 on all the files in question. I've tried r, r+, w, and w+ as possible ways of opening the files. The first fopen is trying to create a file where none exists. It fails (thought I've set dir permissions to 777 as well). How can I create a file? There error messages print back the full input, so...
1
3407
by: James Proctor | last post by:
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...
2
2046
by: jimjxr | last post by:
Hi, I'm trying to use ICodeCompiler.CompileAssemblyFromSource to compile C# source code (in a string) into assembly dynamically. This works fine in a console program, but fails under ASP.NET, the compilation error I got is CS1619: "Cannot create temporary file 'c:\WINDOWS\system32\CSC201E.tmp' -- Access is denied. " It seems that the C# compiler tries to create some temp file in my system32 dir, and ASP.NET's process doesn't have the...
10
4993
by: robwharram | last post by:
Hi, I'm quite frustrated in the fact that I can't even display a simple "Hello World" message on .Net. I've been through all of the groups and searched all over the place and haven't been able to figure out the solution to this problem. First off, the server is Windows Server 2003 - Web Edition (IIS 6) and I'm using .Net Framework v1.1.4322.
9
17966
by: Zak Milas | last post by:
I have the code below: Private Sub cmdFill_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdFill.Click Dim Employee As UploadFile, Count As Integer, Temp As String FileNum = FreeFile() FileOpen(FileNum, TextBox1.Text, OpenMode.Random, , , Len(Employee)) Count = 1 lstView.Items.Clear() Do While Not EOF(FileNum) FileGet(FileNum, Employee, Count)
8
2580
by: Paw | last post by:
Greetings. I use asp. what I need is is when a visitor comes to the site, I need it to check the host name. if "www.hometowndigest.com" is the host, then check a folder named "something" and if the folder does not exsist, create folder "www" and then copy folder "temp" and its contents. If the folder "www" is there, look in it, check to see if the files in folder "temp" are in there, if not, copy the files that are not from folder...
1
5891
by: pareptrc | last post by:
Dear all, I want to write a pdf file from crystal report in my web application. Here is my proc: Private Sub CreatePDFReport(ByVal KeyReference As String) Dim objReport As New ReportDocument() Dim diskOpts As New DiskFileDestinationOptions()
2
2689
by: UJ | last post by:
I've got a web service that is giving me back this error message. The directory is Windows\Temp and I have given everybody complete access to this directory and am still getting the error. Any suggestions? TIA - Jeff
23
7416
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these in an array. The application compiles but aborts without giving me any useful information. What I suspect is happening is infinite recursion. Each Directory object creates an array of Subdirectories each of which has an array of...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5309
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.