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 ...Dotnetnuke Deployment Error Dotnetnuke Deployment Error 'allowDefinition='MachineToApplication'
Previous
 
Next
New Post
11/5/2009 3:24 AM
 

Hello,

I am deploying my website on a WebHost Server. I have uploaded the files to the root location and have uploaded the database(changed the portal alias) and configured my web.config to point to that database. When I first tried accessing the site I received the following error :

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 65:     </authorization>
Line 66:     <!-- Ensure validationkey is not set to AutoGenerate,IsolateApps so it correctly supports webfarms -->
Line 67:     <machineKey validationKey="0742D144BFC0CFC58ED435F13EAC4088DA47D332" decryptionKey="DF5D6247622B74AA32717DFEDAF0B49A1413704FEE89F187" decryption="3DES" validation="SHA1" /> Line 68:     <!-- HttpModules for Common Functionality -->
Line 69:     <httpModules>


Having commented Line 67, I got the following error:

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 128:    <customErrors mode="Off"/>
Line 129:    <!-- forms or Windows authentication -->
Line 130:    <authentication mode="forms"> Line 131:      <!--<forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />-->
Line 132:      <forms name=".DOTNETNUKE" protection="All" timeout="120" cookieless="UseCookies" />

Source File: d:\hosting\member\chillisoft\site1\web.config    Line: 130

 

Does anyone know what I'm doing wrong and what's going on here. Please help on how I can solve these error messages or is it something I'm missing?

 
New Post
11/5/2009 4:06 AM
 

you are probably uploaded your site in a subdirectory of another asp.net application. Depending on the parent application (and its web.config) this might or might not work out well


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Dotnetnuke Deployment Error Dotnetnuke Deployment Error 'allowDefinition='MachineToApplication'


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