Configure datasource screen does not work.

Posts   
 
    
blackgold9
User
Posts: 8
Joined: 26-May-2006
# Posted on: 26-May-2006 19:09:48   

When I attempt to configure the datasource, no matter what option i pick as the container type, nothing shows up below for me to select. None of my entity or list types show up. CAn anyone help me?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 26-May-2006 20:23:14   

THis is caused by the fact that the ORMSupportclasses dll in your webproject isn't the same as the one in the toolbox. This is a vs.net issue, it can't unload a dll and re-load it.

To solve it: - close all webforms - close vs.net - start vs.net - load your solution. - rebuild solution. - open a webform.

Frans Bouma | Lead developer LLBLGen Pro
blackgold9
User
Posts: 8
Joined: 26-May-2006
# Posted on: 26-May-2006 20:45:46   

I tried that and get the same error

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 27-May-2006 10:15:25   

blackgold9 wrote:

I tried that and get the same error

Remove the controls from the toolbox, and re-add them. Be SURE you use the same DLLs as the ones you reference in your webproject. It's KEY these are the same. Also, it's KEY you reference the generated code from the website of course.

So don't do: - add the ormsupportclasses dll from c:\mylibs - reference the ormsupportclasses dll from c:\program files\solutions design ...

use the same folder. That way the ormsupportclasses dll won't clash and the type discovery service of vs.net will find types to use in the designer.

(this all to test to see where the error is located).

Also (and this might sound silly), please use the right datasourcecontrol: LLBLGenProDataSource for selfservicing, LLBLGenProDataSource2 for Adapter.

Frans Bouma | Lead developer LLBLGen Pro
avarndel
User
Posts: 36
Joined: 14-Jun-2007
# Posted on: 22-Aug-2007 16:19:32   

I added the LLGenPro to the toolbox, but I still can't Configure Datasource.

These are the steps I tooK.

I removed the LLGenPro from the toolbox. I closed VS 2005 I opened vs 2005 add the DLLS from my website \bin folder Rebuilt the website exited vs 2005 entered and tried again, no luck.

I am using the My LLBlGenPro datasource for selfservicing

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 22-Aug-2007 16:38:00   

Sorry for re-asking this: Would you please confirm that the ORMSupportclasses dll referenced by your application (under the references node in the application's solution explorer) is the same one (version & path) used in the toolbox?