Products » Support Forums 

Support Forums

HomeHomeGeneralGeneralBeginners ForumBeginners ForumCanCan't generate the site map
Previous
 
Next
New Post
10/7/2009 5:34 PM
 

I'm sure I'm missing something simple but here's what I've done:

I added the iFinity.DNN.GoogleSiteMapProvider.dll and iFinity.Utilities.dll to the Website\bin folder. 

I added the following line to the  <configSections><sectionGroup name="dotnetnuke"> section:
  <section name="googlesitemaps" requirePermission="false" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapSection, iFinity.DNN.GoogleSiteMapProvider" />

I added the following line to the  <system.web><httpHandlers> section:
   <add verb="*" path="GoogleSiteMap.axd" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapHandler, iFinity.DNN.GoogleSiteMapProvider" />

I know I am using IIS6 but I went ahead and added this line in the   <system.webServer><handlers> section:
<add name="SitemapHandler"  verb="*" path="GoogleSiteMap.axd" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapHandler, iFinity.DNN.GoogleSiteMapProvider" preCondition="integratedMode,runtimeVersionv2.0" />

Am I missing anything? I am not utilizing the other features at this time.

I get an error message when trying to generate the GoogleSiteMap.axd:
 

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapService.LoadSiteMapProviders(Boolean debug) +137
   iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapHandler.ProcessRequest(HttpContext context) +325
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
 
 Thank you so much for your help in advance.

 
New Post
10/7/2009 5:42 PM
 

I also added
  <googlesitemaps defaultProvider="BaseGoogleSitemapProvider">
        <providers>
        <add name="BaseGoogleSiteMapProvider" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapProvider" defaultPagePriority="0.5" defaultPageUpdateFrequency="daily" includeHiddenPages="false"/>
     </providers>
  </googlesitemaps>

No change.

 
New Post
10/8/2009 12:18 AM
 

 I added the following line to the  <configSections><sectionGroup name="dotnetnuke"> section:
 

This is in the wrong section.  It should be outside the <sectionGroup name="dotnetnuke"> section.  The relative position of this entry dictates where the <googlesitemaps> entries should go.  If you put the top reference inside the name="dotnetnuke" group, the lower definition has to be inside the <dotnetnuke> section.  The way I have laid it out in the instructions means that the <googlesitemaps> section needs to be outside the <dotnetnuke> section.

 
New Post
10/8/2009 8:30 PM
 

Thank you so much -- that's definitely a start. I modified it based on your post (and a triple check of the intructions you provided) and I do get different results. Still an error, though. I'm sure i'm still missing something simple. I'm not sure if it matters, but I have a web farm set up for DNN and I am using DFS for file replication.

 

Unable to load default GoogleSiteMapProvider

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.Provider.ProviderException: Unable to load default GoogleSiteMapProvider

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ProviderException: Unable to load default GoogleSiteMapProvider]
   iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapService.LoadSiteMapProviders(Boolean debug) +285
   iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapHandler.ProcessRequest(HttpContext context) +325
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
New Post
10/13/2009 6:58 AM
 

That error indicates a problem with loading the correct sitemap provider.  Normally that would be in the web.config entry for the default sitemap provider, which is the first in the list.  Also check to see that you have all the correct files copied into the bin directory.

 
Previous
 
Next
HomeHomeGeneralGeneralBeginners ForumBeginners ForumCanCan't generate the site map


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.