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 ...Temporary Error After Module InstallationTemporary Error After Module Installation
Previous
 
Next
New Post
9/9/2012 4:01 PM
 

I have upgraded and migrated my webportal, with the following:

  1. upgrade from 5.6.5 to 6.0.2
  2. SQL from Express edition to Web edition
  3. Windows from 2008 Standard and 2008 R2 Standard
  4. IIS 7.0 to IIS 7.5

the upgrade went smooth but with some module upgrade errors but i resolved them manually later.

Every time I install a new module, the module installs correctly but after I refresh the page i get an error.

It is usually resolved either by the IIS and MS SQL server restart and on rare occasions a page refresh.

Server Error in '/' Application.


Invalid attempt to call Read when reader is closed.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Invalid attempt to call Read when reader is closed.

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:


[InvalidOperationException: Invalid attempt to call Read when reader is closed.]
   System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +1119
   System.Data.Linq.SqlClient.ObjectReaderBase`1.Read() +65
   System.Data.Linq.SqlClient.ObjectReader`2.MoveNext() +21
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +472
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +80
   Hyper.Modules.Settings.Controller.GetSettings(Int32 ModuleID) +534
   Hyper.Modules.Articles.Template.getTemplate(String settingsName) +139
   Hyper.Modules.Articles.Template..ctor(Int32 pid, Int32 mid) +517
   Hyper.Modules.Articles.ArticleControlBase.get_Template() +100
   Hyper.Modules.Articles.Satellite.BindLiteralData(ArrayList objList) +106
   Hyper.Modules.Articles.Satellite.BindData(ArticleFilter filter) +768
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064

[PageLoadException: Invalid attempt to call Read when reader is closed.]
   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +558
   System.Web.UI.Page.HandleError(Exception e) +182
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11439382
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11438910
   System.Web.UI.Page.ProcessRequest() +269
   System.Web.UI.Page.ProcessRequest(HttpContext context) +167
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
 
New Post
9/9/2012 10:00 PM
 

From the stack trace it would appear that the error is specific to a new instance of a custom module being placed on a page:

Hyper.Modules.Settings.Controller.GetSettings(Int32 ModuleID) +534

and results when reading settings values from the database - most likely due to there being no rows of settings data for this particular ModuleId when the module is first placed on a page.

However, you mentioned that the error occurs when a module is installed. Do you mean when using the Host-->Extensions, Install Extension Wizard? If so, does the error occur when installing a module from the DNN Forge - for example the Links or Events or other modules?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
9/10/2012 7:55 AM
 

Thanks for your reply and pointing out that particular reference.

I had previous small issues with this third party module (purchased from snowcovered)

Indeed when any module I install from codeplex.

I will follow the matter with this developer of the module





 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Temporary Error After Module InstallationTemporary Error After Module Installation


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