near "$" Severity: ERROR Code: 42601

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/1/2010 6:29:11 AM
Gravatar
Total Posts 2

near "$" Severity: ERROR Code: 42601

Operating system is OSWIN, Microsoft ISS

Iam using a webhosting and i configured its postregesql server,but there is error and i dont understand where is the problem


Welcome to mojoPortal Setup

Probing system...
File system permissions ok.
pgsql 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.0625000
Npgsql.NpgsqlException: syntax error at or near "$" Severity: ERROR Code: 42601 at Npgsql.NpgsqlState.d__a.MoveNext() at Npgsql.ForwardsOnlyDataReader.GetNextResponseObject() at Npgsql.ForwardsOnlyDataReader.GetNextRowDescription() at Npgsql.ForwardsOnlyDataReader.NextResult() at Npgsql.ForwardsOnlyDataReader..ctor(IEnumerable`1 dataEnumeration, CommandBehavior behavior, NpgsqlCommand command, NotificationThreadBlock threadBlock, Boolean synchOnReadError) at Npgsql.NpgsqlCommand.GetReader(CommandBehavior cb) at Npgsql.NpgsqlCommand.ExecuteNonQuery() at mojoPortal.Data.NpgsqlHelper.ExecuteNonQuery(NpgsqlTransaction transaction, CommandType commandType, String commandText, NpgsqlParameter[] commandParameters) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(String script, String overrideConnectionInfo) at mojoPortal.Data.DBPortal.DatabaseHelperRunScript(FileInfo scriptFile, String overrideConnectionInfo) at mojoPortal.Business.DatabaseHelper.RunScript(Guid applicationId, FileInfo scriptFile, String overrideConnectionInfo) - 00:00:00.1718750
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.

6/1/2010 7:03:19 AM
Gravatar
Total Posts 18439

Re: near "$" Severity: ERROR Code: 42601

Hi,

I'm pretty sure this error indicates that you do not have the plpgsql language installed on your database. Assuming your host provides you with some tool for managing the db, you can run a script to install the plpgsql language. You can get the script here.

After installing the plpgsql language just visit the mojoportal setup page again.

Hope it helps,

Joe

6/1/2010 8:12:47 AM
Gravatar
Total Posts 2

Re: near "$" Severity: ERROR Code: 42601

this function is defined in my hosting, if you tell me what i have to change i could...

But i thing that this is set correctly

6/1/2010 8:15:47 AM
Gravatar
Total Posts 18439

Re: near "$" Severity: ERROR Code: 42601

I stand by my previous answer, you need to run the script to install plpgsql

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