« Previous Next »

Answered Thread: Default Web Site settings in IIS

Last post 09-11-2009 10:38 AM by paul127. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 09-10-2009, 4:27 PM

    • paul127
    • Not Ranked
    • Joined on 01-22-2008, 10:20 AM
    • Posts 6

    Default Web Site settings in IIS

    Hi all,

    I'm not sure if this is an IIS, Silverlight or VS2008 issue (or something else) but here goes.

    I have two projects in a solution; one Silverlight and one ASP.NET.  I have a xap file in my ClientBin folder in my ASP project.  This file loads my Silverlight through the test html page generated when I created the project.  This worked fine when I ran it through our default dev server.

    Now though, I've loaded the website onto my IIS Config under 'Default Web Site'.

    When I run it now my ASP.NET proj runs but it doesn't seem to load my Silverlight proj at all.  Debugging never reaches my MainPage.xaml.cs and I don't know why.

    Nothing has changed in my solution apart from the breakpoints that I've added.  My dependencies haven't changed.
    I'm running IIS 5.1, VS2008 with SP1, ASP.NET 2.0 and Silverlight 3.  I have Fiddler which shows a status 304 for the file I'm trying to reach ('If the client has performed a conditional GET request and access is allowed, but the document has not been modified, the server SHOULD respond with this status code). I'm not sure what this means or how to fix it.

    As this was running before I changed to IIS then I'm assuming this is the problem area.  I've changed some settings but nothing works so far.  I could list the changes but it maybe quicker if someone could advise me.  I'm not familiar with IIS very much so please bear with me.

    thanks,

    Paul

  • 09-10-2009, 10:58 PM In reply to

    Answered Re: Default Web Site settings in IIS

    304 is a status of checking for content that hasn't expired on the client.  Have you tried clearing your local browser cache? Does this happen on multiple machines?

    http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

    Look at the 304 status header.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 09-11-2009, 10:38 AM In reply to

    • paul127
    • Not Ranked
    • Joined on 01-22-2008, 10:20 AM
    • Posts 6

    Answered Re: Default Web Site settings in IIS

    Steve,

    Actually I have already looked at this page (see the quote in italics).  I just didn't fully understand what it meant.

    It turns out that our app was doing a GET from one page to another.  When I commented these parts out, it failed because a page was expecting these vars.  When uncommented them, it worked.

    Paul

     

Page 1 of 1 (3 items)
Microsoft Communities