![]() |
|
|
|
#1 |
|
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 Jason |
|
|
|
|
#2 |
|
Posts: n/a
|
Is the second virtual directory set up under its own application? That would
account for the behaviour you have seen. "Jason" <> wrote in message news:... > 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 > > Fredrik Elestedt |
|
|
|
#3 |
|
Posts: n/a
|
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 "Fredrik Elestedt" <> wrote in message news:... > Is the second virtual directory set up under its own application? That would > account for the behaviour you have seen. > > "Jason" <> wrote in message > news:... > > 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 > > > > > > Jason |
|
![]() |
| Thread Tools | Search this Thread |
|
|