Attempting to write to a website

W

Waguih Boctor

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top