Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
elwoos
Master Smack Fu Yak Hacker
2052 Posts |
Posted - 2006-06-13 : 11:40:51
|
I'm not sure if I have fundamentally misunderstood something or I just don't quite understand what I have done.Here is my situationI have a main application (ASP.NET 1.1) that uses Forms authentication. This works fine.I needed to add a complete new section to this application and so setup a new solution, wrote it and tested it. That works fine on it's own (lets call this one RMS)I now want to add the RMS solution to the main applicationI opened the main application in Visual Studio and chose the add existing project option to add RMS to the main app. I excluded the RMS web.config (so that it would use the main app one). This appeared to be fine.I also enabled anonymous access and disabled the others on the web siteHaving built the whole thing I opened my browser and put in the address of a page in the RMS. I expected the forms authentication to kick in but it didn't. Does anyone have any idea why?Many thanks in advancesteve-----------Oh, so they have internet on computers now! |
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2006-06-13 : 15:33:27
|
Steve -- I am not sure that having two projects in the same solution makes a difference in this sense; I think ASP.NET cares more about where the project files live on the webserver.So, if you have something like this:wwwroot\Project1 <-- web.config is herewwwroot\Project2 <-- no web.configon your webserver, and only a web.config file for Project1, even though they are in the same solution, I don't believe the web server will see that Project2 should use the same web.config as Project1.I think you'd need to structure it like this:wwwroot\Project1 <-- web.config is herewwwroot\Project1\Project2 <-- no web.config |
 |
|
elwoos
Master Smack Fu Yak Hacker
2052 Posts |
Posted - 2006-06-14 : 04:27:11
|
OK many thanks I'll have a go with thatsteve-----------Oh, so they have internet on computers now! |
 |
|
|
|
|