I am trying to integrate Cutechat in portal software. We wish to keep the rooms open (anonymous users) but at the same time make sure only portal users are accessing the chat.
Our portal has a framework and I tried embedding it in the source code of cutechat (few of portal DLLs). Using these portal libraries I can check if the request is coming from a portal user that is logged in.
I am getting TRUST LEVEL error while accessing portal methods.
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type System.Security.Permissions.EnvironmentPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
I have tried changing "TRUST LEVEL" in web.config and configuring ".NET Configuration tool".
I would appreciate any help.
Thanx