Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 11-19-2001, 11:38 AM   #1
Member (8 bit)
 
Join Date: Dec 1999
Location: NY, USA
Posts: 170
Cool Question about ASP command...

Hi all! I have a question about the ASP. I use this folowwing command in order to store my data in a access database but it cannot works, do you guys think is the server problem? But it works properly on my W2K system through the 'IIS' (Internet Information Services).

This is the ASP command that i mentioned above :-

cnnDB = Server.CreateObject("ADODB.Connection");
ConStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" +
Server.MapPath("Epalace2u.mdb");


Please guide, thanks in advance!!

LM
Lmworld is offline   Reply With Quote
Old 11-22-2001, 07:07 AM   #2
Member (10 bit)
 
Join Date: Jan 2001
Location: Birmingham, UK.
Posts: 553
Send a message via Yahoo to dj4uk
Right so it works on your own system - where doesn't it work?
Is where it is failing using IIS? using M$ Access?
dj4uk is offline   Reply With Quote
Old 11-28-2001, 10:51 AM   #3
Member (8 bit)
 
Join Date: Dec 1999
Location: NY, USA
Posts: 170
Cool

Hi! It's works well in IIS, but doesn't works after i upload it to the server. Is it i should change the 'provider' in the coding side? Please guide, thanks!

LM
Lmworld is offline   Reply With Quote
Old 11-30-2001, 10:55 AM   #4
SQL nutcase
 
mosquito's Avatar
 
Join Date: Sep 2000
Location: Belgium
Posts: 1,136
Send a message via AIM to mosquito
Apparently the mdb file is stored in a folder part of the path, on your server the path of your database is not part of the path, so it can't find the database file.
mosquito is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:44 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2