Can't run Silverlight app in development web server

4 posts, 1 answers
  1. Anil Kripalani
    Anil Kripalani avatar
    4 posts
    Member since:
    Jun 2006

    Posted 24 Dec 2010 Link to this post

    I'm just testing the latest Silverlight controls for Silverlight 4 / Visual Studio 2010.

    I created a new Silverlight project and web site, and added a vanilla Telerik chart to MainPage.

    I'm running on Windows 7 64-bit.

    When I run the app from Visual Studio, it launches the development web server and I get error "Internet Explorer cannot display the webpage".  Anyone know why that is?

    I was able to get the same site to render from IIS 7.5 on the local machine once I added the .xap MIME Type to the virtual root.  So it runs from IIS, just not the development web server :(

    Thanks,
    Krip
  2. Answer
    Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 27 Dec 2010 Link to this post

    Hello Anil,

    I'm not sure that your problem with the development web server is related to the Telerik Silverlight controls. Did you try running vanilla Silverlight page with MS controls on it in the same scenario?

    You might check the official Silverlight forums for information as well (http://forums.silverlight.net/forums/).

    Greetings,
    Bart.
  3. Anil Kripalani
    Anil Kripalani avatar
    4 posts
    Member since:
    Jun 2006

    Posted 29 Dec 2010 Link to this post

    I think you're right.  I have the same problem with an empty ASP.NET web site.  Will dig further.  Thanks for following up.

    -Krip
  4. Anil Kripalani
    Anil Kripalani avatar
    4 posts
    Member since:
    Jun 2006

    Posted 29 Dec 2010 Link to this post

    I found the problem.  Had to map 127.0.0.1 to localhost in my hosts file.  Only entry there was "::1" and that's IPv6 syntax.  I only have IPv4 enabled.

    -Krip
Back to Top