please need help with Homeseer and managedFusion.rewriter on iis.

Jul 12, 2010 at 9:44 PM
Edited Jul 12, 2010 at 9:52 PM

Hi folks,

Hopefully somebody can help me.

I use managedFusion.rewriter on my MS-Homeserver voor rewriting webservices like sabnzb and kerio on my homeserver.

These work fine, but when i try to do the same trick for homeseer it fails.

I have created a virtual directory on my iis, pointed it to a dir on my D drive (d:\websites\homeseer).

Copied the bin dir to the homeseer dir on d:\websites\homeseer.

Configured IIS as followed.

  • Open IIS and right-click on the website and select 'properties'.
  • Click the 'Configuration' button under Application Settings section
  • Click the 'Insert...' button to create a new wildcard mapping
  • Set the executable textbox to aspnet_isapi.dll file location.
    for .net 2.0, 3.0, 3.5: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
  • Make sure the checkbox 'Verify that file exists' is not checked

    Edit web.config.

      <!-- defaultProxy enabled="true">
       <proxy proxyaddress="" />
      </defaultProxy -->

    Edit ManagedFusion.Rewriter.txt

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^$ [NC]
    RewriteRule ^(.*)$$1 [P]

    Tested it and it comes with runtime error; 


    Server Error in '/Homeseer' Application.

    The requested url, <>, could not be found.

    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.Web.HttpException: The requested url, <>, could not be found.

    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:

    [HttpException (0x80004005): The requested url, <>, could not be found.]
       System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) +332
       System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) +425
       System.Action`1.EndInvoke(IAsyncResult result) +0
       ManagedFusion.Rewriter.ProxyAsyncHandler.EndProcessRequest(IAsyncResult result) in C:\development\projects\Managed Fusion (Open Source)\ManagedFusion.Rewriter\Source\ProxyAsyncHandler.cs:73
       System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +86

    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614

    Homeseer comes with error in log;

    12-7-2010 22:24:51  - Error - Web Server Error 404, cannot serve file: C:\Program Files\HomeSeer 2\html//Homeseer

    Anyone know what is wrong and how to fix it?

    Thanks in advance.

  • Feb 17, 2012 at 1:12 PM

    I also I have the same problem, I could work with the solution?