Register   Login
     
  Latest Posts  
RE: Notification on comment and multiple authors
by ba on 12/03/2008 8:54 PM
RE: How do I - templates
by cptkoi on 12/03/2008 8:19 PM
Notification on comment and multiple authors
by ba on 12/03/2008 8:14 PM
Private Messages 1.07 - Potential Display Name Bug
by blob150 on 12/03/2008 5:16 PM
Removal of "Actions" section...
by jlatulippe on 12/03/2008 5:08 PM
RE: MultiSelect Search on Multiple Checkbox
by smcculloch on 12/03/2008 3:46 PM
RE: Property Agent Latest Filter
by erikvb on 12/03/2008 3:45 PM
RE: Help! property type error
by smcculloch on 12/03/2008 3:44 PM
RE: Property Agent Latest Filter
by smcculloch on 12/03/2008 3:42 PM
RE: Set default value
by smcculloch on 12/03/2008 3:42 PM
  Forums  
Subject: Error: Host Settings is currently unavailable.
Prev Next
You are not authorized to post a reply.

Author Messages
Antonios ValamontesUser is Offline
Registered Users
Nuke Active Member
Nuke Active Member
Posts:40


11/13/2007 8:11 AM  

Anybody know why I'm getting this error below:

Error: Host Settings is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: C:\DotnetWebsites\websites\hellenicanetworks.com\HNProduction\admin\Host\FriendlyUrls.ascx.vb(44): error BC30560: 'RewriterRuleCollection' is ambiguous in the namespace 'DotNetNuke.HttpModules.Config'. ---> System.Exception: C:\DotnetWebsites\websites\hellenicanetworks.com\HNProduction\admin\Host\FriendlyUrls.ascx.vb(44): error BC30560: 'RewriterRuleCollection' is ambiguous in the namespace 'DotNetNuke.HttpModules.Config'. ---> System.Web.HttpCompileException: C:\DotnetWebsites\websites\hellenicanetworks.com\HNProduction\admin\Host\FriendlyUrls.ascx.vb(44): error BC30560: 'RewriterRuleCollection' is ambiguous in the namespace 'DotNetNuke.HttpModules.Config'. at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(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.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath) at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() 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 ---


Adonis Valamontes
GreekeMedia.com
GreekBusinessUSA.com
Greek Radio Toolbar
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12577


11/13/2007 1:43 PM  
The core expects a certain namespace unfortunately.

Fortunately, the code is now in the core and all you have to do is turn on urlFormat="Friendly in the latest dnn release (4.7) - then you won't get this issue.

Scott McCulloch
Site Administrator
Brad SchaferUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:3

12/04/2007 1:42 PM  
I put

urlFormat="HumanFriendly" ... It's still the same error....
Brad SchaferUser is Offline
Gold Membership
Nuke Newbie
Nuke Newbie
Posts:3

12/04/2007 5:18 PM  

Got it... in 4.7 I needed to pull ALL the older Dotnetnuke.HttpModules.[X]

and replace them with the single new...

DotNetNuke.HttpModules.dll

Only

And I also pulled the ventrian's dll, replacing the ventrian http config code with the standard DNN code... then it started working!

Al WilliamsUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:34

1/15/2008 4:47 AM  
Posted By schafer_brad on 12/04/2007 5:18 PM

Got it... in 4.7 I needed to pull ALL the older Dotnetnuke.HttpModules.[X]

and replace them with the single new...

DotNetNuke.HttpModules.dll

Only

And I also pulled the ventrian's dll, replacing the ventrian http config code with the standard DNN code... then it started working!

Hi, 

I am getting the same error running 4.7.0

What do you mean by "I needed to pull ALL the older Dotnetnuke.HttpModules.[X]".

In my bin folder I have:

  • DotNetNuke.HttpModules.dll
  • DotNetNuke.HttpModules.UrlRewrite.dll

Thanks in advance, Al

 

 

Yehuda TiramUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:161


1/15/2008 10:26 AM  
I got the same error before in few installations and the culprit was always a 3rd party module. Can't remeber which they were but after unistalling these modules the error has gone.....
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12577


1/16/2008 5:27 AM  
The core supports friendly URL in DNN 4.7+, just use the core rewriter by adding urlFormat="Friendly"

Scott McCulloch
Site Administrator
Al WilliamsUser is Offline
Gold Membership
Nuke Active Member
Nuke Active Member
Posts:34

1/16/2008 6:21 AM  
Thanks - I've got it working now.
zhoujiongUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:3

11/06/2008 10:13 AM  

can i please see an example of what this should look like in the web.config file?

You are not authorized to post a reply.
Forums > Projects > Friendly Urls > Error: Host Settings is currently unavailable.



ActiveForums 3.7