Just wondering If anybody has found the magic bullet for this ?
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases ....
I upgraded my local development environment from 4.9.3 to 5.1.4. A couple of small battles, but got that working. I have been testing it on my development box for about a week, it looked good, so, I migrated up to my godaddy production envirnment.
My migration went like this ...
ON PRDUCTION, MY DNN IS A SUBFOLDER !!
replace he dnn database on godaddy with my dev dnn database.
Remove all 4.9.3 dnn folders.
FileZilla my dev dnn folders up to godaddy.
Fix the permissions, etc. (this process of migrating worked for 4.9.3)
Had a couple of errors, then finally this one.
I am getting this after I type in my url and press enter, so, I never see my home page. (havnt yet)
Here is ruffly what I see ...
An error has occurred.
An error has occured. (twice0
<-- Return to site.
I can get into my godaddy dnn database, and there I can see the eventlogs.
That is where I can see the exact error. Here are the details
(This was coped from the EventLog database ntext field ) :
*******************************************
<LogProperties><LogProperty><PropertyName>AssemblyVersion</PropertyName><PropertyValue>5.1.4</PropertyValue>
</LogProperty><LogProperty><PropertyName>PortalID</PropertyName><PropertyValue>0</PropertyValue></LogProperty><
LogProperty><PropertyName>PortalName</PropertyName><PropertyValue>Information Quality Works</PropertyValue></LogProperty><LogProperty><PropertyName>UserID</PropertyName><PropertyValue>-1</PropertyValue></LogProperty><LogProperty><PropertyName>UserName</PropertyName><PropertyValue /></LogProperty>
<LogProperty><PropertyName>ActiveTabID</PropertyName><PropertyValue>38</PropertyValue></LogProperty><LogProperty>
<PropertyName>ActiveTabName</PropertyName><PropertyValue>Home</PropertyValue></LogProperty><LogProperty>
<PropertyName>RawURL</PropertyName><PropertyValue>/iqdnn/Default.aspx</PropertyValue></LogProperty><LogProperty>
<PropertyName>AbsoluteURL</PropertyName><PropertyValue> /iqdnn/Default.aspx</PropertyValue></LogProperty><LogProperty>
<PropertyName>AbsoluteURLReferrer</PropertyName><PropertyValue>http://www.iqworks.com/iqdnn/</PropertyValue></LogProperty>
<LogProperty><PropertyName>UserAgent</PropertyName><PropertyValue>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .
NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) </PropertyValue></LogProperty><LogProperty><PropertyName>DefaultDataProvider</PropertyName><PropertyValue>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</PropertyValue></LogProperty><LogProperty><PropertyName>ExceptionGUID</PropertyName>
<PropertyValue>88e993d5-420a-444a-be7c
08c0ce788520</PropertyValue></LogProperty><LogProperty><PropertyName>InnerException</PropertyName><PropertyValue>
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.</PropertyValue></LogProperty><LogProperty><PropertyName>FileName</PropertyName><PropertyValue /></LogProperty>
<LogProperty><PropertyName>FileLineNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty><
PropertyName>FileColumnNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty>
<PropertyName>Method</PropertyName><PropertyValue>System.Web.UI.ControlCollection.Add</PropertyValue>
</LogProperty><LogProperty><PropertyName>StackTrace</PropertyName><PropertyValue /></LogProperty>
<LogProperty><PropertyName>Message</PropertyName><PropertyValue>DotNetNuke.Services.Exceptions.PageLoadException:
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. --->
System.Web.HttpException: The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
at System.Web.UI.ControlCollection.Add(Control child)
at DotNetNuke.UI.Utilities.MSAJAX.Register(Page objPage)
at DotNetNuke.UI.Utilities.MSAJAX.RegisterClientScript(Page objPage, String Path) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientScriptBlock(Page objPage, String key) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef)
at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef)
at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Int32 intModuleId, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, Int32 intAnimationFrames, String strPersonalizationNamingCtr, String strPersonalizationKey)
at DotNetNuke.UI.Utilities.DNNClientAPI.EnableMinMax(Control objButton, Control objContent, Boolean blnDefaultMin, String strMinIconLoc, String strMaxIconLoc, MinMaxPersistanceType ePersistanceType, String strPersonalizationNamingCtr, String strPersonalizationKey)
at DotNetNuke.UI.ControlPanels.IconBar.Page_PreRender(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---</PropertyValue></LogProperty><LogProperty><PropertyName>Source</PropertyName><PropertyValue /></LogProperty></LogProperties>
*******************************************
1) I tried putting AjaxTookit 1.0 in the dnn/bin and putting in those binding redirects to ajax 3.5.
<!--iqworks 091017a Upgrade 5.1.4 to gdaddy Need this because DNN comes with version
AjaxControlToolKit.dll 1.0 -->
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin;bin\HttpModules;bin\Providers;bin\Modules;bin\Support;" />
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.20229.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.20229.0" newVersion="3.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<!-- end of iqworks 091017a Upgrade 5.1.4 to gdaddy -->
2) I tried changing EnableAJAX To "N".
3) I tried the
<!--iqworks 091017a to fix error -->
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
<!-- End iqworks 091017a to fix error -->
Thanks for your time.