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