Solved

configuration error dotnetnuke

Posted on 2004-09-29
13
420 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WordPress 8 66
Mobile apps - web/native or hybrid? 1 117
Print a <div></div> only 5 51
Set a parameter in a properties file and use in html table. 14 53
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to count occurrences of each item in an array.

738 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