This is a migrated thread and some comments may be shown as answers.

Can't run Silverlight app in development web server

3 Answers 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anil Kripalani
Top achievements
Rank 1
Anil Kripalani asked on 24 Dec 2010, 06:10 PM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Bartholomeo Rocca
Top achievements
Rank 1
answered on 27 Dec 2010, 05:55 PM
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.
0
Anil Kripalani
Top achievements
Rank 1
answered on 29 Dec 2010, 09:45 AM
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
0
Anil Kripalani
Top achievements
Rank 1
answered on 29 Dec 2010, 10:10 AM
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
Tags
General Discussions
Asked by
Anil Kripalani
Top achievements
Rank 1
Answers by
Bartholomeo Rocca
Top achievements
Rank 1
Anil Kripalani
Top achievements
Rank 1
Share this question
or