Error Creating Control

Posts   
 
    
Posts: 12
Joined: 29-Oct-2009
# Posted on: 30-Oct-2009 21:03:16   

LLBLGenDataSource2 and GridView error (web application VS.200sunglasses ...

...could not be set on property 'AdapterTypeName'.

I don't know how to fix this. I've tried a few solutions I found on this forum, but they dont work. I can run the application and I get database data in GridView but, can't get them in design...

Please help!!

Thx!!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 31-Oct-2009 03:24:56   
  • Did you try to rebuild?
  • Did you have installed VS2008 SP1?
  • What LBLGen Pro and runtime library versions do you have?
David Elizondo | LLBLGen Support Team
Posts: 12
Joined: 29-Oct-2009
# Posted on: 31-Oct-2009 10:41:03   

It works after installing VS 2008 SP 1...

Thanks!!

Posts: 12
Joined: 29-Oct-2009
# Posted on: 01-Nov-2009 11:23:17   

Hmmm... I've built a new web application, generating the same project in LLBLGen Pro 2.6 as before. And again I get error creating control - LLBLGenDataSource2. The solution I said was working is still working, but the new solution is not. I've built bouth solutions the same way. Only one GridView and one datasource. The first one, as I mentioned above, worked after installing SP1 with no changes on the code. Now I have VS.2008 SP1 installed and the second project is not working like the first one before installing SP1. I've tried cleaning, rebuilding on closed and open pages. Closing VS and then reopening the solution... I still get the error creating control. I can still run the application, even though I get error creating control, and get the same results as in the working application..

I found a thread where someone had the same problem as I have now:

http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=16396

His project also worked but who knows why...

Please help!

Posts: 12
Joined: 29-Oct-2009
# Posted on: 01-Nov-2009 12:35:20   

I think I got it.

Add LLBLGenDataSource2

Configure DataSource -> OK

Now I get Error Creating Control

SaveAll

Rebuild

Just Close VS.2008

Reopen solution in VS.2008

It works for me now...

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Nov-2009 17:51:23   

VSNET glitches! simple_smile Good you got it!

David Elizondo | LLBLGen Support Team