PDA

Click to See Complete Forum and Search --> : ASP Problems


hurgh
Sep 24th, 2000, 08:15 PM
I am new to ASP and do not know much about it so I downloaded some stuff from planetsourcecode.com
The problem is that I put the stuff that I download on my Internet server and nothing works, I get different types of errors.
Some of the errors

ADO could not find the specified provider.


[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified


Can Anybody Please Tell Me What I am doing wrong???

I understand what the errors are saying but I am not sure how to fix them.

Any help would be much appreciated.

Thanks
Hurgh

monte96
Sep 24th, 2000, 10:35 PM
OK... only because you say you don't know much about it, I would have to say step one, make sure your using IIS or PWS.

Step two, make sure you have MDAC installed on your Server PC.

If you downloaded code and they were using a DSN (Data Source Name) which is set up in their registry on their PC, the code will not be able to locate the database. You should probably use the code more as a guide unless they posted the database as well.

You will need to look at the connection string on the connection or recordset for starters. If your connecting to an ODBC data source, that data source must exist, and you have to specify in the connection string where it exists. (driver/provider, server, database, user, pw). If your trying to connect to an access database, you have to also include the physical path to the .mdb file.