Wrox Programmer Forums
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 26th, 2008, 01:40 AM
Registered User
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WEBDAV-ASP, I am Struck!!!

I am trying to read the folder list from another system which is in another domain using WEBDAV.

It works fine in my local system. But when I uploaded the files in the test/production server which are having valid domain address like www.mywebpage.com , it gives the following error in the line,

recRoot.Open "MyFolder/","URL=http://MyIPAddress/"

The error returned is

"Object or data matching the name, range, or selection criteria was not found within the scope of this operation. "

In my test server the error returned is different which is

"Microsoft OLE DB Provider for Internet Publishing error '80004005'

Unspecified error "

 but it is the same line recRoot.Open "MyFolder/","URL=http://MyIPAddress/" which causes this error.

My requirement is simple.. I have to list the tree style folder structure contained in another machine using ASP.

please help. Any Idea!!

Below is my complete code ,

                   Set recRoot = Server.CreateObject ("ADODB.Record")
                   recRoot.Open "MyFolder/","URL=http://MyIPAddress/"
        Set rsChildren = recRoot.GetChildren
        Response.write rsChildren.EOF
        Do Until rsChildren.EOF
                            Response.Write rsChildren("RESOURCE_PARSENAME") & "<BR>"

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exchange appointment extended fields via WebDAV villian C# 1 January 26th, 2011 05:29 AM
C# Exchange WebDAV data retrieve sergiomarina C# 1 January 25th, 2011 12:02 PM
WebDAV repository custom realization zipfer Oracle 0 August 6th, 2007 08:04 AM
IIS and WebDAV authenication settngs suhelahmed Internet Information Services 0 August 21st, 2006 04:46 AM
WebDav + Database belesisj General .NET 2 June 3rd, 2005 11:02 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.