Microsoft KB Archive/253696

= Cannot access URL with ADO 2.5 and Internet Publishing Provider (MSDAIPP) on IIS 4.0 =

Article ID: 253696

Article Last Modified on 1/10/2006

-

APPLIES TO


 * Microsoft Data Access Components 2.5
 * Microsoft Data Access Components 2.6
 * Microsoft Internet Information Server 4.0

-



This article was previously published under Q253696



SYMPTOMS
When you attempt to retrieve data from a URL with ActiveX Data Objects (ADO) version 2.5 and Internet Publishing Provider (MSDAIPP) on Internet Information Server (IIS) version 4.0 (or earlier), you may receive the following error:

Run-time error '-2147467259(80004005)': Unspecified error



CAUSE
The Internet Publishing Provider requires the IIS server to support either the FrontPage Web Extender Client (WEC) or the Web Distributed Authoring and Versioning (WebDAV) protocol extensions. These extensions are not supported by default on Internet Information Server version 4.0 or earlier.



RESOLUTION
There are two ways to resolve this problem:  Install FrontPage Server Extensions. This provides the IIS server with support for the WEC protocol extensions. For information on FrontPage Server Extensions, refer to MSDN online at the following Web address:

http://msdn.microsoft.com

 Upgrade to a newer version of IIS. Both IIS 5.0 and IIS 6.0 support WebDAV.



STATUS
This behavior is by design.



Steps to Reproduce Behavior
 Start a new Visual Basic Standard EXE project. Form1 is added by default. In the References option of the project, add the Microsoft ActiveX Data Objects 2.5 Library.</li>  Paste the following code in the general declaration section of Form1: Private Sub Form_Load Dim Conn as New ADODB.Connection Conn.Open Provider=MSDAIPP.DSO;Data Source=http://MyServer/MyDoc.doc Conn.Close End Sub </li> Run the application on a computer that is running Internet Explorer 4.0 (or earlier) without FrontPage Server Extensions installed.</li></ol>

<div class="references_section">