Making a long story short, I finally installed DNN into my discountasp after wasting last two days. Installing dnn was kinda a process of fun. I had to repeatedly change web.config because of installation error. For each change, I had to delete all db tables/procedures/functions/views and files made by the installer and upload whole of packages via ftp which took 10-20 mins each. Let's see what did I change so far.
1. First browser suggested <customerror mode="off"> so I did.
2. it complained <add name="ScriptModule" is defined already. so I deleted the line.
3. System.Web.Extensions is said to be ambiguous between 1.0 and 3.5. I deleted the assembly in bin directory and changed all reference 3.5.0.0 instead of 1.0.^%T*^%,0 in web.config
4. For my great pleasure, windows explorer kept producing timeout error during uploading. Later, I found I had to use filezilla.
After the two days, I finally got congratulation message of installation. But to give me more pleasure, when trying to access the site, I got two simple warning messages in my browser: "An error has occurred" twice. So I referred to EventLog and found following trace. Wow really? PhpNuke was real joy. I didn't even have to upload at the time and it ran right away....enough to complain....please read following with me.
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) in E:\web\ephphathare\htdocs\CMSTS\Admin\ControlPanel\IconBar.ascx.vb:line 381
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)
This looks like Ajax problem. Could somebody explain how to deal with this error?
Thanks