Error 500 when installing - Input string was not in the correct format

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/26/2010 12:36:05 PM
Gravatar
Total Posts 1

Error 500 when installing - Input string was not in the correct format

When trying to run the setup script I get the following error...

 

Server Error in '/' Application

--------------------------------------------------------------------------------

Input string was not in the correct format
Description: HTTP 500. Error processing request.

Stack Trace:

System.FormatException: Input string was not in the correct format
at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000]
at System.Int16.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000]
at System.Int16.Parse (System.String s, IFormatProvider provider) [0x00000]
at System.Convert.ToInt16 (System.String value, IFormatProvider provider) [0x00000]
at System.String.System.IConvertible.ToInt16 (IFormatProvider provider) [0x00000]
at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000]
at System.String.System.IConvertible.ToType (System.Type type, IFormatProvider provider) [0x00000]
at NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBasicType[Int16] (NpgsqlTypes.NpgsqlNativeTypeInfo TypeInfo, System.Object NativeData) [0x00000]
at NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackendPlainQuery (System.Object NativeData) [0x00000]
at NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackend (System.Object NativeData, Boolean ForExtendedQuery) [0x00000]
at Npgsql.NpgsqlCommand.GetClearCommandText () [0x00000]
at Npgsql.NpgsqlCommand.GetCommandText () [0x00000]
at (wrapper remoting-invoke-with-check) Npgsql.NpgsqlCommand:GetCommandText ()
at Npgsql.NpgsqlQuery.WriteToStream (System.IO.Stream outputStream) [0x00000]
at Npgsql.NpgsqlReadyState.QueryEnum (Npgsql.NpgsqlConnector context, Npgsql.NpgsqlCommand command) [0x00000]
at Npgsql.NpgsqlConnector.QueryEnum (Npgsql.NpgsqlCommand queryCommand) [0x00000]
at Npgsql.NpgsqlCommand.GetReader (CommandBehavior cb) [0x00000]
at Npgsql.NpgsqlCommand.ExecuteReader (CommandBehavior cb) [0x00000]

 

Environment...

mojoportal-2-3-4-3-pgsql-deploymentfiles-for-mono

PostgreSQL 8.4.4

FreeBSD 8.1

Apache 2.2.15

Mono 2.4.3

5/27/2010 10:03:32 AM
Gravatar
Total Posts 18439

Re: Error 500 when installing - Input string was not in the correct format

Hi,

This does not point to mojoportal specific code so I have no idea where it is happening.

With mojoPortal running on Mono your mileage may vary, but you are also using an older version of Mono.

I only test mojoportal on the latest Mono VMWare image running openSuse, currently I have Mono 2.6.4.

Best,

Joe

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