Visual Studio 2012 - Source Not Available After Pressing Pause While Debugging

Hi,
In Visual Studio 2008, when we'd open a dialog in our application (Native C++, 64-bit) and pressed 'Pause', the debugger would automatically go to the location of the dialog in the code and the call stack would show the series of calls to arrive
at the current position.
Now that we've upgraded to Visual Studio 2012, this functionality is lost.  When we press 'Pause', a 'Source Not Available' tab will appear.  The call stack shows the following:
ntdll.dll!ZwWaitForSingleObject()
KernalBase.dll!WaitForSingleObjectEx()
<several lines of nvoglv64.dll>
kernel32.dll!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
At first we thought it was a symbol issue since none of the Windows-related dlls had pdbs. None of our workstations are connected to the Internet so I used symchk to download all the required symbols.  Despite all of the symbols now being loaded, the
debugger still doesn't show the actual call stack into our code.
Is there a setting somewhere that needs to be set? Or are we out of luck since our machines are never online?
Any thoughts are apprecated.
Thanks.
Visual Studio Premium 2012 (11.0.60610.01 Update 3)

Hi,
Welcome to MSDN.
In Visual Studio 2008, when we'd open a dialog in our application (Native C++, 64-bit) and pressed 'Pause', the debugger would automatically go to the location
of the dialog in the code and the call stack would show the series of calls to arrive at the current position.
Now that we've upgraded to Visual Studio 2012, this functionality is lost.  When we press 'Pause', a 'Source Not Available' tab will appear.  The
call stack shows the following:
ntdll.dll!ZwWaitForSingleObject()
KernalBase.dll!WaitForSingleObjectEx()
<several lines of nvoglv64.dll>
kernel32.dll!BaseThreadInitThunk()
ntdll.dll!RtlUserThreadStart()
According to these words above, do you mean clicking “Break All” as following image?
The error means that our project does not contain source code for the code that we are trying to view, you could refer to
this link for more information.
In order to solve this issue, you could debug it in another machine which can download symbols form Symbol Servers, then copy that
symbols to your machine to test.
You could change the Symbols setting of the Visual Studio of the other machine as following image:
Then copy the symbols in that directory to your machine, and change the Symbols settings to your local directory to test.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Visual Studio 2012 crashes at startup after installing Measurement Studio 2013

    Hi,
    History:
    VS2012 (with Update 4) has worked without problems for a few months.
    Installation of Measurement Studio 2013: at first, everything is ok.
    Reboot of the PC: VS2012 crashes at startup, showing the splash screen, "not responding"
    Deinstallation of Measurement Studio: VS2012 is working again.
    Re-Installation of Measurement Studio: VS2012 is crashing again.
    Repair-Installation of Update 4 of VS2012: VS2012 is working again ... until a reboot of the PC.
    Starting VS2012 in SafeMode: working, but i cannot use Measurement Studio in this mode (of course).
    PC is Windows 7 Professional 64Bit, Service Pack 1
    I also reinstalled VS ... without success. Any other ideas?
    Log of eventviewer has two entries, see attached File

     
    Hi,
    There were no updates during that night, but some during last night. And I'm not sure if the update 4 really is responsible for that behaviour:
    Yesterday after the crash I installed Update 4 again: it worked. Reboot: it worked.
    Starting System right now: it is crashing again.
    Currently  there are 3 Updates on the system related to VS:
    KB2707250 (The Update 4)
    KB2781514
    KB3002339
    With KB3002339 an issue with ASP.NET will be fixed. Well....i'm not using ASP.NET, just a step in the dark: i made a repair installation of this update and it is working again. How long? Maybe even god doesn't know ...

  • Can't perform a Apple Hardware Test because the alternate menu does not appear after pressing "D" while it restarts. What can I do?

    I followed the instructions on the macbook manual and inserted the disk, i pressed and hold "D" but the menu did not appear.
    I want to know if there is anything that can be done.
    Thanks

    Is the DVD you are trying to use the original install DVD or a retail Snow Leopard DVD

  • SSIS failed to execute in SSDT-BI for Visual studio 2012 after SQL 2012 SP2 upgrade

    Hello,
    I have applied sql server 2012 sp2 on my dev workstation and I am currently having this error message when trying to execute a SSIS package from SSDT-BI for visual studio 2012 : "Method
    not found: 'Boolean Microsoft.SqlServer.Dts.Design.VisualStudio2012Utils.IsVisualStudio2012ProInstalled()'. (Microsoft.DataTransformationServices.VsIntegration)"
    I found this link on SSIS forum :
    IsVisualStudio2012ProInstalled() method not found error when running an SSIS package from VS2012
    I don't have neither Gacutil.exe nor Visual studio professional installed so it can't be fixed this way... and anyway, this means we will use the old assembly version of ssis...
    sql server 2012 sp2 setup doesn't apply to SSDT-BI 2012 ?
    what can we do ?
    thanks,
    Stéphane

    Hi Stephane Guilleminot,
    According to your description, you do not execute a SSIS package from SSDT-BI for visual studio 2012 after upgrading to SQL Server 2012 SP2. The workaround is still necessary to apply SP2 and CU1 for SP2 (11.0.5532), then you still have to replace Microsoft.SqlServer.Dts.Design.dll
    (11.0.5532.0) with the last working version: 11.0.3412.0 from SP1 CU9.
    There is similar issue about executing SSIS package after upgrading SQL Server 2012, you can review the following similar post.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/53606f1b-38b0-48d3-a526-12cac5258d0b/vs2012-reports-failed-to-start-project-when-executing-ssis-package-after-applying-cu10-for-sql?forum=sqltools
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click
    here.
    Sofiya Li
    TechNet Community Support

  • Silverlight 5 and WCF Ria Services Link Visual Studio 2012

    Hi, I have a Visual Studio 2010 Project, I installed Visual Studio 2012 and Opened the Project with VS 2012. I can run the Project without issues but at design time the Web Project is no recognized as a valid reference.
    My Silverlight application has a WCF RIA Services link to this Project. If I switch to Visual Studio 2010 I have not design time errors.
    Why in Visual Studio 2012 my Silverlight 5 Project shows a message indicating the Web Project namespace does not exists?
    Obiously the reference does not exists because is a WCF RIA Services link and VS Should infer the namespace.
    I've notice that the generated code is being created with the right namespace, it's just that Visual Studio 2012 is not recognizing the classes in the generated code.
    Help please.

    Hi,
     You need add web service again for VS-2012. You can see the step by step process
     http://atikpassion.blogspot.com/2013/01/add-service-after-migrating-silverlight.html
    Hope it will help you.
    Regards atik sarker

  • How can I execute a existing source code in visual studio 2012?

    My friend sent me a mini project(ASP.Net) through mail in a zipped folder. I extracted it and it contains source code and databases. I don't know how to execute it in visual studio 2012. I read that I can do it by choosing Project from existing code option
    from the file menu.But I don't find the option.Kindly help me how to execute that project which I received through mail in visual studio 2012. 

    In case of ASP Web Sites, which do not require solution and project files, go to FILE
    à Open
    à Web Site, then select the folder from File System.
    If nothing work, then perhaps you do not have the required version of Visual Studio. Then give more details or clarify it with your friend. The database probably requires some preparation steps too.

  • Visual Studio 2012 Toolbox - Choose Items Dialog will not display

    Hi
    When i click on a new or exisiting tab in the toolbox and select 'choose items' the dialog box does not display this is either from the main menu or context menu.
    I've reset the toolbox, deleted the .tbd files, run devenv in safemode, reset settings, reset skip packages and nothing.
    The status bar says the dialog box is opening but soon as you focus the ui this status message disappears.
    I also have VS2010 installed and this is working fine
    Anyone any ideas ???

    Hi f4tb0v,
    Thanks for your post.
    If that dialog is not display after you click "choose toolbox Items", Visual Studio on your OS may corrupt.
    Could you please repair VS2012 from control panel?
    By the way, can you run Visual Studio 2012 as administrator, can you see the dialog?
    If the error persists, try gather activity.xml by referring to  http://msdn.microsoft.com/en-us/library/ms241272(v=vs.110).aspx and then share the file
    to www.skydrive.com  Then right click the file to share it, you will be able to get a link for me.
    I also recommend you do a reinstall of VS2012 to see if the issue can be fixed.
    Regards,
    Barry Wang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Why does Visual STudio 2012 References keep showing Exclamation mark (which means assembly is missing) even after I specify the exact path?

     Our web application at work requires Visual Studio 2012
    For one of the projects within the Visual Studio 2012 Web Application Solution, we need the System.Web.Mvc in the References.
    I already have the following in the packages folder:
    {blah...blah..Visual Studio Solution path..blah}\packages\Microsoft.AspNet.Mvc.5.1.1\lib\net45\System.Web.Mvc.dll
    I keep adding it, but the References still shows the Exclamation mark ( which means missing) next to the System.Web.Mvc
    Why does it keep showing the Exclamation mark ( which means missing) , even after I specify the exact path to the System.Web.Mvc.dll ?

    Hi cslewis33,
    Thank you for posting in MSDN forum.
    Based on your issue, if you want to add the System.Web.Mvc reference for a web application in VS2012. As far as l know that the System.Web.Mvc dll is default be located like this path:" C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies\System.Web.Mvc.dll.
    So if you create the web app using c# language, I suggest you can right-click your Reference under the we application -> Add Reference->select the System.Web.Mvc in the Assemblies tab.
    If the above suggestion still could not help you, I suggest you can consult this issue directly to the ASP.NET forum:http://forums.asp.net/ , maybe you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cannot preview SSRS report in Visual Studio 2012 - assembly does not allow partially trusted callers

    Hi,
    I have an SSRS report that works fine in Visual Studio 2008 BIDS.  This report references a .Net assembly namely:
    System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    I use this assembly in some simple Code functions in the report. e.g.
    System.Web.HttpUtility.UrlEncode(inURL).ToString
    I have converted the SSRS project to 2012 and am trying to preview the report.  However, I get an error relating to: "That assembly does not allow partially trusted callers".  If i deploy the rdl to my local SSRS it renders fine, but
    how do I fix Visual Studio to preview the report without error? This is highly annoying.
    My Visual Studio version is:
    Microsoft Visual Studio Professional 2012
    Version 11.0.61030.00 Update 4
    Microsoft .NET Framework
    Version 4.5.51641
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 11.0.3402.0
    Any help is appreciated on this one.
    Regards,
    MrHH

    Hi MrHappyHead,
    According to your description, you used custom assembly in the report, when you run the report in Visual Studio 2008, the report works fine. When you run the report in Visual Studio 2012, the error message occurred: "That assembly does not allow partially
    trusted callers".  But the report works fine after you deployed it to report manager.
    Only applications that are fully trusted by the runtime code access security system are allowed to access a shared managed code assembly that is not explicitly marked with the System.Security.AllowPartiallyTrustedCallers attribute. A partially trusted assembly
    (one that is registered in SQL Server with the SAFE or EXTERNAL_ACCESS permission set) that attempts to access a strong-name signed assembly without this attribute causes a System.Security.SecurityException to be thrown. To troubleshoot the problem, please
    refer to the following steps:
    Add namespace system.security to AssemblyInfo.cs file
    Add [assembly:allowpartiallytrustedcaller] to the file.
    Set trust level to "Full" in web.config file
    For more information, please refer to the following document:
    http://support.microsoft.com/kb/2869522/en-us
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Problem installing Visual Studio 2012 Professional, "security ID may not be assigned as the owner of this object"

    I'm trying to install Visual Studio 2012 Professional edition on my work laptop, Windows 7 Enterprise, Service Pack 1. I have limited admin rights and should be able to install
    programs on this laptop but when I try to install VS 2012, I get the following error message: 
    "This security ID may not be assigned as the owner of this object."
    Any idea why this is happening?

    Hi,
    You must have administrator credentials to install Visual Studio. However, you do not have to have these credentials to use Visual Studio after it is installed.
    More information you can refer to:
    http://msdn.microsoft.com/en-us/library/e2h7fzkw(v=vs.110).aspx
    Please install the Visual Studio 2012 as the administrator.
    Best regards,
    Ego [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Visual Studio 2012 Ultimate - GUI not loading.

    Recently, my copy of Visual Studio 2012 Ultimate has started loading in with a completely white screen with only the grey General bar on the left.
    The other graphics render after resizing the window but the menu items (File, Edit, View, etc.) won't drop down menus when clicked on.
    I have tried repairing Visual Studio (through Programs and Features), but the problem persists.
    Has anyone else had this issue? Did you manage to fix it?

    Hi Jaosh,
    Glad to receive your reply.
    According to your description, you mean that when you re-install the VS 2012 Ultimate, the grey General bar and
    the window’s menu items (File, Edit, View, etc.) still won't drop down menus when you clicked on, am I right?
    If yes, to make sure the issue if it is related to the VS IDE or Windows System, I suggest you can try to install
    the VS 2012 Ultimate on another machine check if you get same issue.
    Note: you'd better sure you have same system configuration on another machine.
    If you did not get same issue on another machine, I doubt that the issue may be related to your windows system.
    I suggest you can repair your machine and then check this issue again.
    If you still get the issue, I think that I suggest you can try the following commands to check the issue.
    Step1: You can try to run your VS in safe mode check this issue again.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms241278(v=vs.110).aspx
    Step2: You can try to reset the setting file by using
    devenv /resetsetting commands
    Step3: You can correct the log and upload the onedrive, then copy link here.
    http://msdn.microsoft.com/en-us/library/ms241272(v=vs.110).aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual studio 2012 the name "initializeControl" does not exist in the namespace in visual WebPart

    Hi All,
    I'm trying to create a visual webpart in SharePoint 2013 using Visual Studio 2012 and I am seeing that the file ascx.g.cs
    is missing and i have this error in file ascx.cs : the name "initializeControl" does not exist in the namespace.
    And like i said i use VS2012 Ultimate
    Can anyone Help me please!!!
    thanks.

    In most scenarios this is caused by some error in code preventing Visual Studio from generating the designer file. You could try to undo the latest changes and see whether the item is being generated or not. Additionally you could try checking if the custom
    tool is still associated with the Visual Web Part SPI in the Properties Window.
    w: http://blog.mastykarz.nl | t:
    @waldekm | c: http://mavention.codeplex.com | c:
    http://mavention.nl

  • Visual Studio 2012 SharePoint Project Error : The partial project item type does not have a value for this property

    Hi,
    I am getting this error from visual studio 2012 whenever i try to create the following project types:
    - Workflow Custom activity
    - Web parts
    The error is as mentioned below
    "The partial project item type does not have a value for this property"
    Due to this the when I add above type of items in my project, they show a red cross icon against them.
    Please let me know If have you any solution?

    Hi
    I had same issue. Below is the solution
    Installing
    "Visual Studio 2012 Update 3" usually solves this problem. (You can download it through microsoft's official site at
    "http://www.microsoft.com/en-in/download/details.aspx?id=39305")
    Hansraj Rathva

  • Visual Studio 2012 cannot resolve symbol or Errors control is not a member of class

    Visual Studio 2012 Web Site Project (Note not a Web application, so there are not Designer.vb files) > Site works perfectly fine and using IIS and attaching to IIS to debug code.
    However, if I try to build the site inside of Visual Studio I am getting lots of Errors ‘pnlName’ is not a member of ‘Page_Name’ In the code behind I am getting errors ‘Cannot resolve symbol ‘pnlName’
    .ascx Page
    <li style="margin-right:0;" id="pnlName" runat="server"><a href="/cart" title="Checkout" class="global-checkout">Checkout</a></li>
    .ascx.vb page
    Me.pnlName.Attributes.Remove("style")
    I have cleaned, rebuild and nothing gets rid of these errors, but again the site works as designed, but I would like to launch and debug inside of Visual Studio.
    Moojjoo MCP, MCTS
    MCP Virtual Business Card
    http://moojjoo.blogspot.com

    Cor,
    What I am stating is this is a solution using the Web Site Project instead of a
    Web Application Project.
    Web Site projects do not require Designer.vb files, Web Application Projects add Designer.vb files in the solution.   
    Background: I have been hired to support a very successful e-commerce site that was built by a 3rd party vendor (I had no input on the contract or specification, because I would have went with
    MVC).  The site works 100% correctly, however from my 2003 - 2015 experience with Visual Studio and Web Development being in Web Forms and MVC I have always built ASP.NET Solutions using the Web Application Project Templates, which compiles the code down
    to .dlls.  
    A Web Site project does not compile the code, but simply uses the .vb files and they have to be migrated to the server with the .aspx files. http://msdn.microsoft.com/en-us/library/dd547590%28v=vs.110%29.aspx
    Currently the only way I can debug this Solution is to attach to the w3wp.exe process running locally on my work station. 
    The Solution is comprised of two Web Sites, which I cannot get it to compile because of the following errors -
     'webServerControlName' is not a member of '(Protected Code Behind Class Name)'  I am reaching out to the MSDN community to see if anyone has experienced this issue with
    Web Site Projects.
    I hope that clears up the Project Type question.
    Moojjoo MCP, MCTS
    MCP Virtual Business Card
    http://moojjoo.blogspot.com

  • "Object reference not set to an instance of an object." in Visual Studio 2012 Entity Framework Model-First

    Hello
    We're trying to use a Model-First with Entity Framework in Visual Studio, targeting an Oracle XE 11g installation.
    No matter from what angle we're approaching the issue, we always end up with an "Object reference not set to an instance of an object" in Visual Studio:
    First way:
    - Add new ADO.NET Entity Framework Model to a .NET Framework 4.5 project
    - Empty model
    - Add some entities and associations
    - Set Database Generation Workflow to "Generate Oracle Via T4 (TPT).xaml"
    - Set DDL Generation Template to "SSDLToOracle.tt"
    - Generate Database From Model
    - VS asks for DB connection ==> Click "New Connection"
    - Enter the connection properties to the Oracle XE database. "Test Connection" tells me the connection is okay.
    - Click OK. Visual Studio shows the following error message:
    (here's the image if it's not visible: https://dl.dropboxusercontent.com/u/35614983/vs2012_oracle_ef_error.png)
    We also tried to generate the model in VS2010 and then manually transform it to an EF5 / VS2012 model. At the "Generate Database from Model" step, the same error appeared.
    We also tried to generate the model from database (Database-First approach). Same error.
    My configuration:
    - Windows 7 Ultimate 64-bit
    - Installed Oracle client: ODTwithODAC1120320_32bit.zip, so the version is 11.2.0.3.20
    - Visual Studio 2012 Update 3 (11.0.60610.01)
    Thanks for any hints!
    EDIT: I just read that ODP.NET doesn't seem to support Entity Framework 5, so I tried a new project with Entity Framework 4.1, but I get the same errors.
    EDIT 2: On a 32-bit Windows 7 virtual machine, everything works fine. Seems the problem is only there on my 64-bit Windows 7 machine.

    Sorry for the delay on this one. Let me know if you are still seeing this and I will see if we can get more diagnostic info somehow.
    That error is basically an exception fault. It means a bug or a misconfiguration of Oracle Developer Tools. Can you try to reinstall ODT and see if you notice any unusual errors during install.. and see if a reinstall fixes the problem?

Maybe you are looking for

  • What's wrong with this widget code?

    Hi everyone, (I hope this is a good place to put this) I'm trying to build a widget in Dashcode, and one of the things I want to do is run a system command (specifically "ps -ax"). I enabled command line access in the widget attributes, and I now hav

  • I can't download my apps! Help!

    I restored all the definitions of my ipad and now I can't download my apps! I go to my purchased apps, I click in the cloud button with an arrow but it simple don't install!! Nothing hapens!!! How can I fix it??

  • Installing Oracle R12 External HDD

    Please can anyone provide with me with some good steps to install Oracle apps R12 based on the following information: Windows 7 Professional on Laptop HDD - 100gb External HDD - 500gb Ram- 2gb Thanks in advance Ify

  • Apple care plans

    what exactly is the difference between these two products M9859LL - this is the apple care package i got from amazon for $99 hurry only 4 left. - not found in apple store - believed to be discontinued - useless this is only for the g4 mini - worried

  • Having trouble with choppy leopard graphics

    I have just installed leopard and most, not all of the time, the graphics are slow and choppy. Using spaces, expose, cover flow, stacks and even at times dragging windows has a stop-start nature. Is there any software update that I need or is it just