Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error on Host->SQL page - Please help.Error on Host->SQL page - Please help.
Previous
 
Next
New Post
10/13/2008 11:15 AM
 

I am receiving the following error on the Host -> SQL page:

Error: SQL is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unable to cast object of type 'ASP.admin_portal_sql_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. ---> System.InvalidCastException: Unable to cast object of type 'ASP.admin_portal_sql_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

The only additional infromation I can think to provide at this time is that the first install version of this DNN instance was 4.8.4 and was upgraded to 4.9.0 just last week.  The site works fine besides for just this page.

Any help in how to resolve this issue would be greatly appreciated.  Thanks!

 
New Post
10/13/2008 12:18 PM
 

when does the error occur, which DNn versin are you on?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/14/2008 5:02 PM
 

The error occurs as soon as the page loads when I select the SQL menu option from the Host menu. It is the only content that renders on the page.

It is running on 4.9.0 currently, was just upgraded from 4.8.4 last week.

Thanks!

 
New Post
10/15/2008 8:57 AM
 

Error: SQL is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: c:\inetpub\wwwroot\dev\Portal\Admin\Portal\SQL.ascx.vb(97): error BC30456: 'Instance' is not a member of 'DataProvider'. ---> System.Web.HttpCompileException: c:\inetpub\wwwroot\dev\Portal\Admin\Portal\SQL.ascx.vb(97): error BC30456: 'Instance' is not a member of 'DataProvider'. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) 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 ---

I have this error too. When trying to run SQL Script.

 
New Post
10/15/2008 9:59 AM
 

Altissimo wrote

I am receiving the following error on the Host -> SQL page:

Error: SQL is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unable to cast object of type 'ASP.admin_portal_sql_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. ---> System.InvalidCastException: Unable to cast object of type 'ASP.admin_portal_sql_ascx' to type 'DotNetNuke.Entities.Modules.PortalModuleBase'. at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

The only additional infromation I can think to provide at this time is that the first install version of this DNN instance was 4.8.4 and was upgraded to 4.9.0 just last week.  The site works fine besides for just this page.

Any help in how to resolve this issue would be greatly appreciated.  Thanks!

You will get this error is the ascx control do not inherit the PortalModuleBase class, mosttime, it occurs at development period. You should check whether your upgrade doesn't break something. Or it may be a bug of new version.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error on Host->SQL page - Please help.Error on Host->SQL page - Please help.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out