Sqlite DB error.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/12/2008 9:09:31 AM
Gravatar
Total Posts 59

Sqlite DB error.

Hi, Joe

   When I Use SqliteDB,   found two errors:

   1.  The default skin techmania is  not exist in Data/skins/techmania/.

   2. When add Links feature content to a page, When add link to the page, error occurs:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Server Error in '/' Application.
--------------------------------------------------------------------------------

Sqlite error
near "ModuleID": syntax error
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: Mono.Data.Sqlite.SqliteException: Sqlite error
near "ModuleID": syntax error

Source Error:


Line 81: link.UserGuid = userGuid;
Line 82:
Line 83: link.Save();
Line 84:
Line 85: return link.ItemID;

Source File: I:\company\mojoportal\mojoPortal.Data.Common\DBLinks.cs Line: 83

Stack Trace:


[SqliteException (0x80004005): Sqlite error
near "ModuleID": syntax error]
Mono.Data.Sqlite.Sqlite3.Prepare(String strSql, SqliteStatement previous, String& strRemain) in C:\__dev\mojoportal\vendor\Mono.Data.Sqlite\SQLite3.cs:268
Mono.Data.Sqlite.SqliteCommand.BuildNextCommand() in C:\__dev\mojoportal\vendor\Mono.Data.Sqlite\SQLiteCommand.cs:253
Mono.Data.Sqlite.SqliteCommand.GetStatement(Int32 index) in C:\__dev\mojoportal\vendor\Mono.Data.Sqlite\SQLiteCommand.cs:260
Mono.Data.Sqlite.SqliteCommand.ExecuteScalar() in C:\__dev\mojoportal\vendor\Mono.Data.Sqlite\SQLiteCommand.cs:584
SubSonic.SQLiteMonoDataProvider.ExecuteScalar(QueryCommand qry) in C:\__dev\subsonic\SubSonic\DataProviders\SQLiteMonoDataProvider.cs:319
SubSonic.DataService.ExecuteScalar(QueryCommand cmd) in C:\__dev\subsonic\SubSonic\DataProviders\DataService.cs:574
SubSonic.ActiveRecord`1.Save(String userName) in C:\__dev\subsonic\SubSonic\ActiveRecord\ActiveRecord.cs:187
SubSonic.ActiveRecord`1.Save() in C:\__dev\subsonic\SubSonic\ActiveRecord\ActiveRecord.cs:126
mojoPortal.Data.Common.DBLinks.AddLink(Guid itemGuid, Guid moduleGuid, Int32 moduleId, String title, String url, Int32 viewOrder, String description, DateTime createdDate, Int32 createdBy, String target, Guid userGuid) in I:\company\mojoportal\mojoPortal.Data.Common\DBLinks.cs:83
mojoPortal.Data.DBLinks.AddLink(Guid itemGuid, Guid moduleGuid, Int32 moduleId, String title, String url, Int32 viewOrder, String description, DateTime createdDate, Int32 createdBy, String target, Guid userGuid) in I:\company\mojoportal\mojoPortal.Data.SQLite\dbLinks.cs:69
mojoPortal.Business.Link.Create() in I:\company\mojoportal\mojoPortal.Business\Links.cs:174
mojoPortal.Business.Link.Save() in I:\company\mojoportal\mojoPortal.Business\Links.cs:242
mojoPortal.Web.LinksUI.EditLinks.UpdateBtn_Click(Object sender, EventArgs e) in I:\company\mojoportal\Web\LinksEdit.aspx.cs:158
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

I need  your help.

Thanks

 

 

 

 

 

 

 

 

 

 

5/12/2008 9:39:26 AM
Gravatar
Total Posts 18439

Re: Sqlite DB error.

Are you using mojoPortal code from svn turnk or from the previous release?

5/12/2008 8:07:25 PM
Gravatar
Total Posts 59

Re: Sqlite DB error.

Hi, Joe.

       I am using mojoPortal code from svn turnk.

Thanks!

5/13/2008 5:40:48 AM
Gravatar
Total Posts 18439

Re: Sqlite DB error.

If you do SVN Update and rebuild the solution it should be fixed now. If your site appears with no styling then click the key icon, go to Site Settings and choose the skin and save. skins were renamed.

Best,

Joe

5/13/2008 10:16:04 AM
Gravatar
Total Posts 59

Re: Sqlite DB error.

  Thanks,  Joe, it's work now.

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