Csla.ApplicationContext not working on hosted site

Csla.ApplicationContext not working on hosted site

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


griff posted on Wednesday, December 24, 2008

Hi

I have just uploaded my web site to my hosted site and it seems the following code (and similar) does now not work

Public Shared Function CanAddObject() As Boolean

If Csla.ApplicationContext.User.IsInRole("Unauthorised") Then

Return False

End If

Return True

End Function

Is there any reason for this i.e. runs locally on my machine but once uploaded to ISP hosted web site does not work - is there some additional configuration I may need to do?

Thanks

Richard

 

 

ajj3085 replied on Friday, December 26, 2008

What do you mean "does not work?"  Are you getting an exception?

One thing to check would be to search the forum for AuthorizationRequest.  IIRC, you need to handle that even to make asp.net happy.  A search of the forum should yield some results.

HTH
Andy

Copyright (c) Marimer LLC