Login
Register
29-07-2010

Resources for the DotNetNuke Community


Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  DotNetNuke Development  Templates  Problem with 4X...
 Problem with 4X module (Please Help)
 
imgOfflinemjliscio
17 posts
Joined
10/1/2006

Problem with 4X module (Please Help)
Posted: 27 Jul 07 11:31 AM
 

Hello All

 

I am trying to create a dnn 4x module that reads information from another database and displays particular information to the user based on who is logged in.  In my view.ascx I set up a SQL Data Soruce, and made shure it was connecting to the correct database.  I install the module into my dnn portal and it all looks well until I go and try to place a module on the page.  When I try to place a module on the page I get the following error

 

Error: Equipment is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The connection name 'EquipmentConnectionString' was not found in the applications configuration or the connection string is empty. ---> System.InvalidOperationException: The connection name 'EquipmentConnectionString' was not found in the applications configuration or the connection string is empty. at System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) at ASP.desktopmodules_equipment_viewequipment_ascx.__BuildControlSqlDataSource1() at ASP.desktopmodules_equipment_viewequipment_ascx.__BuildControlTree(desktopmodules_equipment_viewequipment_ascx __ctrl) at ASP.desktopmodules_equipment_viewequipment_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

 


Does anyone know what is causing this error and how to fix it

 

Thanks Mike

imgOfflinemjliscio
17 posts
Joined
10/1/2006

Re: Problem with 4X module (Please Help)
Posted: 31 Jul 07 10:36 AM

I figured this one out

problem solved

 

Thanks Mike

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Problem with 4X module (Please Help)
Posted: 03 Aug 07 11:45 PM
Seems you already got it! :)
Disgrafic.com
  DotNetNuke Development  Templates  Problem with 4X...
© Vicenç Masanas Terms Of Use Privacy Statement   
.