I have downloaded the trial version of the product and I am about 5 days into my trial period. I have generated my libraries as Adapter (as opposed to SelfServicing). The libraries compiled and worked as part of my web project. I added a reference to SD.LLBLGen.Pro.ORMSupportClasses.NET20 to my web project and I added LLBLGenProDataSource and LLBLGenProDataSource2 to my toolbox and all was good. I was able to drag/drop the datasource to the webform and configure it using the "Configure Data Source". My website performed as expected and my data was accessible.
In order to take advantage of some of the features of the product, I added some entries to the web.config file of my project. This is where things went wrong. The LLBLGenProDataSource2 controls started giving me error that the "Control Cannot be Created" due to the "Control Assembly Could Not Be Found" (not exact wording, but close). I reverted back to an backup copy of the web.config file and readded my references to my project for SD.LLBLGen.Pro.ORMSupportClasses.NET20 and readded my toolbox items for the DataSources. I got rid of the error, but then my webpage wouldn't render any controls. I stripped my project of all references and usage of anything from LLBLGen Pro and I was back to a minimal, but working version of my website.
I regenerated my LLBLGen project, added the projects to my VS2005 web project, added the reference to SD.LLBLGen.Pro.ORMSupportClasses.NET20 and recompiled. Everything is still good. Added the Datasources back to the toolbox and I can drag them to my webpage with no errors, but in Design mode, my Datasource doesn't show up. I can manually configure my datasource and use it as the DataSourceID from a gridview and my webpage works fine (ie. displays the data from my datasource with no errors).
Here is the code from my .ascx file that I manually configured:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Test.ascx.cs" Inherits="DBASupport.Web.Test" %>
<%@ Register Assembly="SD.LLBLGen.Pro.ORMSupportClasses.NET20" Namespace="SD.LLBLGen.Pro.ORMSupportClasses"
TagPrefix="llblgenpro" %>
<asp:GridView ID="GridView1" runat="server" DataSourceID="ods" AutoGenerateColumns="true">
</asp:GridView>
<llblgenpro:LLBLGenProDataSource2 ID="ods" runat="server" DataContainerType="EntityCollection" AdapterTypeName="DBASupport.LLBL.DAL.DatabaseSpecific.DataAccessAdapter, DBASupport.LLBL.DALDBSpecific" EntityFactoryTypeName="DBASupport.LLBL.DAL.FactoryClasses.MachineEntityFactory, DBASupport.LLBL.DAL">
</llblgenpro:LLBLGenProDataSource2>
Any idea what I need to do to fix the Datasource items from the toolbox?
Thanks...