LLBLGenProDataSource2 and Configure Data Source has no dropdowns

Posts   
 
    
TonyLacey
User
Posts: 17
Joined: 11-Mar-2008
# Posted on: 26-Jan-2010 18:01:39   

Usually this problem fixes itself ??? in the past but this time I just can't find the "thing" that fixes it.

I'm using version 2.6 Final (June 6th, 200sunglasses designer and SD.LLBLGen.Pro.ORMSupportClasses.NET20 is version 2.6.0.0 (Looking at version in actual .dll file... it is 2.6.8.612)

This is a new project and at the start I added a grid and then a LLBLGenProDataSource2 and went to the little Configure DataSource dialog and everything was filled in nicely. Then I made a change in the database... I added a stored procedure. Rebuilt the projects and went back to visual studio 2008 and deleted LLBLGenProDataSource2 and re dragged one on form and now neither drop down (for factory or adapter) contain anything.

Projects compile fine though. All 3 projects point to same SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll I have deleted all file in generated DAL directories and re created a new project in LLBLGen and generated again and still nothing. I have deleted everything in bin directories and Rebuilt and nothing shows... I have rebooted many times.

This is the form where it's happening right now...


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="installment.WebForm1" %>

<%@ Register assembly="SD.LLBLGen.Pro.ORMSupportClasses.NET20" namespace="SD.LLBLGen.Pro.ORMSupportClasses" tagprefix="llblgenpro" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <llblgenpro:LLBLGenProDataSource2 ID="LLBLGenProDataSource21" runat="server">
        </llblgenpro:LLBLGenProDataSource2>
    </form>
</body>
</html>

I searched the forums and tried all but nothing is kicking in this time. Any suggestions would be GREATLY appreciated! simple_smile

UPDATE!!! Ok.. before I posted I wanted to make sure... so I create a brand new project and added this DAL to my project and dragged the datasource and there is nothing in drop downs. So it has to have something with the generated code????

If I can zip it up or something.. please let me know.

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 26-Jan-2010 21:30:14   

You can zip up the project and attach it to a post so we can have a look at it. Just tick the "Add Attachment" checkbox underneath the post edit box.

TonyLacey
User
Posts: 17
Joined: 11-Mar-2008
# Posted on: 26-Jan-2010 21:44:08   

Thank you MTrinder. I've been playing with it all morning.... New information now though that leads me to a visual studio or system problem... I went into my last project which has worked fine... opened up a page with LLBLGenProDataSource2 and clicked to Configure and there was nothing in the drop downs there either! I have no idea what has happened...

I'm going to try a reinstall of LLBLGen but I really have no ideas...

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 27-Jan-2010 03:52:46   

Just to check, Did you try Clean and Rebuild solution?

David Elizondo | LLBLGen Support Team
TonyLacey
User
Posts: 17
Joined: 11-Mar-2008
# Posted on: 27-Jan-2010 04:17:45   

Unfortunately yes I did. A reinstall of llblgen made no difference either. Tomorrow when I get to work I'll post the error I get even when I type the factory and adapter in the code view. It's just weird because it DID work at the beginning of the day yesterday.

Thanks for your help.

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 27-Jan-2010 09:03:41   

Please downloadthe latest RTL version as you are using an old one.

Now when you reference the new runtime library, you should also remove the old one from the Toolbox of visual studio and add the new one too.

As a rule of thumb: the version of the RTL used in the toolbox should be the same to the one referenced by he application.

Anyway, when such issue happens to me, I set the properties manually in the HTML code, without spending too much time on it.

TonyLacey
User
Posts: 17
Joined: 11-Mar-2008
# Posted on: 27-Jan-2010 17:55:58   

Thanks Walaa. I did download the last RTL and installed yesterday but still same result. Setting the properties manually in the HTML is how I usually got around it in the past but this time that wasn't even working. Once I switched back to design mode it gave me an error that the Adapter was invalid... Today I did a bunch of testing and even creating a brand new project in LLBLGen with a brand new databse and then creating a brand new project in VS2008 would give me the same results. I deleted all versions of the ORM dll from my computer other than the latest... even removed them from trash... still same results.

Yesterday I also tried deleting the project files for this project from c:\windows\Microsoft.Net\Framework\v2.0.50727\Temporary ASP.NET Files and still same results...

BUT!!!!! Today I got delete happy and deleted everything from temp... everything from that directory above for all projects... everything in prefetch...

AND IT WORKS!!!! I'm not sure which one of those things actually did it.. but I don't care.. I'm back in business...

Thanks alot, as always, for you help! Tony