ConfigurationSettings

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hello all

I have two web virtual directories
http://localhost/publications
http://localhost/main/publications
both virtual directories point to the same location
C:\inetpub\wwwroot\publications
the first virtual directory works perfectly fine, as expected.
the second does not. when the default page loads and i put a watch on the
ConfigurationSettings class and inspect the AppSettings property, the length
is 0. whereas the length is 3 if i debug the first virtual directory.

any ideas why? obviosuly i need to get stuff outa AppSettings.

Thanks
Jason
 
Is the second virtual directory set up under its own application? That would
account for the behaviour you have seen.
 
yes, you mean if i am in the virtual directory properties and click
"Create"?

the virtual directory is in it's own application then.

Thanks
Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top