Visual Studio Source not available/ code not running error - visual-studio-2010

I am getting the following error while debugging the source code in Visual Studio 2013 edition. I have tried all the solutions present over the stackoverflow, but didn't get the success. I have also repaired and uninstalled/again reinstalled the Visual Studio 2013 but still gets the same error while debugging the code. I am unable to stop at the breakpoint during debugging. Can somebody please help in this?

Related

Visual Studio 2015 Community Package Did Not Load Correctly

I installed Visual Studio 2015 Community and when it was done, I launched it up and came up with this big error message:
" The
'Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage'
package did not load correctly. The problem may have been caused by a
configuration change or by the installation of another extension. You
can get more information by examining the file
'C:\Users*****\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.
Restarting Visual Studio could help resolve this issue. Continue to
show this error message? "
And then after I click YES or NO, it freezes Visual Studio no matter what I do! I need some help here.

SSIS - debugging not working

Recently started using Visual Studio 2012, converting SSIS packages from 2008, and seem to be unable to set breakpoints in Script Tasks. The error we're receiving says
Cannot start debugging. Pre-debugging negotiations with Host failed.
Cannot seem to find any information about this error, or what's causing it. There is also a brief flash of a dialog box that says
Visual Studio has encountered an unexpected error
but that disappears quickly.
This issue has been resolved. The input parameters were set incorrect and hence was failing. It has been fixed now
I think you install new version of Visual Studio you just have to uninstall the Visual Studio tools for Application for the new version then repair the Visual Studio tool for Application 2012 and every thinks will be good

Error in Visual Studio 2013: "No exports were found that match the constraint"

I don't know what happen with my Visual Studio 2013 Update 2.
When I opened my project, it displayed this message:
No exports were found that match the constraint:
ContractName
Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollection.Service
RequiredTypeIdentity
Microsoft.Internal.VisualStudio.PlatformUI.ISolutionAttachedCollection.Service
I am really confused. I've tried this solution, but it didn't solve my problem...
I had the same problem, so I shut down Visual Studio 2013, renamed the folder
C:\Users\{username}\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
to ComponentModelCache-old, and restarted Visual Studio which rebuilt the ComponentModelCache folder and all is back to normal.
It's not possible to help you without knowing:
the complete list of installed extensions,
the exact Visual Studio 2013 version,
the exact Windows version,
a brief reproduction script.
The most important clue you can get about the root cause, can be seen in Visual Studio Activity Log. I suggest starting Visual Studio with activity logging enabled (devenv.exe /log), reproducing the error and checking the log.
How to: Use the Activity Log,
Troubleshooting Extensions with the Activity Log.
If you download Visual Studio 2013 from Microsoft you will find the path C:\Users\{username}\AppData\Local\Microsoft\WDexpress\12.0\ComponentModelCache.
You should remove the file Microsoft.VisualStudio.Default.cache.
Then restart Visual Studio.

Visual studio 2010 unable to debug web application. Maybe corrupt installation?

I can't debug my Sharepoint 2010 project. Visual Studio 2010 shows me the following error message:
Unable to attach to he process. An error occurred that usually indicates a corrupt installation (code 0x80040154). If the problem persists, repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.
I experienced this problem some days ago for the first time.
At first repairing helped, but after a little time the error occurred again.
I have tried restarting computer, too, after which the problem was gone for only a little time.
I have uninstalled/reinstalled visual studio, but still no success.
How can I solve this problem, I have no idea about the reason.
EDIT: I have noticed that the problem occurs only when I try to debug a workflow code.
I have had this issue in the past and solved it by ensuring I'm compiling the code to x64. Check your settings in Visual Studio. SharePoint is 64bit only.
Good Luck.
I had a problem with the javascript debugger on a web project, and I got a similar error message. The fix was: Closed all instances of Visual Studio. I threw away the app in inetmgr, and re-opened visual studio with my solution that has my web app. It re-created the virtual directory on opening. Javascript debugger started working again.

Visual Studio error

I'm getting the following error in Visual Studio 2008:
Unable to create the component used to
generate ASP.NET Intellisense
information. This can occur if Visual
Studio or the .NET Framework is not
installed correctly.
I've re-installed all versions of the .Net framework, run devenv /resetuserdata like suggested online, and did a repair install of Visual Studio. However, I still get the same error.
I can click past this message, but get subsequent errors about package loading errors. Then the project won't build when it build just fine days ago. Does anyone know how to correct this?
about 4-5 months before i was also getting this error, but i resolved that by unistalling each and every component of Visual studio and Sql server and then again installing it....
I still don't know y this error had come.

Resources