DNN Blog

Feb 9

Posted by: Philip Beadle
Thursday, February 09, 2006 5:00 AM  RssIcon

We built the www.nrl.com site on DNN 4 with 3 web servers a clustered file server and clustered SQL boxes.  (The site does 17 million pages a month)  We ran inot some permissions issues with using the separate file zserver which houses all of the files needed to run DNN.  The fix is below.

As far as I can tell, the issue your experiencing is the result of the default .NET Code Access Security (CAS) permissions not allowing remote code to execute.  This issue is described in the following Knowledge Base (KB) article.  This article hasn't yet been updated for .NET 2.0.  The error looks a little different on .NET Framework 2.0 and unless you have the .NET 2.0 Framework SDK installed, you won't have access to the Microsoft .NET Framework 2.0 Configuration MMC to make the required change, so I've included the equivalent caspol command below:

PRB: "System.Security.SecurityException: Security error" Error Message when the Virtual Directory Points to a Remote Share in ASP.NET
http://support.microsoft.com/default.aspx?id=320268

caspol -m -ag 1 -url "file://\\fileserver\share\*" FullTrust -exclusive on

Tags:
Categories:
Location: Blogs Parent Separator Philip Beadle

6 comment(s) so far...


Re: Code Access Security Issue for web farms with a separate file server

Philip,

Congratulations on that fantastic site!

It is great to hear DNN4 being used for such a high-profile, high-trafic website.

Your Member signup process looks really cool, is that a completely custom solution or did you use any 3rd party module like UCanUse or Datasprings?

Also great info on the CAS issue.

I have been making a DNN websites directory and so have studied hundreds of DNN websites and this site is my favourite!

By solheim on   Friday, February 10, 2006 1:47 AM

Re: Code Access Security Issue for web farms with a separate file server

Very cool site Phil. Now you just need to get the rest of BigPond to see the light ;).

By jbrinkman on   Friday, February 10, 2006 2:23 AM

Re: Code Access Security Issue for web farms with a separate file server

The member sign up is a modified version of the DataSprings system. Its fairly heavily modified to make the wizard. Works well though.
I nearly got DNN into Telstra Wholesale last year. That would have been awesome, 100,000 sites they were looking it.

By philip.beadle on   Friday, February 10, 2006 8:21 AM

Re: Code Access Security Issue for web farms with a separate file server

We actually had to scrap the dynamic registration product as it has some flaws in field validation, layouts and a few other issues. In the end we hand coded a form (1 day effort) as opposed to spending 4 days trying to get the dynamic registration add on production ready.

Basically, dynamic registration was not going to scale, however I understand there is now a new release from them, but we have not looked at it.

By gillis on   Thursday, February 23, 2006 11:43 AM

Modules used in NRL site

Hi Philip,
I met you once at Department of Treasury & Finance in Victoria. NRL site looks great. Could you let me know what modules/3rd parties you used for this site. I can read you have actually customised some of those modules.

From above - a customised datasprings, looks like tab aggregator (dnnstuff), and the others?

Brian Mann

By bmann on   Saturday, March 25, 2006 3:00 PM

Re: Code Access Security Issue for web farms with a separate file server

Thanks! I just completed testing for a web farm DNN deployment and this posting solved the last hurdle I was trying to get over. Thanks again so much!

By cwolfe on   Wednesday, July 18, 2007 9:17 AM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.