|
 |
asp_web_howto thread: Transfer File From Server1 To Server2
Message #1 by ritagreenberg@f... on Thu, 3 Oct 2002 19:06:51
|
|
Hi.
I have an asp page that's using the following to copy a file from Server1
to Server2:
Dim fso
Set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.copyfile "\\servername\sharename\Folder\File.txt", "H:\"
Server1 and Server2 are on different domains.
Drive letter "H" is mapped on Server1 to a shared drive on Server2
I get the following error:
Server object error 'ASP 0177 : 800a004c'
Server.CreateObject Failed
When I copy to a file on Server1, I don't get the error.
Any suggestions will be greatly appreciated!
Thanks.
Rita
Message #2 by "Craig Flannigan" <ckf@k...> on Fri, 4 Oct 2002 08:25:33 +0100
|
|
This will be caused by Server 2 not allowing the IUSR_Server1namehere
account to write to the disk on Server 2.
Check your permissions on Server 2.
-----Original Message-----
From: ritagreenberg@f... [mailto:ritagreenberg@f...]
Sent: 03 October 2002 19:07
To: ASP Web HowTo
Subject: [asp_web_howto] Transfer File From Server1 To Server2
Hi.
I have an asp page that's using the following to copy a file from Server1
to Server2:
Dim fso
Set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.copyfile "\\servername\sharename\Folder\File.txt", "H:\"
Server1 and Server2 are on different domains.
Drive letter "H" is mapped on Server1 to a shared drive on Server2
I get the following error:
Server object error 'ASP 0177 : 800a004c'
Server.CreateObject Failed
When I copy to a file on Server1, I don't get the error.
Any suggestions will be greatly appreciated!
Thanks.
Rita
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
Message #3 by Rita Greenberg <ritagreenberg@f...> on Fri, 4 Oct 2002 07:16:00 -0700
|
|
Thanks Craig!
-----Original Message-----
From: Craig Flannigan [mailto:ckf@k...]
Sent: Friday, October 04, 2002 12:26 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Transfer File From Server1 To Server2
This will be caused by Server 2 not allowing the IUSR_Server1namehere
account to write to the disk on Server 2.
Check your permissions on Server 2.
-----Original Message-----
From: ritagreenberg@f... [mailto:ritagreenberg@f...]
Sent: 03 October 2002 19:07
To: ASP Web HowTo
Subject: [asp_web_howto] Transfer File From Server1 To Server2
Hi.
I have an asp page that's using the following to copy a file from Server1
to Server2:
Dim fso
Set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.copyfile "\\servername\sharename\Folder\File.txt", "H:\"
Server1 and Server2 are on different domains.
Drive letter "H" is mapped on Server1 to a shared drive on Server2
I get the following error:
Server object error 'ASP 0177 : 800a004c'
Server.CreateObject Failed
When I copy to a file on Server1, I don't get the error.
Any suggestions will be greatly appreciated!
Thanks.
Rita
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
_____________________________________________________________________
Please contact I.T. Support if you have received this email in error.
This e-mail has been scanned for all viruses by Star Internet.
_____________________________________________________________________
_____________________________________________________________________
Kingfield Heath Ltd. Email Disclaimer
Confidentiality : This email and its attachments are intended for the
above-named only and may be confidential. If they have come to you in
error you must take no action based on them, nor must you copy or
show them to anyone; please reply to this email and highlight the
error.
Security Warning : Please note that this email has been created in
the knowledge that the internet is not a 100% secure communications
medium. We advise that you understand and observe this lack of
security when emailing us.
Viruses : Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that, in keeping with
good computing practice, the recipient should ensure they are
actually virus free.
_____________________________________________________________________
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
|
|
 |