locked
Module doesn't work on IIS7 under vista business RRS feed

  • Question

  • User160997116 posted

    I download and install url rewrite module on my vista business but url rewrite module icon doesn't appear in my site area. I am a web developer and I want to test my application before publishing it.

    Please guide me to solve this problem. thank you

    Friday, June 6, 2008 4:57 PM

All replies

  • User226176653 posted

    Hi Ataks,

    Please open %SystemRoot%\System32\inetsrv\config\administration.config (the UI configuration file) and look for Rewrite. There should be two entries, one under <moduleProviders>element and the another one under <modules>. Something like:

            <add name="Rewrite" type="Microsoft.Web.Management.Iis.Rewrite.RewriteModuleProvider, Microsoft.Web.Management.Rewrite, Version=7.1.0.000, Culture=neutral, PublicKeyToken=1A5B963C6F0FBEAB" />

            <add name="Rewrite" />

    Please also verify that %SystemRoot%\System32\inetsrv\config\schema\rewrite_schema.xml exists.

    Thanks a lot.

    Friday, June 6, 2008 5:37 PM
  • User160997116 posted

    Dear Daniel,
    Thank you for replay. I check files and both of them exist and have the same thing you reply me (at the end of <moduleProviders> and <location path="."><modules> with extra one tab). I restart my OS and restart IIS admin from services but problem didn't solve.

    Thank you
     

    Saturday, June 7, 2008 5:44 AM
  • User226176653 posted

    Hi,

    In IIS 7.0 there is no need to restart either Vista or any IIS service. The setup installs two components, the runtime and the UI.

    The runtime is the file %SystemRoot%\system32\inetsrv\rewrite.dll; please verify it is there. It also installs the IIS schema file rewrite_schema.xml and register the rewrite configuration section in applicationHost.config.

    The UI are two managed assemblies that we deploy in the GAC and then we register in administration.config. You already verified that the module is registered. Please verify that the following assemblies exist in the GAC %SystemRoot%\assembly

    • Microsoft.Web.Management.Rewrite
    • Microsoft.Web.Management.Rewrite.Client

     Thanks again.

     Daniel.

    Saturday, June 7, 2008 9:01 PM
  • User160997116 posted

    Dear Daniel,

    - rewrite_schema.xml is in Windows\System32\inetsrv\config\schema
    - rewrite.dll is in Windows\system32\inetsrv\
    - rewrite configuration is section in applicationHost.config
    - Microsoft.Web.Management.Rewrite and Microsoft.Web.Management.Rewrite.Client is in Windows\assembly

    everythings seems ok, but I didn't see rewrite icon in  area.

    I  uninstalled the rewrite and setup it again by msiexec /I . When I opened the IIS website, IIS show an error in applicationHost.config in rewrite section. I found empty <rewrite></rewrite>, I remove it and error solve and setup rewrite again. but problem didn't solve.

    Thank you

    Wednesday, June 11, 2008 1:17 AM
  • User226176653 posted

    Hi Ataks,

    Everythink look fine, there is no special setup magic here. I want to repro this issue in our lab, Could you send me an email with the following files attached?

    • applicationHost.config
    • administration.config
    • rewrite_schema.config
    • Please open InetMgr.exe, browse to your Web Site and send me a screenshoot (save it as .PNG).

    Thanks.

    Wednesday, June 11, 2008 4:22 PM
  • User160997116 posted

    Dear Daniel,
    I sent files.

    Thank you
    Ata
     

    Wednesday, June 11, 2008 4:53 PM
  • User226176653 posted

    Hi Ata,

    Your applicationHost.config file tells me that you don't have Vista SP1 installed. If that is true, Could you check your Event Viewer (eventvwr.exe) and let me know if is there any error from "IIS Manager"?

    The runtime should work fine, but you would need to use another editor to create your rules (AppCmd/Notepad)

    Thank you and sorry about this issue.

    Wednesday, June 11, 2008 10:08 PM
  • User160997116 posted

    Dear Daniel,
    I found only to log with information level about MsiInstaller errors. I put them below. Why windows updater don't notify me to setup service pack 1? Is it optional? windows eddition in system information is Windows Vista Business (Copywrite 2006).

    ---------------------------------------------------------

    Log Name:      Application
    Source:        MsiInstaller
    Date:          6/11/2008 12:20:13 AM
    Event ID:      1033
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          aks-PC\Administrator
    Computer:      aks-PC
    Description:
    Windows Installer installed the product. Product Name: Microsoft URL Rewrite Module for IIS 7.0. Product Version: 1.0.0.080407. Product Language: 1033. Installation success or error status: 1603.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MsiInstaller" />
        <EventID Qualifiers="0">1033</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2008-06-10T20:50:13.000Z" />
        <EventRecordID>16419</EventRecordID>
        <Channel>Application</Channel>
        <Computer>aks-PC</Computer>
        <Security UserID="S-1-5-21-3254635517-3491875447-2067405870-500" />
      </System>
      <EventData>
        <Data>Microsoft URL Rewrite Module for IIS 7.0</Data>
        <Data>1.0.0.080407</Data>
        <Data>1033</Data>
        <Data>1603</Data>
        <Data>(NULL)</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Binary>7B37373542303431312D343535462D344133342D393030322D3442334444333745323434337D</Binary>
      </EventData>
    </Event>

    -------------------------

    Log Name:      Application
    Source:        MsiInstaller
    Date:          6/11/2008 12:19:43 AM
    Event ID:      1033
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          aks-PC\Administrator
    Computer:      aks-PC
    Description:
    Windows Installer installed the product. Product Name: Microsoft URL Rewrite Module for IIS 7.0. Product Version: 1.0.0.080407. Product Language: 1033. Installation success or error status: 1603.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MsiInstaller" />
        <EventID Qualifiers="0">1033</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2008-06-10T20:49:43.000Z" />
        <EventRecordID>16413</EventRecordID>
        <Channel>Application</Channel>
        <Computer>aks-PC</Computer>
        <Security UserID="S-1-5-21-3254635517-3491875447-2067405870-500" />
      </System>
      <EventData>
        <Data>Microsoft URL Rewrite Module for IIS 7.0</Data>
        <Data>1.0.0.080407</Data>
        <Data>1033</Data>
        <Data>1603</Data>
        <Data>(NULL)</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Binary>7B37373542303431312D343535462D344133342D393030322D3442334444333745323434337D</Binary>
      </EventData>
    </Event>

    -------------------------------------
     

    Thursday, June 12, 2008 5:03 AM
  • User160997116 posted

    Dear Daniel,
    I found only to log with information level about MsiInstaller errors. I put them below. Why windows updater don't notify me to setup service pack 1? Is it optional? windows eddition in system information is Windows Vista Business (Copywrite 2006).

    ---------------------------------------------------------

    Log Name:      Application
    Source:        MsiInstaller
    Date:          6/11/2008 12:20:13 AM
    Event ID:      1033
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          aks-PC\Administrator
    Computer:      aks-PC
    Description:
    Windows Installer installed the product. Product Name: Microsoft URL Rewrite Module for IIS 7.0. Product Version: 1.0.0.080407. Product Language: 1033. Installation success or error status: 1603.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MsiInstaller" />
        <EventID Qualifiers="0">1033</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2008-06-10T20:50:13.000Z" />
        <EventRecordID>16419</EventRecordID>
        <Channel>Application</Channel>
        <Computer>aks-PC</Computer>
        <Security UserID="S-1-5-21-3254635517-3491875447-2067405870-500" />
      </System>
      <EventData>
        <Data>Microsoft URL Rewrite Module for IIS 7.0</Data>
        <Data>1.0.0.080407</Data>
        <Data>1033</Data>
        <Data>1603</Data>
        <Data>(NULL)</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Binary>7B37373542303431312D343535462D344133342D393030322D3442334444333745323434337D</Binary>
      </EventData>
    </Event>

    -------------------------

    Log Name:      Application
    Source:        MsiInstaller
    Date:          6/11/2008 12:19:43 AM
    Event ID:      1033
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          aks-PC\Administrator
    Computer:      aks-PC
    Description:
    Windows Installer installed the product. Product Name: Microsoft URL Rewrite Module for IIS 7.0. Product Version: 1.0.0.080407. Product Language: 1033. Installation success or error status: 1603.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MsiInstaller" />
        <EventID Qualifiers="0">1033</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2008-06-10T20:49:43.000Z" />
        <EventRecordID>16413</EventRecordID>
        <Channel>Application</Channel>
        <Computer>aks-PC</Computer>
        <Security UserID="S-1-5-21-3254635517-3491875447-2067405870-500" />
      </System>
      <EventData>
        <Data>Microsoft URL Rewrite Module for IIS 7.0</Data>
        <Data>1.0.0.080407</Data>
        <Data>1033</Data>
        <Data>1603</Data>
        <Data>(NULL)</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Binary>7B37373542303431312D343535462D344133342D393030322D3442334444333745323434337D</Binary>
      </EventData>
    </Event>

    -------------------------------------
     

    Thursday, June 12, 2008 5:05 AM
  • User226176653 posted

    Hi Ata,

    The UI module requires Vista SP1.The runtime shouldn’t have any dependency on Vista SP1, so you should be able to drop a web.config file with rewrite rules and it should work.

    The URL Rewrite Module Technical Preview 1 Setup didn't have a check to require Vista SP1, I just fixed this.

    Please open Windows Update (wuapp.exe) and click the “Check for Updates” button, the Vista SP1 should be available as an update.

    Sorry about this inconvenience.

    Friday, June 13, 2008 3:22 PM