Per Magne Skuseth
Aug 20, 2013
  5586
(1 votes)

Quick tip: EPiServer, Visual Studio 2013 Preview & IIS Express issue

I installed Visual Studio 2013 Preview a little while ago, and have not had any serious issues with it. However, when running a site using IIS Express, edit mode just showed a blank page, rendering it useless.

editerror

The fix was pretty simple: uncheck enable browser link in VS:

enablebrowserlink

After doing this, things were back to normal.
If you want to know more about the new “Enable Browser Link” feature, you can read more about it here.
Please note that this is a VS issue, and not an EPiServer issue, which will be fixed in the upcoming release of VS.


Adding error messages and keywords below, so it will turn up in search results as well (you can stop reading now).

artery // Uncaught ReferenceError: WebForm_AutoFocus is not defined // __vwd/js/artery // SyntaxError: missing ; after for-loop condition

Aug 20, 2013

Comments

Aug 26, 2013 09:56 PM

Depressing that browswr link is causing this. I saw that umbraco cms was also having problems with browser link.

Hope you've filed a bug on vs2013 feedback for this because browser link looks quite promising.

Per Magne Skuseth
Per Magne Skuseth Jan 19, 2014 01:31 PM

This has been fixed in the official release of vs 2013.

Mark Price
Mark Price Aug 15, 2016 06:08 PM

Annoyingly, the bug appears to be back in Visual Studio 2015!

Last week I was happily using Visual Studio 2015 with Update 3 to create several Episerver sites including Alloy, but this morning Edit View was broken in all my sites. Interestingly, it *almost* worked in Firefox but was completely blank in Microsoft Edge and Chrome. I have *no* idea what I changed to break it.

Googling for "episerver edit view blank" and similar suggested fixes such as clearing the Temporary ASP.NET Files folder, re-installing Visual Studio, resetting IIS and so on. Finally I decided to install Visual Studio 2013 and open the same projects. Everything worked. Opening the same projects again in VS2015--broken Edit View! Both had Browser Link enabled, but I decided to try disabling Browser Link only in VS2015. Success!

A quick Google led to this page. If only I had considered Browser Link to be the problem earlier!

Per Magne Skuseth
Per Magne Skuseth Aug 16, 2016 09:35 AM

Mark: Perhaps the error you got was related to the Visual Studio Web Accessibility Checker? See these threads:

http://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2016/8/episerver-and-visual-studio-web-accessibilty-checker/

http://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2016/8/dojo-error-and-episervercms-only-showing-top-menu/

Mark Price
Mark Price Aug 19, 2016 10:12 AM

Yes, Per, I think you're right. At least I now can reenable Browser Link if I disable that extension.

Please login to comment.
Latest blogs
Creating an Optimizely CMS Addon - Adding an Editor Interface Gadget

In   Part One   of this series, I covered getting started with creating your own AddOn for Optimizely CMS 12. This covered what I consider to be an...

Mark Stott | Aug 30, 2024

Configure your own Search & Navigation timeouts

The main blog Configure your own Search & Navigation timeouts was posted for years but you need copy the code to your application. We now bring tho...

Manh Nguyen | Aug 30, 2024

Joining the Optimizely MVP Program

Andy Blyth has been honoured as an Optimizely MVP, recognising his contributions to the Optimizely community. Learn how this achievement will enhan...

Andy Blyth | Aug 29, 2024 | Syndicated blog

Welcome 2024 Summer OMVPs

Hello, Optimizely community! We are thrilled to announce and welcome the newest members to the Optimizely Most Valuable Professionals (OMVP) progra...

Patrick Lam | Aug 29, 2024