Page 1 of 1

Error "Method:[CreateInstance]" when running report in designer

Posted: Fri Mar 23, 2007 7:25 am
by mb019
Hi!

I create a solution in visual studio 2005 as ActiveX component dll that has 2 interfaces, the first one displays the report and the second runs the report in the designer.
In addition I create an application in VB 6.0 where i use to test the report from the ActiveX component

In the application I use the second inteface to run a report in the design but unfortunately, I get a message "Method:[CreateInstance]" when clicking the preview tab.
I know that my defined class named "GLOwnerCollection" causes the error but I do not know how to solve the problem.

Here is a source in c# and in VB6.0
http://www.megaupload.com/?d=H5VDKHNU

Any help would be appreciated

Thanks

Error "Method:[CreateInstance]" when running report in designer

Posted: Mon Mar 26, 2007 3:32 pm
by Vital
Please send source code to support [at] stimulsoft [dot] com.

Thank you.

Error "Method:[CreateInstance]" when running report in designer

Posted: Tue Mar 27, 2007 12:35 am
by mb019
Thanks for support

I'll send them today.


Error "Method:[CreateInstance]" when running report in designer

Posted: Sat Mar 31, 2007 3:49 am
by Vital
This error occurs because c# compiler (which called when you click on preview tab) can't find GLReport.dll assembly. Copy file GLReport.dll to directory where located GLStimulReport.exe.

Thank you.

Error "Method:[CreateInstance]" when running report in designer

Posted: Mon Apr 02, 2007 3:35 am
by mb019
Thanks for the great help and my report is working great now.

But I am wondering if it is possible to locate my GLReport.dll in another place instead of located in the same place as application. Do you have any ideas?

Error "Method:[CreateInstance]" when running report in designer

Posted: Mon Apr 02, 2007 10:13 am
by Vital
Place this dll to GAC.

Thank you.

Error "Method:[CreateInstance]" when running report in designer

Posted: Tue Apr 03, 2007 8:24 am
by mb019
From now on my report can find the dll after moving that to GAC ... BINGO!!! working such as I desired ...

I just would like to say many thanks for the GREAT support.

Error "Method:[CreateInstance]" when running report in designer

Posted: Fri Apr 06, 2007 9:40 am
by Vital
Thank you for your words.