Solved

configuration error dotnetnuke

Posted on 2004-09-29
13
411 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
 

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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 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

21 Experts available now in Live!

Get 1:1 Help Now