Error: ApplicationContext is ambiguous in the namespace CSLA

Error: ApplicationContext is ambiguous in the namespace CSLA

Old forum URL: forums.lhotka.net/forums/t/699.aspx


jwink posted on Friday, July 21, 2006

When deploying to my web server, I get a 'ApplicationContext is ambiguous in the namespace CSLA' error in global.asax at the following line

Csla.ApplicationContext.User = principal

IIS is set up for both .Net 1.1 and .Net 2.0 with separate application pools.  I am running CSLA 1.5 in the .Net 1.1 pool and now want to run CSLA 2.0 in the .Net 2.0 pool.  My understanding is that the conflict should not be caused by dll's of the same name in different application pools.

I deleted all files from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files with the same result.

Any suggestions are appreciated,

jwink

 

jwink replied on Monday, July 24, 2006

Had a couple extra dll's in the same directory which must have lead to the conflict.  Removing them eliminated the error.

jwink

Copyright (c) Marimer LLC