CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Database Connectivity Problem

Print topic Send  topic

Author Message
Lordnomi
Posted: 05/22/2004, 5:50 AM

My system is working fine on personal comuter using IIS. But when i am uploading it on the remote server its giving me error.

My connectipn string is

ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Inetpub\wwwroot\sal\dbw\cars.mdb;Persist Security Info=False"

And error is

Unable to establish connection to database.
Error information:
Microsoft JET Database Engine (0x80004005)
'C:\Inetpub\wwwroot\sal\dbw\cars.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

There is a way to allow the code look for the DB , how can i do it .
Thanks
jimmyLeander

Posts: 4
Posted: 05/22/2004, 1:20 PM

Lordomi

You can use Server.MapPath in your Connection string instead of the path....
Check this link in the Knowledge Base, should be what you are looking for...

http://support.codecharge.com/kb_article.asp?s_keyword=...=&article_id=54
_________________
Jimmy
View profile  Send private message
peterr


Posts: 5971
Posted: 05/23/2004, 2:05 PM

BTW, your Web hosting company should provide you with the specific location where the database should be placed. You may need to FTP your database to that location outside of CCS, assuming that the folder structure is different within your project.
_________________
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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