smartblogallinone install fails

Nov 9, 2012 at 9:54 AM
Edited Nov 9, 2012 at 10:20 AM

I cannot install the smartblog:

Exception: System.Data.SqlClient.SqlException: Ungültiger Objektname 'dbo.AvailableModules'. at SageFrame.SageFrameClass.Services.Installers.RemoveAvailableModule(String filename) in H:\codeplexupdate522012\SageFrameV2_Source\SageFrame.Core\Services\Installer\Installer.cs:line 1107 at SageFrame.SageFrameClass.Services.Installers.RemoveFromAvailableResources(String filename) in H:\codeplexupdate522012\SageFrameV2_Source\SageFrame.Core\Services\Installer\Installer.cs:line 1014 at SageFrame.SageFrameClass.Services.Installers.InstallPackage(ModuleInfo module) in H:\codeplexupdate522012\SageFrameV2_Source\SageFrame.Core\Services\Installer\Installer.cs:line 946 at SageFrame.DesktopModules.Admin.Extensions.ctl_ModuleInstaller.wizInstall_NextButtonClick(Object sender, WizardNavigationEventArgs e) in c:\Entwicklung\Projekte\Websites\Sageframe\Modules\Admin\Extensions\ctl_ModuleInstaller.ascx.cs:line 355

Nov 13, 2012 at 5:27 AM

Hello uh3738,

Please comment out RemoveAvailableModule method in SageFrame.Core\Services\Installer\installer.cs (for your convenience line number 1014). This one will help you fix the issue. Or you can also try the fallback method by unzipping smartblogllinone module and then install smartblog.zip first and then the remaining three one by one.

Revert back if you have any problem.

Thanks!

 

Nov 13, 2012 at 10:28 AM

done. But I am having problems compiling the application. I have only Visual Studio 2012 and there are several errors when compiling.. Unfortunately, I have not the time now to search for all this. Maybe I'll do it later.

Nov 13, 2012 at 11:40 AM

You should try with VS 2010 it is compiling more elegantly in my case and for live hosting you can just FTp the SageFrame folder to the http host folder, its that easy and simple.

Cheers and regards ;)

Nov 13, 2012 at 7:17 PM

I still cannot compile. Look at the errors here:

Message    8    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    60    29    C:\...\SageFrame\
Message    9    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    73    29    C:\...\SageFrame\
Message    10    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    86    29    C:\...\SageFrame\
Message    11    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    99    29    C:\...\SageFrame\
Message    12    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    112    29    C:\...\SageFrame\
Message    13    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    125    29    C:\...\SageFrame\
Message    14    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    138    29    C:\...\SageFrame\
Message    15    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    157    29    C:\...\SageFrame\
Message    16    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    168    29    C:\...\SageFrame\
Message    17    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    178    29    C:\...\SageFrame\
Message    18    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    190    29    C:\...\SageFrame\
Message    19    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    203    29    C:\...\SageFrame\
Message    20    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    216    29    C:\...\SageFrame\
Message    21    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    243    29    C:\...\SageFrame\
Message    22    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    247    29    C:\...\SageFrame\
Message    23    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    262    29    C:\...\SageFrame\
Message    24    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    275    29    C:\...\SageFrame\
Message    25    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    288    29    C:\...\SageFrame\
Message    26    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    301    29    C:\...\SageFrame\
Message    27    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    314    29    C:\...\SageFrame\
Message    28    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    327    29    C:\...\SageFrame\
Message    29    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    344    29    C:\...\SageFrame\
Message    30    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    357    29    C:\...\SageFrame\
Message    31    Validation (XHTML 1.0 Transitional): Attribute 'width' is considered outdated. A newer construct is recommended.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    370    29    C:\...\SageFrame\
Warning    1    Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'. Cannot find assembly 'C:\Entwicklung\Projekte\Websites\sfnewsletter\SageFrame\bin\AjaxControlToolkit.dll'.    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\bin\ajaxcontroltoolkit.dll.refresh    C:\...\SageFrame\
Warning    2    The field 'SageFrame.Modules.Admin.Extensions.Editors.ModuleControlsDetails._newmoduleControlID' is assigned but its value is never used    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\Extensions\Editors\ModuleControlsDetails.ascx.cs    42   
Warning    3    The field 'SageFrame.Modules.Admin.Extensions.Editors.ModuleControlsDetails._controlCount' is assigned but its value is never used    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\Extensions\Editors\ModuleControlsDetails.ascx.cs    43   
Error    4    The best overloaded method match for 'System.Web.UI.HtmlControls.HtmlTableRowCollection.Add(System.Web.UI.HtmlControls.HtmlTableRow)' has some invalid arguments    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    47   
Error    6    The best overloaded method match for 'System.Web.UI.HtmlControls.HtmlTableRowCollection.Add(System.Web.UI.HtmlControls.HtmlTableRow)' has some invalid arguments    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    240   
Error    5    Argument '1': cannot convert from 'System.Web.UI.HtmlControls.HtmlGenericControl' to 'System.Web.UI.HtmlControls.HtmlTableRow'    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    47   
Error    7    Argument '1': cannot convert from 'System.Web.UI.HtmlControls.HtmlGenericControl' to 'System.Web.UI.HtmlControls.HtmlTableRow'    C:\Entwicklung\Projekte\Websites\Sageframe\SageFrame\Modules\Admin\UserManagement\UserProfile.ascx    240   

 

Ignoring the warnings, there are still the errors with HtmlControls......

Nov 15, 2012 at 1:47 PM

This looks quite strange to me because I have deployed more than 2 sites using the same extension and I was not troubled by any such errors. 

After seeing this issue, I downloaded the sageframe source again and the blog extension and installed it and still it works seamlessly. I even tried compiling it in vs 2008 and there is no problem.

Well I have asp.net 4.0 installed on my machine but the downloaded sageframe code is compiled in version 3.5 so that shudn't be a problem.

Anyway I recommend downloading the source version again and trying installing the smartblog module.