visual-studio-development-forums,visual-studio-extensibilityRelated issues-Collection of common programming errors


  • msdn
    visual-studio-development-forums microsoft-office-for-developers-forums visual-studio-tools-for-office-vsto
    I have create a excel project using VSTO. It retrieves data from a web service. I have a project template sheet, which has a list object on it.  As I pull a dataset from the web service, it places the data in the list object.  Then I take the project template sheet copy it and then rename it to the current project’s dataset. I get a copy method failed after I have loaded approximately 100 sheets in the workbook.  I have set up a button that auto loads the projects from list box. This the error:”

  • msdn

  • msdn
    visual-studio-development-forums visual-studio-lightswitch-general-questions
    Hello, I am was trying to deploy a LS app that uses DB to Windows XP / IIS / SQLexpress and ran to many issues, so reading the threads, I decided to switch to a Win Server 2003 with IIS and SQL express, I set them up according to articles I found on thenet deployed my app and got the above error, I can see DB tables getting created but forms never load, but to eliminate the DB, I decided to just build a simple app in LS with nothing, just New / Project / Save & Deploy 3 tier , I can deploy w

  • msdn
    visual-studio-development-forums microsoft-azure-forums visual-studio-online
    Today when I tried to pull and checkin code with “git tf” it keeps asking for password, even though I’ve stored it in config, and when I enter the password it still fails with:git-tf: Access denied (authenticating as [email protected]): The required field ‘wrap_password’ is missing.The username/email is correct and I’ve double checked the password. Something bad with the tfs service today? This worked just fine a couple of weeks ago./Johan

  • msdn

  • msdn
    visual-studio-development-forums visual-studio-setup-and-installation
    Hi,I tried to instal Visual Studio 2012 Express For the Web on my Windows 7 System (French Version). Installation blocked when it tried (apparently) to install Framework 4.5. But Framework 4.5 is already installed; because Visual Studio Express 2012 for Desktopwas installed before, and this version works fine. Is suppose installation program lacks testing if Framework is installed, and Windows 7 blocked overwriting same files. I don’t know if it will be same thing with SQL Server Expre

  • msdn
    visual-studio-development-forums visual-studio-setup-and-installation
    Hi there im trying to install Visual Studio 2013 on my new laptop but Setup keeps failing.  All windows updates are done.  Tried installing from ISO that works fine on my other pc and just tested the ISO on a friend pc and works fine.  Busydownloading the VS2013 RTM ISO as we speak to give that a try.  Here is the link to my log files using the VSCollect tool provided on this forum. Installed VS2012 with no problem except the Web Deploy 3.0 that failed but which can

  • msdn
    visual-studio-development-forums visual-studio-lightswitch-general-questions
    I am deploying my Web application to a windows 2008 r2, remote server using Visual studio but when i try to run my application i get the following:Load operation failed for query ‘GetAuthenticationInfo’. The remote server returned an error: NotFound.1.iis has only anonymous & windows authentication enabled2.ms lightswitch 2012 server prerequesties installedI tried  the following which did not help:Repaired .net 4 client profile & extended using control panelCan you please help

  • msdn
    visual-studio-development-forums visual-studio-setup-and-installation
     I went thru ScottGu’s blog about how to uninstall VS 2008 Beta 2 and even downloaded Microsoft’s CleanUp tool and removed the components that VS 2008 RTM needed uninstalled before proceeding.  However, it is still failing – Log:[11/28/07,08:13:16] Windows SDK Reference Assemblies And Intellisense (x86): [2] Error: Installation failed for component Windows SDK Reference Assemblies And Intellisense (x86). MSI returned error code 1603[11/28/07,08:13:25] Windows SDK Win32 Tools (X86): [2] Error: In

  • msdn

  • msdn

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    HiI’d like to create a macro that will build a specific project, attach the resulting assembly to Cassini, and launch a browser pointing to a specific webpage (on cassini, of course)Thanks to the macro recorder, I can do that, but now, I’d like to edit my macro so that if the build failed, instead of Attach/launch, visual studio should be bring to the front.But :- I don’t know how to know if my build failed or not (can i add a build event in my recorder generated macro ?)SolutionBuild.LastBuildI

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    I’m writing a feature extension with the feature builder power tools. After creating a new project based on the extension it’s possible to add a new project via context menu. This context item will add a new silverlight project to the solution. This is workingfine via project template. After adding the project I want to create a new folder within the added project but this fails because p.ProjectItems is null!p.ProjectItems.AddFolder(“Test”);Structure of the solution:  Solution&nb

  • msdn
    visual-studio-development-forums visual-studio-extensibility
      I have a context menu button when the user right click on an project node.The button need to execute an msbuild target called “Package”.The target has dependency on “build” target.The target works find on command line:> msbuild /t:PackageThe above command line works fine. The project will get build first, and then our “Package” target works.But for the context menu button, I tried to use the IVsProjectBuildSystem.BuildTarget(“Package”, out success), but it fails.Following is my code:First,

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    I’m looking for help again… This time I’m following the walkthrough for deploying a DSL.It is failing for me when attempting to compile the project. I get a build error:The “WixToolsPath” parameter is not supported by the “FindDslToolsInstallation” task. Verify the parameter exists on the task, and it is a settable public instance property.I’ve looked for both those strings in the generated wxs and found nothing useful.Can anyone suggest a fix?Thanks,Brian.

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    I’m trying to add splash screen and About box info for an extensibility package.  I’m following the recipe in Jim Glass’ blog on this topic. When I run devenv /setup /log, the log file shows that SetSite fails for the package. The actual error is MK_E_UNAVAILABLE. I can see my package information in the About box, but not in the splash screen. I’ve some earlier posts related to this topic, but I’m still not sure what needs fixing. — Paul

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    When this line of code is called, it fails for a small minority of users. There doesn’t seem to be any common characteristic amongst the users that experience an error.ToolWindowPane pane = this.FindToolWindow(typeof(MyCustomWindowPane), 0, true);This is the error code that is generated:System.Runtime.InteropServices.COMException (0x80004005): The requested toolbar can not be found. — {9957E232-881B-45DE-A3B3-EA32D1FE1EA0}:260at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    I’m working on a context menu extension to the Solution Explorer window that I only want to show for C# language projects.  To accomplish this I’m using an OleMenuCommand to hide the menu commands for non C# project selections.   This code works just fine in Debug configurations, but a cast to EnvDTE.Project fails in Release configurations (noted below).The Codepublic static class Helper {/// <summary>/// Get the current Selection of the Solution Explorer window/// <

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    Hello everyone,I have a very strange problem with my package for VS2010.When my package is initialising I’m trying to get the registry root for VS by calling this.UserRegistryRoot from my package but the call always fails with following error:Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.VisualStudio.OLE.Interop.IServiceProvider’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{6D5140C1-7436-11CE-8034-0

  • msdn
    visual-studio-development-forums visual-studio-extensibility
    Hi guys – here is a question for one of the MS guys…I have written a Visual Studio designer for my own custom file type.The designer must display a tabbed interface, similar to the project properties view.For the sake of visual consistency, how do I go about constructing an instance of the same tab control that is used internally by MS? Yes, I’m talking about the vertical tab control used on the Project Properties designer…It seems strange not to be able to use this control when it seems to

Web site is in building