D
Dr. Know
Greetings,
I am running IIS on W2kServer and am trying to use ASP with some
legacy X-Base tables. I cannot get the provider to connect.
Relevant code is:
strProvider = "Provider=vfpoledb;Data Source=C:\DB2\DDMS\"
set objConn = server.createobject("ADODB.Connection")
objConn.Open strProvider
This style works fine with Access tables, but I get the following
error with the vfpeledb connection attempt:
An exception of type "ADODB.Connection: Provider cannot be found. It
may not be properly installed" was not handled.
I have installed the Visual FoxPro v8 drivers, and have set the
metadata in the global.asa file as follows: (watch the word wrap)
<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.7
Library" UUID="{EF53050B-882E-4776-B643-EDA472E8E3F2}"
VERSION="2.7"-->
<!--METADATA TYPE="TypeLib" NAME="Microsoft OLE DB Provider for Visual
FoxPro 7.0 Type Library" UUID="{50BAEECA-ED25-11D2-B97B-000000000000}"
VERSION="1.0"-->
Then ASP complains that it cannot find the metadata:
Active Server Pages, ASP 0223 (0x80004005)
METADATA tag contains a Type Library specification that does not match
any Registry entry.
Registry entries ARE present for the v7 library, but not the v8 - I
assume this is normal. Reinstallation changed nothing. The dll is
present in the proper directory, and all registry entries point to it.
References in InterDev v6 show up and I can open the tables fines
within the IDE, but ASP refuses to acknowledge their existance.
Any ideas?
Dr. Know
I am running IIS on W2kServer and am trying to use ASP with some
legacy X-Base tables. I cannot get the provider to connect.
Relevant code is:
strProvider = "Provider=vfpoledb;Data Source=C:\DB2\DDMS\"
set objConn = server.createobject("ADODB.Connection")
objConn.Open strProvider
This style works fine with Access tables, but I get the following
error with the vfpeledb connection attempt:
An exception of type "ADODB.Connection: Provider cannot be found. It
may not be properly installed" was not handled.
I have installed the Visual FoxPro v8 drivers, and have set the
metadata in the global.asa file as follows: (watch the word wrap)
<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.7
Library" UUID="{EF53050B-882E-4776-B643-EDA472E8E3F2}"
VERSION="2.7"-->
<!--METADATA TYPE="TypeLib" NAME="Microsoft OLE DB Provider for Visual
FoxPro 7.0 Type Library" UUID="{50BAEECA-ED25-11D2-B97B-000000000000}"
VERSION="1.0"-->
Then ASP complains that it cannot find the metadata:
Active Server Pages, ASP 0223 (0x80004005)
METADATA tag contains a Type Library specification that does not match
any Registry entry.
Registry entries ARE present for the v7 library, but not the v8 - I
assume this is normal. Reinstallation changed nothing. The dll is
present in the proper directory, and all registry entries point to it.
References in InterDev v6 show up and I can open the tables fines
within the IDE, but ASP refuses to acknowledge their existance.
Any ideas?
Dr. Know