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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Deployment problemDeployment problem
Previous
 
Next
New Post
9/3/2006 9:04 AM
 

Hey

I've created a simple DNN 4.3.4 portal using Visual Web Developer 2005 Express and DNN Starter Kit.

From what I understand I have to depoly this DNN project as any other ASP.NET 2.0 projects.

In "solution explorer" in vwd I clicked the "copy website" button and copied the project to a folder on my compuiter. Then I configured a new virtual directory in IIS and set it to point to my DNN project (the copy of the DNN project created by "copy website").  I gave the ASPNET user account full access to the directory.

When I run my project I get this error:

Server Error in '/DeployTest' Application.

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: Unrecognized attribute 'requirePermission'.

Source Error:

Line 4:      <sectionGroup name="dotnetnuke">
Line 5:        <!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
Line 6:        <section name="data" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
Line 7:        <section name="logging" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />
Line 8:        <section name="scheduling" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke" />

Source File: D:\Download\Harper\DotNukeTestDeploy\web.config    Line: 6


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

 

Any suggestions on how to solve this?

 
New Post
9/3/2006 12:29 PM
 
The first thing I would do is make sure you deploy to a 2.0 installation of the framework. That error clearly shows that you are using the 1.1 framework on the server you deployed to.
 
New Post
9/3/2006 1:09 PM
 

1) 4.3.4 is for ASP.NET 2.0.  You'll need to use IIS Manager|virtual website|properties ASP.NET and change it to 2.0.

2) Do you have a web.config in a parent folder?  ASP.NET will use every web.config above your directory (even though it is a virtual folder). A quick check is to rename the web.config in the root then try to acces your site. If something different happens you have an issue with web.config stacking.

I hope this is of some help to you.

 


Dwayne J. Baldwin
 
New Post
9/3/2006 1:38 PM
 

Thanks, I've fixed the error. I was using .NET 1.1 - changed to .NET 2.0 and it works!

Another thing I'm wondering about:

Instead of deploying the DNN portal as I did could I instead set the the virtual directory in IIS to point to the folder containing the source code (source code used in visual web developer 2005 express to create the portal) of my DNN portal?

I guess this is possible. But what about security? will it be as secure as a deployed website?

What is your thought about this?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Deployment problemDeployment problem


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