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
upgraded my system and my localhost is not connecting
Old 05-23-2006, 09:22 AM upgraded my system and my localhost is not connecting
Novice Talker

Posts: 14
Trades: 0
Hi,

I had a system on my personal computer that I had few ASP applications hosted to make my life easier but now that I upgraded the system to Windows XP with Office 2003, the ASP code is no longer connecting to my old database.

Here is the error I get:

Error Type:
ADODB.Connection (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/includes/utils.asp, line 10


Here is the code that I use:

Set Conn=server.createobject("adodb.connection")
Conn.Provider = "Microsoft.Jet.OLEDB.4.0"
Conn.ConnectionString = "Data Source=" & DbName & ";"
Conn.Open

Please help me sort this out. Why is it not connecting with a new system? The local site worked fine before I upgraded the system.

Is this not supported on Windows XP with office 2003?

If not, could you please provide me with a code on how I could connect to an Access database on this system.


Thank you.
__________________
Guna D

Please login or register to view this content. Registration is FREE
- Post the link to your stories/news on my site and make Adsense money. Keep 100% of the revenue to yourself just for posting a link.
netklick is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-23-2006, 10:39 AM Re: upgraded my system and my localhost is not connecting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
what was the old system?

have you recreated the DSN?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-23-2006, 06:20 PM Re: upgraded my system and my localhost is not connecting
Novice Talker

Posts: 14
Trades: 0
My old system was Windows XP with Office 98 (older version). How do I create a DSN?

Thank you.
__________________
Guna D

Please login or register to view this content. Registration is FREE
- Post the link to your stories/news on my site and make Adsense money. Keep 100% of the revenue to yourself just for posting a link.
netklick is offline
Reply With Quote
View Public Profile
 
Old 05-23-2006, 06:57 PM Re: upgraded my system and my localhost is not connecting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
take a look at http://www.webmaster-talk.com/the-da...ss-string.html for the connection string syntax.

the ODBC AND OLE drivers will have been upgraded
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-25-2006, 06:28 PM Re: upgraded my system and my localhost is not connecting
Experienced Talker

Posts: 30
Trades: 0
For connection string syntax, try this link as well http://www.connectionstrings.com This web site is highly recommened.
__________________

Please login or register to view this content. Registration is FREE
MyOpinion is offline
Reply With Quote
View Public Profile
 
Old 05-27-2006, 04:31 PM Re: upgraded my system and my localhost is not connecting
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Netclick: IF you're running XP 64-bit edition (as I am), you will have to convert IIS to 32-bit compatibility mode since there are no 64-bit Jet drivers (why, I don't know, but it's true.)

http://support.microsoft.com/?id=894435

You'll need the first line in this article, but not the second.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to upgraded my system and my localhost is not connecting
 

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.17036 seconds with 12 queries