Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




DataBinding Error on view project

web-app

Hi,

We have recently installed Gemini v3.7.0 build 2711 and have started receiving the following error when trying to view project details:

DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'ComponentDesc'. at System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) at System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) at ASP.projectprojectcomponentbreakdownascx.DataBindingcontrol3(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at CounterSoft.Gemini.Web.Project.Controls.ProjectComponentBreakdown.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Can you advise?

ShL77
· 1
ShL77
Replies (7)
helpful
0
not helpful

Is this an upgrade? If so did you run create_procs.sql at the end of the upgrade?
Which version of SQL Server are you running?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hi,

Yes, it is an upgrade from 3.6. Looks like the create_procs was indeed not applied correctly and after running it now it shows up well. Thanks for your help.


ShL77
· 1
ShL77
helpful
0
not helpful

We have also started receiving this error after upgrading from 3.6 to 3.7. I would post my error but it is identical to the above.....


dabeir
· 1
dabeir
helpful
0
not helpful

Check that. I also neglected to run the create_sproc.sql file after doing the upgrade....thanks.


dabeir
· 1
dabeir
helpful
0
not helpful

Well. Had the same error.

However I did run the Create_Procs.

To be precise: The CreateProcsSQL2000.sql

That one was buggy. Never testedm obviously, because those were simple sql syntax errors. (Alias for tablename was used but never declared in getcreateissuelookups und geteditissuelookups.) Now I do wonder.... ... is CreateProcsSQL2000.sql perhaps also missing other essential parts??


HeikoScharnberg
· 1
HeikoScharnberg
helpful
0
not helpful

The error was in the very first proc

change sql to this: --************************** -- PROJECT DASHBOARD --************************** IF EXISTS(SELECT name FROM sysobjects WHERE name='geminigetprojectsummarycomponents') DROP PROCEDURE geminigetprojectsummarycomponents GO

CREATE PROCEDURE geminigetprojectsummarycomponents @projectid NUMERIC(10,0), @userid INT, @viewown BIT AS BEGIN SELECT a.componentid,a.componentname,a.parentcomponentid,ISNULL(b.issuecount, 0) AS issuecount, a.componentdesc FROM geminicomponents a LEFT OUTER JOIN (SELECT componentid, COUNT(*) AS issuecount FROM geminiissuecomponents ic WHERE ic.issueid IN ( SELECT issueid FROM geminiissues WHERE projectid=@projectid AND issuestatusid NOT IN (SELECT statusid FROM geminiissuestatusfinal) AND (@viewown = 0 OR (@viewown = 1 AND (geminiissues.reportedby = @userid or @userid in (select ir.userid from geminiissueresources ir where ir.issueid = geminiissues.issueid) ) ) ) AND ((geminiissues.visibilitymembertype=2 and @userid in (select gg.userid from geminiglobalgroupmembership gg where gg.globalgroupid = geminiissues.visibility)) or (geminiissues.visibilitymembertype=3 and @userid in (select pg.userid from geminiprojectgroupmembership pg where pg.projectgroupid = geminiissues.visibility))) ) GROUP BY componentid ) b ON a.componentid=b.componentid WHERE a.projectid=@projectid ORDER BY a.componentorder, a.componentname END GO


a.componentdesc was missing


HeikoScharnberg
· 1
HeikoScharnberg
helpful
0
not helpful

Thanks for the update, we have updated the SQL 2000 scripts for the next release.


Mark Wing
· 9108
Mark Wing