Microsoft Document Explorer Displays Error - document

Microsoft Document Explorer is displaying the following error message on several pages "This webpage might not be displayed properly. The content of the webpage does not match the type specified by the server.". It has been doing this ever since I installed Visual Studio Express for Web 2012. How can I get rid of this warning?

Nevermind! Installing the update for Visual Studio 2012 fixed this problem.

Related

Team Foundation Server script error in vs2012

i can't Go Online my project for checkin it's show error like this picture.
How to solve it's?
Visual Studio Online requires IE9 or later. You appear to be using an unsupported browser.

Visual Studio 2013 Browser Link not playing well with Firefox - throwing exception

Just now I tried Browser Link with Firefox 27.0.1 while debugging a simple ASP.NET MVC app.
I have Visual Studio Ultimate 2013 Update 1.
Here's Browser Link Dashboard:
I tried changing something in a razor view, pressed Ctrl+S and went to the browser to see if the page had changed accordingly but...
this is what i see in Firebug:
http://localhost:6194/85d266397ee64f32b2f4ffdedc974643/arterySignalR/negotiate?requestUrl=http%3A%2F%2Flocalhost%3A26530%2Fgis&browserName=Firefox&clientProtocol=1.3&_=1394212700505
[13:56:43 GMT-0300] Browser Link:
Exception thrown in callback method pullStyleData:
[Exception... "The operation is insecure." code: "18" nsresult: "0x80530012
(SecurityError)" location: "<unknown>"]
Then I saw this error:
401 Unauthorized 82ms
browserLink (line 37)
"NetworkError: 404 Not Found - http://localhost:26530/85d266397ee64f32b2f4ffdedc974643/arterySignalR/ping?requestUrl=http%3A%2F%2Flocalhost%3A26530%2Fgis&browserName=Firefox&_=1394211620626"
I'm running Visual Studio as Administrator.
What's the deal and how can I solve this?
Turns out it was bug in Visual Studio 2013 Update 1 as Mads Kristensen told me here.
So the solution is to go grab Visual Studio 2013 Update 2 CTP 2.

Visual Studio 2012 "Extensions and Updates" "Unable to connect to the remote server"

This has been the case unfortunatly for the past couple of months. I can't install new or update packages from Tools ==> Extensions and Updates I tried everything, yet I am unable to find the reason.
I've tried :
Access NuGet and download packages from "Package Manager Console" Install-Package = SUCCESS
Access repositories using Web browsers, Visual studion internal browser = SUCCESS
Same window in Visual Studio 2010 = SUCCESS
Visual Studio 2012 - Doesn't work
Visual Studio 2010 - Works!
As it turns out for some reason -possibly due to an RC-, My registry settings were pointing to a different url that was getting redirected.
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\ExtensionManager\Repositories
AND I changed
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\ExtensionManager\Repositories{0f45e408-7995-4375-9485-86b8db553dc9}(Default)
to
http://visualstudiogallery.msdn.microsoft.com/Services/v2011/Extension.svc
instead of
http://go.microsoft.com/fwlink/?LinkID=251029
I changed
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\ExtensionManager\Repositories{aeb9cb40-d8e6-4615-b52c-27e307f8506c}(Default)
to
http://code.msdn.microsoft.com/Services/v2011/sample.svc
instead of
http://go.microsoft.com/fwlink/?LinkID=251031
Remove the local cache of extensions and download them all again.
The easiest thing to do is to rename
%LocalAppData%\Microsoft\VisualStudio\Visual Studio version\Extensions\
to
%LocalAppData%\Microsoft\VisualStudio\Visual Studio version\Extensions.old\
and run visual studio, it will update recreate the folder.
WeSam Abdallah's hint worked perfectly for me! Just try to open the link provided in HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\ExtensionManager\Repositories{0f45e408-7995-4375-9485-86b8db553dc9}(Default) in your browser and see what it is changed to automatically. For Visual Studio 2013 I had to change the URL from https://go.microsoft.com/fwlink/?LinkID=309922 to https://visualstudiogallery.msdn.microsoft.com/services/dev12/extension.svc
This answer is an update for Visual Studio 2015.
I tried the registry hack as well as renaming the Extensions folder, and neither solution worked.
However, in my case, the issue seems to have been because I'm behind a proxy at work. This worked for me:
https://stackoverflow.com/a/32650801/2452084

Microsoft.VisualStudio.Web.PasteJson.JsonPackage did not load properly

I have visual studio express 2012
and it was working fine earlier I had run my solution once. But now when I do it, there appears a dialog box with the message!
the Microsoft.VisualStudio.Web.PasteJson.JsonPackage, Microsoft.VisualStudio.Web.PasteJson package did not load correctly.
the problem may have been caused by a configuration changhe or by installation of another extension. You can get more information by exmamining the file
C:\Users\AppData\Roaming\Microsoft\VWDExpress\11.0\Log.xml
continue to show this error message?
How do I get rid of this error?
I started to see this on the fresh windows & VS 2013 Ultimate with Update 2 installation.
To resolve the problem, close all Visual Studio instances head over to
C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
and delete all the files in the folder.
It worked fine for me. Thanks to this article.
Not relevant to VS 2012 express, but I experienced this problem with VS 2013 Premium. I had recently added the productivity power tools extension. To get back up and running, I loaded Visual Studio in safe mode:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>devenv /safemode
And un-installed the productivity tools. The errors went away.
You need to clear the ComponentModelCache folder or rename it. For Visual Studio 2013, it’s located in the %LOCALAPPDATA%\Microsoft\VisualStudio\12.0 folder.
Refrence:
http://www.rajapet.com/2014/02/when-the-editorpackage-does-not-load-correctly.html
I had Visual Studio 2013 Professional and I got the same error. I couldn't remove it until I repaired VS installation. It took a while but now it works fine.
I had this problem as I had an older version of VS2012 Express (release on Web Platform installer dated 15/08/2012).
Try installing 'Visual Studio 2012 Express for Web (Latest)' with release date 22/10/2012 from the Microsoft Web Platform Installer.
That is all I did and I no longer get those messages.

Unable to edit Orchard CMS site in Visual Studio 2012

I'm trying to create a site using Orchard CMS. To get started, I downloaded / installed Orchard from WebMatrix. I successfully setup a site using the "Default" recipe. I then click the "Files" tab within the accordian along the left side. From here, I can see all of the files in my project. To begin editing within Visual Studio 2012, I click the "Visual Studio" button in the ribbon.
Once inside Visual Studio, I right-click on the solution and select "Rebuild Solution". The solution begins building, but then I receive an error. The error says:
Error 1 Object reference not set to an instance of an object. C:\Users\username\Documents\My Web Sites\Orchard CMS2\Modules\Contrib.Cache\Contrib.Cache.csproj 1
Please note that at this point, I have not even edited a single file. Rather, I created a basic site and attempted to open it in Visual Studio. What am I doing wrong?
Only the full source code will build in Visual Studio. You can edit the compiled web site version that you downloaded in Visual Studio, but you won't be able to build it. It actually doesn't need building as it has dynamic compilation built-in.
If you want to build the framework and core, get the full source code version.

Resources