DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008

    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.mywebsite.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>"

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Welcome to DevX

    Are all the necessary permissions in place? Can you access the other server outside of your code?

  3. #3
    Join Date
    May 2008
    I tried to read the server's local folder like URL=http://localhost/myfolder,
    it gives the same error. I checked the permissions , all seems to be OK. All listed user accounts have read,list folder permissions given.
    Directory browsing too enabled. I can browse the same directory via IIS Directory browsing.
    Is WEBDAV Internet publishing limited to IIS version?

Similar Threads

  1. convert my asp pages to asp.net
    By Emad Ramadan in forum ASP.NET
    Replies: 4
    Last Post: 09-30-2008, 07:12 AM
  2. Replies: 0
    Last Post: 02-22-2002, 07:44 AM
  3. working on ASP as a beginner!
    By sahar in forum ASP.NET
    Replies: 2
    Last Post: 12-10-2000, 06:18 PM
  4. getting better at ASP
    By Deborah D Brown in forum authorevents.mitchell
    Replies: 2
    Last Post: 10-17-2000, 04:28 PM
  5. Re: Bitten by the ASP
    By Keith Franklin, MCSD in forum Talk to the Editors
    Replies: 18
    Last Post: 09-27-2000, 11:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.