Per Magne Skuseth
Aug 20, 2013
  5667
(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
Recraft's image generation with AI-Assistant for Optimizely

Recraft V3 model is outperforming all other models in the image generation space and we are happy to share: Recraft's new model is now available fo...

Luc Gosso (MVP) | Nov 8, 2024 | Syndicated blog

ExcludeDeleted(): Prevent Trashed Content from Appearing in Search Results

Introduction In Optimizely CMS, content that is moved to the trash can still appear in search results if it’s not explicitly excluded using the...

Ashish Rasal | Nov 7, 2024

CMS + CMP + Graph integration

We have just released a new package https://nuget.optimizely.com/package/?id=EPiServer.Cms.WelcomeIntegration.Graph which changes the way CMS fetch...

Bartosz Sekula | Nov 5, 2024

Block type selection doesn't work

Imagine you're trying to create a new block in a specific content area. You click the "Create" link, expecting to see a CMS modal with a list of...

Damian Smutek | Nov 4, 2024 | Syndicated blog

.NET 8 FAQ

I have previously written about .NET compatibility in general and .NET 8 in particular, see blog posts here , here and here . With the end of suppo...

Magnus Rahl | Nov 4, 2024

Dynamic packages in Commerce Connect

In Optimizely Commerce Connect, you can group different items using packages and bundles. Package: A package has one or more versions of a product...

K Khan | Nov 1, 2024