473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Wanted: Help with KB 825738

I refered the engineer at my hosting service to
http://support.microsoft.com/default...b;en-us;825738 where he
tried to follow the directions there.

He said there was no such file: Document settings\ServerName\ASPNET\Local
settings\Temp

I said it must be a typo, they meant to say c:\Documents And Settings\Server
Name\ASPNET\Local settings\temp.

He said he still cannot find any such directory. I believe he is running
windows 2000 server.

Oh -- I'm running windows xp 2003 server and I see I have no such directory
either. Where is it?

What is going on here?

Thanks,
Siegfried
Nov 19 '05 #1
13 3588
What sort of engineer do you have anyway? A train engineer?

Finding a directory path is an academic exercise, the sort of thing anyone
who knows how to use Windows should be able to do with their eyes closed.
How much are you paying this guy anyway?
He said there was no such file: Document settings\ServerName\ASPNET\Local
settings\Temp

I said it must be a typo, they meant to say c:\Documents And
Settings\Server
Name\ASPNET\Local settings\temp.
Yes, it's a typo. However, based on the entire path (note the reference to
"Local Settings\Temp") the directory reference is most certainly a User
account Temp folder. Now, I can't imagine how many user account folders are
in the "Documents and Settings" folder on the machine in question, but
unless everyone in your office shares the same computer, there couldn't be
more than a dozen or so. Again, the reference to "\Server Name" is obviously
NOT a reference to a folder named "Server Name," but (in the context of user
account folders) must be the folder having the machine's (server's) account
name. Assuming that, for example, the machine name was "AOL_User," the
folder in question would be "\Documents and Settings\AOL_User\ASPNET\Local
Settings\Temp."

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:O5*************@TK2MSFTNGP10.phx.gbl...I refered the engineer at my hosting service to
http://support.microsoft.com/default...b;en-us;825738 where he
tried to follow the directions there.

He said there was no such file: Document settings\ServerName\ASPNET\Local
settings\Temp

I said it must be a typo, they meant to say c:\Documents And
Settings\Server
Name\ASPNET\Local settings\temp.

He said he still cannot find any such directory. I believe he is running
windows 2000 server.

Oh -- I'm running windows xp 2003 server and I see I have no such
directory
either. Where is it?

What is going on here?

Thanks,
Siegfried

Nov 19 '05 #2
Kevin,
Well maybe I'm just a train engineer because I cannot find this directory on
my machine and I have IIS running serving my private network of three
computers. Inside my c:\Documents and Settings I have "Administrator", "All
Users", "Default User".

I'm running Windows 2003 Adv Server. Why don't I see this directory on my
computer? I did not delete it.
Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:#6**************@TK2MSFTNGP09.phx.gbl...
What sort of engineer do you have anyway? A train engineer?

Finding a directory path is an academic exercise, the sort of thing anyone
who knows how to use Windows should be able to do with their eyes closed.
How much are you paying this guy anyway?
He said there was no such file: Document settings\ServerName\ASPNET\Local settings\Temp

I said it must be a typo, they meant to say c:\Documents And
Settings\Server
Name\ASPNET\Local settings\temp.
Yes, it's a typo. However, based on the entire path (note the reference to
"Local Settings\Temp") the directory reference is most certainly a User
account Temp folder. Now, I can't imagine how many user account folders

are in the "Documents and Settings" folder on the machine in question, but
unless everyone in your office shares the same computer, there couldn't be
more than a dozen or so. Again, the reference to "\Server Name" is obviously NOT a reference to a folder named "Server Name," but (in the context of user account folders) must be the folder having the machine's (server's) account name. Assuming that, for example, the machine name was "AOL_User," the
folder in question would be "\Documents and Settings\AOL_User\ASPNET\Local
Settings\Temp."

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:O5*************@TK2MSFTNGP10.phx.gbl...
I refered the engineer at my hosting service to
http://support.microsoft.com/default...b;en-us;825738 where he
tried to follow the directions there.

He said there was no such file: Document settings\ServerName\ASPNET\Local settings\Temp

I said it must be a typo, they meant to say c:\Documents And
Settings\Server
Name\ASPNET\Local settings\temp.

He said he still cannot find any such directory. I believe he is running
windows 2000 server.

Oh -- I'm running windows xp 2003 server and I see I have no such
directory
either. Where is it?

What is going on here?

Thanks,
Siegfried


Nov 19 '05 #3
Hi Siegfried,

The folder belongs to the user account under which ASP.Net is running. Look
for a folder for THAT user. And don't expect to find it on your machine
unless you have an IIS web server set up and ASP.Net running on a web site
on your local machine.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Kevin,
Well maybe I'm just a train engineer because I cannot find this directory
on
my machine and I have IIS running serving my private network of three
computers. Inside my c:\Documents and Settings I have "Administrator",
"All
Users", "Default User".

I'm running Windows 2003 Adv Server. Why don't I see this directory on my
computer? I did not delete it.
Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:#6**************@TK2MSFTNGP09.phx.gbl...
What sort of engineer do you have anyway? A train engineer?

Finding a directory path is an academic exercise, the sort of thing
anyone
who knows how to use Windows should be able to do with their eyes closed.
How much are you paying this guy anyway?
> He said there was no such file: Document settings\ServerName\ASPNET\Local > settings\Temp
>
> I said it must be a typo, they meant to say c:\Documents And
> Settings\Server
> Name\ASPNET\Local settings\temp.


Yes, it's a typo. However, based on the entire path (note the reference
to
"Local Settings\Temp") the directory reference is most certainly a User
account Temp folder. Now, I can't imagine how many user account folders

are
in the "Documents and Settings" folder on the machine in question, but
unless everyone in your office shares the same computer, there couldn't
be
more than a dozen or so. Again, the reference to "\Server Name" is

obviously
NOT a reference to a folder named "Server Name," but (in the context of

user
account folders) must be the folder having the machine's (server's)

account
name. Assuming that, for example, the machine name was "AOL_User," the
folder in question would be "\Documents and
Settings\AOL_User\ASPNET\Local
Settings\Temp."

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:O5*************@TK2MSFTNGP10.phx.gbl...
>I refered the engineer at my hosting service to
> http://support.microsoft.com/default...b;en-us;825738 where he
> tried to follow the directions there.
>
> He said there was no such file: Document settings\ServerName\ASPNET\Local > settings\Temp
>
> I said it must be a typo, they meant to say c:\Documents And
> Settings\Server
> Name\ASPNET\Local settings\temp.
>
> He said he still cannot find any such directory. I believe he is
> running
> windows 2000 server.
>
> Oh -- I'm running windows xp 2003 server and I see I have no such
> directory
> either. Where is it?
>
> What is going on here?
>
> Thanks,
> Siegfried
>
>



Nov 19 '05 #4
BTW, Siegfried,

I didn't say YOU must be a train engineer! However, anyone that calls
himself an "engineer" and can't solve these sorts of issues certainly has
some. I was referring to the hosting service "engineer."

Would his name be "Casey Jones" by any chance?

--
;-),

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Kevin,
Well maybe I'm just a train engineer because I cannot find this directory
on
my machine and I have IIS running serving my private network of three
computers. Inside my c:\Documents and Settings I have "Administrator",
"All
Users", "Default User".

I'm running Windows 2003 Adv Server. Why don't I see this directory on my
computer? I did not delete it.
Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:#6**************@TK2MSFTNGP09.phx.gbl...
What sort of engineer do you have anyway? A train engineer?

Finding a directory path is an academic exercise, the sort of thing
anyone
who knows how to use Windows should be able to do with their eyes closed.
How much are you paying this guy anyway?
> He said there was no such file: Document settings\ServerName\ASPNET\Local > settings\Temp
>
> I said it must be a typo, they meant to say c:\Documents And
> Settings\Server
> Name\ASPNET\Local settings\temp.


Yes, it's a typo. However, based on the entire path (note the reference
to
"Local Settings\Temp") the directory reference is most certainly a User
account Temp folder. Now, I can't imagine how many user account folders

are
in the "Documents and Settings" folder on the machine in question, but
unless everyone in your office shares the same computer, there couldn't
be
more than a dozen or so. Again, the reference to "\Server Name" is

obviously
NOT a reference to a folder named "Server Name," but (in the context of

user
account folders) must be the folder having the machine's (server's)

account
name. Assuming that, for example, the machine name was "AOL_User," the
folder in question would be "\Documents and
Settings\AOL_User\ASPNET\Local
Settings\Temp."

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:O5*************@TK2MSFTNGP10.phx.gbl...
>I refered the engineer at my hosting service to
> http://support.microsoft.com/default...b;en-us;825738 where he
> tried to follow the directions there.
>
> He said there was no such file: Document settings\ServerName\ASPNET\Local > settings\Temp
>
> I said it must be a typo, they meant to say c:\Documents And
> Settings\Server
> Name\ASPNET\Local settings\temp.
>
> He said he still cannot find any such directory. I believe he is
> running
> windows 2000 server.
>
> Oh -- I'm running windows xp 2003 server and I see I have no such
> directory
> either. Where is it?
>
> What is going on here?
>
> Thanks,
> Siegfried
>
>



Nov 19 '05 #5
Kevin or anyone else:
Well if I am running windows 2003 Adv Server and I cannot find this
directory, then the hosting service might be having the same problem I am.

Can you help me figure out how to apply
http://support.microsoft.com/default...b;en-us;825738 to my
machine? I should have that directory! I know I am running ASP.NET because I
have web application that I use daily. And I wrote it myself in C#!

How do I tell what account the ASP.NET is running? I thought it was the
ASPNET account and I have not made any changes to that effect (affect?). I'm
running pretty much a vanilla installation.

I have an ASPNET account according to the "Computer Management" console,
along with Guest (disabled), siegfried, IUSR_KING-MARK, IWAM_KING-MARK,
SQLDebugger, SUPPORT_388945a0 (disabled).

So what is wrong with my machine?

My machine name is 'KING-MARK' and you are telling me that there should be a
folder there called c:\Documents and Settings\KING-MARK and I am telling you
I have no such folder and I did not delete it.

Hmmm... that is strange. I created an account for myself that I seldom use
called "siegfried" and their is no directory called "\documents and
settings\siegfried" for that account either.

Could it have something to do with the choice of my machine names containing
a "-". Uggghhh I hope not.

Do I have to create this folder?

Thanks for all your help so far!

Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:Ou**************@TK2MSFTNGP09.phx.gbl...
Hi Siegfried,

The folder belongs to the user account under which ASP.Net is running. Look for a folder for THAT user. And don't expect to find it on your machine
unless you have an IIS web server set up and ASP.Net running on a web site
on your local machine.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Kevin,
Well maybe I'm just a train engineer because I cannot find this directory on
my machine and I have IIS running serving my private network of three
computers. Inside my c:\Documents and Settings I have "Administrator",
"All
Users", "Default User".

I'm running Windows 2003 Adv Server. Why don't I see this directory on my computer? I did not delete it.
Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:#6**************@TK2MSFTNGP09.phx.gbl...
What sort of engineer do you have anyway? A train engineer?

Finding a directory path is an academic exercise, the sort of thing
anyone
who knows how to use Windows should be able to do with their eyes closed. How much are you paying this guy anyway?

> He said there was no such file: Document

settings\ServerName\ASPNET\Local
> settings\Temp
>
> I said it must be a typo, they meant to say c:\Documents And
> Settings\Server
> Name\ASPNET\Local settings\temp.

Yes, it's a typo. However, based on the entire path (note the reference
to
"Local Settings\Temp") the directory reference is most certainly a User
account Temp folder. Now, I can't imagine how many user account folders

are
in the "Documents and Settings" folder on the machine in question, but
unless everyone in your office shares the same computer, there couldn't
be
more than a dozen or so. Again, the reference to "\Server Name" is

obviously
NOT a reference to a folder named "Server Name," but (in the context of

user
account folders) must be the folder having the machine's (server's)

account
name. Assuming that, for example, the machine name was "AOL_User," the
folder in question would be "\Documents and
Settings\AOL_User\ASPNET\Local
Settings\Temp."

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:O5*************@TK2MSFTNGP10.phx.gbl...
>I refered the engineer at my hosting service to
> http://support.microsoft.com/default...b;en-us;825738 where he > tried to follow the directions there.
>
> He said there was no such file: Document

settings\ServerName\ASPNET\Local
> settings\Temp
>
> I said it must be a typo, they meant to say c:\Documents And
> Settings\Server
> Name\ASPNET\Local settings\temp.
>
> He said he still cannot find any such directory. I believe he is
> running
> windows 2000 server.
>
> Oh -- I'm running windows xp 2003 server and I see I have no such
> directory
> either. Where is it?
>
> What is going on here?
>
> Thanks,
> Siegfried
>
>



Nov 19 '05 #6
Hi Siegfried,

On a Windows 2003 server, the default ASP.Net account is:

[Domain-Or-ServerName]\NETWORK SERVICE

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:eg**************@TK2MSFTNGP15.phx.gbl...
Kevin or anyone else:
Well if I am running windows 2003 Adv Server and I cannot find this
directory, then the hosting service might be having the same problem I am.

Can you help me figure out how to apply
http://support.microsoft.com/default...b;en-us;825738 to my
machine? I should have that directory! I know I am running ASP.NET because
I
have web application that I use daily. And I wrote it myself in C#!

How do I tell what account the ASP.NET is running? I thought it was the
ASPNET account and I have not made any changes to that effect (affect?).
I'm
running pretty much a vanilla installation.

I have an ASPNET account according to the "Computer Management" console,
along with Guest (disabled), siegfried, IUSR_KING-MARK, IWAM_KING-MARK,
SQLDebugger, SUPPORT_388945a0 (disabled).

So what is wrong with my machine?

My machine name is 'KING-MARK' and you are telling me that there should be
a
folder there called c:\Documents and Settings\KING-MARK and I am telling
you
I have no such folder and I did not delete it.

Hmmm... that is strange. I created an account for myself that I seldom use
called "siegfried" and their is no directory called "\documents and
settings\siegfried" for that account either.

Could it have something to do with the choice of my machine names
containing
a "-". Uggghhh I hope not.

Do I have to create this folder?

Thanks for all your help so far!

Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:Ou**************@TK2MSFTNGP09.phx.gbl...
Hi Siegfried,

The folder belongs to the user account under which ASP.Net is running.

Look
for a folder for THAT user. And don't expect to find it on your machine
unless you have an IIS web server set up and ASP.Net running on a web
site
on your local machine.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
> Kevin,
> Well maybe I'm just a train engineer because I cannot find this directory > on
> my machine and I have IIS running serving my private network of three
> computers. Inside my c:\Documents and Settings I have "Administrator",
> "All
> Users", "Default User".
>
> I'm running Windows 2003 Adv Server. Why don't I see this directory on my > computer? I did not delete it.
> Siegfried
>
> "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
> news:#6**************@TK2MSFTNGP09.phx.gbl...
>> What sort of engineer do you have anyway? A train engineer?
>>
>> Finding a directory path is an academic exercise, the sort of thing
>> anyone
>> who knows how to use Windows should be able to do with their eyes closed. >> How much are you paying this guy anyway?
>>
>> > He said there was no such file: Document
> settings\ServerName\ASPNET\Local
>> > settings\Temp
>> >
>> > I said it must be a typo, they meant to say c:\Documents And
>> > Settings\Server
>> > Name\ASPNET\Local settings\temp.
>>
>> Yes, it's a typo. However, based on the entire path (note the
>> reference
>> to
>> "Local Settings\Temp") the directory reference is most certainly a
>> User
>> account Temp folder. Now, I can't imagine how many user account
>> folders
> are
>> in the "Documents and Settings" folder on the machine in question, but
>> unless everyone in your office shares the same computer, there
>> couldn't
>> be
>> more than a dozen or so. Again, the reference to "\Server Name" is
> obviously
>> NOT a reference to a folder named "Server Name," but (in the context
>> of
> user
>> account folders) must be the folder having the machine's (server's)
> account
>> name. Assuming that, for example, the machine name was "AOL_User," the
>> folder in question would be "\Documents and
>> Settings\AOL_User\ASPNET\Local
>> Settings\Temp."
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> A watched clock never boils.
>>
>> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> news:O5*************@TK2MSFTNGP10.phx.gbl...
>> >I refered the engineer at my hosting service to
>> > http://support.microsoft.com/default...b;en-us;825738 where he >> > tried to follow the directions there.
>> >
>> > He said there was no such file: Document
> settings\ServerName\ASPNET\Local
>> > settings\Temp
>> >
>> > I said it must be a typo, they meant to say c:\Documents And
>> > Settings\Server
>> > Name\ASPNET\Local settings\temp.
>> >
>> > He said he still cannot find any such directory. I believe he is
>> > running
>> > windows 2000 server.
>> >
>> > Oh -- I'm running windows xp 2003 server and I see I have no such
>> > directory
>> > either. Where is it?
>> >
>> > What is going on here?
>> >
>> > Thanks,
>> > Siegfried
>> >
>> >
>>
>>
>
>



Nov 19 '05 #7
re:
How do I tell what account the ASP.NET is running?
Save the following as identity.aspx and run it.

identity.aspx
-------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = tmp
End Sub
</script>
<html>
<head>
<title>WindowsIdentity.GetCurrent.Name()</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
------------------

When you run that file, it will return the current ASP.NET identity,
i.e., the account ASP.NET is running as.

re: Can you help me figure out how to apply
http://support.microsoft.com/default...b;en-us;825738
to my machine? I should have that directory!
If you have set a different TEMP or TMP directory for Windows in your
environment variables you may have any directory as your temp directory
for ASP.NET.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:eg**************@TK2MSFTNGP15.phx.gbl... Kevin or anyone else:
Well if I am running windows 2003 Adv Server and I cannot find this
directory, then the hosting service might be having the same problem I am.

Can you help me figure out how to apply
http://support.microsoft.com/default...b;en-us;825738 to my
machine? I should have that directory! I know I am running ASP.NET because I
have web application that I use daily. And I wrote it myself in C#!

How do I tell what account the ASP.NET is running? I thought it was the
ASPNET account and I have not made any changes to that effect (affect?). I'm
running pretty much a vanilla installation.

I have an ASPNET account according to the "Computer Management" console,
along with Guest (disabled), siegfried, IUSR_KING-MARK, IWAM_KING-MARK,
SQLDebugger, SUPPORT_388945a0 (disabled).

So what is wrong with my machine?

My machine name is 'KING-MARK' and you are telling me that there should be a
folder there called c:\Documents and Settings\KING-MARK and I am telling you
I have no such folder and I did not delete it.

Hmmm... that is strange. I created an account for myself that I seldom use
called "siegfried" and their is no directory called "\documents and
settings\siegfried" for that account either.

Could it have something to do with the choice of my machine names containing
a "-". Uggghhh I hope not.

Do I have to create this folder?

Thanks for all your help so far!

Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:Ou**************@TK2MSFTNGP09.phx.gbl...
Hi Siegfried,

The folder belongs to the user account under which ASP.Net is running.

Look
for a folder for THAT user. And don't expect to find it on your machine
unless you have an IIS web server set up and ASP.Net running on a web site
on your local machine.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
> Kevin,
> Well maybe I'm just a train engineer because I cannot find this directory > on
> my machine and I have IIS running serving my private network of three
> computers. Inside my c:\Documents and Settings I have "Administrator",
> "All
> Users", "Default User".
>
> I'm running Windows 2003 Adv Server. Why don't I see this directory on my > computer? I did not delete it.
> Siegfried
>
> "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
> news:#6**************@TK2MSFTNGP09.phx.gbl...
>> What sort of engineer do you have anyway? A train engineer?
>>
>> Finding a directory path is an academic exercise, the sort of thing
>> anyone
>> who knows how to use Windows should be able to do with their eyes closed. >> How much are you paying this guy anyway?
>>
>> > He said there was no such file: Document
> settings\ServerName\ASPNET\Local
>> > settings\Temp
>> >
>> > I said it must be a typo, they meant to say c:\Documents And
>> > Settings\Server
>> > Name\ASPNET\Local settings\temp.
>>
>> Yes, it's a typo. However, based on the entire path (note the reference
>> to
>> "Local Settings\Temp") the directory reference is most certainly a User
>> account Temp folder. Now, I can't imagine how many user account folders
> are
>> in the "Documents and Settings" folder on the machine in question, but
>> unless everyone in your office shares the same computer, there couldn't
>> be
>> more than a dozen or so. Again, the reference to "\Server Name" is
> obviously
>> NOT a reference to a folder named "Server Name," but (in the context of
> user
>> account folders) must be the folder having the machine's (server's)
> account
>> name. Assuming that, for example, the machine name was "AOL_User," the
>> folder in question would be "\Documents and
>> Settings\AOL_User\ASPNET\Local
>> Settings\Temp."
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> A watched clock never boils.
>>
>> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> news:O5*************@TK2MSFTNGP10.phx.gbl...
>> >I refered the engineer at my hosting service to
>> > http://support.microsoft.com/default...b;en-us;825738 where he >> > tried to follow the directions there.
>> >
>> > He said there was no such file: Document
> settings\ServerName\ASPNET\Local
>> > settings\Temp
>> >
>> > I said it must be a typo, they meant to say c:\Documents And
>> > Settings\Server
>> > Name\ASPNET\Local settings\temp.
>> >
>> > He said he still cannot find any such directory. I believe he is
>> > running
>> > windows 2000 server.
>> >
>> > Oh -- I'm running windows xp 2003 server and I see I have no such
>> > directory
>> > either. Where is it?
>> >
>> > What is going on here?
>> >
>> > Thanks,
>> > Siegfried
>> >
>> >
>>
>>
>
>



Nov 19 '05 #8
OK, when I run that little program (below), I get

NT AUTHORITY\NETWORK SERVICE

Why did this not show up in the list of accounts?

Now should I have a directory called C:\Documents and
Settings\KING-MARK\NETWORK SERVICE? I don't.

How do I apply
http://support.microsoft.com/default...b;en-us;825738 to my
computer when I don't have that directory?

Thanks for your *extremely* prompt responses!
Siegfried

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl...
re:
How do I tell what account the ASP.NET is running?


Save the following as identity.aspx and run it.

identity.aspx
-------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = tmp
End Sub
</script>
<html>
<head>
<title>WindowsIdentity.GetCurrent.Name()</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
------------------

When you run that file, it will return the current ASP.NET identity,
i.e., the account ASP.NET is running as.

re:
Can you help me figure out how to apply
http://support.microsoft.com/default...b;en-us;825738
to my machine? I should have that directory!


If you have set a different TEMP or TMP directory for Windows in your
environment variables you may have any directory as your temp directory
for ASP.NET.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:eg**************@TK2MSFTNGP15.phx.gbl...
Kevin or anyone else:
Well if I am running windows 2003 Adv Server and I cannot find this
directory, then the hosting service might be having the same problem I am.
Can you help me figure out how to apply
http://support.microsoft.com/default...b;en-us;825738 to my
machine? I should have that directory! I know I am running ASP.NET because I have web application that I use daily. And I wrote it myself in C#!

How do I tell what account the ASP.NET is running? I thought it was the
ASPNET account and I have not made any changes to that effect (affect?). I'm running pretty much a vanilla installation.

I have an ASPNET account according to the "Computer Management" console,
along with Guest (disabled), siegfried, IUSR_KING-MARK, IWAM_KING-MARK,
SQLDebugger, SUPPORT_388945a0 (disabled).

So what is wrong with my machine?

My machine name is 'KING-MARK' and you are telling me that there should be a folder there called c:\Documents and Settings\KING-MARK and I am telling you I have no such folder and I did not delete it.

Hmmm... that is strange. I created an account for myself that I seldom use called "siegfried" and their is no directory called "\documents and
settings\siegfried" for that account either.

Could it have something to do with the choice of my machine names containing a "-". Uggghhh I hope not.

Do I have to create this folder?

Thanks for all your help so far!

Siegfried

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:Ou**************@TK2MSFTNGP09.phx.gbl...
Hi Siegfried,

The folder belongs to the user account under which ASP.Net is running.

Look
for a folder for THAT user. And don't expect to find it on your machine
unless you have an IIS web server set up and ASP.Net running on a web site on your local machine.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
> Kevin,
> Well maybe I'm just a train engineer because I cannot find this

directory
> on
> my machine and I have IIS running serving my private network of three
> computers. Inside my c:\Documents and Settings I have "Administrator", > "All
> Users", "Default User".
>
> I'm running Windows 2003 Adv Server. Why don't I see this directory on
my
> computer? I did not delete it.
> Siegfried
>
> "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
> news:#6**************@TK2MSFTNGP09.phx.gbl...
>> What sort of engineer do you have anyway? A train engineer?
>>
>> Finding a directory path is an academic exercise, the sort of thing
>> anyone
>> who knows how to use Windows should be able to do with their eyes

closed.
>> How much are you paying this guy anyway?
>>
>> > He said there was no such file: Document
> settings\ServerName\ASPNET\Local
>> > settings\Temp
>> >
>> > I said it must be a typo, they meant to say c:\Documents And
>> > Settings\Server
>> > Name\ASPNET\Local settings\temp.
>>
>> Yes, it's a typo. However, based on the entire path (note the
reference >> to
>> "Local Settings\Temp") the directory reference is most certainly a User >> account Temp folder. Now, I can't imagine how many user account folders > are
>> in the "Documents and Settings" folder on the machine in question, but >> unless everyone in your office shares the same computer, there couldn't >> be
>> more than a dozen or so. Again, the reference to "\Server Name" is
> obviously
>> NOT a reference to a folder named "Server Name," but (in the context of > user
>> account folders) must be the folder having the machine's (server's)
> account
>> name. Assuming that, for example, the machine name was "AOL_User," the >> folder in question would be "\Documents and
>> Settings\AOL_User\ASPNET\Local
>> Settings\Temp."
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> A watched clock never boils.
>>
>> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> news:O5*************@TK2MSFTNGP10.phx.gbl...
>> >I refered the engineer at my hosting service to
>> > http://support.microsoft.com/default...b;en-us;825738

where he
>> > tried to follow the directions there.
>> >
>> > He said there was no such file: Document
> settings\ServerName\ASPNET\Local
>> > settings\Temp
>> >
>> > I said it must be a typo, they meant to say c:\Documents And
>> > Settings\Server
>> > Name\ASPNET\Local settings\temp.
>> >
>> > He said he still cannot find any such directory. I believe he is
>> > running
>> > windows 2000 server.
>> >
>> > Oh -- I'm running windows xp 2003 server and I see I have no such
>> > directory
>> > either. Where is it?
>> >
>> > What is going on here?
>> >
>> > Thanks,
>> > Siegfried
>> >
>> >
>>
>>
>
>



Nov 19 '05 #9
re:
Why did this not show up in the list of accounts?
It does, but you have to look in the right place.

It doesn't show up in the User Manager, but it does show up when you
attempt to add access permissions for a directory when you right-click it,
and select "Properties" and the "Security" tab, and then add an account
from the list presented.

re: How do I apply
http://support.microsoft.com/default...b;en-us;825738 to my
computer when I don't have that directory?
That KB doesn't apply to your case.

It only applies when you're impersonating, *which you are not*, since ASP.NET
is running as NT AUTHORITY\NETWORK SERVICE, the default account.

From : http://support.microsoft.com/default...b;en-us;825738 :

"The ASP.NET Web application that has the impersonation element set to true
in the Web.config file, and that has the authentication element set to Windows
in the Web.config file, runs under the impersonated account."

You don't have those conditions, ergo, that KB doesn't apply to you.

A simple solution to your problem, if the problem is that the
"NT AUTHORITY\NETWORK SERVICE" account doesn't
have access to a particular directory, is to add that account
to the ACLs for that directory, with RCW permissions, if they
are needed, or at minimum, with Read permission.

But, as things stand, you don't need to give access to *any* account to the directory
c:\Documents And Settings\KING-MARK\ASPNET\Local settings\temp because
you are *not* impersonating ASP.NET.

Unless you are having a problem which you
have not stated, you don't have a problem.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... OK, when I run that little program (below), I get

NT AUTHORITY\NETWORK SERVICE

Why did this not show up in the list of accounts?

Now should I have a directory called C:\Documents and
Settings\KING-MARK\NETWORK SERVICE? I don't.

How do I apply
http://support.microsoft.com/default...b;en-us;825738 to my
computer when I don't have that directory?

Thanks for your *extremely* prompt responses!
Siegfried

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl...
re:
> How do I tell what account the ASP.NET is running?


Save the following as identity.aspx and run it.

identity.aspx
-------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = tmp
End Sub
</script>
<html>
<head>
<title>WindowsIdentity.GetCurrent.Name()</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
------------------

When you run that file, it will return the current ASP.NET identity,
i.e., the account ASP.NET is running as.

re:
> Can you help me figure out how to apply
> http://support.microsoft.com/default...b;en-us;825738
> to my machine? I should have that directory!


If you have set a different TEMP or TMP directory for Windows in your
environment variables you may have any directory as your temp directory
for ASP.NET.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:eg**************@TK2MSFTNGP15.phx.gbl...
> Kevin or anyone else:
> Well if I am running windows 2003 Adv Server and I cannot find this
> directory, then the hosting service might be having the same problem I am. >
> Can you help me figure out how to apply
> http://support.microsoft.com/default...b;en-us;825738 to my
> machine? I should have that directory! I know I am running ASP.NET because I > have web application that I use daily. And I wrote it myself in C#!
>
> How do I tell what account the ASP.NET is running? I thought it was the
> ASPNET account and I have not made any changes to that effect (affect?). I'm > running pretty much a vanilla installation.
>
> I have an ASPNET account according to the "Computer Management" console,
> along with Guest (disabled), siegfried, IUSR_KING-MARK, IWAM_KING-MARK,
> SQLDebugger, SUPPORT_388945a0 (disabled).
>
> So what is wrong with my machine?
>
> My machine name is 'KING-MARK' and you are telling me that there should be a > folder there called c:\Documents and Settings\KING-MARK and I am telling you > I have no such folder and I did not delete it.
>
> Hmmm... that is strange. I created an account for myself that I seldom use > called "siegfried" and their is no directory called "\documents and
> settings\siegfried" for that account either.
>
> Could it have something to do with the choice of my machine names containing > a "-". Uggghhh I hope not.
>
> Do I have to create this folder?
>
> Thanks for all your help so far!
>
> Siegfried
>
> "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
> news:Ou**************@TK2MSFTNGP09.phx.gbl...
>> Hi Siegfried,
>>
>> The folder belongs to the user account under which ASP.Net is running.
> Look
>> for a folder for THAT user. And don't expect to find it on your machine
>> unless you have an IIS web server set up and ASP.Net running on a web site >> on your local machine.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> A watched clock never boils.
>>
>> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> news:%2***************@TK2MSFTNGP15.phx.gbl...
>> > Kevin,
>> > Well maybe I'm just a train engineer because I cannot find this
> directory
>> > on
>> > my machine and I have IIS running serving my private network of three
>> > computers. Inside my c:\Documents and Settings I have "Administrator", >> > "All
>> > Users", "Default User".
>> >
>> > I'm running Windows 2003 Adv Server. Why don't I see this directory on > my
>> > computer? I did not delete it.
>> > Siegfried
>> >
>> > "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
>> > news:#6**************@TK2MSFTNGP09.phx.gbl...
>> >> What sort of engineer do you have anyway? A train engineer?
>> >>
>> >> Finding a directory path is an academic exercise, the sort of thing
>> >> anyone
>> >> who knows how to use Windows should be able to do with their eyes
> closed.
>> >> How much are you paying this guy anyway?
>> >>
>> >> > He said there was no such file: Document
>> > settings\ServerName\ASPNET\Local
>> >> > settings\Temp
>> >> >
>> >> > I said it must be a typo, they meant to say c:\Documents And
>> >> > Settings\Server
>> >> > Name\ASPNET\Local settings\temp.
>> >>
>> >> Yes, it's a typo. However, based on the entire path (note the reference >> >> to
>> >> "Local Settings\Temp") the directory reference is most certainly a User >> >> account Temp folder. Now, I can't imagine how many user account folders >> > are
>> >> in the "Documents and Settings" folder on the machine in question, but >> >> unless everyone in your office shares the same computer, there couldn't >> >> be
>> >> more than a dozen or so. Again, the reference to "\Server Name" is
>> > obviously
>> >> NOT a reference to a folder named "Server Name," but (in the context of >> > user
>> >> account folders) must be the folder having the machine's (server's)
>> > account
>> >> name. Assuming that, for example, the machine name was "AOL_User," the >> >> folder in question would be "\Documents and
>> >> Settings\AOL_User\ASPNET\Local
>> >> Settings\Temp."
>> >>
>> >> --
>> >> HTH,
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> .Net Developer
>> >> A watched clock never boils.
>> >>
>> >> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> >> news:O5*************@TK2MSFTNGP10.phx.gbl...
>> >> >I refered the engineer at my hosting service to
>> >> > http://support.microsoft.com/default...b;en-us;825738 where > he
>> >> > tried to follow the directions there.
>> >> >
>> >> > He said there was no such file: Document
>> > settings\ServerName\ASPNET\Local
>> >> > settings\Temp
>> >> >
>> >> > I said it must be a typo, they meant to say c:\Documents And
>> >> > Settings\Server
>> >> > Name\ASPNET\Local settings\temp.
>> >> >
>> >> > He said he still cannot find any such directory. I believe he is
>> >> > running
>> >> > windows 2000 server.
>> >> >
>> >> > Oh -- I'm running windows xp 2003 server and I see I have no such
>> >> > directory
>> >> > either. Where is it?
>> >> >
>> >> > What is going on here?
>> >> >
>> >> > Thanks,
>> >> > Siegfried

Nov 19 '05 #10
Thanks for sticking with me Juan.
As soon as I get a chance, I'm going to add a new account to my system and
try impersonating it (I need to do this anyway because presently the
IUSR_MACHINE account is choking when the Administrator account has opened
my MSAccess database and created an LDB file the ISR_MACHINE account cannot
open).

Now how do I want to create this account that is to be used exclusively by
perl batch jobs to populate the MSAccess database and by aspnet_wp.exe to
display the contents of the database? I go to Start->administrative
tools->Computer Management->Local users and groups->users->Member of.
Hmm.... The siegfried account is already a member of the "Adminstrators". I
guess I want to remove "Administrators"? What about enable remote control?
I'll deny access for dial in, (I guess) and disallow terminal services
login. Anything else I should be concerned about?

Now, after I set up my web.config to impersonate the siegfried account and
access the MSAccess database, can I expect the c:\Documents and
Settings\KING-MARK\ASPNET directory (KING-MARK is the name of my computer)
to magically appear? And then I go and grant the siegfried account access to
this directory as per KB 825738?

Oh -- and what about the (virtual?) directory Visual Studio created on
behalf of the Administrator account in c:\Inetpub\wwwroot\keyword-jobsearch
which contains my aspx files? Would you recommend I add the "siegfried"
account read/write access to the directory and the database and the aspx
files? Or should I just change the ownership of all the files from
Administrator to the siegfried account? Do I also have to change
c:\Inetpub\wwwroot and c:\Inetpub?

Thank you very much!
Siegfried

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:#5**************@TK2MSFTNGP15.phx.gbl...
re:
Why did this not show up in the list of accounts?
It does, but you have to look in the right place.

It doesn't show up in the User Manager, but it does show up when you
attempt to add access permissions for a directory when you right-click it,
and select "Properties" and the "Security" tab, and then add an account
from the list presented.

re:
How do I apply
http://support.microsoft.com/default...b;en-us;825738 to my
computer when I don't have that directory?


That KB doesn't apply to your case.

It only applies when you're impersonating, *which you are not*, since

ASP.NET is running as NT AUTHORITY\NETWORK SERVICE, the default account.

From : http://support.microsoft.com/default...b;en-us;825738 :

"The ASP.NET Web application that has the impersonation element set to true in the Web.config file, and that has the authentication element set to Windows in the Web.config file, runs under the impersonated account."

You don't have those conditions, ergo, that KB doesn't apply to you.

A simple solution to your problem, if the problem is that the
"NT AUTHORITY\NETWORK SERVICE" account doesn't
have access to a particular directory, is to add that account
to the ACLs for that directory, with RCW permissions, if they
are needed, or at minimum, with Read permission.

But, as things stand, you don't need to give access to *any* account to the directory c:\Documents And Settings\KING-MARK\ASPNET\Local settings\temp because
you are *not* impersonating ASP.NET.

Unless you are having a problem which you
have not stated, you don't have a problem.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
OK, when I run that little program (below), I get

NT AUTHORITY\NETWORK SERVICE

Why did this not show up in the list of accounts?

Now should I have a directory called C:\Documents and
Settings\KING-MARK\NETWORK SERVICE? I don't.

How do I apply
http://support.microsoft.com/default...b;en-us;825738 to my
computer when I don't have that directory?

Thanks for your *extremely* prompt responses!
Siegfried

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl...
re:
> How do I tell what account the ASP.NET is running?

Save the following as identity.aspx and run it.

identity.aspx
-------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = tmp
End Sub
</script>
<html>
<head>
<title>WindowsIdentity.GetCurrent.Name()</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
------------------

When you run that file, it will return the current ASP.NET identity,
i.e., the account ASP.NET is running as.

re:
> Can you help me figure out how to apply
> http://support.microsoft.com/default...b;en-us;825738
> to my machine? I should have that directory!

If you have set a different TEMP or TMP directory for Windows in your
environment variables you may have any directory as your temp directory
for ASP.NET.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:eg**************@TK2MSFTNGP15.phx.gbl...
> Kevin or anyone else:
> Well if I am running windows 2003 Adv Server and I cannot find this
> directory, then the hosting service might be having the same problem I
am.
>
> Can you help me figure out how to apply
> http://support.microsoft.com/default...b;en-us;825738 to my
> machine? I should have that directory! I know I am running ASP.NET

because I
> have web application that I use daily. And I wrote it myself in C#!
>
> How do I tell what account the ASP.NET is running? I thought it was
the > ASPNET account and I have not made any changes to that effect (affect?). I'm
> running pretty much a vanilla installation.
>
> I have an ASPNET account according to the "Computer Management"
console, > along with Guest (disabled), siegfried, IUSR_KING-MARK, IWAM_KING-MARK, > SQLDebugger, SUPPORT_388945a0 (disabled).
>
> So what is wrong with my machine?
>
> My machine name is 'KING-MARK' and you are telling me that there should be a
> folder there called c:\Documents and Settings\KING-MARK and I am
telling you
> I have no such folder and I did not delete it.
>
> Hmmm... that is strange. I created an account for myself that I
seldom use
> called "siegfried" and their is no directory called "\documents and
> settings\siegfried" for that account either.
>
> Could it have something to do with the choice of my machine names

containing
> a "-". Uggghhh I hope not.
>
> Do I have to create this folder?
>
> Thanks for all your help so far!
>
> Siegfried
>
> "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
> news:Ou**************@TK2MSFTNGP09.phx.gbl...
>> Hi Siegfried,
>>
>> The folder belongs to the user account under which ASP.Net is
running. > Look
>> for a folder for THAT user. And don't expect to find it on your machine >> unless you have an IIS web server set up and ASP.Net running on a web site
>> on your local machine.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> A watched clock never boils.
>>
>> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> news:%2***************@TK2MSFTNGP15.phx.gbl...
>> > Kevin,
>> > Well maybe I'm just a train engineer because I cannot find this
> directory
>> > on
>> > my machine and I have IIS running serving my private network of
three >> > computers. Inside my c:\Documents and Settings I have

"Administrator",
>> > "All
>> > Users", "Default User".
>> >
>> > I'm running Windows 2003 Adv Server. Why don't I see this directory on
> my
>> > computer? I did not delete it.
>> > Siegfried
>> >
>> > "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in
message >> > news:#6**************@TK2MSFTNGP09.phx.gbl...
>> >> What sort of engineer do you have anyway? A train engineer?
>> >>
>> >> Finding a directory path is an academic exercise, the sort of thing >> >> anyone
>> >> who knows how to use Windows should be able to do with their eyes
> closed.
>> >> How much are you paying this guy anyway?
>> >>
>> >> > He said there was no such file: Document
>> > settings\ServerName\ASPNET\Local
>> >> > settings\Temp
>> >> >
>> >> > I said it must be a typo, they meant to say c:\Documents And
>> >> > Settings\Server
>> >> > Name\ASPNET\Local settings\temp.
>> >>
>> >> Yes, it's a typo. However, based on the entire path (note the

reference
>> >> to
>> >> "Local Settings\Temp") the directory reference is most certainly a User
>> >> account Temp folder. Now, I can't imagine how many user account

folders
>> > are
>> >> in the "Documents and Settings" folder on the machine in
question, but
>> >> unless everyone in your office shares the same computer, there

couldn't
>> >> be
>> >> more than a dozen or so. Again, the reference to "\Server Name"
is >> > obviously
>> >> NOT a reference to a folder named "Server Name," but (in the context of
>> > user
>> >> account folders) must be the folder having the machine's
(server's) >> > account
>> >> name. Assuming that, for example, the machine name was "AOL_User," the
>> >> folder in question would be "\Documents and
>> >> Settings\AOL_User\ASPNET\Local
>> >> Settings\Temp."
>> >>
>> >> --
>> >> HTH,
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> .Net Developer
>> >> A watched clock never boils.
>> >>
>> >> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> >> news:O5*************@TK2MSFTNGP10.phx.gbl...
>> >> >I refered the engineer at my hosting service to
>> >> > http://support.microsoft.com/default...b;en-us;825738

where
> he
>> >> > tried to follow the directions there.
>> >> >
>> >> > He said there was no such file: Document
>> > settings\ServerName\ASPNET\Local
>> >> > settings\Temp
>> >> >
>> >> > I said it must be a typo, they meant to say c:\Documents And
>> >> > Settings\Server
>> >> > Name\ASPNET\Local settings\temp.
>> >> >
>> >> > He said he still cannot find any such directory. I believe he

is >> >> > running
>> >> > windows 2000 server.
>> >> >
>> >> > Oh -- I'm running windows xp 2003 server and I see I have no such >> >> > directory
>> >> > either. Where is it?
>> >> >
>> >> > What is going on here?
>> >> >
>> >> > Thanks,
>> >> > Siegfried


Nov 19 '05 #11
I think all your questions are answered in this article :

"How To Create a Custom Account to Run ASP.NET" :
http://msdn.microsoft.com/library/de...l/secmod15.asp

Please review it, implement your new account to impersonate ASP.NET as,
and let us know how you did and if you ran into any problems.

Keep in mind that the "Temporary Folder" used by Web services
will be whatever folder you have designated as your Windows temp directory.

Don't worry about the .Net version number ( 1.0.3705 ) in the article's text..
It's the same permission scheme for all versions of the .Net Framework.

That hasn't changed from version to version.

The Windows installation directory they show (WINNT) is for W2K,
but if you're using XP or Windows Server 2003 it will be \Windows,
unless you have chosen a custom installation directory name.

If you follow the guidelines in the article, you can't go wrong.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:ul**************@tk2msftngp13.phx.gbl...
Thanks for sticking with me Juan.
As soon as I get a chance, I'm going to add a new account to my system and
try impersonating it (I need to do this anyway because presently the
IUSR_MACHINE account is choking when the Administrator account has opened
my MSAccess database and created an LDB file the ISR_MACHINE account cannot
open).

Now how do I want to create this account that is to be used exclusively by
perl batch jobs to populate the MSAccess database and by aspnet_wp.exe to
display the contents of the database? I go to Start->administrative
tools->Computer Management->Local users and groups->users->Member of.
Hmm.... The siegfried account is already a member of the "Adminstrators". I
guess I want to remove "Administrators"? What about enable remote control?
I'll deny access for dial in, (I guess) and disallow terminal services
login. Anything else I should be concerned about?

Now, after I set up my web.config to impersonate the siegfried account and
access the MSAccess database, can I expect the c:\Documents and
Settings\KING-MARK\ASPNET directory (KING-MARK is the name of my computer)
to magically appear? And then I go and grant the siegfried account access to
this directory as per KB 825738?

Oh -- and what about the (virtual?) directory Visual Studio created on
behalf of the Administrator account in c:\Inetpub\wwwroot\keyword-jobsearch
which contains my aspx files? Would you recommend I add the "siegfried"
account read/write access to the directory and the database and the aspx
files? Or should I just change the ownership of all the files from
Administrator to the siegfried account? Do I also have to change
c:\Inetpub\wwwroot and c:\Inetpub?

Thank you very much!
Siegfried

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:#5**************@TK2MSFTNGP15.phx.gbl...
re:
> Why did this not show up in the list of accounts?


It does, but you have to look in the right place.

It doesn't show up in the User Manager, but it does show up when you
attempt to add access permissions for a directory when you right-click it,
and select "Properties" and the "Security" tab, and then add an account
from the list presented.

re:
> How do I apply
> http://support.microsoft.com/default...b;en-us;825738 to my
> computer when I don't have that directory?


That KB doesn't apply to your case.

It only applies when you're impersonating, *which you are not*, since

ASP.NET
is running as NT AUTHORITY\NETWORK SERVICE, the default account.

From : http://support.microsoft.com/default...b;en-us;825738 :

"The ASP.NET Web application that has the impersonation element set to

true
in the Web.config file, and that has the authentication element set to

Windows
in the Web.config file, runs under the impersonated account."

You don't have those conditions, ergo, that KB doesn't apply to you.

A simple solution to your problem, if the problem is that the
"NT AUTHORITY\NETWORK SERVICE" account doesn't
have access to a particular directory, is to add that account
to the ACLs for that directory, with RCW permissions, if they
are needed, or at minimum, with Read permission.

But, as things stand, you don't need to give access to *any* account to

the directory
c:\Documents And Settings\KING-MARK\ASPNET\Local settings\temp because
you are *not* impersonating ASP.NET.

Unless you are having a problem which you
have not stated, you don't have a problem.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
> OK, when I run that little program (below), I get
>
> NT AUTHORITY\NETWORK SERVICE
>
> Why did this not show up in the list of accounts?
>
> Now should I have a directory called C:\Documents and
> Settings\KING-MARK\NETWORK SERVICE? I don't.
>
> How do I apply
> http://support.microsoft.com/default...b;en-us;825738 to my
> computer when I don't have that directory?
>
> Thanks for your *extremely* prompt responses!
>
>
> Siegfried
>
>
>
> "Juan T. Llibre" <no***********@nowhere.com> wrote in message
> news:ef**************@TK2MSFTNGP12.phx.gbl...
>> re:
>> > How do I tell what account the ASP.NET is running?
>>
>> Save the following as identity.aspx and run it.
>>
>> identity.aspx
>> -------------------
>> <%@ Page Language="VB" %>
>> <%@ Import NameSpace = System.Security.Principal %>
>> <script runat="server">
>> Sub Page_Load()
>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>> Label1.Text = tmp
>> End Sub
>> </script>
>> <html>
>> <head>
>> <title>WindowsIdentity.GetCurrent.Name()</title>
>> </head>
>> <body>
>> <form id="form1" runat="server">
>> <div>
>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>> </div>
>> </form>
>> </body>
>> </html>
>> ------------------
>>
>> When you run that file, it will return the current ASP.NET identity,
>> i.e., the account ASP.NET is running as.
>>
>> re:
>> > Can you help me figure out how to apply
>> > http://support.microsoft.com/default...b;en-us;825738
>> > to my machine? I should have that directory!
>>
>> If you have set a different TEMP or TMP directory for Windows in your
>> environment variables you may have any directory as your temp directory
>> for ASP.NET.
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : http://asp.net.do/faq/
>> Foros de ASP.NET en Español : http://asp.net.do/foros/
>> ======================================
>> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> news:eg**************@TK2MSFTNGP15.phx.gbl...
>> > Kevin or anyone else:
>> > Well if I am running windows 2003 Adv Server and I cannot find this
>> > directory, then the hosting service might be having the same problem I > am.
>> >
>> > Can you help me figure out how to apply
>> > http://support.microsoft.com/default...b;en-us;825738 to my
>> > machine? I should have that directory! I know I am running ASP.NET
> because I
>> > have web application that I use daily. And I wrote it myself in C#!
>> >
>> > How do I tell what account the ASP.NET is running? I thought it was the >> > ASPNET account and I have not made any changes to that effect (affect?). > I'm
>> > running pretty much a vanilla installation.
>> >
>> > I have an ASPNET account according to the "Computer Management" console, >> > along with Guest (disabled), siegfried, IUSR_KING-MARK, IWAM_KING-MARK, >> > SQLDebugger, SUPPORT_388945a0 (disabled).
>> >
>> > So what is wrong with my machine?
>> >
>> > My machine name is 'KING-MARK' and you are telling me that there should > be a
>> > folder there called c:\Documents and Settings\KING-MARK and I am telling > you
>> > I have no such folder and I did not delete it.
>> >
>> > Hmmm... that is strange. I created an account for myself that I seldom > use
>> > called "siegfried" and their is no directory called "\documents and
>> > settings\siegfried" for that account either.
>> >
>> > Could it have something to do with the choice of my machine names
> containing
>> > a "-". Uggghhh I hope not.
>> >
>> > Do I have to create this folder?
>> >
>> > Thanks for all your help so far!
>> >
>> > Siegfried
>> >
>> > "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
>> > news:Ou**************@TK2MSFTNGP09.phx.gbl...
>> >> Hi Siegfried,
>> >>
>> >> The folder belongs to the user account under which ASP.Net is running. >> > Look
>> >> for a folder for THAT user. And don't expect to find it on your machine >> >> unless you have an IIS web server set up and ASP.Net running on a web > site
>> >> on your local machine.
>> >>
>> >> --
>> >> HTH,
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> .Net Developer
>> >> A watched clock never boils.
>> >>
>> >> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> >> news:%2***************@TK2MSFTNGP15.phx.gbl...
>> >> > Kevin,
>> >> > Well maybe I'm just a train engineer because I cannot find this
>> > directory
>> >> > on
>> >> > my machine and I have IIS running serving my private network of three >> >> > computers. Inside my c:\Documents and Settings I have
> "Administrator",
>> >> > "All
>> >> > Users", "Default User".
>> >> >
>> >> > I'm running Windows 2003 Adv Server. Why don't I see this directory > on
>> > my
>> >> > computer? I did not delete it.
>> >> > Siegfried
>> >> >
>> >> > "Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message >> >> > news:#6**************@TK2MSFTNGP09.phx.gbl...
>> >> >> What sort of engineer do you have anyway? A train engineer?
>> >> >>
>> >> >> Finding a directory path is an academic exercise, the sort of thing >> >> >> anyone
>> >> >> who knows how to use Windows should be able to do with their eyes
>> > closed.
>> >> >> How much are you paying this guy anyway?
>> >> >>
>> >> >> > He said there was no such file: Document
>> >> > settings\ServerName\ASPNET\Local
>> >> >> > settings\Temp
>> >> >> >
>> >> >> > I said it must be a typo, they meant to say c:\Documents And
>> >> >> > Settings\Server
>> >> >> > Name\ASPNET\Local settings\temp.
>> >> >>
>> >> >> Yes, it's a typo. However, based on the entire path (note the
> reference
>> >> >> to
>> >> >> "Local Settings\Temp") the directory reference is most certainly a > User
>> >> >> account Temp folder. Now, I can't imagine how many user account
> folders
>> >> > are
>> >> >> in the "Documents and Settings" folder on the machine in question, > but
>> >> >> unless everyone in your office shares the same computer, there
> couldn't
>> >> >> be
>> >> >> more than a dozen or so. Again, the reference to "\Server Name" is >> >> > obviously
>> >> >> NOT a reference to a folder named "Server Name," but (in the context > of
>> >> > user
>> >> >> account folders) must be the folder having the machine's (server's) >> >> > account
>> >> >> name. Assuming that, for example, the machine name was "AOL_User," > the
>> >> >> folder in question would be "\Documents and
>> >> >> Settings\AOL_User\ASPNET\Local
>> >> >> Settings\Temp."
>> >> >>
>> >> >> --
>> >> >> HTH,
>> >> >>
>> >> >> Kevin Spencer
>> >> >> Microsoft MVP
>> >> >> .Net Developer
>> >> >> A watched clock never boils.
>> >> >>
>> >> >> "Siegfried Heintze" <si*******@heintze.com> wrote in message
>> >> >> news:O5*************@TK2MSFTNGP10.phx.gbl...
>> >> >> >I refered the engineer at my hosting service to
>> >> >> > http://support.microsoft.com/default...b;en-us;825738
> where
>> > he
>> >> >> > tried to follow the directions there.
>> >> >> >
>> >> >> > He said there was no such file: Document
>> >> > settings\ServerName\ASPNET\Local
>> >> >> > settings\Temp
>> >> >> >
>> >> >> > I said it must be a typo, they meant to say c:\Documents And
>> >> >> > Settings\Server
>> >> >> > Name\ASPNET\Local settings\temp.
>> >> >> >
>> >> >> > He said he still cannot find any such directory. I believe he is >> >> >> > running
>> >> >> > windows 2000 server.
>> >> >> >
>> >> >> > Oh -- I'm running windows xp 2003 server and I see I have no such >> >> >> > directory
>> >> >> > either. Where is it?
>> >> >> >
>> >> >> > What is going on here?
>> >> >> >
>> >> >> > Thanks,
>> >> >> > Siegfried



Nov 19 '05 #12
How do I apply
http://support.microsoft.com/default...b;en-us;825738 to my
computer when I don't have that directory?


That KB doesn't apply to your case.

Shucks -- the newsgroup lost my posting I typed in yesterday.

I have a problem that I think can be solved by impersonation (I have perl
programs populating my MSAccess database from my Administrator account. This
creates an ldb file that IUSR_MACHINE cannot open and subsequently
IUSR_MACHINE cannot access the mdb file. I really should not have those perl
jobs running from the administrator account).

Presently, my application is working because I granted everyone full control
to my mdb file. This is not a good approach for a public web site (which
this is not at this time).

I assume that since I am presently not using impersonation, there is no file
c:\Documents and Settings\Server Name\ASPNET directory. If I start using
impersonation, will it create this directory and then I apply
http://support.microsoft.com/default...;en-us;825738?

So how do I create an account specifically for impersonation. Yeah, I know
how to start->administrative tools->computer management->users and
groups->users. I guess I create an account that is a member of the user
group. Then what? Do you recommend I add this account read/write access to
the database file. This account also has to be able to create ldb files too.
Or should I change the ownership of all the files in directory
c:\inetpub\wwwroot\keyword-job-search so they are owned by this new account
instead of Administrator?

Thanks,
Siegfried

Nov 19 '05 #13
re:
So how do I create an account specifically for impersonation.
Hmmm... you must have missed my reply yesterday.

Here it is again :
----------------

I think all your questions are answered in this article :

"How To Create a Custom Account to Run ASP.NET" :
http://msdn.microsoft.com/library/de...l/secmod15.asp

Please review it, implement your new account to impersonate ASP.NET as,
and let us know how you did and if you ran into any problems.

Keep in mind that the "Temporary Folder" used by Web services
will be whatever folder you have designated as your Windows temp directory.

Don't worry about the .Net version number ( 1.0.3705 ) in the article's text..
It's the same permission scheme for all versions of the .Net Framework.

That hasn't changed from version to version.

The Windows installation directory they show (WINNT) is for W2K,
but if you're using XP or Windows Server 2003 it will be \Windows,
unless you have chosen a custom installation directory name.

If you follow the guidelines in the article, you can't go wrong.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Siegfried Heintze" <si*******@heintze.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> How do I apply
> http://support.microsoft.com/default...b;en-us;825738 to my
> computer when I don't have that directory?


That KB doesn't apply to your case.

Shucks -- the newsgroup lost my posting I typed in yesterday.

I have a problem that I think can be solved by impersonation (I have perl
programs populating my MSAccess database from my Administrator account. This
creates an ldb file that IUSR_MACHINE cannot open and subsequently
IUSR_MACHINE cannot access the mdb file. I really should not have those perl
jobs running from the administrator account).

Presently, my application is working because I granted everyone full control
to my mdb file. This is not a good approach for a public web site (which
this is not at this time).

I assume that since I am presently not using impersonation, there is no file
c:\Documents and Settings\Server Name\ASPNET directory. If I start using
impersonation, will it create this directory and then I apply
http://support.microsoft.com/default...;en-us;825738?

So how do I create an account specifically for impersonation. Yeah, I know
how to start->administrative tools->computer management->users and
groups->users. I guess I create an account that is a member of the user
group. Then what? Do you recommend I add this account read/write access to
the database file. This account also has to be able to create ldb files too.
Or should I change the ownership of all the files in directory
c:\inetpub\wwwroot\keyword-job-search so they are owned by this new account
instead of Administrator?

Thanks,
Siegfried

Nov 19 '05 #14

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

Similar topics

21
by: Tony Marston | last post by:
If the use of the browser's BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button Blues" ...
3
by: alexk | last post by:
Hi, I would like to request your help. My problem is as follows. I want to match urls, and therefore I have a group of long valid domain names in my regex: ........
0
by: techy techno | last post by:
hii I just wanted to know if any of the GURUS can help me I want to give my accountant the capability to create any numbe of accounts. How do I start ? does any one knows any resource or...
7
by: Richard | last post by:
http://www.htmldog.com/articles/suckerfish/dropdowns/example/bones2.html #nav li:hover ul ul, #nav li.sfhover ul ul { left: -999em; } I am assuming that the class is created by the scripting?...
4
by: dreamcatcher | last post by:
I wrote the following program which gets student id, and name, and score, store them into a file, use qsort() to sort the score, but seems when I wanted to inquire specific student's info using...
5
by: | last post by:
Trying to learn about manipulating collections of objects, and populating these objects dynamically from datasources. Could someone post a code sample that shows the following: Instantiating a...
0
by: Siegfried Heintze | last post by:
I have pointed my hosting service to http://support.microsoft.com/default.aspx?scid=kb;en-us;825738 because we are getting an "Unspecified" error when trying to fill my data adapter from an...
1
by: imghani | last post by:
Hi all, I have developed an application in ASP.NET. I wanted that whenever a user comes to my website, it opens browser in F11 mode. I find the code to open browser in F11 mode (its javascript)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.