Compile errors with .Net sources and postgresql

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.
12/27/2008 8:16:01 AM
Gravatar
Total Posts 26

Compile errors with .Net sources and postgresql

I have just taken to latest zip file release mojoportal-2-2-8-1-sourcecode.zip, and compiled it with VS2008, but I getting lots of errors relating to webstore.business these are examples

Error 3 The name 'DBProductFile' does not exist in the current context C:\MojoPortal\sourcecode-2-2-8-1\mojoportal\WebStore.Business\ProductFile.cs 93 25 WebStore.Business
 

Error 5 The name 'DBOrderOffer' does not exist in the current context C:\MojoPortal\sourcecode-2-2-8-1\mojoportal\WebStore.Business\OrderOffer.cs 106 34 WebStore.Business
 

theres around 140 of these errors

The application completes compilation but I assume that the webstore feature will be unavailable

Can anyone tell me what I'm missing

Thanks

Lindsay

12/27/2008 8:18:35 AM
Gravatar
Total Posts 18439

Re: Compile errors with .Net sources and postgresql

Hi,

Sorry, but the WebStore feature is not yet implemented in pgsql. The project for it is only stubbed out, you'll need to set the reference back to MS SQL or MySql, then you can build thge solution, but you cannot currently use the WebStopre feature with pgsql.

Best,

Joe

12/27/2008 11:35:12 AM
Gravatar
Total Posts 26

Re: Compile errors with .Net sources and postgresql

Hi

Thanks for the response - I really want to stick with Postgres

I'll convert the code for use with Postgres - but I notice that the full set of tables isn't created.

Do you have the full set of table definitions plus any required stored procedure etc.

Thanks

Lindsay

12/27/2008 11:54:20 AM
Gravatar
Total Posts 18439

Re: Compile errors with .Net sources and postgresql

Well, you are free to do as you wish, but I'm not interested in trying to support additional databases for the WebStore until I feel that the schema has stabilized. Its a lot of work managing upgrades and schema changes. Currently this feature is not very mature and there will be major schema changes to come that I don't want to have to support for more databases.

In fact I think I need to remove the WebStore.Data.pgsql project from the solution since it is only a stubb and it leads you to try it.

I no longer use stored procs for implementing pgsql data layer either because its also too much work to maintain. I  have no table scripts or anything for you for pgsql and webstore. When I get to the point where I am happy with the schema, then I will implement pgsql and it wil not take me long to do it, but until then it will only add to my workload and slow down progress.

So, if you try to implement it yourself, you will be chasing a moving target.

Best,

Joe

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