Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...first time Web farmingfirst time Web farming
Previous
 
Next
New Post
12/1/2007 10:07 AM
 

Hi,

I am attempting to configure DotNetNuke 4 in a Web farm environment using 2 web servers and an SQL cluster with all the DotNetNuke files in a shared network drive on a separate server.  I have configured Windows network load balancing on the two web servers and set up my network Drive.  I have also configured IIS to use the network Drive on both web servers but I have a couple of questions:

·         -how do I set file permissions for the network service and ASP.net for each of the load balanced web servers on the separate server which holds the physical files for the network Drive?

·         -Am I right in thinking that I only need to configure web.config in the network Drive once as both web servers referencing the same physical file?

These may be really dumb questions but it's the first time I have experimented with this and the Web farming document for DotNetNuke isn't that clear to me.

Any help is much appreciated

 
New Post
12/1/2007 11:32 AM
 

On each of the web servers, you will need to tell ASP.NET to have full trust of your file share.  I believe you will go to C:\Windows\Microsoft.NET\Framework\v2.0.50727 and run the caspol utility from the command line to tell ASP.NET running on your web servers to trust the file share: caspol -m -ag 1 -url file://\\servername\share\* FullTrust.

Your web.config will only be in one place on your file share so any changes you make to it should reflect across your web farm.

Let me know if this helps at all.

 
New Post
12/3/2007 5:29 AM
 

that's very helpful thank you, maybe I mis-read the Web farming document that comes with DotNetNuke, but I was under the impression that there was some files that  went on the file share and then other files that went on each of the Web servers

 
New Post
12/6/2007 11:32 AM
 

unfortunately I am seeing the following error:

Access to the path '\\homeis\DNN_NLB\dnn4\\DotNetNuke.config' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path '\\homes\DNN_NLB\dnn4\\DotNetNuke.config' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

 
New Post
12/7/2007 4:46 AM
 

hi, I didn't mention that I am running Windows server 2003 and so wonder if it's a permissions error in regard to the network service?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...first time Web farmingfirst time Web farming


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out