Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Google Sitemap ...  Possible Vista/IIS 7 problem
Previous Previous
 
Next Next
New Post 7/19/2008 12:28 AM
  Sean
2 posts
No Ranking


Possible Vista/IIS 7 problem 

Hi Bruce and thanks for making this tool available.

I've had some problems getting the modules to work, specifically making the provider/httphandler combination work on my local Vista PC running IIS 7. I had to modify the locations I placed some of the entries in the Web.config file as follows:

  <system.webServer>
    <!-- The system.webServer section is required for IIS7 compatability It is ignored by IIS6-->
    <modules>
      <add name="googlesitemaps" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapSection, iFinity.DNN.GoogleSiteMapProvider" />
    </modules>
    <handlers>
            <add name="GoogleSiteMapHandler" path="GoogleSiteMap.axd" verb="*" type="iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapHandler" />
    </handlers>

I have left the corresponding entries in the locations you specified as I will need to ship this into production at some point, but for now, with the settings in place, I am getting the following error when I try to navigate to the GoogleSiteMap.axd page:

[ConfigurationErrorsException: iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapSection, iFinity.DNN.GoogleSiteMapProvider does not implement IHttpModule.]
   System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +3443313
   System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +190
   System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1450
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +90
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +182
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +259
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +245

[HttpException (0x80004005): iFinity.DNN.Modules.GoogleSiteMap.GoogleSiteMapSection, iFinity.DNN.GoogleSiteMapProvider does not implement IHttpModule.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465475
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +675

Can you offer any help on this please? Is the tool currently intended to work on IIS7 hosted sites?

Many thanks in advance,

Sean

 
New Post 7/19/2008 8:26 AM
  Bruce Chapman
569 posts
1st Level Poster


Re: Possible Vista/IIS 7 problem 

Hi Sean

You were correct in placing the GoogleSItemapHandler section into the system.webserver section, however, you don't need to place the googlesitemaps section into 'modules'.  This makes IIS think that the googlesitemapssection is a HttpModule, which it isn't (hence the error).  The googleSiteMapsSection section should be placed in the configSection as per the original instructions, and the GoogleSitemapHandler in the system.webserver section as you have done.

I'll update the documentation to show the IIS7 instructions with the next release - but you've correctly guessed most of it.

-Bruce

 
New Post 7/21/2008 8:27 PM
  Sean
2 posts
No Ranking


Re: Possible Vista/IIS 7 problem 

Excellent, that sorted it Bruce.

Well, that and I think I'd got a little overzealous with the IIS7 Manager and set up a Path Type of "File" on the Handler Mappings as well. Correcting this and removing the Module Entry has resolved the problem and I'm getting the SiteMap entries as expected.

Many thanks!

Sean

 
New Post 7/22/2008 8:11 AM
  Bruce Chapman
569 posts
1st Level Poster


Re: Possible Vista/IIS 7 problem 

Good to hear.  I'll update the documentation with the necessary IIS7 instructions.

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Google Sitemap ...  Possible Vista/IIS 7 problem
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

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.

If you wish, you can use the Premium Support Service for one-on-one support.