asp.net 2.0: adding entityLists to the toolbox

Posts   
 
    
yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 17-Jul-2006 15:11:50   

version 1.0.2005.1 final (self-servicing) VS2005 asp.net 2.0


hiya,

I'm trying to add the items from VS2005 project that llblGenPro generated. I want to add the se items to the toolbox of an asp.net 2.0 app.

I tried Add Items --> browsed to generated project..

However, I got an error "projectName is not a .NET module"

any ideas?

cheers,

yogi

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 18-Jul-2006 08:03:01   

Just to make sure, did you follow the following steps exactly as they mentioned:

right-clicking the toolbox when a webform is open in the editor (HTML or design view) and then by selecting 'Choose items...' which allows you to browse to the ORMSupportClasses dll for .NET 2.0. It's key you add the ORMSupportClasses dll version you're also using in your ASP.NET project, as VS.NET can load only one version of a given assembly and this could lead to type clashes in the webform designer. This is a problem with VS.NET 2005.

yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 18-Jul-2006 15:22:44   

hiya,

I did exactly as you said..and navigated to a dll that was the same as the one in the Bin folder of my asp.net 2.0 app, ie "OrmSupportClasses.Net20.dll"

However, I get an error message:

<<there are no components in "blah/OrmSupportClasses.Net20.dll" that can be placed on the toolbox.>>

Now, I've googled on this, and it seems to be a version issue. However, even if i nvaigate to the "OrmSupportClasses.Net20.dll" that is in the Bin folder of the SAME app, I get this error.

Any ideas?

cheers,

yogi

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 18-Jul-2006 15:41:00   

Then check it's the same dll (version & path) that you referenced in you application references tree.

yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 18-Jul-2006 16:43:22   

ok, I have 2x projects:

1) the c# project that was generated by llbGenPro 2) my asp.net 2.0 project.

Obviously, the c# project contains a ref to the OrmSupportClasses. I therefore add the same reference to my asp.net 2.0 app.

Surely this must mean that both projects are referncing the SAME dll?

Then, from within my asp.net 2.0 app, I try "choose items" --> navigate to the SAME dll

Still no joy.

I'm also using resharper, but I don't think this is causing it.

Any advice appreciated, but it's not life threatening.

ta, yogi

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 18-Jul-2006 20:48:50   

1.0.2005.1 code doesn't contain datasource controls so whatever you want to add to the toolbox in an asp.net 2.0 app, it won't show up.

Frans Bouma | Lead developer LLBLGen Pro