After install, I try to run and get this error. Thanks for help

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/26/2005 3:12:09 AM
mgm
Gravatar
Total Posts 4

Re: After install, I try to run and get this error. Thanks for help

Server Error in '/mojo' Application.
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: The module 'UrlRewriter' is already in the application and cannot be added again

Source Error:

Line 110:
Line 111:
Line 112:
Line 113:
Line 114:


Source File: C:\Apache2\htdocs\mojoportal\web.config ?? Line: 112

Version Information:?Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
6/26/2005 4:45:39 AM
Gravatar
Total Posts 18439

Re: After install, I try to run and get this error. Thanks for help

Do you have another application running at C:\Apache2\htdocs\ or at the root of localhost that also has a module named UrlRewriter? You could try naming it mojoUrlRewriter in the web.config and see if that helps.
Are you using apache with the MS.NET? or IIS?
Did you modify the web.config in any way? Is it possible you have 2 sections with httpModules? Your shows line 112 but in my web.config that setting is at line 120.
6/26/2005 9:42:49 AM
mgm
Gravatar
Total Posts 4

Re: After install, I try to run and get this error. Thanks for help

Do you have another application running at C:\Apache2\htdocs\ or at the root of localhost that also has a module named UrlRewriter?
** No I do not

You could try naming it mojoUrlRewriter in the web.config and see if that helps.
** I will try this

Are you using apache with the MS.NET? or IIS?
** Apache wit MS.NET

Did you modify the web.config in any way?
** I added the MySQL info

Is it possible you have 2 sections with httpModules?
** I will check

Your shows line 112 but in my web.config that setting is at line 120.
** I'm lost as to why
6/26/2005 10:04:01 AM
mgm
Gravatar
Total Posts 4

Re: After install, I try to run and get this error. Thanks for help

same error
Server Error in '/mojo' Application.
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: The module 'mojoUrlRewriter' is already in the application and cannot be added again

Source Error:

Line 110:
Line 111:
Line 112:
Line 113:
Line 114:


Source File: C:\Apache2\htdocs\mojoportal\web.config ?? Line: 112

Version Information:?Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
6/26/2005 10:23:45 AM
Gravatar
Total Posts 18439

Re: After install, I try to run and get this error. Thanks for help

I really don't know anything about apache integration with asp.net on windows, didn't know it could be done.

I suppose the next thing to try is to comment out the httpModules section of the web.config altogether and see what happens.
6/26/2005 8:33:44 PM
mgm
Gravatar
Total Posts 4

Re: After install, I try to run and get this error. Thanks for help

with the line removed...
Server Error in '/mojo' Application.
Index was outside the bounds of the array.
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.IndexOutOfRangeException: Index was outside the bounds of the array.

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:

[IndexOutOfRangeException: Index was outside the bounds of the array.]
MySql.Data.Common.DBConnectionString.ParseKeyValuePairs(String src) +619
MySql.Data.Common.DBConnectionString.Parse(String newConnectString) +33
MySql.Data.MySqlClient.MySqlConnection..ctor(String connectionString) +43
MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) +41
mojoPortal.Data.dbPortal.FriendlyUrl_GetByUrl(String HostName, String FriendlyUrl) +223
mojoPortal.Business.FriendlyUrl.GetFriendlyUrl(String HostName, String FriendlyUrl) +15
mojoPortal.Business.FriendlyUrl..ctor(String HostName, String FriendlyUrl) +35
mojoPortal.Web.SiteUtils.RewriteUrl(HttpApplication app) +134
mojoPortal.Web.UrlRewriter.UrlRewriter_BeginRequest(Object sender, EventArgs e) +103
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +50
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
6/27/2005 3:35:26 PM
Gravatar
Total Posts 18439

Re: After install, I try to run and get this error. Thanks for help

It looks like something isn't quite right with your connection string. Its getting an error parsing it.
Here's what my connection string looks like
Data Source=localhost;Database=mojoportal;User ID=mojo;Password=mojo

What version of MySQL are you using?
You must sign in to post in the forums. This thread is closed to new posts.