views:

315

answers:

2

I am using VS 2008 with SP1 and the IE 8 beta 2. Whenever I start a new Web site or when I double-click an ASPX in the solution explorer, VS insists on attempting to the display the ASPX page in a free-standing IE browser instance. The address is the local file path to the ASPX it's trying to load and an error that says, "The XML page cannot be displayed" is shown.

Otherwise, things work work correctly (I just close the offending browser window. ASP.NET is registered with IIS and I have no other problems. I have tested my same configuration on other PCs and it works fine. Has anyone had this problem?

Thanks

rp

+1  A: 

Could it be that VS is not the default editor for ASPX files?

Leah
No, ASPX is registered with VS as its associated app. Thanks anyway.
rp
+3  A: 

Right click on the file, select 'Open With' and choose "Web Form Editor" and click "Set as Default".

John Sheehan
Geeze! This is an amazing place. I've diddled with this for a couple of days. In less than five minutes, boom, I'm smiling again. Thank you very much, John.
rp
Glad I could help!
John Sheehan
@rp - I agree. I have seen great response times here as well.
Geoffrey Chetwood