catalyst2 community forums  

Go Back   catalyst2 community forums > New Users > How-To?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 25-10-2004, 09:35 AM   #1 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 8
.Net Database Connection

Hi,

I am using Visual Studio and would like to connect to an MS access database I have created. I can do this fine when everything is local to my machine, but I am unsure how to connect to it when I upload it to the catalyst2 servers. Is there a step by step guide on how to do this as I am new to .Net development.

Many thanks

Flannagan
flannagan is offline   Reply With Quote
Old 25-10-2004, 11:36 AM   #2 (permalink)
Administrator
 
WhiskyFudge's Avatar
 
Join Date: Oct 2003
Posts: 1,484
One of our users Jenny has created a tutorial for such things which can be downloaded at: http://support.catalyst2.com/index.p...ds&_m=get&_i=5. If you want any more help then let us know.

On an annoying side note I would like to point out that Access is not a suitable database system to handle any form of serious traffic, but will happily do small sites.

Hope that helps

Jas
__________________
Jason Robbins
jason@catalyst2.com
WhiskyFudge is offline   Reply With Quote
Old 26-10-2004, 03:21 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 8
I have looked at the guide and am still having problems connecting to my database. I want to create a connection in Server Explorer (Visual Studio) So I can drag the tables I want onto the selected web forms. Im trying to use MS Jet 4.0 OLE DB provider. When I try to test my connection Im getting a workgroup information file is missing or opened exclusively by another user error.

Any suggestions, once I can connect to it via server explorer ill be away and running.

Thanks

Flannagan
flannagan is offline   Reply With Quote
Old 26-10-2004, 03:29 PM   #4 (permalink)
Administrator
 
Jacob's Avatar
 
Join Date: May 2003
Posts: 1,299
Is the database in anyway password protected?

Have you had a look at: http://msdn.microsoft.com/library/de.../odatanet2.asp ?

What is your connection code?

Regards,

Jacob
Jacob is offline   Reply With Quote
Reply

Thread Tools
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.