p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

aspdotnet_website_programming thread: Use of config files with web hosting company


Message #1 by "Angela Bauer" <angela@d...> on Tue, 11 Jun 2002 21:20:26
My question is the use of .config files in the /config directory. I can 
extract these values just fine on my home setup, but when I upload the 
site to my live site (using Orcsweb web hosting), I get the error 
detailed below?

Error Message: Access to the 
path "D:\domains\fitjournal.com\Config\Db.Config" is denied.

I called up my web hosting company to see if they could fix it so I could 
use these config files. They?re not ASP.NET experts, so they kept saying 
use the web.config file in the root. I use that as well, but of course 
for module specific configuration settings, I would like to use these 
extra .config files as you?ve specified in your book.

Any suggestions on what I can ask my web hosting company they need to 
specifically do in order for this code to work?

Oh, plus the File Manager Browsing tool doesn?t work, but that?s not 
quite a big deal. I would really like the .config files to be working.

Thanks,
Angela
Message #2 by "Angela Bauer" <angela@d...> on Wed, 12 Jun 2002 01:18:31
Ok, got this solved, I had the web hosting company adjust the permissions 
on \Config for the anonymous user and the error is now gone. I think the 
same solution goes for the FileManager module.

  Return to Index