application/atom+xml

ASP.net – Specifying a directory when the Web Host won't specify the drive letter?

GET HOSTING FOR 1 Cent! USE CODE: JURY

My Web Host won’t tell me what the full path is that I’m placing my files in.
I’m trying to open up a database using OleDbConnection. When I don’t specify the drive letter, it just assumes I mean c:\windows\system32\.
I’m trying to open “\user\access_db\Catalog.mdb”
How can I specify this in the Connection String?

Related Blogs

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • Twitter
  • Technorati
  • Live
  • LinkedIn
  • MySpace

2 Responses to “ASP.net – Specifying a directory when the Web Host won't specify the drive letter?”

  • bryan_13_09:

    offer Webhosting i offer these packages

    1gb space – — – 5gb space – - – - 10 gb space — Unlimited space

    All of those come with Unlimietd Bandwidth Unlimited MySql Unlimited Ftp Accounts Unlimited Everything pretty much….

    I also can install message boards for everyone that wants them….vBulleting—Invsion Power Board (IPB)—-PHPBB —- ANY OF THEM pretty much anything you want i can install

    EMAIL ME AT bryan@bucswebhosting.com and i’ll reply back with pricing and all of that

  • Chris Love:

    You should call Server.MapPath(“”) to get the root directory path of your web site.

Leave a Reply

Anti-Spam Protection by WP-SpamFree