Error on Form Designer on Visual Studio 2012

Dear Sir,
I have used Visual Studio 2012 to develop my project for a long time.
However, suddenly Designer of all Forms come an error but the system can compile the project.
Therefore, I am not able to change the design of the Form in Visual Studio.
Any Suggestion?
Thank you very much.
The following is the Error of the Designer:
To prevent possible data loss before loading the designer, the following errors must be resolved:
1 Error
The type 'System.Configuration.UserScopedSettingAttribute' could not be found. Ensure that the assembly containing the type is referenced. If the assembly is part of the current development project, ensure that the project has been built.
Instances of this error (1)
1. Hide Call Stack
at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.ITypeResolutionService.GetType(String name, Boolean throwOnError)
at Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.FillAttributes(Resolver resolver, CodeTypeMember member, Attribute[]& customAttributes, MemberAttributes& memberAttributes)
at Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.InitializeFromType(ITypeResolutionService typeResolutionService, CodeTypeDeclaration typeDecl, String namespaceName)
at Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.InitializeFromType(ITypeResolutionService typeResolutionService, CodeNamespace ns)
at Microsoft.VisualStudio.Editors.SettingsGlobalObjects.SettingsFileGlobalObject.BuildType()
at Microsoft.VisualStudio.Editors.SettingsGlobalObjects.SettingsFileGlobalObject.GetObjectType()
at Microsoft.VisualStudio.Shell.Design.GlobalType.get_ObjectType()
at Microsoft.VisualStudio.Shell.Design.GlobalObject.GetHashCode()
at System.Collections.Generic.ObjectEqualityComparer`1.GetHashCode(T obj)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.TrackGlobal(GlobalObjectProvider p, GlobalType g)
at Microsoft.VisualStudio.Shell.Design.GlobalObjectService.GetGlobalObjects(Type baseType)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetTypeFromGlobalObjects(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetType(String typeName)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
Best regards,
Felix

Hello Felix,
The info seems tell us your project is corrupt. May I ask this question, will this error reproduce when you create a new simple project? This can be divided into two scenarios:
Scenario 1: The new project is also corrupt.
In that way, your Visual Studio may already corrupt. It's time for you to repair your Visual Studio from control panel.
If it still not work, try use some common steps below to fix:
Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE and run these commands:
1.devenv.exe  /safemode
2.devenv.exe  /resetskippkgs
3.devenv.exe  /installvstemplates
4.devenv.exe  /resetsettings
5.devenv.exe  /resetuserdata 
Scenario 2: The new project doesnot get this issue.
In this way, we should focus on this "The type
'System.Configuration.UserScopedSettingAttribute' could
not be found"
See here from MSDN to know how we can use it in our code:
https://msdn.microsoft.com/en-us/library/system.configuration.userscopedsettingattribute(v=vs.110).aspx
Check whether your code list something like below code and check whether you have missed anything here.
//Application settings wrapper class
sealed class FormSettings : ApplicationSettingsBase
[UserScopedSettingAttribute()]
public String FormText
get { return (String)this["FormText"]; }
set { this["FormText"] = value; }
[UserScopedSettingAttribute()]
[DefaultSettingValueAttribute("0, 0")]
public Point FormLocation
get { return (Point)(this["FormLocation"]); }
set { this["FormLocation"] = value; }
[UserScopedSettingAttribute()]
[DefaultSettingValueAttribute("225, 200")]
public Size FormSize
get { return (Size)this["FormSize"]; }
set { this["FormSize"] = value; }
[UserScopedSettingAttribute()]
[DefaultSettingValueAttribute("LightGray")]
public Color FormBackColor
get { return (Color)this["FormBackColor"]; }
set { this["FormBackColor"] = value; }
Or you can copy your project content to a new fresh project and rebuild your project with new settings.
Best regards,
Barry
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

  • App.Xaml cannot be edited in design view(Visual Studio 2012 for Window Store).

     App.Xaml cannot be edited in design view(Visual Studio 2012 for Window Store).

    The
    Simple Application Walkthrough specifically instructs one to edit App.xaml (because it previously had you inject a defect by changing the name of the file StartupUri property points to). So that is the scenario, or one of them. I assume it is 'valid'
    to rename MainWindow.xaml to whatever you want it to be.
    So there should be some way in the IDE to fix this (short of changing the file name back to match StartupUri). What is it? 
    Like another person here, I just edited it with a text editor and reloaded it into VS. But...

  • 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

  • Import SharePoint Designer 2013 workflows into Visual Studio 2012

    I have some 2013 workflows created with SharePoint Designer 2013. I can save the workflows as templates ie WSP files but i cannot figure out how to import them into visual studio 2012. Is this possible? please note the import resusable workflows option
    is for sharepoint 2010.

    "The workflow activities/actions are in separate assemblies, and each tool references a different one." so you will get an error when you try to open the SPD workflow using Visual Studio.
    Please check similar thread below for more details
    http://sharepoint.stackexchange.com/questions/75196/importing-a-sharepoint-2013-workflow-in-visual-studio
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • 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

  • Get error when passing server name to Crystal Reports in Visual Studio 2012

    Hello,
    I work on Visual Studio 2012 with Crystal Report 13.0.12 (both developer and run-time). When I pass the name of the server to the Crystal Reports, I get an error -- Failed to open the connection.  Database Vendor Code 17.  I use SQL OLEDB as the provider.  It worked before.  Not sure what has happened.
    Any help is much appreciated!!!
    John

    Hi,
    See this: Failed to open the connection - database vendor code 17
    --dj

  • C# expressions being lost when designing workflows in Visual Studio 2012

    When designing workflows in Visual Studio 2012, we are consistently running into a situation whereby clicking on the property value input box of an activity property, results in any existing value being cleared out and a message appearing which says "C:\
    ..... \obj\x86\Debug\TemporaryGeneratedFile_E7 .... D3.cs  This file has been modified outside of the source editor. Do you want to reload it?".
    Regardless of whether we choose Yes or No at this point, the property value has been erased and we cannot recover it. It happens more often than not. 
    We've also noticed that selecting the ellipses button within the activity property value input box results in a blank input box - even if a c# expression is clearly visible within the property window.
    We have installed the cumulative update for workflow manager 1.0 and are using Visual Studio 2012 with TFS 2012. 

    I have also noticed the same issue. Though sometimes you find the property box empty, if you close property window and open it again, it shows the value. There's few irritating issues in Visual studio 2012 workflow designer.
    About changing the file outside editor message, I've noticed if I open the workflow xaml file in xml editor inside visual studio with 'open with', then I get started the message.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Add-in for Access 2010/2013 with Visual Studio 2012 (2013 Preview)

    Hello!
    Am i right: Microsoft wants to kill Access in favor of Azure/SQL stuff?
    I was unable to find any Projects in Visual Studio 2012/2013 to create an Addon for Access 2010 or 2013 (only Word, Excel, Outlook).
    There is even no Microsoft.Office.Tools.Access.ApplicationFactory
    to install add-in to Access App.
    Any solutions for VS 2012?
    Or i should use outdated Shared Add-in with VS 2010?
    Thank you!

    Sorry Donald M from Microsoft,
    You need to rethink that response.  IDTExtensibility2 is an outdated Office 2003 technology. 
    Everything EXCEPT the ThisAddIn.designer.cs reference to ApplicationFactory _factory compiles when you switch references in another Office application's VSTO project template to msaccess and dao libraries.  Even the Access icon shows up in Visual
    Studio 2013.  The only reason a Ribbon.xml project will not load into Access is that Microsoft hasn't provided the Microsoft.Office.Tools.Access DLL for it.  If you leave the Factory reference pointing to global::Microsoft.Office.Tools.Factory,
    the add-in compiles but will not load.
    MICROSOFT: Please provide us the missing Factories for MSAccess and OneNote.
    Could not create an instance of startup object AccessRibbonAddin.ThisAddIn in assembly AccessRibbonAddin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=664b6483efff25e6.
    ************** Exception Text **************
    Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateStartupObjectException: Could not create an instance of startup object AccessRibbonAddin.ThisAddIn in assembly AccessRibbonAddin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=664b6483efff25e6.
    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.CreateEntryPoint(String entryPointTypeName)
    at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.ExecuteCustomization.Microsoft.VisualStudio.Tools.Office.Runtime.Interop.IExecuteCustomization2.LoadEntryPoints(IntPtr serviceProvider)
    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18052 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Microsoft.VisualStudio.Tools.Office.Runtime
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.dll
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18055 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    Microsoft.VisualStudio.Tools.Applications.Hosting
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.dll
    Microsoft.VisualStudio.Tools.Applications.Runtime
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.dll
    System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    Microsoft.VisualStudio.Tools.Applications.ServerDocument
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18036 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    Microsoft.Office.Tools
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.dll
    Microsoft.Office.Tools.Common.Implementation
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common.Implementation/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.Implementation.dll
    Microsoft.Office.Tools.Common
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.40305.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Office.Tools.Common/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.Office.Tools.Common.dll
    AccessRibbonAddin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Source/Home/Access/bin/Debug/AccessRibbonAddin.DLL
    Microsoft.Office.Tools.Common.v4.0.Utilities
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1
    CodeBase: file:///C:/Source/Home/Access/bin/Debug/Microsoft.Office.Tools.Common.v4.0.Utilities.DLL

  • 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

  • "The root activity type is invalid" while importing a xoml generated by sharepoint designer in visual studio

    I am facing a problem with Visual Studio. Following what I did:
    Copy and modify a workflow in sharepoint designer 2013
    Import the generated files (xoml, rules, config) in a Visual Studio 2012 module
    Build
    I cannot build nor package the solution, getting the "The root activity type is invalid" error.
    I read a lot of forum but I didn't figure out how to solve the issue.
    Any help is really appreciated.
    Dario

    Hi Dario,
    According to your description, my understanding is that you got an error when you imported SharePoint Designer reusable workflow into Visual Studio 2012.
    Please check your process per the article below, compare the result.
    http://msdn.microsoft.com/en-us/library/ee231580(v=vs.110).aspx
    If this issue still exists, please feel free to let me know.
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Visual Studio 2012 is no longer able to interact with any TFS server

    I can connect to the on-premise TFS2012 server using the instance of VS2012 installed on the server machine as well as the instance of VS2012 installed on a coworker's machine.
    I was able to interact with TFS2012 using the instance of VS2012 installed on my Win7 x64 machine, but only one time. Many reboots later, both of the server itself and my machine, I haven't been able to get VS2012 to interact properly with TFS.
    When I click on "Team" and select "Connect to Team Foundation Server", the "Team Explorer" VS window opens. In that window, no matter what button or link I click on, Visual
    Studio won't connect to TFS or allow me to choose a TFS server.
    1. Clicking on the Home icon takes me to page with two buttons: Pending Changes & settings.
    Clicking on "Pending Changes" takes me to a page where I can do 3 things: click on "no workspace" (nothing happens), click on Actions -> Open Source Control Explorer (which opens an
    empty Source Control Explorer Window, from which I can do nothing), click on "Settings", which shows me a page with 4 options:
    Security: clicking it results in the message "Team Foundation Error. Object reference not set to an instance of an object"
    Group Membership: clicking it results in the message "Team Foundation Error. Object reference not set to an instance of an object"
    Source Control: clicking it results in the message "Value cannot be null. Parameter name: serverName"
    Process Template Manager: clicking it results in the message "Value cannot be null: Parameter name: tpc"
    2. Clicking on the "Connect to Team Projects" icon takes me to a page where I can click on either:
    "Configure Team Projects": clicking it does nothing
    "Connect": clicking it does nothing
    "Sign Up": opens a Visual Studio Online page on my web browser
    If I instead go to File -> Source Control -> Advanced, there is only one option which appears to be working:
    Change Source Control. When I click on it I get a window with a table with rows that correspond to the current solution and the projects in the current solution. ie:
    Solution/Project: {item name}
    Server Name: "<No Server>"
    Server Binding: "<No Server>"
    Connected: {gray uncheckable checkbox}
    Status: "Not Controlled"
    Local Binding:
    Provider:
    Relative path:
    The buttons "Connect", "Disconnect", "Browse" are disabled. Clicking on the "Bind" button results in a window with the message "The mappings
    for the solution could not be found" and two buttons: Ok and
    Help. Clicking on Help results in a white window with the message:
    "The 'EurekaPackage' 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:\User\<username>\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml'.
    Continue to show this error message?"
    Clicking "yes" open the following page on my web browser, which essentially tells me to go back to the "Change Source Control" window and unbind the project, which VS is not letting me do:
    http://msdn.microsoft.com/query/dev11.query?appId=Dev11IDEF1&l=EN-US&k=k%28vs.tfc.sourcecontrol.MessageConnectionManagerCantBind%29;k%28TargetFrameworkMoniker-.NETFramework
    The following is an excerpt from the "ActivityLog.xml" file mentioned in the white window that appeared when I clicked on the "Help" button:
      <entry>
        <record>651</record>
        <time>2013/12/20 13:35:53.354</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>Begin export of category &apos;Source Control_TeamFoundation&apos; ({2A718788-A6D9-44C5-90EF-438BF5B06A74}) from package &apos;Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage, Microsoft.VisualStudio.TeamFoundation.VersionControl, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; ({4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}).  3349472 KB of virtual memory currently available.</description>
      </entry>  <entry>
        <record>652</record>
        <time>2013/12/20 13:35:53.354</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>End export of category &apos;Source Control_TeamFoundation&apos; ({2A718788-A6D9-44C5-90EF-438BF5B06A74}).  3349472 KB of virtual memory currently available.</description>
      </entry>
      <entry> <entry>
    <record>664</record>
    <time>2013/12/20 13:48:51.961</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, version=11.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
    <guid>{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}</guid>
    <hr>80070002</hr>
    <errorinfo>Could not load file or assembly 'Microsoft.Data.Entity.Design.BootstrapPackage, Version=11.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
    </entry>
    <entry>
    <record>671</record>
    <time>2013/12/20 13:50:19.757</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid>
    </entry>
    <entry>
    <record>672</record>
    <time>2013/12/20 13:50:19.757</time>
    <type>Warning</type>
    <source>VisualStudio</source>
    <description>Unexpected system error mode before loading package [Visual Studio Web Browser Package]</description>
    <guid>{E8B06F41-6D01-11D2-AA7D-00C04F990343}</guid>
    </entry>
    <entry>
    <record>676</record>
    <time>2013/12/20 13:50:19.820</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    </entry>
    <entry>
    <record>677</record>
    <time>2013/12/20 13:50:19.820</time>
    <type>Warning</type>
    <source>VisualStudio</source>
    <description>Unexpected system error mode before loading package [EurekaPackage]</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    </entry>
    <entry>
    <entry>
    <record>679</record>
    <time>2013/12/20 13:50:19.820</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [EurekaPackage]</description>
    <guid>{8C28E535-ABC9-4F92-B5C9-6C16617C8884}</guid>
    <hr>80070002</hr>
    <errorinfo>Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Web Tools\Eureka\Microsoft.VisualStudio.Web.Eureka.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo>
    </entry>
      <entry>
        <record>559</record>
        <time>2013/12/20 14:30:48.880</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>Could not convert file time to system time</description>
        <hr>80070057 - E_INVALIDARG</hr>
      </entry>
    </activity>
    What, if anything, can I do in order to be able to get Visual Studio 2012 to interact with TFS?

    I'll add that when I run devenv.exe with the flag /TFSLink, VS opens a Team Explorer window that contains the following text:
    An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\<username>\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml".Exception details:System.NullReferenceException: Object reference not set to an instance of an object.   at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

  • Unable to run the CODED UI in visual studio 2012 on windows 8

    Hi,
    I have recorded my first program (i.e Open windows calculator using Windows +R and typing calc in it) using CODED UI in visual studio 2012.
    I have create the new solution using CODED UI project. I have use the Recorded the steps using UImap- Coded Ui test builder.(i.e just opening the calc). All the class file ,CodedUitest1.cs, UIMap.cs, UIMAp.Designer.cs is generated.
    Now when i am trying to run the same test by using right click on Coded Ui method and trying to Click RunTests method I am getting the following below error
    ========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
    Could any one please help me if i need to add some special setting while running the code.

    You didn't specify any error.  The Build message is saying that MSBuild ran and found that 1 project was already up to date and didn't need to be rebuilt.  There were no other projects that were built.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • 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

  • 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

  • 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.

Maybe you are looking for