Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Data connection problems
Old 07-08-2004, 02:12 PM Data connection problems
VegaLA's Avatar
Skilled Talker

Posts: 64
Trades: 0
Hi again.
Had some success yesterday pulling data from a Access mdb that was located in a folder in the WWWRoot folder. I then wanted to see if I could have a front end mdb somewhere on the network and link the tables to the web mdb but because it is on the other side of the DMZ this would not work so it looks like I shall have to go the way of using DSN. As a newbie this is causing some problems, i'm getting this error message on the website,
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

/data.asp, line 8

I checked the code for data.asp and it points to another ASP file, testdata.asp which looks fine but it refers to an htm file, Connection_odbc_conn_dsn.htm, which I cannot locate anywhere. Can any pass me any advice on what is wrong and how I can resolve this ?

Thanks in advance,
Mitch....
VegaLA is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-10-2004, 08:04 AM
witchblade32's Avatar
Super Talker

Posts: 140
Location: Lititz, PA
Trades: 0
Going just by file name alone, the Connection_odbc_conn_dsn.htm is the file that contains the information that you need to locate. It should contain the dsn connection. You'll need to try and find it, or replace it with another file that has the correct dsn connection.

I have to say it's a really poor idea to keep that connection information in an HTML file unless it's outside the public folder, otherwise, anybody who stumbles across it can read your connection info and possibly hack the database. That really should be an .asp file.
witchblade32 is offline
Reply With Quote
View Public Profile Visit witchblade32's homepage!
 
Old 07-12-2004, 04:21 PM
VegaLA's Avatar
Skilled Talker

Posts: 64
Trades: 0
Cheers Witchblade. I too thought it would be an ASP file but where and why it creates this html file is beyond me. I can't locate it anywhere !!
VegaLA is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Data connection problems
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.67397 seconds with 12 queries