Solved

configuration error dotnetnuke

Posted on 2004-09-29
13
415 Views
Last Modified: 2012-06-22
I installed dotnetnuke using ms access and went to localhost/dotnetnuke and cannot get it to work because of the following erreor
Parser Error Message: Unrecognized attribute 'validateRequest'.
Source Error:


Line 48:
Line 49:             <!-- page level options -->
Line 50:             <pages validateRequest="false" enableViewStateMac="true" />
Line 51:
Line 52:       </system.web>
 
can someone please help...i have tried this many times
0
Comment
Question by:coletteck8
  • 7
  • 6
13 Comments
 
LVL 20

Expert Comment

by:ihenry
ID: 12184516

That might because you're using ASP.NET 1.0 since validateRequest only available for version 1.1. You can just remove the validateRequest attribute to

<pages enableViewStateMac="true" />

Or try previous version of DotNetNuke.
0
 

Author Comment

by:coletteck8
ID: 12185076
if i remove that then i get this error.
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Failure decoding embedded permission set object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[SecurityException: Failure decoding embedded permission set object.]
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +300
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark) +68
   System.Reflection.Assembly.Load(String assemblyString) +19
   System.Web.UI.CompilationConfiguration.LoadAssemblies(Hashtable original) +200

 
0
 
LVL 20

Expert Comment

by:ihenry
ID: 12188108

It doesn't seem because of removing or disabling the validateRequest, instead you should see error message such as "A potentially dangerous Request.Form value was detected..." from HttpRequestValidationException when ASP.NET detects a potentially dangerous input string from the client.

I found this from DotNetNuke 2.0.4 readme.txt file and make sure the security settings is done before running the application.
//--------------
If using Windows 2000 - IIS5
- the {Server}/ASPNET user account must have Read, Write, and Change Control of the root application directory ( this allows the application to create files/folders )
If using Windows 2003 - IIS6
- the {Server}/NetworkService user account must have Read, Write, and Change Control of the root application directory ( this allows the application to create files/folders )
//---------------
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:coletteck8
ID: 12189100
i did see  that article, i've read everything i can, but still cannot get it to work. I am using XP Pro w/sql server, so if i understand that correctly, then i should give the ASPNET account access to the wwwroot folder?
0
 

Author Comment

by:coletteck8
ID: 12189120
by this time, i'm so frustrated with it i could scream, but i have to get this for work.
0
 
LVL 20

Expert Comment

by:ihenry
ID: 12191217

What version .NET framework are you running?
0
 
LVL 20

Expert Comment

by:ihenry
ID: 12191236

And what version DotNetNuke are you using?
0
 

Author Comment

by:coletteck8
ID: 12191855
it's .net 1.0 and DNN 2.1.2
0
 
LVL 20

Expert Comment

by:ihenry
ID: 12192176

If you used the original assemblies that came from the downloaded zip file, try to re-compile all the projects.
0
 

Author Comment

by:coletteck8
ID: 12192260
i am using vs.net 2002 so i can't even open the dotnetnuke project
0
 
LVL 20

Accepted Solution

by:
ihenry earned 225 total points
ID: 12192845

dnn 2.x has some features that only available in .NET Framework 1.1. So the solution either upgrade to .NET Framework 1.1 as well as your vs.net or use dnn 1.x.
0
 
LVL 20

Expert Comment

by:ihenry
ID: 12192881

read this article
http://searchvb.techtarget.com/vsnetATEAnswers/0,293820,sid8_gci996684_tax293475,00.html

but I'm not sure if it can help you to solve this problem.
0
 

Author Comment

by:coletteck8
ID: 12217613
i did end up installing vs.net 2003 with the .net framework 1.1 and i no longer have the problems i had before. unfortunately, now i can't get the connection string to work, but that's a different question.
thanks for everyone's help.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now