CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Access Database Connection on Server

Print topic Send  topic

Author Message
NeedHelp
Posted: 04/29/2004, 4:05 PM

I have been trying to establish a connection to my Access Database which is located on an internet server. I have read several posts about the server.mappath and have tried the entry, but cannot seem to get it to work.

The server the database is on, is NOT the same path as my .asp pages. I did see a note to add the server.mappath function to the common.asp, but I'm not sure about that either. Please help. I'll provide any additional information needed.

Thanks.
ryan

Posts: 41
Posted: 04/29/2004, 6:13 PM

NeedHelp :

The database should RESIDE on your web server. Server accross LAN (Iike SQL Servers, etc.)

If your using access mdb there are free sites that you can play around with and you can place the mdb inside (brinkster server, websamba server)

Ok, I hope that helps I could be wrong you know someone will thread here :)
_________________
(\__/)
(='.'=)
(")_(")
View profile  Send private message
peterr


Posts: 5971
Posted: 04/29/2004, 7:51 PM

AFAIK indeed MS Access doesn't support remote connectivity. Simply copy or FTP the database to your computer and work with it there.

If you are already working with your database locally and want to publish the ASP program to the server then please specify the database path on your server and someone could help you with creating proper connection string. Couple examples are posted at http://docs.codecharge.com/studio/html/UserGuide/Deploy...loyASPApps.html
It is not necessary to use Server.MapPath and in many cases it actually cannot be used.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.