Visual Studio Datasource problem

Posts   
 
    
JamesN
User
Posts: 3
Joined: 16-Apr-2007
# Posted on: 16-Apr-2007 12:40:54   

I am experiencing a really annoying problem in Visual Studio 2005. Whenever I drop an LLBLGenProDataSource control from the toolbar onto the page Visual Studio inserts the markup that you'd expect, however in design-mode nothing is displayed whatsoever - no grey box or anything. Obviously this makes it a little hard to develop for!

The problem seems to be related having previously installed the demo version of LLBLGen Pro. Despite uninstalling it and installing the full version Visual Studio seems to have kept a reference to the demo version of the support classes dll somewhere and seems to be using that in place of the full version. For a long time the .NET Framework Components screen was showing LLBL controls directory as being that of the demo version and although I've fixed that the problem persists with the lack of design-time support.

A colleague is running an identical setup to mine, however he didn't install the demo version and has the proper design-time control options. Also, the problem is purely with this issue, I can compile and run applications fine.

Anyone have any ideas!

I am using: Windows Vista, Visual Studio 2005 8.0.50727.867 ASP.NET 2.0 LLBLGen Pro 2.0.0.0 Final

Aurelien avatar
Aurelien
Support Team
Posts: 162
Joined: 28-Jun-2006
# Posted on: 16-Apr-2007 15:48:06   

Hi,

You may try this : right click on the toolbox, go to Choose Items... > .Net Framework Components, and look for duplicate LLBLGenProDataSource item.

in this case, you can see this link for removing :

http://forums.asp.net/thread/1664413.aspx

JamesN
User
Posts: 3
Joined: 16-Apr-2007
# Posted on: 16-Apr-2007 16:22:20   

I don't see any duplicate items in the .NET Framework Components, just the adapter and self-servicing datasource controls and some entitycollection controls.

Does LLBL install dlls into the GAC? Because I can't see any. If so, what are they called?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39922
Joined: 17-Aug-2003
# Posted on: 16-Apr-2007 16:25:11   

No GAC installation occurs. Did you install VS.NET 2005 hotfixes? My SP1 applied VS.NET build is build nr: Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) (so a lower number).

Frans Bouma | Lead developer LLBLGen Pro
JamesN
User
Posts: 3
Joined: 16-Apr-2007
# Posted on: 16-Apr-2007 16:43:03   

Yes I have SP1 applied - Version 8.0.50727.867 (vsvista.050727-8600). No hotfixes installed

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39922
Joined: 17-Aug-2003
# Posted on: 17-Apr-2007 20:34:38   

Strange, it should work properly when sp1 of vs.net 2005 is installed (as it's actually a bug in vs.net 2005, where it doesn't properly identify assemblies and uses temp copies instead).

I do think that it also might be another thing: you say you installed the demo. Could you check if you didn't accidently reference the demo runtime libs in one project (generated code) and the official ones in the asp.net app / toolbox?

Frans Bouma | Lead developer LLBLGen Pro