Query Builder in Dataset Editor

Stimulsoft Reports.NET discussion
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

Query Builder in Dataset Editor

Post 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
Thanks,
John Hamilton
Hamilton & Company, LLC
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Query Builder in Dataset Editor

Post 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.
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

Query Builder in Dataset Editor

Post by johnham »

Sent in a project for testings to support@stimulsoft.com
Thanks,
John Hamilton
Hamilton & Company, LLC
itds
Posts: 5
Joined: Wed Mar 25, 2009 10:08 am

Query Builder in Dataset Editor

Post 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.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Query Builder in Dataset Editor

Post by Andrew »

Hello,

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

Thank you.
itds
Posts: 5
Joined: Wed Mar 25, 2009 10:08 am

Query Builder in Dataset Editor

Post 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)"
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Query Builder in Dataset Editor

Post by Jan »

Hello,

Please check following solution:

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

Thank you.
itds
Posts: 5
Joined: Wed Mar 25, 2009 10:08 am

Query Builder in Dataset Editor

Post 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.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Query Builder in Dataset Editor

Post 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.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Query Builder in Dataset Editor

Post 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.
Post Reply