Exception not showing Source Lines in visual studio 2012 - asp.net

Recently my Visual Studio 2012 has stopped opening the source line when an exception is thrown and double clicking the line in the callstack doesn't go to the source line either.
I'm using visual studio 11.0.50727.1 RTMREL and have .NET 4.5.51209 installed.
This is occurring in a .net 3.5 asp.net web application.
I have resharper 7.1.3 installed as well, though that has never caused this issue before.
How do I fix it?
Update:
I created a new vb.net Empty Web application, added a Default.aspx that throws an exception, and have the same problems. (Being that it doesn't automatically navigate to the line of code with the exception, and also doesn't navigate when double clicking on the top of the call stack)
I used the following test line:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim x As String
x = "hello world"
Throw New Exception("oh no")
End Sub
here's my visual studio Info:
Microsoft Visual Studio Ultimate 2012
Version 11.0.50727.1 RTMREL
Microsoft .NET Framework
Version 4.5.51209
Installed Version: Ultimate
Architecture and Modeling Tools 04940-004-0038003-02335
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Team Explorer for Visual Studio 2012 04940-004-0038003-02335
Microsoft Team Explorer for Visual Studio 2012
Visual Basic 2012 04940-004-0038003-02335
Microsoft Visual Basic 2012
Visual C# 2012 04940-004-0038003-02335
Microsoft Visual C# 2012
Visual C++ 2012 04940-004-0038003-02335
Microsoft Visual C++ 2012
Visual F# 2012 04940-004-0038003-02335
Microsoft Visual F# 2012
Visual Studio 2012 Code Analysis Spell Checker 04940-004-0038003-02335
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
JetBrains ReSharper 7.1.3 Full Edition build 7.1.3000.2254 on 2013-04-10T22:48:18
JetBrains ReSharper 7.1.3 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2014 JetBrains, Inc.
NuGet Package Manager 2.0.30625.9003
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 11.1.40706.0
Microsoft SQL Server Data Tools
StyleCop 4.7.49.0
Provides source code style and consistency tools. See http://www.stylecop.codeplex.com/ for more details.
Web Developer Tools 1.0.30710.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Ok, I found a fix.
Rebuild Solution
Close Visual Studio
Open IIS and stop the web server
recycle all application pools
Clean out the Temporary Internet Files in C:\Windows\Microsoft.Net\Framework#version#\Temporary ASP.NET Files
After that the test project, and the original project worked as expected.

Related

Unable to Edit crystal report on client machine.

I have deployed my asp.net project through IIS on client machine. I have installed crystal report runtime to execute my project successfully. But I can't edit any report. When I tried to install crystal report developer version it's asking for visual studio.
What edition I need to edit crystal report on client machine ? Please help.
I am using visual studio 2010
Microsoft Visual Studio 2010 no longer includes Crystal Reports in the bundle.
In Visual Studio 2010, to create a Crystal Reports project or Web site or to import existing projects or Web sites that were created by using older versions of Visual Studio or Crystal Reports, you must first install a version of Crystal Reports that is compatible with Visual Studio 2010.
As per my experience,
Visual Studio 2010 should be installed first.
You would need CRforVS_13_0.exe (and not msi) version for Visual Studio 2010.
(Also check prior 32/64 bit version too)
And then you can edit the report from your project.
See: https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
It provides links and instructions for downloading what you need.

No endpoint listening error in new web site in Visual Studio 2015 Community

I just downloaded Visual Studio Community 2015
I am trying to create a new web site using VB.net. When I create a new web site (not a project) and use the web forms template, the application generates a site for me with all the standard pages, resources, etc. The issue is every page that gets created has the first line of every .aspx page highlighted with an error. This is the line that was generated in the Default.aspx page:
<%# Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>
And the error that I get when I hover over the line says this:
"C:\Users\jonat\OneDrive\Documents\Visual Studio 2015\Websites\Website1\Default.aspx: ASP.NET runtime error: There is no endpoint listening at net.pipe://localhost/f0934344-a63a-4324-ba7c-62644c40c01/CBMOutOfProcService that could accept this message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
I have no idea what this error message is trying to tell me. All I did was try to create a new web site. I did not change any code in any page or any file that was generated by Visual Studio and yet I get this error.
Any ideas?
Thank you,
Jonathan
I have the following from Visual Studios About:
Microsoft Visual Studio Community 2015 Version 14.0.25424.00 Update 3 Microsoft .NET Framework Version 4.6.01038
Installed Version: Community
Visual Basic 2015 00322-20000-00000-AA487 Microsoft Visual Basic 2015
Visual C# 2015 00322-20000-00000-AA487 Microsoft Visual C# 2015
Visual C++ 2015 00322-20000-00000-AA487 Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 7.1.00719.1 Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11107.0 ASP.NET and Web Tools 2015.1 (Beta8)
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0 For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0 For additional information, visit http://www.asp.net/
Common Azure Tools 1.8 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JavaScript Language Service 2.0 JavaScript Language Service
JavaScript Project System 2.0 JavaScript Project System
Microsoft Azure Mobile Services Tools 1.4 Microsoft Azure Mobile Services Tools
NuGet Package Manager 3.4.4 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.60519.0 Microsoft SQL Server Data Tools
TypeScript 1.8.35.0 TypeScript tools for Visual Studio
Open VS 2015 as Administrator.
Just seen the answer
now.

Business Intelligence for Visual Studio 2013 extraction error

We are planning to use SSRS for reporting, using Visual Studio 2013 and SQL Server 2012. i've tried a few times to download the plugin from Microsoft's site:
Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013
After downloading whenever I try to run the exe I get an extraction failed message, doesn't say anything else about the error. I'm running Windows 7 64bit, have .Net 4.5.1 installed. Has anyone been able to install it?
We resolved the issue, our anti-virus was blocking the extraction. Disabled the anti-virus and it extracted and installed fine.

Visual Studio 2013 and ASPX view engine

We have a VS 2010, MVC 2, ASP.Net 4.0 and ASPX view engine project that we need to upgrade. I have installed the below version of the VS 2013. I am not seeing an aspx engine option when i click on new website. Am i missing something here?
I wanted to create a webproject and then copy paste the items from the old project to new rather than dealing with upgrade issues like on our MVC 3/Razor project upgrade couple of weeks back.
Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.50938
Installed Version: Professional
LightSwitch for Visual Studio 2013 06177-004-0444002-02646
Microsoft LightSwitch for Visual Studio 2013
Microsoft Office Developer Tools for Visual Studio 2013 ENU 06177-004-0444002-02646
Microsoft Office Developer Tools for Visual Studio 2013 ENU
Team Explorer for Visual Studio 2013 06177-004-0444002-02646
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0444002-02646
Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0444002-02646
Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0444002-02646
Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0444002-02646
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0444002-02646
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.0.11001.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.
Adds visual guides at each indentation level.
Microsoft Web Developer Tools 2013 2.0.40926.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure
Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services Tools
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
Thanks
Looks like it is not supported as of yet, but MS is planning on adding the support in a future release.
http://blogs.msdn.com/b/webdev/archive/2013/06/27/html-editing-features-in-visual-studio-2013-preview.aspx
I had to look this up the other day for the exact same reasons as you, however, we are converting our views to razor at the same time, so impact was minimal on our end.
WebFormViewEngine is installed by default. just check out the ViewEngines.Engines collection. Its output are:
System.Web.Mvc.WebFormViewEngine
System.Web.Mvc.RazorViewEngine

How install LINQ Preview May 2006 on windows 7?

I have Visual Studio web developer Addison , Visual Basic 2005 Express Edition, Visual C# 2005 Express Edition and Visual Web Developer 2005 Express Edition installed on my system.
My operative system is a Windows 7
When I start the installation of "LINQ Preview (May 2006).msi", I get the next error message: "Cannot find a valid Product to install LINQ with".
I click in the Accept button and get a second message: "You must have either Visual Studio 2005, Visual Basic 2005, Visual C# 2005 or Visual Web Developer 2005 installed before installing Microsoft .NET LINQ Preview (May 2006) Do you want to download Visual Studio 2005 Express Editions now?"
Why not install the 2008 express editions? They have LINQ built in [and hence dont require previews]. Is there something specific about the preview bits you're interested in examining?

Resources