Fernan D
Posts:5
 |
| 07/24/2008 6:29 AM |
|
Hello,
I am trying to work with the default examples shipped with SDK installation to get familiar with the SDK. I am currently working with Database connection example - OneToOneDataEntry. When I try to assign plugin under Plugin section, it throws an error
Unable to initialize plugin. Default constructor not found.
I checked the code and found that there are 2 constructors available.
Please let me know how to solve this problem. |
|
|
|
|
Ramil D
Posts:218
 |
| 07/24/2008 11:28 PM |
|
Please visit known issue section in the this forum that causes your error. http://www.connectedbusiness.com/FORUMS/DeveloperForum/tabid/105/forumid/5/postid/1883/view/topic/Default.aspx |
|
|
|
|
Fernan D
Posts:5
 |
| 07/25/2008 4:12 AM |
|
Hello Ramil, Thanks for the prompt reply. I searched the keyword 'ImageCollectionContextMenu' in my source code, but I do not find any occurance. So, please let me know is there any work around to do. Also, does Hotfix 1 is released? If yes, from where I can download it? |
|
|
|
|
Ramil D
Posts:218
 |
| 07/27/2008 4:45 AM |
|
| Are you trying to create a menu item and assign the sample plugin to that menu item? I apologize but the SP4 HF1 is still on hold for release. We might just release SP5 altogether instead. |
|
|
|
|
Harry Y
Posts:30
 |
| 07/27/2008 4:35 PM |
|
| I am getting the same problem, it is pretty difficult to learn the SDK and develop custom plugins when even the simplest Helloworld code won't work. What is the fix for this? |
|
|
|
|
Harry Y
Posts:30
 |
| 07/27/2008 5:32 PM |
|
| It seems that you will only see the ImageCollectionContextMenu when you actually add a plugin section and then add a control to the form. However this still has that problem Default Constructor not found |
|
|
|
|
Harry Y
Posts:30
 |
| 07/27/2008 5:32 PM |
|
| I am also using just the simple HelloWorld example and the Devexpress 7.3.3 components. |
|
|
|
|
jefferson r
Posts:44
 |
| 07/27/2008 8:56 PM |
|
hi harry, have you tried deleting your custom plugin and re-add it with a different assembly number? that could somehow solve your problem Cheers and Goodluck |
|
Jefferson Requina Interprise Solutions Inc. Developer |
|
|
Fernan D
Posts:5
 |
| 07/27/2008 10:13 PM |
|
Hello Jefferson, I am able to manage with HelloWorld program. But my problem occurs when I try to execute program - OneToOneDataEntry - for Database connectivity. At that time I m getting that error. |
|
|
|
|
Ramil D
Posts:218
 |
| 07/27/2008 10:17 PM |
|
| Try changing your references of Interprise.* DLLs from the SDK installation folder to the Interprise Suite application installation folder instead. Then register again your plugin but make sure you have changed your version number prior to registration. |
|
|
|
|
jefferson r
Posts:44
 |
| 07/28/2008 12:31 AM |
|
Hi fernan, I've also experienced that kind of problem before but with the solution I provided above and what Ramil has mentioned that solved my problem on the "default constructor issue." I do hope that would help solve your problem too ^_^ cheers |
|
Jefferson Requina Interprise Solutions Inc. Developer |
|
|
Richard K
Posts:38
 |
| 08/14/2008 4:55 PM |
|
This "default constructor not found" can occur because of either faulty code ( run the debugger in the attach to process mode and test using debug DLL's and symbols ) or the fact that ISSI does not properly load custom DLL's at times. I've worked around this by using the GAC ( Global Assembly Cache) as installing through the Plugin Dictionary does not always work. You also need to update version numbers on each DLL release to fix some issues.
|
|
|
|
|