Support Forums
 
  Forum  Support  Installation He...  Errors on DNN 4.0.3
Previous Previous
 
Next Next
New Post 6/7/2006 5:58 PM
  David Mallard
3 posts
lab.davidmallard.net/
No Ranking


Errors on DNN 4.0.3 
Hi,

I have just downloaded and installed the new 1.7.3 version of the chatroom on a DNN 4.0.3 installation. On my local testing system it worked fine so I then installed on my main site. However, the chatroom would not load and the log viewer showed the following exception:

6/7/2006 2:40:16 PM   Module Load Exception   admin     ModuleId: 408; ModuleDefId: 112; FriendlyName ...
ModuleId: 408
ModuleDefId: 112
FriendlyName: Meeting Room
ModuleControlSource: DesktopModules/SWIRL-ChatRoom/ChatRoom.ascx
AssemblyVersion: 04.00.03
Method: System.Security.CodeAccessSecurityEngine.Check
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: David Mallard - Online Psychology Lab
UserID: 2
UserName: admin
ActiveTabID: 76
ActiveTabName: Meeting Room
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://lab.davidmallard.net/Laboratory/MeetingRoom/tabid/76/ctl/ViewLog/mid/408/Default.aspx
ExceptionGUID: 289ede6f-cdeb-4f98-97a2-a602f0035801
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Request for ConfigurationPermission failed while attempting to access configuration section 'swirlchat/license'. To allow all callers to access the data for this section, set section attribute 'requirePermission' equal 'false' in the configuration file where this section is declared.

I modified the web.config to add the requirePermission="false" attribute. The chatroom would then display on the page but did not display that I had entered the chat and did not allow me to send a message. Another check of the log viewer showed this exception:

6/7/2006 2:42:41 PM   General Exception   admin     AssemblyVersion: 04.00.03; Method: System.Security.CodeA ...
AssemblyVersion: 04.00.03
Method: System.Security.CodeAccessSecurityEngine.Check
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: David Mallard - Online Psychology Lab
UserID: 2
UserName: admin
ActiveTabID: 36
ActiveTabName: Home
AbsoluteURL: /DesktopModules/SWIRL.DNN.Modules.ChatRoom.AJAXMethods,SWIRL.DNN.Modules.ChatRoom.ashx
AbsoluteURLReferrer: http://lab.davidmallard.net/Laboratory/MeetingRoom.aspx
ExceptionGUID: 668bdf25-d622-46c2-b110-5175a55a2099
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Unhandled Error:
Message: System.Exception: Unhandled Error: ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Reflection.Assembly.get_Location() at Ajax.AjaxProcessor.RenderClientScript(MethodInfo[] mi, Type type) at Ajax.AjaxRequestProcessor.Run() at Ajax.AjaxHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace ---

It seems there is some kind of security issue going on. My site is running in a Medium Trust environment - could this be the source of the issue? I would be grateful for assistance in resolving this as I have been looking forward to being able to use this module on my DNN 4 site.

Thanks,
David
 
New Post 6/7/2006 6:05 PM
  Swirl Host
2 posts
No Ranking


Re: Errors on DNN 4.0.3 

David --

Can you temporarily set the Trust Level to "FullTrust" and see if that will alleviate your problem.  If you continue to have difficulties, please open a ticket with our support desk by sending an email to:  support@swirlhost.com, or by visiting http://support.swirlhost.com.    This way the communications can be handled securely between support staff and yourself.

Thank you!

-- Swirlhost Support

 
New Post 6/7/2006 11:31 PM
  Dave Sparks
1 posts
No Ranking


Re: Errors on DNN 4.0.3 
Modified By Dave Sparks  on 6/7/2006 11:33:14 PM)

Same problem here.

ASPNix.com is my host. Works fine on my dev machine at home and no, I cannot set my hosts machine to Full Trust mode.

-Also named Dave

 
New Post 6/7/2006 11:40 PM
  Swirl Host
2 posts
No Ranking


Re: Errors on DNN 4.0.3 

Our programming team has been working overnight to resolve the "Medium Trust" issues associated with running the Swirl AJAX Chatroom Module in DotNetNuke 4.x installations in hosted environments.  An updated version (1.8.0) has been built and tested to run in Medium Trust hosted environments.

However, this update REQUIRES a new version of the AJAX.NET "pro" edition.  The new package is now available in the "Downloads" section of our website (look for version 1.8.0).  BE SURE to read the installation.txt file (inside the latest package) for the latest installation information.  Also, please see the important announcement posted on our website if you are upgrading from a prior version.

If you have any issues with the new version running in DotNetNuke 4.x, please open a ticket with our support desk:  support@swirlhost.com

Thank you!

 

 
New Post 6/8/2006 1:23 AM
  David Mallard
3 posts
lab.davidmallard.net/
No Ranking


Re: Errors on DNN 4.0.3 
I can confirm that the 1.8.0 release has fixed my problems with DNN 4.0.3 under Medium Trust. Thanks a lot for the great customer support - I was kept updated by e-mail and notified as soon as the fix was ready.
 
Previous Previous
 
Next Next
  Forum  Support  Installation He...  Errors on DNN 4.0.3
     

DotNetNuke Gold Benefactor

Copyright (c) 2010 Swirl AJAX ChatRoom Module
Privacy Statement | Terms Of Use