Please help..
I have used the DSLocalizator before I upgrading my DNN to version 5. I download and installed the DSLocalizator version 3 for DNN5 right after I upgrade my DNN to version 5 and look like the install was done without error. I did not unstall the previous version of DSLocalizator before install the version 3. I then login as a host and go to Admin->DSLocolizator and install the hack, everything is find. The problem I have right now is that when select the "Enable the Portal Localization" and click on the "Update Detection Setting" I got the error of "Cretical error has occurred" I look at the Event Viewer, I see lots of error. and here is the error that I see.
AssemblyVersion: 5.1.4
PortalID: 0
UserID: 1
UserName: xxxxx
ActiveTabID: 114
ActiveTabName: DSLocalizator
RawURL: /Admin/DSLocalizator/tabid/114/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.vnccs.org/Admin/DSLocalizator/tabid/114/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5bfc9b53-331e-4af6-896d-4eeda0579c45
InnerException: Parameter count does not match Parameter Value count.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Parameter count does not match Parameter Value count. ---> System.ArgumentException: Parameter count does not match Parameter Value count. at Microsoft.ApplicationBlocks.Data.SqlHelper.AssignParameterValues(SqlParameter[] commandParameters, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at Delisoft.DNN.Modules.DSLocalizator.Data.SqlDataProvider.UpdateTabLocalization_Options(Int32 portalId, Int32 useSQLViewState, Boolean useTabLocalization, Boolean useModuleLocalization, Boolean enableSearch, String SqlViewStateIp, Boolean tabPreviewEnabled, Boolean UsePortalSettingsLocalization, Boolean SelectorNotUsingCookie, Boolean SelectorNotUsingParam, Boolean SelectorNotUsingBrowser, Boolean SelectorNotUsingGeoIP, String SelectorParamText, Boolean SQLViewStatePerPage, String SelectorCookieName, String LocaleDetectionOrder, Boolean UseWhiteSpaceRemover, Boolean useLocaleTranslation, String localeTranslationRules, Boolean selectorParamAutoreplaceURL, Boolean selectorParamAutoreplaceSOLPART, String portalAliasDefaults, String customNames, Boolean adjustSqlSession, Int32 antiSessionExpiration, Int32 antiSessionExpirationTime, Boolean ForceParamExistance) at Delisoft.DNN.Modules.DSLocalizator.Business.TabLocalization_OptionsController.Update(TabLocalization_OptionsInfo objTabLocalization_Options) at Delisoft.DNN.Modules.DSLocalizator.UI.DSTabLocalizator.d(Object A_0, EventArgs A_1) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
------------------------------------- Here is another one
AssemblyVersion: 5.1.4
PortalID: 0
UserID: 1
UserName: xxxxx
ActiveTabID: 114
ActiveTabName: DSLocalizator
RawURL: /Default.aspx?tabid=114&error=Parameter+count+does+not+match+Parameter+Value+count.&content=0
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.vnccs.org/Admin/DSLocalizator/tabid/114/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5cde27fb-764e-413e-abbf-cd110cab99ac
InnerException: Error Detecting locale: Info= Step 1
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Delisoft.DNN.PageBases.MyLocale.e
StackTrace:
Message: System.Exception: Error Detecting locale: Info= Step 1 ---> System.NullReferenceException: Object reference not set to an instance of an object. at Delisoft.DNN.PageBases.MyLocale.e() --- End of inner exception stack trace ---
with this error, when I go to the portal editor and set it so it chagne the logo image on different Language but it did not change.
I hope that I don't have to uninstall and reinstall the DSLocalization because I don't want to loose all the setting that I have on the previous version.
Thanks
Todd