473,795 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

simple web fails with C:\Temp problem

I have a super simple asp.net web (hello world plus the current time) which
works fine on my development system. When copied to the target server an
error is reported in that a file cannot be created in the C:\Temp folder.
The person responsible fo rthe server has tried to play with permissions on
that folder without any success. Can anybody point me, or more importnatly
him, in the right direction? I have tried this with a web matrix generated
web (just one file, default.aspx) and with a VS.net generated one, both with
the same error. And bot work OK on the development system. Thanks!
Nov 18 '05 #1
3 1190
My best guess is the ASPNET local user account needs to have write access to
the temp folder.

Is your system using impersonation?

"Robm" <ro**@rkmengine ering.com> wrote in message
news:31******** *************@n ews20.bellgloba l.com...
I have a super simple asp.net web (hello world plus the current time) which works fine on my development system. When copied to the target server an
error is reported in that a file cannot be created in the C:\Temp folder.
The person responsible fo rthe server has tried to play with permissions on that folder without any success. Can anybody point me, or more importnatly
him, in the right direction? I have tried this with a web matrix generated
web (just one file, default.aspx) and with a VS.net generated one, both with the same error. And bot work OK on the development system. Thanks!

Nov 18 '05 #2
Since impersonation is off by default, I would think that I am not using
impersonation.
I assume that the web guy did indeed try to give write access to C:\Temp,
since he said that he would be playing with permissions.

"ESPN Lover" <es**@lover.com > wrote in message
news:ug******** *****@TK2MSFTNG P10.phx.gbl...
My best guess is the ASPNET local user account needs to have write access
to
the temp folder.

Is your system using impersonation?

"Robm" <ro**@rkmengine ering.com> wrote in message
news:31******** *************@n ews20.bellgloba l.com...
I have a super simple asp.net web (hello world plus the current time)

which
works fine on my development system. When copied to the target server an
error is reported in that a file cannot be created in the C:\Temp folder.
The person responsible fo rthe server has tried to play with permissions

on
that folder without any success. Can anybody point me, or more
importnatly
him, in the right direction? I have tried this with a web matrix
generated
web (just one file, default.aspx) and with a VS.net generated one, both

with
the same error. And bot work OK on the development system. Thanks!


Nov 18 '05 #3
Have your web guy send a screenshot of the permission setting where ASPNET
user has access to that folder. Sometimes web guys can be lazy or maybe
they don't understand all of the requirements for permissions like they
ought to.

Go ahead and try impersonation to see if that works. If so, then the web
guy probably didn't set the permissions to the ASPNET user.

Good luck! :-)
"Robm" <ro**@rkmengine ering.com> wrote in message
news:WL******** *************@n ews20.bellgloba l.com...
Since impersonation is off by default, I would think that I am not using
impersonation.
I assume that the web guy did indeed try to give write access to C:\Temp,
since he said that he would be playing with permissions.

"ESPN Lover" <es**@lover.com > wrote in message
news:ug******** *****@TK2MSFTNG P10.phx.gbl...
My best guess is the ASPNET local user account needs to have write access to
the temp folder.

Is your system using impersonation?

"Robm" <ro**@rkmengine ering.com> wrote in message
news:31******** *************@n ews20.bellgloba l.com...
I have a super simple asp.net web (hello world plus the current time)

which
works fine on my development system. When copied to the target server an error is reported in that a file cannot be created in the C:\Temp folder. The person responsible fo rthe server has tried to play with
permissions on
that folder without any success. Can anybody point me, or more
importnatly
him, in the right direction? I have tried this with a web matrix
generated
web (just one file, default.aspx) and with a VS.net generated one, both

with
the same error. And bot work OK on the development system. Thanks!



Nov 18 '05 #4

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

Similar topics

1
6888
by: Bilo Aga | last post by:
The installation of MSDE fails and I dont find any solution to get it work. If I start the setup than a windows with the time bar appears and says it will take 1 minute. After nearly 1 minute it closes the window and gives no additional information. But I see that it generates first all the directories and files in c:\Programme but after the setup is end everything is deleted. Nearly everything , I see a service "MSSQLServerADHelper" is...
0
2191
by: Mick Hardy | last post by:
Hi, Has anyone seen this weird behaviour or have any suggestions or can anyone reproduce it? The history: I converted a large third party DB from 97 to XP and it uses the TransferSpreadsheet method. This method requires a somewhat complicated spreadsheet to be open in order to work. A simple
3
2134
by: candy | last post by:
why this code enters an infinite loop. i dont know what is the problem in while((c=fgetc(file))!='\n' && c!='\r') It enters the infinte loop in this statement. The aim of the program is to remove comments of type // It uses a temp file and after the operation , deletes the file.
8
5115
by: Ross A. Finlayson | last post by:
I'm trying to write some C code, but I want to use C++'s std::vector. Indeed, if the code is compiled as C++, I want the container to actually be std::vector, in this case of a collection of value types or std::vector<int>. So where I would use an int* and reallocate it from time to time in C, and randomly access it via , then I figure to copy the capacity and reserve methods, because I just need a growable array. I get to considering...
1
2048
by: Tim | last post by:
I can't seem to figure out why this very simple linked list wont build.. I mean, there is no intelligence, just add to end. Anyway, please let me know if something i can do will make head (the root pointer) not be null. /* LINKED LIST DEFINITIONS */ typedef struct a_fnode {
2
2508
by: Robert Magnusson | last post by:
Hi all, I have a healthy class defined that happily serializes and deserializes from the underlying XML file. The problem I hit is that, as soon as I add an implicit conversion in any of the classes (I'm converting from my class into OleDbParameter), the deserialization fails. The following is the error displayed when the code fails during ASPX (C#) processing:
6
9427
by: sathyashrayan | last post by:
Dear group, Following is a exercise from a book called "Oreilly's practical C programming". I just wanted to do a couple of C programming exercise. I do have K and R book, but let me try some simple one. Exercise 4-2: Write a program to print a block E using asterisks (*), where the E has a height of seven characters
2
5186
by: Vitali Gontsharuk | last post by:
Hi! I have a problem programming a simple client-server game, which is called pingpong ;-) The final program will first be started as a server (nr. 2) and then as a client. The client then sends the message "Ping" to the server, which reads it and answers with a "Pong". The game is really simple and the coding should be also very simple! But for me it isn't. By the way, the program uses datagram sockets (UDP). And, I'm using
9
19160
by: Emin | last post by:
Dear Experts, I have a fairly simple query in which adding a where clause slows things down by at least a factor of 100. The following is the slow version of the query ------------------------- SELECT * FROM ( Select x.event_date From x FULL OUTER JOIN y ON x.event_date = y.event_date
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9522
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10443
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10216
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
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
10002
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
6783
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
5437
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...
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.