Page 1 of 2

Query Builder in Dataset Editor

Posted: Fri Aug 28, 2009 3:35 pm
by johnham
I am using the build from Aug 17 and when I start the Query Builder I get an exception:


----------------------------
[Customer Explanation]



----------------------------
[General Info]

Application: ReportClient
Framework: v2.0.50727
Version: Version: 2009.2.463 from 17 August 2009
MachineName: HAMILTONLAPTOP
OSVersion: Microsoft Windows NT 6.1.7100.0
UserName: jhamilton

----------------------------
[Exception Info]
Message: An identity contains two definitions for the same attribute. (Exception from HRESULT: 0x8007370C)

Source: mscorlib

StackTrace:
at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean forIntrospection, Boolean raiseResolveEvent)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Stimulsoft.Base.StiAssemblyFinder.GetAssembly(String assemblyName)
at Stimulsoft.Report.Dictionary.Design.StiDataStoreSourceEditForm.tbRunQueryBuilder_Click(Object sender, EventArgs e)

----------------------------
[Assemblies]
mscorlib, Version = 2.0.0.0
POSitiveSoftware, Version = 1.0.0.0
System, Version = 2.0.0.0
System.Data, Version = 2.0.0.0
System.Drawing, Version = 2.0.0.0
System.Windows.Forms, Version = 2.0.0.0
System.Xml, Version = 2.0.0.0

Query Builder in Dataset Editor

Posted: Fri Aug 28, 2009 3:42 pm
by Edward
Hi John,

I just have checked Query Builder with SQL Server and MS Access databases. All worked correctly. Could you reproduce that issue from Designer.exe?

Thank you.

Query Builder in Dataset Editor

Posted: Wed Sep 02, 2009 12:36 am
by johnham
Sent in a project for testings to support@stimulsoft.com

Query Builder in Dataset Editor

Posted: Thu Jun 17, 2010 3:08 am
by itds
Hi,

we have the same problem - same exception by running the query builder.
Is the source of this failure already known or is there a solution available.

Additional Information:
Eine Identität enthält zwei Definitionen für das gleiche Attribut. (Ausnahme von HRESULT: 0x8007370C)
Version: 2010.2.730 from 7 June 2010
Framework: v2.0.50727

Thanks.

Query Builder in Dataset Editor

Posted: Thu Jun 17, 2010 3:32 am
by Andrew
Hello,

Which product do you mean Reports.Net or .Reports.Wpf

Thank you.

Query Builder in Dataset Editor

Posted: Thu Jun 17, 2010 6:17 am
by itds
Reports.Net, version as shown 2010.2.730
Error message occurs immediately after clicking "Run query builder" button - shown German message is the same as above mentioned "An identity contains two definitions for the same attribute. (Exception from HRESULT: 0x8007370C)"

Query Builder in Dataset Editor

Posted: Fri Jun 18, 2010 8:35 am
by Jan
Hello,

Please check following solution:

http://blog.iobit.com/error_sxs_identit ... _2440.html

Thank you.

Query Builder in Dataset Editor

Posted: Thu Jun 24, 2010 7:17 am
by itds
Sorry, but i don't really understand. The problem occurs in our software at all of our customers installations. So we have to implement a solution to this problem in our product, an external application to prevent the failure is not possible for our customers.

Query Builder in Dataset Editor

Posted: Fri Jun 25, 2010 3:08 am
by Andrew
Hello,

We are trying to fix the issue. The problem is that we cannot reproduce it on our computers. Maybe the error depends on OS settings or something like this.

Thank you.

Query Builder in Dataset Editor

Posted: Tue Jul 06, 2010 2:04 am
by Jan
Hello,

We still can't reproduce this problem. So we create workaround for this problem. Please get latest prerelease build (6 July). After then add reference to Stimulsoft.Database.dll in your project. After then before calling report designer call following line of code:

Code: Select all

Stimulsoft.Database.StiDatabaseAssemblyHelper.Init();
Thank you.