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 ...Problem upgrading from 4.03.04 to 4.5.1 Installing Database - Version 4.4.0...Upgrading Database to Problem upgrading from 4.03.04 to 4.5.1 Installing Database - Version 4.4.0...Upgrading Database to
Previous
 
Next
New Post
5/24/2007 10:48 PM
 

Iam having the same problem: 

 


Exception Details: System.IndexOutOfRangeException: Email

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:

[IndexOutOfRangeException: Email]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +1358391
   System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +102
   System.Data.SqlClient.SqlDataReader.get_Item(String name) +12
   DotNetNuke.Entities.Portals.PortalController.FillPortalInfo(IDataReader dr, Boolean CheckForOpenDataReader) +716
   DotNetNuke.Entities.Portals.PortalController.GetPortal(Int32 PortalId) +184
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +121
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2677
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
New Post
6/1/2007 5:59 PM
 

Me too - exactly the same error message

 

Email

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.IndexOutOfRangeException: Email

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:

[IndexOutOfRangeException: Email]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +1358263
   System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +102
   System.Data.SqlClient.SqlDataReader.get_Item(String name) +12
   DotNetNuke.Entities.Portals.PortalController.FillPortalInfo(IDataReader dr, Boolean CheckForOpenDataReader) +723
   DotNetNuke.Entities.Portals.PortalController.GetPortal(Int32 PortalId) +185
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +121
   DotNetNuke.Common.Globals.GetHostPortalSettings() +214
   DotNetNuke.Common.Globals.GetPortalSettings() +79
   DotNetNuke.HttpModules.AuthenticationModule.Init(HttpApplication application) +12
   System.Web.HttpApplication.InitModules() +267
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1251
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +317

 

 

 
New Post
6/3/2007 8:00 PM
 

As an experiment, I reverted to our previous version, then disabled Windows authentication, and tried to upgrade again. I still get the system.indexoutofrangeexception:email message.

Please folks, if someone could help out with any useful suggestion, it would be great. I don't want to upgrade, but other functionality (the events module) doesn't work properly and their advice was "upgrade, version 4.0.3 had many bugs which the latest version addresses". So I'm stuck  - don't upgrade, and don't have the calendar, or upgrade, but the upgrade fails.

I've also tried to upgrade to an intermediate version to see if that helped, but it made no difference.

I've checked all the different host/admin emails to be sure that they have valid email addresses (in case it were a data issue) - but that wasn't the problem either.

Thanks!

 
New Post
6/3/2007 8:31 PM
 

Don't know if this is a red herring or not - but in the not-upgraded version (4.0.3), when I try to invoke the Settings page for the events, I get the following message: 

Error: Module is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Method not found: 'System.String DotNetNuke.Entities.Users.UserInfo.get_Email()'. ---> System.MissingMethodException: Method not found: 'System.String DotNetNuke.Entities.Users.UserInfo.get_Email()'. at DotNetNuke.Modules.Events.Settings.LoadSettings() at DotNetNuke.Modules.Admin.Modules.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

I think it's curious that it's also an email-related error, and wonder if the two are not related. It's because of this error that I am trying to upgrade.

I would tell you what the error log says, but the error log gives me this error:

Error: Log Viewer is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: There is an error in XML document (1, 2). ---> System.InvalidOperationException: There is an error in XML document (1, 2). ---> System.InvalidOperationException: was not expected. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderLogProperties.Read3_ArrayOfAnyType() --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.Deserialize(String str) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.FillLogInfo(IDataReader dr) at DotNetNuke.Services.Log.EventLog.DBLoggingProvider.DBLoggingProvider.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Services.Log.EventLog.LogController.GetLog(Int32 PageSize, Int32 PageIndex, Int32& TotalRecords) at DotNetNuke.Modules.Admin.Log.LogViewer.BindData() at DotNetNuke.Modules.Admin.Log.LogViewer.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
6/4/2007 3:06 AM
 

This would lead to lead to table e.g named  dbo..portals (when you haven't a objectQualifier) when you're using the MS SQL Server Management Studio. If've not tested that but I could imagine that would throws errors.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem upgrading from 4.03.04 to 4.5.1 Installing Database - Version 4.4.0...Upgrading Database to Problem upgrading from 4.03.04 to 4.5.1 Installing Database - Version 4.4.0...Upgrading Database to


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