473,466 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CreateFolder across network

Hi all,

This seems like a really simple question but I don't think there is a simple
answer. If there is I'd be glad to hear it. I am trying to create a folder,
yep, that's all. I can do it with a vbscript but as soon as I put it in an
asp page and load the page I get an error 500 message. Basically, I am
using...

if (not fso.FolderExists("\\ServerName\Clients\c_" &
request.Querystring(i))) then
fso.CreateFolder("\\ServerName\Clients\c" & request.Querystring(i))
end if

Don't worry about the request.Querystring(i) - it's valid. The script fails
on the fso.CreateFolder line so it gets in the if.

If I change the path to a local server folder then the script works. It has
something to do with the permissions at the server I am placing the folder
at. I check the parent folder permissions where I want to create a new
folder under. It has "Everyone" full access - all boxes ticked. Both
computers, the webserver and the server where the folder is to be created are
on the same domain and can be manually sought out, and a folder created, via
my network places. I am told I need the IUSR account of my webserver added
to the parent folder permissions on the other machine. Is this right?

Can somebody work me through what I can do here?

Thanks,
Jesse
Jul 22 '05 #1
11 1298
expressly add the user that is specified in the IIS setup, most likely IUSR.
It's not part of "everyone"

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:5D**********************************@microsof t.com...
Hi all,

This seems like a really simple question but I don't think there is a
simple
answer. If there is I'd be glad to hear it. I am trying to create a
folder,
yep, that's all. I can do it with a vbscript but as soon as I put it in
an
asp page and load the page I get an error 500 message. Basically, I am
using...

if (not fso.FolderExists("\\ServerName\Clients\c_" &
request.Querystring(i))) then
fso.CreateFolder("\\ServerName\Clients\c" & request.Querystring(i))
end if

Don't worry about the request.Querystring(i) - it's valid. The script
fails
on the fso.CreateFolder line so it gets in the if.

If I change the path to a local server folder then the script works. It
has
something to do with the permissions at the server I am placing the folder
at. I check the parent folder permissions where I want to create a new
folder under. It has "Everyone" full access - all boxes ticked. Both
computers, the webserver and the server where the folder is to be created
are
on the same domain and can be manually sought out, and a folder created,
via
my network places. I am told I need the IUSR account of my webserver
added
to the parent folder permissions on the other machine. Is this right?

Can somebody work me through what I can do here?

Thanks,
Jesse

Jul 22 '05 #2
On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:
Hi all,

This seems like a really simple question but I don't think there is a simple
answer. If there is I'd be glad to hear it. I am trying to create a folder,
yep, that's all. I can do it with a vbscript but as soon as I put it in an
asp page and load the page I get an error 500 message.
First, the 500 error:

http://www.aspfaq.com/show.asp?id=2109

As for why it works in VBScript and not ASP:

In VBScript you're running as the logged in user. In ASP you're
running as whatever user is defined for ASP access, often the
anonymous user. The permissions for one aren't the same as the other.
If I change the path to a local server folder then the script works. It has
something to do with the permissions at the server I am placing the folder
at. I check the parent folder permissions where I want to create a new
folder under. It has "Everyone" full access - all boxes ticked.
Lesson 3: "Everyone" is a group, not "every account on the system".
Just because the group "Everyone" has access deosn't mean a user has
access. The account has to be in the "everyone" group, and by
default, the IIS anonymous user isn't (for security reasons).
Both
computers, the webserver and the server where the folder is to be created are
on the same domain and can be manually sought out, and a folder created, via
my network places.
Lesson 4: The Anonymous user is local account, not a domain account.
Domain permissions are meaningless unless you configure the account to
be a domain account (not recommended) or sepcifically grant it access
on the destination system.
I am told I need the IUSR account of my webserver added
to the parent folder permissions on the other machine. Is this right?
No. The account trying to create the folder, most likely the
anonymous account, needs the permission to create a folder on the
destination system in the destination folder. Subtle, but there's a
difference.
Can somebody work me through what I can do here?


Give the IUSR account from the IIS system at least MODIFY permission
on the destnation server's folder.

Jeff
Jul 22 '05 #3
Thanks Jeff and Curt,

So I goto the folder on the destination machine, security. I click add but
I cannot see the IUSR account of the webserver machine. Firstly, is this
what you meant? If so, what needs to be done to make it visible?

Jesse

"Jeff Cochran" wrote:
On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:
Hi all,

This seems like a really simple question but I don't think there is a simple
answer. If there is I'd be glad to hear it. I am trying to create a folder,
yep, that's all. I can do it with a vbscript but as soon as I put it in an
asp page and load the page I get an error 500 message.


First, the 500 error:

http://www.aspfaq.com/show.asp?id=2109

As for why it works in VBScript and not ASP:

In VBScript you're running as the logged in user. In ASP you're
running as whatever user is defined for ASP access, often the
anonymous user. The permissions for one aren't the same as the other.
If I change the path to a local server folder then the script works. It has
something to do with the permissions at the server I am placing the folder
at. I check the parent folder permissions where I want to create a new
folder under. It has "Everyone" full access - all boxes ticked.


Lesson 3: "Everyone" is a group, not "every account on the system".
Just because the group "Everyone" has access deosn't mean a user has
access. The account has to be in the "everyone" group, and by
default, the IIS anonymous user isn't (for security reasons).
Both
computers, the webserver and the server where the folder is to be created are
on the same domain and can be manually sought out, and a folder created, via
my network places.


Lesson 4: The Anonymous user is local account, not a domain account.
Domain permissions are meaningless unless you configure the account to
be a domain account (not recommended) or sepcifically grant it access
on the destination system.
I am told I need the IUSR account of my webserver added
to the parent folder permissions on the other machine. Is this right?


No. The account trying to create the folder, most likely the
anonymous account, needs the permission to create a folder on the
destination system in the destination folder. Subtle, but there's a
difference.
Can somebody work me through what I can do here?


Give the IUSR account from the IIS system at least MODIFY permission
on the destnation server's folder.

Jeff

Jul 22 '05 #4
What user is specified in IIS as the anonymous account user?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
Thanks Jeff and Curt,

So I goto the folder on the destination machine, security. I click add
but
I cannot see the IUSR account of the webserver machine. Firstly, is this
what you meant? If so, what needs to be done to make it visible?

Jesse

"Jeff Cochran" wrote:
On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:
>Hi all,
>
>This seems like a really simple question but I don't think there is a
>simple
>answer. If there is I'd be glad to hear it. I am trying to create a
>folder,
>yep, that's all. I can do it with a vbscript but as soon as I put it in
>an
>asp page and load the page I get an error 500 message.


First, the 500 error:

http://www.aspfaq.com/show.asp?id=2109

As for why it works in VBScript and not ASP:

In VBScript you're running as the logged in user. In ASP you're
running as whatever user is defined for ASP access, often the
anonymous user. The permissions for one aren't the same as the other.
>If I change the path to a local server folder then the script works. It
>has
>something to do with the permissions at the server I am placing the
>folder
>at. I check the parent folder permissions where I want to create a new
>folder under. It has "Everyone" full access - all boxes ticked.


Lesson 3: "Everyone" is a group, not "every account on the system".
Just because the group "Everyone" has access deosn't mean a user has
access. The account has to be in the "everyone" group, and by
default, the IIS anonymous user isn't (for security reasons).
>Both
>computers, the webserver and the server where the folder is to be
>created are
>on the same domain and can be manually sought out, and a folder created,
>via
>my network places.


Lesson 4: The Anonymous user is local account, not a domain account.
Domain permissions are meaningless unless you configure the account to
be a domain account (not recommended) or sepcifically grant it access
on the destination system.
>I am told I need the IUSR account of my webserver added
>to the parent folder permissions on the other machine. Is this right?


No. The account trying to create the folder, most likely the
anonymous account, needs the permission to create a folder on the
destination system in the destination folder. Subtle, but there's a
difference.
>Can somebody work me through what I can do here?


Give the IUSR account from the IIS system at least MODIFY permission
on the destnation server's folder.

Jeff

Jul 22 '05 #5
IUSR_MUFFET (where muffet is the name of the webserver)

"Curt_C [MVP]" wrote:
What user is specified in IIS as the anonymous account user?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
Thanks Jeff and Curt,

So I goto the folder on the destination machine, security. I click add
but
I cannot see the IUSR account of the webserver machine. Firstly, is this
what you meant? If so, what needs to be done to make it visible?

Jesse

"Jeff Cochran" wrote:
On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:

>Hi all,
>
>This seems like a really simple question but I don't think there is a
>simple
>answer. If there is I'd be glad to hear it. I am trying to create a
>folder,
>yep, that's all. I can do it with a vbscript but as soon as I put it in
>an
>asp page and load the page I get an error 500 message.

First, the 500 error:

http://www.aspfaq.com/show.asp?id=2109

As for why it works in VBScript and not ASP:

In VBScript you're running as the logged in user. In ASP you're
running as whatever user is defined for ASP access, often the
anonymous user. The permissions for one aren't the same as the other.

>If I change the path to a local server folder then the script works. It
>has
>something to do with the permissions at the server I am placing the
>folder
>at. I check the parent folder permissions where I want to create a new
>folder under. It has "Everyone" full access - all boxes ticked.

Lesson 3: "Everyone" is a group, not "every account on the system".
Just because the group "Everyone" has access deosn't mean a user has
access. The account has to be in the "everyone" group, and by
default, the IIS anonymous user isn't (for security reasons).

>Both
>computers, the webserver and the server where the folder is to be
>created are
>on the same domain and can be manually sought out, and a folder created,
>via
>my network places.

Lesson 4: The Anonymous user is local account, not a domain account.
Domain permissions are meaningless unless you configure the account to
be a domain account (not recommended) or sepcifically grant it access
on the destination system.

>I am told I need the IUSR account of my webserver added
>to the parent folder permissions on the other machine. Is this right?

No. The account trying to create the folder, most likely the
anonymous account, needs the permission to create a folder on the
destination system in the destination folder. Subtle, but there's a
difference.

>Can somebody work me through what I can do here?

Give the IUSR account from the IIS system at least MODIFY permission
on the destnation server's folder.

Jeff


Jul 22 '05 #6
That's the account you need to add permissions to then.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:AB**********************************@microsof t.com...
IUSR_MUFFET (where muffet is the name of the webserver)

"Curt_C [MVP]" wrote:
What user is specified in IIS as the anonymous account user?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
> Thanks Jeff and Curt,
>
> So I goto the folder on the destination machine, security. I click add
> but
> I cannot see the IUSR account of the webserver machine. Firstly, is
> this
> what you meant? If so, what needs to be done to make it visible?
>
> Jesse
>
> "Jeff Cochran" wrote:
>
>> On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
>> <Je*****@discussions.microsoft.com> wrote:
>>
>> >Hi all,
>> >
>> >This seems like a really simple question but I don't think there is a
>> >simple
>> >answer. If there is I'd be glad to hear it. I am trying to create a
>> >folder,
>> >yep, that's all. I can do it with a vbscript but as soon as I put it
>> >in
>> >an
>> >asp page and load the page I get an error 500 message.
>>
>> First, the 500 error:
>>
>> http://www.aspfaq.com/show.asp?id=2109
>>
>> As for why it works in VBScript and not ASP:
>>
>> In VBScript you're running as the logged in user. In ASP you're
>> running as whatever user is defined for ASP access, often the
>> anonymous user. The permissions for one aren't the same as the other.
>>
>> >If I change the path to a local server folder then the script works.
>> >It
>> >has
>> >something to do with the permissions at the server I am placing the
>> >folder
>> >at. I check the parent folder permissions where I want to create a
>> >new
>> >folder under. It has "Everyone" full access - all boxes ticked.
>>
>> Lesson 3: "Everyone" is a group, not "every account on the system".
>> Just because the group "Everyone" has access deosn't mean a user has
>> access. The account has to be in the "everyone" group, and by
>> default, the IIS anonymous user isn't (for security reasons).
>>
>> >Both
>> >computers, the webserver and the server where the folder is to be
>> >created are
>> >on the same domain and can be manually sought out, and a folder
>> >created,
>> >via
>> >my network places.
>>
>> Lesson 4: The Anonymous user is local account, not a domain account.
>> Domain permissions are meaningless unless you configure the account to
>> be a domain account (not recommended) or sepcifically grant it access
>> on the destination system.
>>
>> >I am told I need the IUSR account of my webserver added
>> >to the parent folder permissions on the other machine. Is this
>> >right?
>>
>> No. The account trying to create the folder, most likely the
>> anonymous account, needs the permission to create a folder on the
>> destination system in the destination folder. Subtle, but there's a
>> difference.
>>
>> >Can somebody work me through what I can do here?
>>
>> Give the IUSR account from the IIS system at least MODIFY permission
>> on the destnation server's folder.
>>
>> Jeff
>>


Jul 22 '05 #7
So on the webserver or the destination folder machine?

"Curt_C [MVP]" wrote:
That's the account you need to add permissions to then.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:AB**********************************@microsof t.com...
IUSR_MUFFET (where muffet is the name of the webserver)

"Curt_C [MVP]" wrote:
What user is specified in IIS as the anonymous account user?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
> Thanks Jeff and Curt,
>
> So I goto the folder on the destination machine, security. I click add
> but
> I cannot see the IUSR account of the webserver machine. Firstly, is
> this
> what you meant? If so, what needs to be done to make it visible?
>
> Jesse
>
> "Jeff Cochran" wrote:
>
>> On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
>> <Je*****@discussions.microsoft.com> wrote:
>>
>> >Hi all,
>> >
>> >This seems like a really simple question but I don't think there is a
>> >simple
>> >answer. If there is I'd be glad to hear it. I am trying to create a
>> >folder,
>> >yep, that's all. I can do it with a vbscript but as soon as I put it
>> >in
>> >an
>> >asp page and load the page I get an error 500 message.
>>
>> First, the 500 error:
>>
>> http://www.aspfaq.com/show.asp?id=2109
>>
>> As for why it works in VBScript and not ASP:
>>
>> In VBScript you're running as the logged in user. In ASP you're
>> running as whatever user is defined for ASP access, often the
>> anonymous user. The permissions for one aren't the same as the other.
>>
>> >If I change the path to a local server folder then the script works.
>> >It
>> >has
>> >something to do with the permissions at the server I am placing the
>> >folder
>> >at. I check the parent folder permissions where I want to create a
>> >new
>> >folder under. It has "Everyone" full access - all boxes ticked.
>>
>> Lesson 3: "Everyone" is a group, not "every account on the system".
>> Just because the group "Everyone" has access deosn't mean a user has
>> access. The account has to be in the "everyone" group, and by
>> default, the IIS anonymous user isn't (for security reasons).
>>
>> >Both
>> >computers, the webserver and the server where the folder is to be
>> >created are
>> >on the same domain and can be manually sought out, and a folder
>> >created,
>> >via
>> >my network places.
>>
>> Lesson 4: The Anonymous user is local account, not a domain account.
>> Domain permissions are meaningless unless you configure the account to
>> be a domain account (not recommended) or sepcifically grant it access
>> on the destination system.
>>
>> >I am told I need the IUSR account of my webserver added
>> >to the parent folder permissions on the other machine. Is this
>> >right?
>>
>> No. The account trying to create the folder, most likely the
>> anonymous account, needs the permission to create a folder on the
>> destination system in the destination folder. Subtle, but there's a
>> difference.
>>
>> >Can somebody work me through what I can do here?
>>
>> Give the IUSR account from the IIS system at least MODIFY permission
>> on the destnation server's folder.
>>
>> Jeff
>>


Jul 22 '05 #8
On Tue, 21 Dec 2004 14:27:04 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:
So on the webserver or the destination folder machine?
Destination. The problem is since it's a local account you can't just
add the account, you need to specify the system as well. I don't
remember your exact setup but it's often easiest to create a local
group and add the account to it.

Jeff

"Curt_C [MVP]" wrote:
That's the account you need to add permissions to then.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:AB**********************************@microsof t.com...
> IUSR_MUFFET (where muffet is the name of the webserver)
>
> "Curt_C [MVP]" wrote:
>
>> What user is specified in IIS as the anonymous account user?
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Jessard" <Je*****@discussions.microsoft.com> wrote in message
>> news:A8**********************************@microsof t.com...
>> > Thanks Jeff and Curt,
>> >
>> > So I goto the folder on the destination machine, security. I click add
>> > but
>> > I cannot see the IUSR account of the webserver machine. Firstly, is
>> > this
>> > what you meant? If so, what needs to be done to make it visible?
>> >
>> > Jesse
>> >
>> > "Jeff Cochran" wrote:
>> >
>> >> On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
>> >> <Je*****@discussions.microsoft.com> wrote:
>> >>
>> >> >Hi all,
>> >> >
>> >> >This seems like a really simple question but I don't think there is a
>> >> >simple
>> >> >answer. If there is I'd be glad to hear it. I am trying to create a
>> >> >folder,
>> >> >yep, that's all. I can do it with a vbscript but as soon as I put it
>> >> >in
>> >> >an
>> >> >asp page and load the page I get an error 500 message.
>> >>
>> >> First, the 500 error:
>> >>
>> >> http://www.aspfaq.com/show.asp?id=2109
>> >>
>> >> As for why it works in VBScript and not ASP:
>> >>
>> >> In VBScript you're running as the logged in user. In ASP you're
>> >> running as whatever user is defined for ASP access, often the
>> >> anonymous user. The permissions for one aren't the same as the other.
>> >>
>> >> >If I change the path to a local server folder then the script works.
>> >> >It
>> >> >has
>> >> >something to do with the permissions at the server I am placing the
>> >> >folder
>> >> >at. I check the parent folder permissions where I want to create a
>> >> >new
>> >> >folder under. It has "Everyone" full access - all boxes ticked.
>> >>
>> >> Lesson 3: "Everyone" is a group, not "every account on the system".
>> >> Just because the group "Everyone" has access deosn't mean a user has
>> >> access. The account has to be in the "everyone" group, and by
>> >> default, the IIS anonymous user isn't (for security reasons).
>> >>
>> >> >Both
>> >> >computers, the webserver and the server where the folder is to be
>> >> >created are
>> >> >on the same domain and can be manually sought out, and a folder
>> >> >created,
>> >> >via
>> >> >my network places.
>> >>
>> >> Lesson 4: The Anonymous user is local account, not a domain account.
>> >> Domain permissions are meaningless unless you configure the account to
>> >> be a domain account (not recommended) or sepcifically grant it access
>> >> on the destination system.
>> >>
>> >> >I am told I need the IUSR account of my webserver added
>> >> >to the parent folder permissions on the other machine. Is this
>> >> >right?
>> >>
>> >> No. The account trying to create the folder, most likely the
>> >> anonymous account, needs the permission to create a folder on the
>> >> destination system in the destination folder. Subtle, but there's a
>> >> difference.
>> >>
>> >> >Can somebody work me through what I can do here?
>> >>
>> >> Give the IUSR account from the IIS system at least MODIFY permission
>> >> on the destnation server's folder.
>> >>
>> >> Jeff
>> >>
>>
>>
>>



Jul 22 '05 #9
Ok, I went to the destination machine and added a group called muffetusr.
However, when I goto add a member to this group I am not able to find through
any of the drop-down lists the iusr_muffet account.

"Jeff Cochran" wrote:
On Tue, 21 Dec 2004 14:27:04 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:
So on the webserver or the destination folder machine?


Destination. The problem is since it's a local account you can't just
add the account, you need to specify the system as well. I don't
remember your exact setup but it's often easiest to create a local
group and add the account to it.

Jeff

"Curt_C [MVP]" wrote:
That's the account you need to add permissions to then.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:AB**********************************@microsof t.com...
> IUSR_MUFFET (where muffet is the name of the webserver)
>
> "Curt_C [MVP]" wrote:
>
>> What user is specified in IIS as the anonymous account user?
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Jessard" <Je*****@discussions.microsoft.com> wrote in message
>> news:A8**********************************@microsof t.com...
>> > Thanks Jeff and Curt,
>> >
>> > So I goto the folder on the destination machine, security. I click add
>> > but
>> > I cannot see the IUSR account of the webserver machine. Firstly, is
>> > this
>> > what you meant? If so, what needs to be done to make it visible?
>> >
>> > Jesse
>> >
>> > "Jeff Cochran" wrote:
>> >
>> >> On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
>> >> <Je*****@discussions.microsoft.com> wrote:
>> >>
>> >> >Hi all,
>> >> >
>> >> >This seems like a really simple question but I don't think there is a
>> >> >simple
>> >> >answer. If there is I'd be glad to hear it. I am trying to create a
>> >> >folder,
>> >> >yep, that's all. I can do it with a vbscript but as soon as I put it
>> >> >in
>> >> >an
>> >> >asp page and load the page I get an error 500 message.
>> >>
>> >> First, the 500 error:
>> >>
>> >> http://www.aspfaq.com/show.asp?id=2109
>> >>
>> >> As for why it works in VBScript and not ASP:
>> >>
>> >> In VBScript you're running as the logged in user. In ASP you're
>> >> running as whatever user is defined for ASP access, often the
>> >> anonymous user. The permissions for one aren't the same as the other.
>> >>
>> >> >If I change the path to a local server folder then the script works.
>> >> >It
>> >> >has
>> >> >something to do with the permissions at the server I am placing the
>> >> >folder
>> >> >at. I check the parent folder permissions where I want to create a
>> >> >new
>> >> >folder under. It has "Everyone" full access - all boxes ticked.
>> >>
>> >> Lesson 3: "Everyone" is a group, not "every account on the system".
>> >> Just because the group "Everyone" has access deosn't mean a user has
>> >> access. The account has to be in the "everyone" group, and by
>> >> default, the IIS anonymous user isn't (for security reasons).
>> >>
>> >> >Both
>> >> >computers, the webserver and the server where the folder is to be
>> >> >created are
>> >> >on the same domain and can be manually sought out, and a folder
>> >> >created,
>> >> >via
>> >> >my network places.
>> >>
>> >> Lesson 4: The Anonymous user is local account, not a domain account.
>> >> Domain permissions are meaningless unless you configure the account to
>> >> be a domain account (not recommended) or sepcifically grant it access
>> >> on the destination system.
>> >>
>> >> >I am told I need the IUSR account of my webserver added
>> >> >to the parent folder permissions on the other machine. Is this
>> >> >right?
>> >>
>> >> No. The account trying to create the folder, most likely the
>> >> anonymous account, needs the permission to create a folder on the
>> >> destination system in the destination folder. Subtle, but there's a
>> >> difference.
>> >>
>> >> >Can somebody work me through what I can do here?
>> >>
>> >> Give the IUSR account from the IIS system at least MODIFY permission
>> >> on the destnation server's folder.
>> >>
>> >> Jeff
>> >>
>>
>>
>>


Jul 22 '05 #10
You'll have to connect to the share, from the web server, as a user that is
on the destination machine since they are on different domains

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
Ok, I went to the destination machine and added a group called muffetusr.
However, when I goto add a member to this group I am not able to find
through
any of the drop-down lists the iusr_muffet account.

"Jeff Cochran" wrote:
On Tue, 21 Dec 2004 14:27:04 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:
>So on the webserver or the destination folder machine?


Destination. The problem is since it's a local account you can't just
add the account, you need to specify the system as well. I don't
remember your exact setup but it's often easiest to create a local
group and add the account to it.

Jeff

>"Curt_C [MVP]" wrote:
>
>> That's the account you need to add permissions to then.
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Jessard" <Je*****@discussions.microsoft.com> wrote in message
>> news:AB**********************************@microsof t.com...
>> > IUSR_MUFFET (where muffet is the name of the webserver)
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> What user is specified in IIS as the anonymous account user?
>> >>
>> >> --
>> >> Curt Christianson
>> >> Owner/Lead Developer, DF-Software
>> >> Site: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "Jessard" <Je*****@discussions.microsoft.com> wrote in message
>> >> news:A8**********************************@microsof t.com...
>> >> > Thanks Jeff and Curt,
>> >> >
>> >> > So I goto the folder on the destination machine, security. I
>> >> > click add
>> >> > but
>> >> > I cannot see the IUSR account of the webserver machine. Firstly,
>> >> > is
>> >> > this
>> >> > what you meant? If so, what needs to be done to make it visible?
>> >> >
>> >> > Jesse
>> >> >
>> >> > "Jeff Cochran" wrote:
>> >> >
>> >> >> On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
>> >> >> <Je*****@discussions.microsoft.com> wrote:
>> >> >>
>> >> >> >Hi all,
>> >> >> >
>> >> >> >This seems like a really simple question but I don't think
>> >> >> >there is a
>> >> >> >simple
>> >> >> >answer. If there is I'd be glad to hear it. I am trying to
>> >> >> >create a
>> >> >> >folder,
>> >> >> >yep, that's all. I can do it with a vbscript but as soon as I
>> >> >> >put it
>> >> >> >in
>> >> >> >an
>> >> >> >asp page and load the page I get an error 500 message.
>> >> >>
>> >> >> First, the 500 error:
>> >> >>
>> >> >> http://www.aspfaq.com/show.asp?id=2109
>> >> >>
>> >> >> As for why it works in VBScript and not ASP:
>> >> >>
>> >> >> In VBScript you're running as the logged in user. In ASP you're
>> >> >> running as whatever user is defined for ASP access, often the
>> >> >> anonymous user. The permissions for one aren't the same as the
>> >> >> other.
>> >> >>
>> >> >> >If I change the path to a local server folder then the script
>> >> >> >works.
>> >> >> >It
>> >> >> >has
>> >> >> >something to do with the permissions at the server I am placing
>> >> >> >the
>> >> >> >folder
>> >> >> >at. I check the parent folder permissions where I want to
>> >> >> >create a
>> >> >> >new
>> >> >> >folder under. It has "Everyone" full access - all boxes
>> >> >> >ticked.
>> >> >>
>> >> >> Lesson 3: "Everyone" is a group, not "every account on the
>> >> >> system".
>> >> >> Just because the group "Everyone" has access deosn't mean a user
>> >> >> has
>> >> >> access. The account has to be in the "everyone" group, and by
>> >> >> default, the IIS anonymous user isn't (for security reasons).
>> >> >>
>> >> >> >Both
>> >> >> >computers, the webserver and the server where the folder is to
>> >> >> >be
>> >> >> >created are
>> >> >> >on the same domain and can be manually sought out, and a folder
>> >> >> >created,
>> >> >> >via
>> >> >> >my network places.
>> >> >>
>> >> >> Lesson 4: The Anonymous user is local account, not a domain
>> >> >> account.
>> >> >> Domain permissions are meaningless unless you configure the
>> >> >> account to
>> >> >> be a domain account (not recommended) or sepcifically grant it
>> >> >> access
>> >> >> on the destination system.
>> >> >>
>> >> >> >I am told I need the IUSR account of my webserver added
>> >> >> >to the parent folder permissions on the other machine. Is this
>> >> >> >right?
>> >> >>
>> >> >> No. The account trying to create the folder, most likely the
>> >> >> anonymous account, needs the permission to create a folder on
>> >> >> the
>> >> >> destination system in the destination folder. Subtle, but
>> >> >> there's a
>> >> >> difference.
>> >> >>
>> >> >> >Can somebody work me through what I can do here?
>> >> >>
>> >> >> Give the IUSR account from the IIS system at least MODIFY
>> >> >> permission
>> >> >> on the destnation server's folder.
>> >> >>
>> >> >> Jeff
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Jul 22 '05 #11
Ok Curt,

Thanks for you help. Appreciate the time.

"Curt_C [MVP]" wrote:
You'll have to connect to the share, from the web server, as a user that is
on the destination machine since they are on different domains

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jessard" <Je*****@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
Ok, I went to the destination machine and added a group called muffetusr.
However, when I goto add a member to this group I am not able to find
through
any of the drop-down lists the iusr_muffet account.

"Jeff Cochran" wrote:
On Tue, 21 Dec 2004 14:27:04 -0800, "Jessard"
<Je*****@discussions.microsoft.com> wrote:

>So on the webserver or the destination folder machine?

Destination. The problem is since it's a local account you can't just
add the account, you need to specify the system as well. I don't
remember your exact setup but it's often easiest to create a local
group and add the account to it.

Jeff
>"Curt_C [MVP]" wrote:
>
>> That's the account you need to add permissions to then.
>>
>> --
>> Curt Christianson
>> Owner/Lead Developer, DF-Software
>> Site: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Jessard" <Je*****@discussions.microsoft.com> wrote in message
>> news:AB**********************************@microsof t.com...
>> > IUSR_MUFFET (where muffet is the name of the webserver)
>> >
>> > "Curt_C [MVP]" wrote:
>> >
>> >> What user is specified in IIS as the anonymous account user?
>> >>
>> >> --
>> >> Curt Christianson
>> >> Owner/Lead Developer, DF-Software
>> >> Site: http://www.Darkfalz.com
>> >> Blog: http://blog.Darkfalz.com
>> >>
>> >>
>> >> "Jessard" <Je*****@discussions.microsoft.com> wrote in message
>> >> news:A8**********************************@microsof t.com...
>> >> > Thanks Jeff and Curt,
>> >> >
>> >> > So I goto the folder on the destination machine, security. I
>> >> > click add
>> >> > but
>> >> > I cannot see the IUSR account of the webserver machine. Firstly,
>> >> > is
>> >> > this
>> >> > what you meant? If so, what needs to be done to make it visible?
>> >> >
>> >> > Jesse
>> >> >
>> >> > "Jeff Cochran" wrote:
>> >> >
>> >> >> On Mon, 20 Dec 2004 14:01:02 -0800, "Jessard"
>> >> >> <Je*****@discussions.microsoft.com> wrote:
>> >> >>
>> >> >> >Hi all,
>> >> >> >
>> >> >> >This seems like a really simple question but I don't think
>> >> >> >there is a
>> >> >> >simple
>> >> >> >answer. If there is I'd be glad to hear it. I am trying to
>> >> >> >create a
>> >> >> >folder,
>> >> >> >yep, that's all. I can do it with a vbscript but as soon as I
>> >> >> >put it
>> >> >> >in
>> >> >> >an
>> >> >> >asp page and load the page I get an error 500 message.
>> >> >>
>> >> >> First, the 500 error:
>> >> >>
>> >> >> http://www.aspfaq.com/show.asp?id=2109
>> >> >>
>> >> >> As for why it works in VBScript and not ASP:
>> >> >>
>> >> >> In VBScript you're running as the logged in user. In ASP you're
>> >> >> running as whatever user is defined for ASP access, often the
>> >> >> anonymous user. The permissions for one aren't the same as the
>> >> >> other.
>> >> >>
>> >> >> >If I change the path to a local server folder then the script
>> >> >> >works.
>> >> >> >It
>> >> >> >has
>> >> >> >something to do with the permissions at the server I am placing
>> >> >> >the
>> >> >> >folder
>> >> >> >at. I check the parent folder permissions where I want to
>> >> >> >create a
>> >> >> >new
>> >> >> >folder under. It has "Everyone" full access - all boxes
>> >> >> >ticked.
>> >> >>
>> >> >> Lesson 3: "Everyone" is a group, not "every account on the
>> >> >> system".
>> >> >> Just because the group "Everyone" has access deosn't mean a user
>> >> >> has
>> >> >> access. The account has to be in the "everyone" group, and by
>> >> >> default, the IIS anonymous user isn't (for security reasons).
>> >> >>
>> >> >> >Both
>> >> >> >computers, the webserver and the server where the folder is to
>> >> >> >be
>> >> >> >created are
>> >> >> >on the same domain and can be manually sought out, and a folder
>> >> >> >created,
>> >> >> >via
>> >> >> >my network places.
>> >> >>
>> >> >> Lesson 4: The Anonymous user is local account, not a domain
>> >> >> account.
>> >> >> Domain permissions are meaningless unless you configure the
>> >> >> account to
>> >> >> be a domain account (not recommended) or sepcifically grant it
>> >> >> access
>> >> >> on the destination system.
>> >> >>
>> >> >> >I am told I need the IUSR account of my webserver added
>> >> >> >to the parent folder permissions on the other machine. Is this
>> >> >> >right?
>> >> >>
>> >> >> No. The account trying to create the folder, most likely the
>> >> >> anonymous account, needs the permission to create a folder on
>> >> >> the
>> >> >> destination system in the destination folder. Subtle, but
>> >> >> there's a
>> >> >> difference.
>> >> >>
>> >> >> >Can somebody work me through what I can do here?
>> >> >>
>> >> >> Give the IUSR account from the IIS system at least MODIFY
>> >> >> permission
>> >> >> on the destnation server's folder.
>> >> >>
>> >> >> Jeff
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Jul 22 '05 #12

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

Similar topics

1
by: Suresh | last post by:
CreateFolder method does not produce a result from IIS. I tried many things including changing file permissions, web server permissions etc. to no avail. Can you please help?
3
by: AndrewM | last post by:
Hello everyone, I have an asp page with a create folder script fs.CreateFolder(path) When running this on the server I get a Permission denied message as the IUSER account has no write...
4
by: Bren | last post by:
In the code below I'm trying to create a directory. It works on the production server, but it doesn't on my dev server; I'm running XP Pro, but I don't belong to a domain; I'm running it in a...
14
by: spencer | last post by:
My client is going through a large project to replace existing data warehouse physical infastructure which is running DB2 8.1.6. In the past we had a much more distributed environment where we had...
5
by: Corrine | last post by:
Given a backend on a network server and a frontend on a local computer, when is data pulled across the network? For example, does Rst.Recordcount pull data across the network? How about...
6
by: Damon Grieves | last post by:
Hi I just want to be sure I understand how the Access client works. If I have an Access back end with a million records on a server and an Access client. If the client is installed on the users pc...
4
by: Sue | last post by:
Hello We have an application where the user would upload files (max size of 200 mb) from their client machine. This application will run on a web server (its a web server which would be used by...
10
by: anjelone | last post by:
Hi. When I use CreateFolder() to create a folder with a space at the end, it creates the folder successfully, but still errors out with a "Path not Found" error. For example: <% Dim...
1
by: RdS | last post by:
Hello, I have been searching for what createfolder can return or does return. Where on MSDN can I find what a MS method returns? I have searched for filesystemobject.createfolder errors, error...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
1
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...
0
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.