Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:20 AM
Waguih Boctor
Guest
 
Posts: n/a
Default Attempting to write to a website

Hi,

I'm experiencing a problem where IIS is returning the error message "Server
cannot complete the operation" when attempting to use the CopyRecord method
of the Record object, passing it the URL of the destination folder. The
website I'm trying to write to has both Write and Directory Browsing enabled
for now. Is there something else that could be preventing the copy? The
website is working fine otherwise. The exact syntax of the statement which
invokes the debugger is:

Set objRecord = Server.CreateObject("ADODB.Record")
objRecord.Open "<filename>", "<URL=source url>"
objRecord.CopyRecord "", "<dest url>",,, adCopyOverWrite

The debugger is pointing to the last statement when it stops.

Any suggestions would be appreciated.

Thanks.


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles