Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » asp.net ... what datasource to use?
Closed Thread
Old 08-31-2004, 02:46 PM   #1 (permalink)
 
Newb Techie

Join Date: Aug 2004

Posts: 9

ralph.wigham

Default asp.net ... what datasource to use?

Hi,

I am developing an asp.net application and don't know what datasource to use. I have SQL Server on my machine to I can use access etc. but the server I want to deploy to only accepts .mdb files.

All the books I have on ASP.NET don't mention how to link a .mdb access database to a sql server. Specifically I am confused about stored procedures as .mdb doesn't support stored procedures (I think).

Any advice?

Cheers
R
ralph.wigham is offline  
Old 09-17-2004, 04:03 PM   #2 (permalink)
 
Newb Techie

Join Date: Sep 2004

Posts: 10

Joepas

Default

You could create an access data project which will act as sort of a frontend to an sql server, it can be a remote server, it doesn't need to reside on the same server as the .adp file..... I don't know how well (or if it will even) work as a data source for .asp pages though....

If the server that is hosting your .asp pages will only accept .mdb files, it sounds like they don't have sql server running, in which case you need to use tyour access database that you upload to the server as the datasource for your pages.
Joepas is offline  
Old 09-17-2004, 09:11 PM   #3 (permalink)
 
Newb Techie

Join Date: Aug 2004

Posts: 9

ralph.wigham

Default

Cheers Joepas,

I eventually overcame the problem. I in the end used SQL server but was forced to re-write all my SQL into my actual application logic in asp.net. As it turned out writing direct into the applcation logic was much better than using stored procedures.

Unfortunately my server company whom I am contractually bound with until god knows when do run SQL server and accept asp.net, but only accept .mdb rather than .adp, which is odd. I have overcome this problem and performance wise, it is running much smoother with a .mdb and application level SQL. I just had to remember to establish a configuration level SQL connection to my datasource so I didn't have to re-write it to every web page I created.

Cheers for your reply. Are you too an asp.net developer?

R
ralph.wigham is offline  
 
Closed Thread

Thread Tools
Display Modes

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