BUG: Recordset DTC Does Not Recognize Data Connection; Connection Information Appears in Red

ID: Q243809


The information in this article applies to:
  • Microsoft Visual InterDev, version 6.0


SYMPTOMS

After installing Visual Studio Service Pack 3, Recordset Design-Time Controls (DTC) may no longer recognize Data Connections that do not use an OLE DB Connection String. This includes Data Connections that use Data Link (UDL) Files or ODBC Data Source Names. You may encounter the following behaviors:

  • All data sources can be accessed through the Data Tools (that is, Data View).


  • In the Recordset DTC's drop-down list of available Data Connections, only Data Connections that use an OLE DB Connection String for connection information appear.


  • If an existing connection is in use by a Recordset DTC and the Data Connection properties are changed to use an ODBC DSN or a Data Link File, then the Recordset DTC Connection properties appear in red.


  • Connection properties for Recordset DTCs for projects that were created before applying Visual Studio Service Pack 3 appear in red.



CAUSE

Microsoft is currently researching the cause of this bug.


RESOLUTION

An OLE DB Connection String must be used in order for the Recordset DTC to recognize the Data Connection. This behavior does not occur until Visual Studio Service Pack 3 is installed. Use the following steps to create an OLE DB Connection String:

  • Right-click the Data Connection in the Project Explorer window (under Global.asa/DataEnvironment) and select Properties.


  • In the General tab, select Use Connection String and click Build.


  • Follow the instructions to build your OLE DB Connection String.



STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


REFERENCES

If the data resource is a file-based resource (such as Microsoft Access) and a UNC path is used to refer to the location of the file, ensure that network access to the file is available. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

Q207671 HOWTO: Accessing Network Files from IIS Applications

Additional query words:

Keywords : kbCtrl kbVisID600bug kbGrpASP kbDSupport
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: January 7, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.