Solved

configuration error dotnetnuke

Posted on 2004-09-29
13
422 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
Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

 

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
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 viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

717 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