Error occured when installing SQL CE

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
11/2/2010 3:43:30 PM
Gravatar
Total Posts 4

Error occured when installing SQL CE

The following error is presented when trying to run the setup/default.aspx/

System is windows 2003, version  of mojo is 2.3.5.3 for .NET 4.0.

Probing system...
File system permissions ok.
An Error Occurred:This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
Source:mscorlib
Stack Trace at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Data.SqlServerCe.UnmanagedLibraryHelper..ctor(String fileName) at System.Data.SqlServerCe.NativeMethodsHelper..ctor(String modulePath) at System.Data.SqlServerCe.NativeMethods.LoadValidLibrary(String modulePath) at System.Data.SqlServerCe.NativeMethods.LoadNativeBinariesFromPrivateFolder(String privateInstall) at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() at System.Data.SqlServerCe.SqlCeConnection..ctor() at System.Data.SqlServerCe.SqlCeConnection..ctor(String connectionString) at mojoPortal.Data.DBPortal.DatabaseHelperCanAccessDatabase(String overrideConnectionInfo) at mojoPortal.Web.UI.Pages.SetupHome.ProbeSystem() at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint

11/2/2010 5:07:16 PM
Gravatar
Total Posts 18439

Re: Error occured when installing SQL CE

Hi,

I'm not sure, that is a funky error, makes me think some files are missing from the /bin folder, if you are doing a new installation, I recommend using the latest mojoPortal 2.3.5.5

Make sure you use a robust ftp client like FileZilla to upload the files and watch for any transfer errors and retry any failed transfers until they all make it.

If you have any problems with the latest release let us know.

Best,

Joe

11/2/2010 6:26:16 PM
Gravatar
Total Posts 4

Re: Error occured when installing SQL CE

Just downloaded the new release and overwrote my files, same error.  I did find a little problem and fixed it.  i had an old .NET 1.0 site running and had to create a new Application pool for this one, machine was stuttering about using 2 different versions of .NET.  Even though I've corrected that, Mojo is still giving the error.

Tom

11/2/2010 7:01:22 PM
Gravatar
Total Posts 4

Re: Error occured when installing SQL CE

Looking through event logs, got this event error:

Generate Activation Context failed for c:\Inetpub\RGS\bin\x86\sqlceme40.dll. Reference error message: The referenced assembly is not installed on your system.
 

11/2/2010 7:05:36 PM
Gravatar
Total Posts 4

Re: Error occured when installing SQL CE

..and

Dependent Assembly Microsoft.VC90.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

and

Resolve Partial Assembly failed for Microsoft.VC90.CRT. Reference error message: The referenced assembly is not installed on your system.
 

11/3/2010 7:06:45 AM
Gravatar
Total Posts 18439

Re: Error occured when installing SQL CE

Hi,

From googling the error it seems to be some C++ library and perhaps a version mismatch issue.

http://winserverteam.org.uk/blogs/mark/archive/2008/08/18/incorrect-side-by-side-configuration-caused-by-missing-runtime-libraries.aspx

and

http://blogs.msdn.com/b/junfeng/archive/2006/04/14/576314.aspx

are a couple of articles that came up.

I would make sure your site is actually configured for .NET 4 and using a .NET 4 application pool (Integrated not Classic)

I would also make sure you are up to date on windows updates.

and consider whether there are other things installed on the server that may depend on a different version of C++ runtime than what is needed for SQL CE.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.