Redirecting to error page.

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.
5/2/2013 2:18:26 AM
Gravatar
Total Posts 3

Redirecting to error page.

Haii..

      I have integrated Mojo successfully as an application in my site and run setup/default.aspx everything is fine there is no error.. But when i brows home page it shows an error and redirected to error page..Please help me..

 

setup/default.aspx

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.1580000
Configuring feature Site Statistics - 00:00:00.1800000
Configuring feature Child Page Site Map - 00:00:00.1840000
Configuring feature Newsletter Sign Up Form - 00:00:00.1850000
Configuring feature Sign In Module - 00:00:00.1940000
Configuring feature Site Search - 00:00:00.1950000
Configuring feature Bing Map - 00:00:00.1990000
Configuring feature Blog - 00:00:00.2760000
Configuring feature Comments - 00:00:00.4090000
Configuring feature Contact Form - 00:00:00.4200000
Configuring feature Event Calendar - 00:00:00.4330000
Configuring feature Feed Manager - 00:00:00.4470000
Configuring feature Flickr Slide Show - 00:00:00.5390000
Configuring feature Flickr Gallery - 00:00:00.6070000
Configuring feature Image Gallery (Simple Folder Version) - 00:00:00.6150000
Configuring feature Forums - 00:00:00.6270000
Configuring feature Google Map - 00:00:00.6480000
Configuring feature Google Translate - 00:00:00.7250000
Configuring feature Html Fragment Include - 00:00:00.7300000
Configuring feature IFrame - 00:00:00.7340000
Configuring feature Image Gallery - 00:00:00.7480000
Configuring feature Audio Player - 00:00:00.7720000
Configuring feature Video Player - 00:00:00.7790000
Configuring feature List/Links - 00:00:00.8540000
Configuring feature PachakamTopForums - 00:00:00.8710000
Configuring feature PachakamTopBlogs - 00:00:00.8750000
Configuring feature Poll - 00:00:00.8790000
Configuring feature Shared Files - 00:00:00.8850000
Configuring feature Survey - 00:00:00.8960000
Configuring feature Twitter Profile Widget - 00:00:00.8990000
Configuring feature Twitter Search Widget - 00:00:00.9990000
Configuring feature Web Store - 00:00:01.0280000
Configuring feature Xml/Xsl - 00:00:01.0360000
Ensuring all features are installed in server admin sites... - 00:00:01.0440000
Setup is complete, click the link below to go to the home page.
Site Home Page

Database PlatformMSSQL
Version2.3.9.3
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.

 

 

 

 

 

Error occurred

 

Server Error in '/Forum' Application.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance 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.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error: 
 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace: 
 

[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5009598 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234 System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity) +341 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, SqlConnection owningObject) +129 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout) +270 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +195 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +232 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +33 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +524 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +479 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126 System.Data.SqlClient.SqlConnection.Open() +125 mojoPortal.Web.layout.LoadTotRcpCount() +132 mojoPortal.Web.layout.Page_Load(Object sender, EventArgs e) +553 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

5/2/2013 9:49:27 AM
Gravatar
Total Posts 18444

Re: Redirecting to error page.

make sure you don't have extra copies of Web.config files in sub folders, there should only be one of them and it should be in the root of the mojoPortal installation. Maybe you have an extra on in the /Setup folder that has correct database connection string but the one in root does not have the correct connection string.

Or if the parent site is also .NET the web.config file there could be interfering.

5/3/2013 2:57:20 AM
Gravatar
Total Posts 3

Re: Redirecting to error page.

Haiii Jeo..

           In my root folder of Mojo containing web.config and user.config.. No web.config in setup folder...The connection string in web.config of Mojo's root and parent sites are same... I dont know what to do...:( 

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