The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

GridLoader

Last post 10-24-2007, 12:16 AM by liffey. 9 replies.
Sort Posts: Previous Next
  •  10-22-2007, 6:55 AM 5959

    GridLoader

    Is there an updated GridLoader.zip?

    None installs as per the team blog http://www.entityspaces.net/blog/2006/08/04/EntitySpacesDotNetNukeASCXAdminGridTemplateSuiteReleased.aspx 

    "Files

    The template is installed into the EntitySpaces\C#\Web and EntitySpaces\VB\Web folders respectively in MyGeneration. GridLoader.zip the DotNetNuke module that loads the generated ASCX controls is installed in Program Files\EntitySpaces\DotNetNuke\C# and Program Files\EntitySpaces\DotNetNuke\VB respectively. "

    All I see is a GridLoader project and files. Should I build my own zip install package for DNN? I generated files with the old module installed and am having difficulty getting it to run.

  •  10-22-2007, 7:02 AM 5960 in reply to 5959

    Re: GridLoader

    This depends on which version of the ASCX templates you are using they were updated in

    http://www.entityspaces.net/portal/Support/ReleaseNotes/EntitySpaces2007Betav110010/tabid/188/Default.aspx

    Previous to that, they were a separate install. If you are using the new version you need to use the new version of the GridLoader projects. I think the view control is still the same though so you should be able to drop the new gridloader files in your DesktopModules\GridLoader folder, follow the new instructions(very similar to the old ones) and then recompile. 


    Regards,

    Scott Schecter
    EntitySpaces | My Site
  •  10-23-2007, 5:06 AM 5981 in reply to 5960

    Re: GridLoader

    I am having a few problems getting the GridLoader working, perhaps you can suggest where I may be going wrong.

    The first problem I encountered was that my connection was not using the default "SiteSqlServer". This I have corrected and now get an error:

    DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load type 'Counties_admin'. ---> System.Web.HttpParseException: Could not load type 'Counties_admin'. ---> System.Exception: Could not load type 'Counties_admin'. --->

    This is raised at line 68 in Index.ascx.vb:

    Code:
                            Dim control As Control = LoadControl(String.Concat(Constants.GeneratedControlsDirectory, file.Name))

    I have followed the pdf and placed the generated ascx in the GeneratedUserControls folder. I then converted this to a Web Application and compiled GridLoader project.

    I have also generated the classes and placed them in App_Code\GridLoader folder and also added the code cub directory statement to my web.config

    <codeSubDirectories>

    <add directoryName="GridLoader" />

    </codeSubDirectories>

    The class namespace is BusinessObjects.

    Any suggestions?

     

    Declan
  •  10-23-2007, 5:18 AM 5982 in reply to 5981

    Re: GridLoader

    Since you say you are using App_Code that means you are using the old WSP (Web Site Project). This was in our older version before the release I noted above. You never told me which version of the Gridloaders you were using. You should not do the 'Convert To Web Application' step for WSP projects.

    Regards,

    Scott Schecter
    EntitySpaces | My Site
  •  10-23-2007, 6:33 AM 5990 in reply to 5982

    Re: GridLoader

    Confused

    OK, I've moved the classes into my GridLoader folder/Generated and /Custom and re-compiled. This gave me an error stating there was no loader loaded. I then added

    EntitySpaces.Interfaces.esProviderFactory.Factory = New EntitySpaces.LoaderMT.esDataProviderFactory()

    to Page_Load in Index.ascx.vb.

    Now I get an error stating:

    A critical error has occurred.
    The IListSource does not contain a data source named ''. Check your DataMember value.

    My connection string points to a databasewhich is NOT the DNN db.

    Code:
      <EntitySpaces>
        <connectionInfo default="SiteSqlServer">
          <connections>
            <add name="SiteSqlServer" providerMetadataKey="esDefault"
                 sqlAccessType="DynamicSQL" 
                 provider="EntitySpaces.SqlClientProvider" 
                 providerClass="DataProvider" 
                 connectionString="Server= ... ;" 
                 databaseVersion="2005" />

    Declan

    EDIT:

    When generating the classes I choose options:

    • Generate Single file
    • Metadata Class should ignore Catalog
    • Use DNN Object Qualifier
  •  10-23-2007, 6:41 AM 5991 in reply to 5990

    Re: GridLoader

    liffey, this was just reported on another thread. It's not a GridLoader problem, it's an ES problem, we did tons of testing on on Windows.Forms and esDataSource but missed something in ASP.NET databinding, we will be puttting out a new beta tonight or tomorrow night at the very latest.


    EntitySpaces | Twitter | BLOG
  •  10-23-2007, 6:48 AM 5992 in reply to 5991

    Re: GridLoader

    Thanks Mike.

    Is this also a problem in ver 1001? If not I'll roll back.

  •  10-23-2007, 7:04 AM 5994 in reply to 5992

    Re: GridLoader

    I believe this was not in that release, sorry, about this, it will be fixed very soon.

    EntitySpaces | Twitter | BLOG
  •  10-23-2007, 7:15 AM 5996 in reply to 5994

    Re: GridLoader

    np, thanks.
  •  10-24-2007, 12:16 AM 6016 in reply to 5996

    Re: GridLoader

    Mike,

    I have just downloaded version 1024, re-generated and all is good. Well done, thanks.

    Declan

View as RSS news feed in XML