locked
ARR rewrite rule RRS feed

  • Question

  • User1204301167 posted

    Evning all,

    Iam a complet newbie to ARR and IIS 7 rewriting. I have tried todo my best to read all examples but i still get some errors I cannot figure out.

    All our sites are dot.net 2.0 applications developed in VSS 2005 /
    I have created a web.config file with the following rules.

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
                    <clear />
                    <rule name="HTTP to HTTPS redirect" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAll">
                            <add input="{HTTPS}" pattern="off" />
                        </conditions>
                        <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Found" />
                    </rule>
                    <rule name="Customer 1 Rewrite" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAny">
                            <add input="{HTTP_HOST}" pattern="^test\.(.*)$" />
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                            <add input="{URL}" pattern="\.axd$" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="http://intapp1.domain.net/{R:1}" appendQueryString="true" logRewrittenUrl="false" />
                    </rule> 
    </rules>
    </rewrite>
    </system.webServer>
        <system.web>
            <customErrors mode="Off" />
        </system.web>
    </configuration>

    When I try to access the site with the following url https://test.domain.netI always get the following error

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.30618; Media Center PC 5.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; SLCC1; Tablet PC 2.0; InfoPath.2)
    Timestamp: Mon, 8 Mar 2010 12:19:54 UTC

    Message: Object expected
    Line: 372
    Char: 1
    Code: 0
    URI: https://test.domain.net/folder/page.aspx

    When i access the site direcly with url http://intapp1.domain.net/folder/pages.aspx it works fine with no errors. What have I missed ?

    Thanks alot for all examples and help.

    Monday, March 8, 2010 7:30 AM

Answers

  • User1204301167 posted

    Hi Again

    The problems i have faced earlier in the post have vanished under the night without that I can put a finger what casued it or what changes I have done :(

    The only thing I have done today is I tried to delete all Cached Objects i ARR and this resulted in a "Access Denied" message. Then I deleted the Cache drive and added it again.

    ¤%&¤/%/& that I didn't write down the steps. The application is back on the other server without the Machine Key and it still works and loads Webresources.axd.

    My current web.config looks like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
                   <rule name="Bergen" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAny">
                            <add input="{HTTP_HOST}" pattern="^test\.(.*)$" />
                        </conditions>
                        <action type="Rewrite" url="http://intapp1.domain.net/{R:1}" appendQueryString="true" logRewrittenUrl="true" />
                    </rule> 
    </rules>
                <rewriteMaps>
                    <remove name="Redirect to HTTPS" />
                </rewriteMaps>
    </rewrite>
            <urlCompression doStaticCompression="true" doDynamicCompression="true" />
    </system.webServer>
    <!--   
    <system.web>
            <machineKey decryptionKey="C4F22615ABADF99BDF052C8D4440DB01527824B43C477723" validationKey="F96DAC239225E6443A6CA9551580E1C421E68B1024564D42AB081D0DAFF589AA8D7E472598D61DCD0D7662A3F8AFFDC5560EA5EA819B8A9AE2E600148158CAFA" />
        </system.web>
    -->
    </configuration>

    Thank you all for your help in this matter.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, March 12, 2010 3:42 AM

All replies

  • User973888104 posted

    Hi kanobi,

    From the object expected error it maybe something like a client side resource such as  .js file has not been dowloaded to the client. You will need to determine what this is first then you can find out what in the rewrite  rules might be affecting your application.

    --  look  at the IIS logs (c:\inetpub\logs\logfiles)  and look for 404  responses . This might indicate something that was rewritten incorrectly.

    -- You could also use Fiddler  and examine the requests that are sent from the browser.

    -- View Source in IE  when you get the error and this might provide a tip as to whats missing on line 372

    hth

    Richard

    Tuesday, March 9, 2010 3:25 PM
  • User1204301167 posted

    Hi Richard,

    Thank you so much for the input howto solve this issue, I followed all your tips and here is the outcome of that.

    1. There are no logs with 404 repsonse
    2. Source of the page shows WebForm_AutoFocus('ValidateUser');//]]>
    3. Using fiddler and and put a breakpoint after page and removed this line and then complete the page result NO error :)

    Atleast I know what is causing the error now , but how can I solve it ? Iam not a programmer so I don't know exacly what this line does.

    Regards
    Kim

    Wednesday, March 10, 2010 4:25 AM
  • User1204301167 posted

    After testing the application more further I noticed some more errors, the application is using some sort of "treeview" in some other pages and this fails to load aswell.

    All objects that are missing or failing has a url like this  :
    http://test.domain.net/WebResource.axd?d=YWZLrSeX_fc3ab7la0GxTcDzHgM7f57cZxUmDEWPxVw1&t=633916232015537500

    Kim

    Wednesday, March 10, 2010 4:42 AM
  • User973888104 posted

    Looking at the Rule you have added a condtion to bypass the AXD extension from being changed., If this is working as you designed it,  that means that the axd requests will not be rewritten and therefore they will stay  as test.domain.net ..    Is that what you want or do you want the AXD requests rewritten as well ? Simple test try removing the <add input="{URL}" pattern="\.axd$" negate="true" />  and see if that works

    For tracing,  when using Fiddler you should seee the requests for Webresource.axd  sent from the client and a response from the server  . What is the response code ?

    You could also use   Failed Request Tracing Rules  (FREB) . On Step 2 you can select custom and enter *.axd  to filter on the Axd  extensions then you can evaluate the rule processing in the process in  FREB  log  and see what the URL is being changed ( or not) to  and see if the resultant url is what you are trying to configure.

     

    Wednesday, March 10, 2010 11:08 AM
  • User1204301167 posted

    I removed all rules exept one, here is what the config files looks now.

    <rewrite>
    <rules>
                   <rule name="Customer 1 Rewrite" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAny">
                            <add input="{HTTP_HOST}" pattern="^test\.(.*)$" />
                        </conditions>
                        <action type="Rewrite" url="http://intapp1.domain.net/{R:1}" appendQueryString="true" logRewrittenUrl="false" />
                    </rule> 
    </rules>
    </rewrite>

    When trying the url http://test.domain.net FREB loggs following result.

    <?xml version="1.0" encoding="UTF-8" ?>
    <?xml-stylesheet type='text/xsl' href='freb.xsl'?>
    <!-- saved from url=(0014)about:internet -->
    <failedRequest url="http://test.domain.net:80/WebResource.axd?d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500"
                   siteId="1"
                   appPoolId="Proxy"
                   processId="576"
                   verb="GET"
                   remoteUserName=""
                   userName=""
                   tokenUserName="NT AUTHORITY\IUSR"
                   authenticationType="anonymous"
                   activityId="{00000000-0000-0000-8500-0080000000F2}"
                   failureReason="STATUS_CODE"
                   statusCode="200"
                   triggerStatusCode="200"
                   timeTaken="0"
                   xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
                   >
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>0</Level>
      <Opcode>1</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="SiteId">1</Data>
      <Data Name="AppPoolId">Proxy</Data>
      <Data Name="ConnId">1610612862</Data>
      <Data Name="RawConnId">0</Data>
      <Data Name="RequestURL">http://test.domain.net:80/WebResource.axd?d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500</Data>
      <Data Name="RequestVerb">GET</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_REQUEST_START</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>53</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="HeaderName">AspFilterSessionId</Data>
      <Data Name="HeaderValue"></Data>
      <Data Name="Replace">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_SET_REQUEST_HEADER</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>55</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="RemoteAddress">192.168.100.1</Data>
      <Data Name="RemotePort">49824</Data>
      <Data Name="LocalAddress">192.168.50.1</Data>
      <Data Name="LocalPort">80</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_ENDPOINT_INFORMATION</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>50</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="Headers">Connection: Keep-Alive
    Accept: */*
    Accept-Encoding: gzip, deflate
    Accept-Language: nb-NO
    Cookie: ASP.NET_SessionId=c4tgbx55ohtxjt555k0mvu2c; stl_test=1
    Host: test.domain.net
    Referer: http://test.domain.net/Publikum/PublikumRegister.aspx
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; Creative AutoUpdate v1.40.01)
    </Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_REQUEST_HEADERS</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>30</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="PhysicalPath"></Data>
      <Data Name="AccessPerms">513</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_GET_URL_METADATA</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>43</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="OldHandlerName"></Data>
      <Data Name="NewHandlerName">AssemblyResourceLoader-Integrated</Data>
      <Data Name="NewHandlerModules">ManagedPipelineHandler</Data>
      <Data Name="NewHandlerScriptProcessor"></Data>
      <Data Name="NewHandlerType">System.Web.Handlers.AssemblyResourceLoader</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>HANDLER_CHANGED</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>1</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="RequestURL">/WebResource.axd?d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500</Data>
      <Data Name="Scope">1</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>URL_REWRITE_START</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
      <freb:Description Data="Scope">Distributed</freb:Description>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>3</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="RuleName">Customer 1 Rewrite</Data>
      <Data Name="RequestURL">WebResource.axd</Data>
      <Data Name="QueryString">d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500</Data>
      <Data Name="PatternSyntax">0</Data>
      <Data Name="StopProcessing">true</Data>
      <Data Name="RelativePath">/</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>RULE_EVALUATION_START</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
      <freb:Description Data="PatternSyntax">ECMAScript</freb:Description>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>10</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="Pattern">(.*)</Data>
      <Data Name="InputURL">WebResource.axd</Data>
      <Data Name="Negate">false</Data>
      <Data Name="Matched">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>PATTERN_MATCH</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>5</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="LogicalGrouping">1</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>CONDITIONS_EVALUATION_START</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
      <freb:Description Data="LogicalGrouping">MatchAny</freb:Description>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>11</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="Input">{HTTP_HOST}</Data>
      <Data Name="ExpandedInput">test.domain.net</Data>
      <Data Name="MatchType">0</Data>
      <Data Name="Pattern">^test\.(.*)$</Data>
      <Data Name="Negate">false</Data>
      <Data Name="Succeeded">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>CONDITION_EVALUATION</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
      <freb:Description Data="MatchType">Pattern</freb:Description>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>6</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="Succeeded">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>CONDITIONS_EVALUATION_END</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>12</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="Substitution">http://intapp1.domain.net/{R:1}</Data>
      <Data Name="RewriteURL">http://intapp1.domain.net/WebResource.axd</Data>
      <Data Name="AppendQueryString">true</Data>
      <Data Name="LogRewrittenURL">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>REWRITE_ACTION</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>4</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="RuleName">Customer 1 Rewrite</Data>
      <Data Name="RequestURL">http://intapp1.domain.net/WebResource.axd</Data>
      <Data Name="QueryString">?d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500</Data>
      <Data Name="StopProcessing">true</Data>
      <Data Name="Succeeded">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>RULE_EVALUATION_END</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>53</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="HeaderName">X-Original-URL</Data>
      <Data Name="HeaderValue">/WebResource.axd?d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500</Data>
      <Data Name="Replace">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_SET_REQUEST_HEADER</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>42</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="OldUrl">/WebResource.axd?d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500</Data>
      <Data Name="NewUrl">http://intapp1.domain.net/WebResource.axd?d=_XlT6z5Ugx4XWjxJMnJ0_Q2&amp;t=633916232015537500</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>URL_CHANGED</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>2</Opcode>
      <Keywords>0x400</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="RequestURL">https://intapp1.domain.net/WebResource.axd</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>URL_REWRITE_END</Opcode>
      <Keywords>
       <Keyword>Rewrite</Keyword>
      </Keywords>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{0469ABFA-1BB2-466A-B645-E3E15A02F38B}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>44</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="AuthType"></Data>
      <Data Name="UserName"></Data>
      <Data Name="SupportsIsInRole">true</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>USER_SET</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>43</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="OldHandlerName">AssemblyResourceLoader-Integrated</Data>
      <Data Name="NewHandlerName">ApplicationRequestRoutingHandler</Data>
      <Data Name="NewHandlerModules">ApplicationRequestRouting</Data>
      <Data Name="NewHandlerScriptProcessor"></Data>
      <Data Name="NewHandlerType"></Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>HANDLER_CHANGED</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>52</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="Reason">1</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_NOT_SEND_CUSTOM_ERROR</Opcode>
      <freb:Description Data="Reason">SETSTATUS_SUCCESS</freb:Description>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>35</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_FLUSH_RESPONSE_START</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>47</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="Headers">Cache-Control: public
    Content-Type: image/gif
    Expires: Thu, 10 Mar 2011 06:01:32 GMT
    Last-Modified: Tue, 20 Oct 2009 06:13:21 GMT
    Server: Microsoft-IIS/7.5
    X-Powered-By: ASP.NET
    X-AspNet-Version: 2.0.50727
    X-Powered-By: ASP.NET
    </Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_RESPONSE_HEADERS</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>5</Level>
      <Opcode>48</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="FileName">\\?\D:\inetpub\Cache\intapp1.domain.net\WebResource.axd.full</Data>
      <Data Name="Offset">289</Data>
      <Data Name="Size">43</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_RESPONSE_ENTITY_FILE</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>4</Level>
      <Opcode>36</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="BytesSent">355</Data>
      <Data Name="ErrorCode">0</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_FLUSH_RESPONSE_END</Opcode>
      <freb:Description Data="ErrorCode">The operation completed successfully.
     (0x0)</freb:Description>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
     <System>
      <Provider Name="WWW Server" Guid="{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}"/>
      <EventID>0</EventID>
      <Version>1</Version>
      <Level>0</Level>
      <Opcode>2</Opcode>
      <Keywords>0x0</Keywords>
      <TimeCreated SystemTime="2010-03-10T19:26:37.767Z"/>
      <Correlation ActivityID="{00000000-0000-0000-8500-0080000000F2}"/>
      <Execution ProcessID="576" ThreadID="1100"/>
      <Computer>DEVSRV01</Computer>
     </System>
     <EventData>
      <Data Name="ContextId">{00000000-0000-0000-8500-0080000000F2}</Data>
      <Data Name="BytesSent">355</Data>
      <Data Name="BytesReceived">531</Data>
      <Data Name="HttpStatus">200</Data>
      <Data Name="HttpSubStatus">0</Data>
     </EventData>
     <RenderingInfo Culture="nb-NO">
      <Opcode>GENERAL_REQUEST_END</Opcode>
     </RenderingInfo>
     <ExtendedTracingInfo xmlns="http://schemas.microsoft.com/win/2004/08/events/trace">
      <EventGuid>{D42CF7EF-DE92-473E-8B6C-621EA663113A}</EventGuid>
     </ExtendedTracingInfo>
    </Event>
    </failedRequest>

    When trying the url http://intapp1.domain.net it works just fine.

    Thanks

    Wednesday, March 10, 2010 2:50 PM
  • User973888104 posted

    I dont see a problem in the request. The response is 200 meaning it was sucessfull. What problem are you having now ?

     

    Wednesday, March 10, 2010 4:08 PM
  • User1204301167 posted

    The same problems, no diffrences.

    This URL works fine :
    http://intapp1.domain.net  

    This URL fails with the error below
    http://test.domain.net  

    Message: Object expected
    Line: 372
    Char: 1
    Code: 0

    And the second error is the treeview that  gets generated by WebResources fails to load "the page looks like it issing alot of pictures"

    This URL fails:
    http://test.domain.net/WebResource.axd?d=YWZLrSeX_fc3ab7la0GxTcDzHgM7f57cZxUmDEWPxVw1&t=633916232015537500

    This URL works:
    http://intapp1.domain.net/WebResource.axd?d=YWZLrSeX_fc3ab7la0GxTcDzHgM7f57cZxUmDEWPxVw1&t=633916232015537500

    Wednesday, March 10, 2010 4:43 PM
  • User-47214744 posted

    I would enable Failed Request Tracing and see why the WebResource.axd seems like its not getting served to the right server. It is critical that WebResource.axd is served by the same server that returned the ASPX content, otherwise it will face an invalid "query string' problem since it uses the Machine Key to make sure it has not been tampered. This means that if you are behind a Web Farm yo need to make sure the key is the same, and if its using URL Rewrite to make sure its rewritten correctly to the sae server and not tampering the Query String in any way.

    http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/

     

    Thursday, March 11, 2010 1:35 AM
  • User1204301167 posted

    Thanks for your post and your help.

    I have tried several configurations now but all fails :(

    1. Moved the application to same server as ARR is running.
    2. Excluded *.axd and including *.axd in the rewrite rule
    3. Talked to developers "always the same answer" The application is running fine without ARR and Rewrite.
    4. Addeed the same Machine Key
    5. Done my best to trace all log files.

    But it seems like all error is commming from all pages where webresource.axd / javascript  is used. All other pages wors fine.

    Thursday, March 11, 2010 9:26 AM
  • User-47214744 posted

    Again I would enable Failed Request Tracing in the ARR server and see whether teh WebResources.axd requests are getting routed or not and make sure they are served by the same server as the content that includes the links to them. Also see what status code is being sent for those requests, my guess is that you are getting some invalid response, whether due to invalid status code (like a 500) or simply the javascript code is not getting sent back. WebResources.axd is an ASP.NET functionality to include scripts into content that are inside a DLL, it uses server Machine Key to generate the URL (notice the ugly hash) that will be resolved as the later request comes to serve back those scripts. Certain ASP.NET controls like TreeView and others use this mechanism to serve back the scripts which obviously is not working in this case, but we need to know why, and my guess is that it is not getting executed by the same server.

    Otherwise consider setting the same Machine Key in both servers and see if that helps, and of course make sure the same versions of .NET and controls are in both servers (I think there was a bug where they used the Timestamp of the assembly in the GAC which meant it would differ from server to server).

     

    Thursday, March 11, 2010 7:55 PM
  • User1204301167 posted

    Thank you so much for your answere.

    I did enable Failed Request Tracing in ARR and the output of that is postet earlier in this thread and from what I can see there are no response 404 or 500 logged. I also tried to add the same mashine key to both servers, I even moved the application to the same server where ARR is running but the result is the same.

    Iam running the application now on the same server where all processes is running, ARR and the application is configured with the same machine key.

    <system.web>
            <machineKey decryptionKey="C4F22615ABADF99BDF052C8D4440DB01527824B43C477723" validationKey="F96DAC239225E6443A6CA9551580E1C421E68B1024564D42AB081D0DAFF589AA8D7E472598D61DCD0D7662A3F8AFFDC5560EA5EA819B8A9AE2E600148158CAFA" />
    </system.web>

    Friday, March 12, 2010 1:58 AM
  • User1204301167 posted

    Hi Again

    The problems i have faced earlier in the post have vanished under the night without that I can put a finger what casued it or what changes I have done :(

    The only thing I have done today is I tried to delete all Cached Objects i ARR and this resulted in a "Access Denied" message. Then I deleted the Cache drive and added it again.

    ¤%&¤/%/& that I didn't write down the steps. The application is back on the other server without the Machine Key and it still works and loads Webresources.axd.

    My current web.config looks like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
                   <rule name="Bergen" stopProcessing="true">
                        <match url="(.*)" />
                        <conditions logicalGrouping="MatchAny">
                            <add input="{HTTP_HOST}" pattern="^test\.(.*)$" />
                        </conditions>
                        <action type="Rewrite" url="http://intapp1.domain.net/{R:1}" appendQueryString="true" logRewrittenUrl="true" />
                    </rule> 
    </rules>
                <rewriteMaps>
                    <remove name="Redirect to HTTPS" />
                </rewriteMaps>
    </rewrite>
            <urlCompression doStaticCompression="true" doDynamicCompression="true" />
    </system.webServer>
    <!--   
    <system.web>
            <machineKey decryptionKey="C4F22615ABADF99BDF052C8D4440DB01527824B43C477723" validationKey="F96DAC239225E6443A6CA9551580E1C421E68B1024564D42AB081D0DAFF589AA8D7E472598D61DCD0D7662A3F8AFFDC5560EA5EA819B8A9AE2E600148158CAFA" />
        </system.web>
    -->
    </configuration>

    Thank you all for your help in this matter.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, March 12, 2010 3:42 AM