Re: Calling DLL in VBScript
For the ODBC error:
You have an ODBC datasource "DSN" on your machine. Your code relys on this DSN which is unique to your machine. This DSN is likely not on your webserver. You have two choices:
1. Manually create the DSN on every machine where the DLL will run (this sucks)
2. Change your connection to not use a DSN. There is documentation on this in MSDN.
Re: Calling DLL in VBScript
For ASP application you must be using either IIS or PWS(Personal Web Server). When a HTML Page is submitted to ASP Script(Which is stored under Home Directory of the Web Site Created using IIS/PWS),the ASP Script is always executed on the system in which IIS/PWS is installed.
So You must be having, ADO Component and DSN For Accessing the Database where IIS/PWS is installed.
As you are using ADO you can also connect to database without creating DSN, just by specifying the Connection String.
VMK
([email protected])