Instalation error in MS SQL

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.
3/1/2009 8:26:37 PM
Gravatar
Total Posts 2

Instalation error in MS SQL

Could anyone help me with this error ?  Its a fresh install in a dedicated server i have (IIS 7, .net 3.5 sp1, silverlight tools installed, etc)

It runs in a SQL EXPRESS 2005 DB.

the error :

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema needs to be created.
Running script mojoportal-core - 2.2.7.8 - 00:00:00.0810000
Running script mojoportal-core - 2.2.7.9 - 00:00:02.7710000
Running script mojoportal-core - 2.2.8.0 - 00:00:02.7990000
Running script mojoportal-core - 2.2.8.1 - 00:00:02.8030000
Running script mojoportal-core - 2.2.8.2 - 00:00:02.8050000
Running script mojoportal-core - 2.2.8.3 - 00:00:02.8100000
Running script mojoportal-core - 2.2.8.4 - 00:00:02.8130000
Running script mojoportal-core - 2.2.8.5 - 00:00:02.8410000
Running script mojoportal-core - 2.2.8.6 - 00:00:02.8450000
Running script mojoportal-core - 2.2.8.7 - 00:00:02.8510000
Running script mojoportal-core - 2.2.8.8 - 00:00:02.8600000
Running script mojoportal-core - 2.2.8.9 - 00:00:02.8720000
Running script mojoportal-core - 2.2.9.0 - 00:00:02.9020000
Running script mojoportal-core - 2.2.9.1 - 00:00:02.9220000
Running script mojoportal-core - 2.2.9.2 - 00:00:02.9270000
Creating site with default settings... - 00:00:02.9690000
Creating roles and admin user... - 00:00:08.3820000
An Error Occurred:The type initializer for 'mojoPortal.Web.Framework.CryptoHelper' threw an exception.
Source:mojoPortal.Web.Framework
Stack Trace at mojoPortal.Web.Framework.CryptoHelper.Hash(String cleanText) at mojoPortal.Web.mojoMembershipProvider.EncodePassword(String pass, MembershipPasswordFormat passwordFormat) at mojoPortal.Web.mojoMembershipProvider.EncodePassword(String pass, SiteSettings site) at mojoPortal.Web.mojoSetup.CreateRequiredRolesAndAdminUser(SiteSettings site) at mojoPortal.Web.UI.Pages.SetupHome.CreateSiteAndAdminUser() at mojoPortal.Web.UI.Pages.SetupHome.RunSetup() 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)

 

i do have the file mojoEncryption.config in root.

 

If i refresh the page after the error :

Probing system...
File system permissions ok.
MSSQL database connection ok.
database permissions are sufficient to alter schema.
database initial schema already exists.
database core schema is up to date.
1 site(s) found.
Configuring feature Html Content - 00:00:00.1390000
Configuring feature Site Statistics - 00:00:00.1710000
Configuring feature Web Part - 00:00:00.1800000
Running script blog - 0.0.0.1 - 00:00:00.1920000
Running script blog - 0.0.0.2 - 00:00:00.2770000
Running script blog - 0.0.0.3 - 00:00:00.2950000
Running script blog - 0.0.0.4 - 00:00:00.3020000
Running script blog - 0.0.0.5 - 00:00:00.3170000
Running script blog - 0.0.0.6 - 00:00:00.3270000
Configuring feature Blog - 00:00:00.3330000
Running script contactform - 0.0.0.1 - 00:00:00.3770000
Running script contactform - 0.0.0.2 - 00:00:00.3910000
Configuring feature Contact Form - 00:00:00.3970000
Running script eventcalendar - 0.0.0.1 - 00:00:00.4060000
Running script eventcalendar - 0.0.0.2 - 00:00:00.4210000
Configuring feature Event Calendar - 00:00:00.4300000
Running script feed-manager - 0.0.0.1 - 00:00:00.4420000
Running script feed-manager - 0.0.0.2 - 00:00:00.4690000
Running script feed-manager - 0.0.0.3 - 00:00:00.4730000
Configuring feature Feed Manager - 00:00:00.4790000
Configuring feature Image Gallery (Simple Folder Version) - 00:00:00.5020000
Running script forums - 0.0.0.1 - 00:00:00.5070000
Running script forums - 0.0.0.2 - 00:00:00.5970000
Running script forums - 0.0.0.3 - 00:00:00.6190000
Running script forums - 0.0.0.4 - 00:00:00.6320000
Configuring feature Forums - 00:00:00.6560000
Configuring feature Google Map - 00:00:00.6690000
Configuring feature Html Fragment Include - 00:00:00.6900000
Running script imagegallery - 0.0.0.1 - 00:00:00.6960000
Running script imagegallery - 0.0.0.2 - 00:00:00.7150000
Configuring feature Image Gallery - 00:00:00.7200000
Running script linksmodule - 0.0.0.1 - 00:00:00.7300000
Running script linksmodule - 0.0.0.2 - 00:00:00.7460000
Configuring feature Links - 00:00:00.7520000
Running script pollfeature-byChristianFredh - 0.0.0.1 - 00:00:00.7680000
Running script pollfeature-byChristianFredh - 0.0.0.2 - 00:00:00.8060000
Running script pollfeature-byChristianFredh - 0.0.0.3 - 00:00:00.8230000
Configuring feature Poll - 00:00:00.8300000
Running script sharedfiles - 0.0.0.1 - 00:00:00.8350000
Running script sharedfiles - 0.0.0.2 - 00:00:00.8750000
Configuring feature Shared Files - 00:00:00.8950000
Running script surveyfeature - 0.0.1.1 - 00:00:00.9000000
Running script surveyfeature - 0.0.1.2 - 00:00:01.0780000
Running script surveyfeature - 0.0.1.3 - 00:00:01.0900000
Configuring feature Survey - 00:00:01.0980000
Running script webstore - 0.0.0.1 - 00:00:01.1020000
Running script webstore - 0.0.0.2 - 00:00:01.4520000
Running script webstore - 0.0.0.3 - 00:00:01.4690000
Running script webstore - 0.0.0.4 - 00:00:01.4710000
Running script webstore - 0.0.0.5 - 00:00:01.5010000
Running script webstore - 0.0.0.6 - 00:00:01.6180000
Running script webstore - 0.0.0.7 - 00:00:01.6830000
Running script webstore - 0.0.0.8 - 00:00:01.6880000
Running script webstore - 0.0.0.9 - 00:00:01.6930000
Running script webstore - 0.0.1.0 - 00:00:01.7130000
Running script webstore - 0.0.1.1 - 00:00:01.7220000
Running script webstore - 0.0.1.2 - 00:00:01.8280000
Running script webstore - 0.0.1.3 - 00:00:01.8900000
Running script webstore - 0.0.1.4 - 00:00:01.9030000
Running script webstore - 0.0.1.5 - 00:00:01.9270000
Running script webstore - 0.0.1.6 - 00:00:01.9320000
Running script webstore - 0.0.1.7 - 00:00:01.9380000
Running script webstore - 0.0.1.8 - 00:00:01.9430000
Running script webstore - 0.0.1.9 - 00:00:01.9660000
Running script webstore - 0.0.2.0 - 00:00:01.9850000
Running script webstore - 0.0.2.1 - 00:00:01.9900000
Running script webstore - 0.0.2.2 - 00:00:02.0090000
Running script webstore - 0.0.2.3 - 00:00:02.0540000
Running script webstore - 0.0.2.4 - 00:00:02.1070000
Running script webstore - 0.0.2.5 - 00:00:02.1520000
Running script webstore - 0.0.2.6 - 00:00:02.1790000
Running script webstore - 0.0.2.7 - 00:00:02.1910000
Running script webstore - 0.0.2.8 - 00:00:02.2240000
Running script webstore - 0.0.2.9 - 00:00:02.2430000
Running script webstore - 0.0.3.0 - 00:00:02.2490000
Running script webstore - 0.0.3.1 - 00:00:02.2640000
Running script webstore - 0.0.3.2 - 00:00:02.2820000
Running script webstore - 0.0.3.3 - 00:00:02.3090000
Running script webstore - 0.0.3.4 - 00:00:02.3260000
Running script webstore - 0.0.3.5 - 00:00:02.3490000
Running script webstore - 0.0.3.6 - 00:00:02.3640000
Running script webstore - 0.0.3.7 - 00:00:02.3760000
Running script webstore - 0.0.3.8 - 00:00:02.3920000
Running script webstore - 0.0.3.9 - 00:00:02.3980000
Running script webstore - 0.0.4.0 - 00:00:02.4190000
Running script webstore - 0.0.4.1 - 00:00:02.4340000
Running script webstore - 0.0.4.2 - 00:00:02.4380000
Running script webstore - 0.0.4.3 - 00:00:02.4420000
Running script webstore - 0.0.4.4 - 00:00:02.4480000
Running script webstore - 0.0.4.5 - 00:00:02.4520000
Running script webstore - 0.0.4.6 - 00:00:02.4580000
Configuring feature Web Store - 00:00:02.4790000
Configuring feature Xml/Xsl - 00:00:02.4880000
Ensuring all features are installed in server admin sites... - 00:00:02.4920000
No pages found so creating default content...
Setup is complete, click the link below to go to the home page.
Site Home Page

Database PlatformMSSQL
Version2.2.9.2
StatusYour installation is up to date.

Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.

 

But if i check teh database, there is no user in the table so i cant login... the error tryig to log :

Server Error in '/' Application.

The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Cryptography.CryptographicException: The system cannot find the file specified.

 

the page runs as a subdomain of my website, uses the same application pool (integrated mode).

 

Any help is welcome.

Thanks

Alessandro

 

 

 

3/2/2009 6:52:24 AM
Gravatar
Total Posts 18439

Re: Instalation error in MS SQL

Hi Allessandro,

I'm not sure why you are getting that crypto error, but it is happening when trying to create a hashed password for the user.

You can work around this by adding this to Web.config/user.config

<add key="InitialSitePasswordFormat" value="0" />

then start again with an empty db

Hope it helps,

Joe

3/3/2009 2:05:27 PM
Gravatar
Total Posts 2

Re: Instalation error in MS SQL

Thanks a lot, Joe.  It worked. :)

It must be something with my IIS because i could remotely install in the same bd using the source code in VS 2008.

 

Anyway, thanks again !

 

 

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