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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."Unable to cast" error in Install DNN on Vista, IIS 7.0"Unable to cast" error in Install DNN on Vista, IIS 7.0
Previous
 
Next
New Post
3/11/2009 4:55 PM
 

DNN newbie.  I'm hitting a wall on this one, can't find these objects and methods in Install or Install Wizard.  I believe I have followed the various configuration guides, including Sellers'. 

The install produces no output screen, blows on:

 "System.InvalidCastException: Unable to cast object of type 'System.Web.Configuration.ScriptingAuthenticationServiceSection' to type

'System.Web.Configuration.ScriptingAuthenticationServiceSection"

DNN 5.0.1 Install version, new install, Vista, IIS 7.0, SQL Express 2008.  Stack trace is:

[InvalidCastException: Unable to cast object of type 'System.Web.Configuration.ScriptingAuthenticationServiceSection' to type 'System.Web.Configuration.ScriptingAuthenticationServiceSection'.]
   System.Web.Configuration.ScriptingAuthenticationServiceSection.GetConfigurationSection() +39
   System.Web.Security.AuthenticationService.EnsureConfigLoaded() +64
   System.Web.Handlers.ScriptModule.ShouldSkipAuthorization(HttpContext context) +82
   System.Web.Handlers.ScriptModule.AuthenticateRequestHandler(Object sender, EventArgs e) +52
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
 Help would be appreciated.

 
New Post
3/16/2009 11:45 AM
 

I don't understand the cause, but following the following procedure seemed to get me past this problem and  into the install:

http://www.adefwebserver.com/DotNetNukeHELP/DNN4_DevelopmentEnvironment_noIIS/ 

This got my install working even though I am using IIS and DNN 5.  The trick seems to be opening the root of the DNN directory using Visual Web Developer Express 2008. 

 

 

 

 

 
New Post
3/18/2009 12:41 PM
 

The page you reference does not include any useful steps toward solving this problem that I can see...

Can you be more specific about how you solved the problem?

 

Bill Dameron wrote

I don't understand the cause, but following the following procedure seemed to get me past this problem and  into the install:

http://www.adefwebserver.com/DotNetNukeHELP/DNN4_DevelopmentEnvironment_noIIS/ 

This got my install working even though I am using IIS and DNN 5.  The trick seems to be opening the root of the DNN directory using Visual Web Developer Express 2008. 

 

 

 

 

 
New Post
3/18/2009 1:01 PM
 

 I solved the problem for me. The cause was having parent web.config files that were setup for .net 3.5. Once I deteled the parent web.confg's (I didn't need them anyway), it worked fine.

If your web server is setup with the .net 3.5 framework, you need to make sure that there are no web.config files set for 3.5 above yours in the file hierarchy. (i.e., D:\inetpub\wwwroot\mydnn... check the inetpub and wwroot directories for web.config's...)

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ..."Unable to cast" error in Install DNN on Vista, IIS 7.0"Unable to cast" error in Install DNN on Vista, IIS 7.0


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