configuration error

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.
6/16/2008 10:35:55 PM
Gravatar
Total Posts 4

configuration error

Hi Joe,

i have a configuration error.I'm out of idea to solve this matter.Below is the error:

**********************************************************************

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 872:
Line 873: <!-- comment this out for Mono -->
Line 874: <add assembly="Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 875:
Line 876:

Source File: C:\mojoportal\Web\web.config Line: 874

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

****************************************************************

Using VS 2005, IIS 5.1

Thanks.Rgds, Aifa
 

6/17/2008 6:56:09 AM
Gravatar
Total Posts 18439

Re: configuration error

Hi Aifa,

If using the source code of mojoPortal, Microsoft.Web.Preview.dll is included in the _libs folder and when you build it should get copied to the Web/bin folder. First check if it exists in Web/bin, if not copy it there.

If it does already exist then the problem may be that you have an older version installed in the GAC on your machine and this older version is interfering so you need to uninstall it. This could happen from an old install of Ajax.

Hope it helps,

Joe

6/18/2008 4:25:51 AM
Gravatar
Total Posts 4

Re: configuration error

 Thanx bro, let me try first.

rgds, Aifa

 

6/18/2008 8:17:37 PM
Gravatar
Total Posts 4

Re: configuration error

hi bro,

I've the second error.this time is about the database connection.i already create the database, the 1st installation: i start with mssql/2.2.48, then upgrade with 2.2.19. But, it still cannot connect to the database

***********************************************************************************************

Probing system...
File system permissions ok.

The system cannot connect to the MSSQL database. Please check your connection string.


System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at mojoPortal.Data.DBPortal.DatabaseHelperGetConnectionError(String overrideConnectionInfo) in C:\Inetpub\wwwroot\mojoportal\mojoPortal.Data.MSSQL\dbPortal.cs:line 346

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.
 

***********************************************************************************************************************

Need your help.

Thanks.

Rgds, Aifa.

6/19/2008 7:57:59 AM
Gravatar
Total Posts 18439

Re: configuration error

Something went wrong somewhere, it should not be trying to run script 2.2.1.9 after running 2.2.4.8.

I recommend delete all stored procedures and tables from your db and then start over at /Setup/Default.aspx

Hope it helps,

Joe

6/20/2008 5:16:47 AM
Gravatar
Total Posts 4

Re: configuration error

Thanks bro.

the portal successful live right now.

rgds,

Aifa

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