It's been asked a lot, and for 2 days, I've tried to resolve, with no success. I am running TFS 2012 Express, on Win7. I have installed VS Express edition on that machine. I can check in fine. I am trying to set up a Continuous Integration build.  But, when I force a build on the build server, I get the following error:     Unable to create the workspace '2_1_Server' due to a mapping conflict.   You may need to manually delete an old workspace. You can get a list   of workspaces on a computer with the command 'tf workspaces   /computer:%COMPUTERNAME%'.      Details: The path C:\Builds\Finance is already mapped in workspace   1_1_Server. (type MappingConflictException)   (Not sure where it gets "C:\Builds\Finance" from....)  I then try what it says on my dev machine, and it asks me for my login credentials on the build server. I enter them, and it tells me:    That seems fine, no?  On the server, I check my Build Agent working folder:     d:\Builds\$(BuildAgentId)\$(BuildDefinitionPath)   I am not sure where the conflict is.  Interesting, if I load a different team project on the same server, it builds. I just created a build definition for this project, and it seemed to build successfully. I think it has something to do with the Build Definitions, as these projects were moved from another TFS server.....   Can anyone assist?
116414
When creating a new build in Team Foundation Server, I get the following error when attempting to run the new build:     The path   C:\Build\ProductReleases\FullBuildv5.4.2x\Sources   is already mapped to workspace   BuildServer_23.   I am unable to see a workspace by that name in the workspaces dialog.
113843
I was wondering if it was possible to use any of the API's provided by SF to build an external (C#, Java) application to manage building changesets.   Building changesets is very tedious when trying to include 100's of items and I was hoping to streamline the process for our team by building an application I can load an excel file to with the required components and have it build the outbound changeset.
18041
I used python add in to make a tool bar in Arcmap that edits features on a map. It works on a file geodatabase, but not on an ArcSDE version one. I've been getting an FDO error: 0. The solutions that I've found all involve opening a workspace, but I'm getting an error doing that as well. Here is the relevant portion of my code:          outFolderPath = r"U:\tempStuff"         outName = "Stuff.sde"         databasePlatform = "SQL_Server"         instance = "SQL Server"         arcpy.CreateDatabaseConnection_management(outFolderPath, outName,                                                   databasePlatform,                                                   instance)         print "Centroid of buidling:(%r,%r) Side length: %r" % (xCoordinate,                                                                 yCoordinate,                                                                 bob)         print "workspace is %r" % outName #outName is workspace          #Start edit session with an undo/redo stack then start         #edit operation         print "Starting editing"         edit = arcpy.da.Editor(outName) #outName is workspace Line 86         edit.startEditing(True, True)         edit.startOperation()          #stuff happens          cursor = arcpy.da.InsertCursor( fc, ["SHAPE@"])         cursor.insertRow([stuff])             #stop the edit operation and then save changes         edit.stopOperation()         edit.stopEditing(True)          del cursor         print "Building should be drawn"   This is the exact error I've been getting:  Traceback (most recent call last):   File "C:\Users\153289\AppData\Local\ESRI\Desktop10.3\AssemblyCache\{0BEF4E61-6332-4BCA-A908-959CA3C0B4E7}\leetScripts_addin.py", line 86, in onClick     edit = arcpy.da.Editor(outName)#outName is workspace RuntimeError: cannot open workspace   What's am I doing wrong in my code?
59267
I'm trying to export a simple maintenance plan from an SQL Server instance.  I want to check the export into source control, and apply the exported maintenance plan to functionally identical instances.   and  recommend using Integration Services to export the maintenance plan.  When I try to connect to Integration Services on the Export target, I receive the following error:     Connecting to the Integration Services service on the computer   "WEBSERVER" failed with the following error: The specified service   does not exist as an installed service.   We chose to disable Integration Services on WEBSERVER because we use this box only for serving data to consumer applications. All data on WEBSERVER is replicated from a backend instance. Integration Services is used heavily for processing data on the backend instance.  Is there a documented way to export a maintenance plan without using Integration Services? Does Microsoft support it?
10034
I am publishing a geoprocessing service on ArcGIS Server v10.3.0 that updates data on an ArcSDE Enterprise Geodatabase.  I have the following at the beginning of my script:  arcpy.env.workspace = "Database Connections/TestDatabase@hq-gissql01.sde"   As discussed at , when I publish the script as a geoprocessing service, that line gets changed to:  arcpy.env.workspace = arcpy.env.packageWorkspace   This is all well and good, but arcpy.env.packageWorkspace is simply the v101 folder for this geoprocessing task. It is not the actual .SDE connection file. I can confirm that the .SDE connection file does get moved to the v101 folder, but arcpy.env.packageWorkspace is simply a file path to the v101 folder--not that file.  Because of this, when I call arcpy.ListFeatureClasses() or arcpy.ListDatasets(), an empty list gets returned. From what I can tell this is because the workspace is set to a folder on the server's file system, and not an .SDE file.  How are .py files being re-written when they are published as geoprocessing services? What is the proper syntax to use when setting the workspace so that the published version of the script references an .SDE file and not simply a file folder?
28237
I'm possibly just blind, but is there a command line to specify conditional compilation symbols in MSBUILD?  I currently have this Line in my buildscript:  SET MSBUILD=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe SET CONFIG=Debug %MSBUILD% /p:Configuration=%CONFIG% /p:OutputPath=..\..\output source\MyProject\MyProject.csproj   And I'd like to add a condition. In Visual Studio, i can just go into Project Properties => Build => Conditional compilation symbols, but I have not seen that option for msbuild?  Bonus Karma if you know if I can completely override all symbols already specified in the .csproj files to make sure that only the conditionals from my Buildscript go in.
97902
I have an installation of SQL Server 2012 Std Ed on Windows 2012 R2 running in a default instance, and an app that wants to connect to it using a named instance (can't be changed)  E.g.   ServerName - mySQLServer Alias required by app - mySQLServer\CrazyApp   I've tried to create an alias as follows:     Alias Name - .\crazyapp Port No - 1433 Protocol - TCP/IP Server .   I've:   checked TCP/IP protocol is enabled have started SQL browser (not needed, I believe) restarted SQL (several times) tried with the machine name instead of "." tried with no port number instead of 1433. banged head against wall   ...all to no avail.  Is it possible to do this, if so, would some kind person tell me what I'm doing wrong.  Thanks!
111328
I was using workplace switching for a long time and it suddenly stopped working today.  Even after a fresh install, (some config left over as I preserved my /home folder).  Super + S still raises to show all work-spaces.  Clicking on a task-bar icon representing a window in another work-space no longer switches to that workspace + window.  Ctrl + Alt + ⟵ (any direction) no longer works.  Ctrl + Shift - Alt - ⟵ (any direction) no longer works.  I've verified that those key combos are registering by redundantly re-assigning the shortcut mappings.
87043
The SQL Server instance is accessible and seems to be fine.     Microsoft SQL Server 2016 (SP1-CU2) (KB4013106) - 13.0.4422.0 (X64)   Mar  6 2017 14:18:16   Copyright (c) Microsoft Corporation  Enterprise   Edition (64-bit) on Windows Server 2012 R2 Standard 6.3  (Build   9600: ) (Hypervisor)   But what does the white question mark mean?  these icons dont go away when I refresh. I am sysadmin inside sql server and outside I am administrator on that box.      Another thing I noticed, you can see on the picture below. These are 2 different Management Studio sessions.  On the top one, I am logged in as myself, DBA and sysadmin,  on the second one I use Management Studio with run as a different user and I use a domain account that I use for the replication, which is not sysadmin.  The second one has the blue icon in this and other servers as well, whilst mine is the normal green one.
57475
If we have example.com we would setup things something like this: $ORIGIN example.com. @  1D  IN  SOA ns1.example.com. hostmaster.example.com. (                   2002022401 ; serial                   3H ; refresh                   15 ; retry                   1w ; expire                   3h ; nxdomain ttl                  )           IN  NS     ns1.example.com.           IN  NS     ns2.example.com.  since in the parent zone .com. there is already NS record for the example.com. child zone and A glue record for the ns1.example.com. for what purpose do we state NS records again in the child zone? and also, do we need to state A record for the name servers in the child zone itself?
39638
How can I limit my post-build events to running only for one type of build?  I'm using the events to copy DLL files to a local IIS virtual directory, but I don't want this happening on the build server in release mode.
57380
We just did a move from storing all files locally to a network drive. Problem is that is where my VS projects are also stored now. (No versioning system yet, working on that.) I know I heard of problems with doing this in the past, but never heard of a work-around. Is there a work around?  So my VS is installed locally. The files are on a network drive. How can I get this to work?  EDIT: I know what SHOULD be done, but is there a band-aid I can put on right now to fix this and maintain the network drive?  EDIT 2: I am sure I am not understanding something, but  has the right idea. I'll work with the lead web developer when he gets back into the office to figure out a temporary solution until we get some sort of version control setup. Thanks for the ideas.
84268
Ubuntu 12.10 I'll explain the first problem. Sometimes when I load a webpage it never finishes loading and it says cannot reach server or something like that. When I ping that website, the terminal says it cannot resolve the hostname. So I then tried Google's DNS servers but had no luck there. It's weird because I've never had this problem in Windows 7. I used cat /etc/resolv.conf  and it came up with this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) #DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1 search hsd1.or.comcast.net  Why would it use 127.0.1.1? Does that mean it's trying to resolve addresses locally? When I ping the comcast search server I get a timeout error.
115150
I am trying to run the following commands as part of an MSBuild script:  for /R . %f in (*.targets) do copy /Y "%f" "C:\Program Files (x86)\MSBuild\Microso ft\VisualStudio\TeamBuild"   The commands is implemented in an exec the following way:  &lt;Exec WorkingDirectory="$(SolutionRoot)" Command="for /R . %f in (*.targets) do copy /Y &amp;quot;%f&amp;quot; &amp;quot;$(MSBuildExtensionsPath)\Microsoft\VisualStudio\TeamBuild&amp;quot;" /&gt;   The command works fine from console, but when trying to run it from MSBuild I get the error:   Task "Exec"   Command:   for /R . %f in (*.targets) do copy /Y "%f" "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild"   f" "C:\Program was unexpected at this time. C:\Users\rd-build\AppData\Local\Temp\OH Test2\Continuous.BuildTargets\BuildType\TFSBuild.proj(98,5): error MSB3073: The command "for /R . %f in (*.targets) do copy /Y "%f" "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild"" exited with code 255. Done executing task "Exec" -- FAILED.   Any suggestions?
13904
I'm doing some architectural cleanup that involves moving a bunch of classes into different projects and/or namespaces. Currently I'm moving the files by hand, building, and then manually adding using Foo statements as needed to resolve compilation errors. Anyone know of a smarter way of doing this? (We're a CodeRush and Refactor! shop, but I'd be interested to hear if Resharper has support for this)
49413
My laptop has a small hard drive. I want to load a big data set. I have moved the entire /usr/local/var/postgres to the external hd, and symlinked it back. Now I'm getting this error,      psql: could not connect to server: Socket operation on non-socket     Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?   I have now found the problem.  Changing the default data directory causes Postgres to refuse connections to the server. The online Manual is a little [sic!] unspecific about "config files in the same directory"…  The solution I used (with psql) is to:            CREATE TABLESPACE tablespacename OWNER username LOCATION '/Path/to/Folder'   then,      CREATE DATABASE databasename OWNER username TABLESPACE tablespacename   and finally      psql databasename &lt; /Path/to/databasedump.sql   NOTE to future visitors of this question; please see the warning below from Craig Ringer regarding how to solve this problem properly.
19435
I have a SSD as my primary (C:) drive, mainly used for quickly loading games.   It's pretty small (~30 GB) so I want to keep things that don't really need a speed boost off of it. I attempted installing the Visual Studio 2010 Express beta last night, and it claimed to require 2.1 GB of space so I changed the install directory to a secondary, non-SSD drive.  After this, the installer said that it would use 1.8 GB on C: and ~200 MB on the secondary drive.   While this token gesture of moving 1/10 of the app to the place I told it to is cute, I really want to install everything I can to the secondary drive.   Is there any way to install all of Visual Studio 2010 Express to a drive besides C:?