Change name of an object does not change the name of the file Yes, we do not use the file name (outside of the "type" extension) when loading files at design-time. At build time, we process the contents of the file itself.
C# has a somewhat similiar rename feature, where if you rename a file it will prompt you to rename the class inside the file, but it does not do the reverse (probably because of the SCC issues involved). Would the C# kind of rename be useful Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
how to convert source line into exe address? hi ,
how to convert source line into .exe address i mean when i put a break point on the source line (like visual studio)
how to know corresponding address in the .exe file
thanks Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
WorkingFolder.LocalItem is null in uncloaked path Can you change your app (for debugging) to just write out both the ServerItem and LocalItem (Console.WriteLine("{0} => {1}", wf.ServerItem, wf.LocalItem) or whatever)
The local item in the object model is just whatever got sent from the server, and that it comes out of "tf workfold" makes it pretty clear that the server is fine, so I'm just wondering if it's that cloaked mapping somehow or something else odd is going on. Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
How to make VS2005 as default? Hi,
I installed VS2005 on my system first and then when i installed VS2003 later on .But after installing VS2003 ,whenever i open a file related VS2005 its trying to open through VS2003.
So how to Change the settings to make the VS2005 as a default one instead of VS2003.
Thanks,
Bhuvan. Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Cannot perform Static Code analysis Error 1 CA0055 : Could not load Calculator.exe.
Error 2 CA0052 : No targets were selected.
Thanks Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Merge performance very slow I double checked that I have SP1 installed. As I suspected, I do.
Version: File: Visual Studio 2005 / TFS SP1 (8.0.50727.762) Data Tier: Visual Studio 2005 / TFS SP1 (8.50727.327)
Microsoft Visual Studio 2005 Team Explorer Version is 8.0.50727.762 Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Create Issues in SharePoint and want to view it in TFS Hi,
I have installed Team foundation server with WSS 3.0. I also installed the web portal for Team Foundation server. Then I created a Team Project as a test to see if it works. I used the Agile Software Development Template and everything worked.
Here is my question. I can create Issues and Bugs in Visual Studio or the web portal for Team Foundation server, and in Agile Software Development page I can view all the issues and Bugs under "Reports" -> "Issues List", which is great! But I wouild also like to do things the other way around, ie. I want to create issues and bugs from Agile Software Development page and being able to see it in the web portal for Team Foundation server (or Visual Studio itself). I have created some issues and bugs but it can not be found in the TFS.
Can this be done
Benson Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Problems installing TFS SP1 Hi All I have TFS installed in a following manne: >app-tier (tfs and wss) on a virtual server >data-tier is installed on another server. Now, I'm trying to install TFS SP1, I first have to install 'Quiescing GDR'. When I try to install Quiescing GDR (KB919156), it fails with the following error: "Ther Required Windows SharePoint Services configuration database (STS_Config_TFS) is not located on the Team Foundation Server data-tier computer. To proceed, you must exit setup and uninstall Windows SharePoint Services. Then, reinstall Windows SharePoint Services in accordance with the Team Foundation Installation Guide, and run setup again." How shall i get around this Any help will be highly appreciated :) Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Gauntlet Right - this is what Gauntlet does, and what I assumed you were referring to. That is, I assumed that when you mentioned conflicting changes, you meant changes that could not be auto-merged (as opposed to changes to the same files).
-Aaron Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
how can i automate updating web references If i have n no of projects which are consuming local web service which is from the same solution,then how can i ensure that after web service project has been successfully build,i need to update the web references of all the projects which consume it.... Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Migration, common code- Sync between VSS and TFS? The best estimate for the toolkit that I can give is later this spring. We are still in development, and as we near our release I will be blogging on the TFS Migration blog.
Also, thanks for sharing your experiences with the CSConverter.
-Matt Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Matrix Questions i Have report created with matrix in this format :-
PO No Sizes i.e. S,M,L, XL, Then Total
Po No1 2, 4, 6, 2 - Total is 14
Now currently this is coming in report. I want to do 2 things here :-
1. The total of size column is being displayed at end of the report, whereas i want to bring it after the Po No.
2. In the Row, where Po No is coming, i want to do some calculation on Total size column. If I add a detail in row and reference the total column field, it is giving error that this is difference scope. How i can achieve this Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Custom Project Output Ok so i have overridden the outputgroup class to handle my new output group. When steping through the code it all seems to be going well, my custom outputs are enumerated and placed in the output array, but when i run it doesnt work. I have been testing it with a setup project and adding the output of my project to it. When I try and look at the outputs, once added, it says "Operation not valid due to the current state of the object". Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
How does debugger check if PDB file matches executable module? Certainly, they do not consist of random numbers. However, sequence order of some sections or blocks inside pdb file seems to change each time when build process occurs. Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Add-In deployment [VS2005 - April SDK] Hi, I put up a very simple add-in using the VS2005 SDK (April release), and i can't see the attached Setup project presented in a tutorial found here : http://lgmorand.developpez.com/dotnet/vsaddin/ (in french, sorry) So now, I'm stuck with a very simple add-in, but don't know how to deploy it. Thanks in advance, Kevin. Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Data Bound Generator Hi,
I am trying to bind to an excel spread sheet but I do not have the new connection option in the connection information property.
Any help would be appreciated. Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Sort by Priority sorts null to top Create a query which includes the priority column.
Click the priority column header
Records with Null/Empty priority will appear on top, followed by records with priority 1
Expected: Null/Empty on bottom Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Data Binding in Vb.net 2003 hi
i am new to vb.net
i would like to know that in data binding how do i bind a command to a yes/no type field in msaccess
like in
cmd.Parameters.Add("@mIsPer", OleDbType.Char, 1, "IsPer").Value = chkPer.Text
where isper is a yes/no type field
kindly help. would b greatful for ur help.
thankx Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Post VS SP1 problems! Before SP1 I had terrible editor lag every few seconds taht i attributed to Intellisense... I got rid of intellisense by using the ncb read-only trick so VS can't write to it and turns off IS... after installing SP1 I was hoping this was fixed... but after reenabling IS the problem is still there... every few seconds while typing, VS becomes unresponsive... then picks back up... rediculous and it makes it almoost unusable. It is project specific... i.e. some projects have the problem, others do not. I have tried deleting and letting VS rebuild teh ncb with no success. Anyone else still have this probem
Also, after installing SP1 I have two resource problems:
1) A define in my .rc file does not seem to be taking effect in the resource editor. When building teh project it is fine, but when opening the rc in the editor it fails.
2) On one machine the rc editor works... on another, when I double click my rc file, the Resource pane opens but remains blank.
Before SP1 both of these Resource problems did not exist. Anyone else see these Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Team System and Rational Concurrently We have a Rational UCM environment with ClearCase and ClearQuest integrated into VS 2005.
We are planning our move to VSTS and wanted to start with a test project.
Our developers, however, need to maintian their Rational integration in VS 2005 in case they have to work SCRs on existing projects.
So my question is whether or not we can have a VS 2005 environment point to one source control / change management system (such as Rational) for one project and then point to VSTS for another project.
Thanks for any ideas you may have.
Cliff Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Web Browser in J# I built a working web browser with J# though I have two problems I cannot figure out yet.
1. I have a comboBox setup to accept URL's, but if it is not part of the Item Collection, it will not go out to the URL and display it. Instead it will display a null error message.
What do I need to do so I can enter a URL and have it go to that site
2. I have a toolStripProgressBar setup to display the progress of the page loading.
What class can I use to display the progress of the page loading
Thanks... Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
'Specified cast is not valid.' error message when trying to create new work item. Hello,
I have just uncovered that when using a DateTime Control in a WIT and associating it with a String typed field, trying to create a new work item will give 'Specified cast is not valid.' message.
Thankfully I've found and removed the problem in my own work item, but I thought this might be helpful to someone else as I hadn't seen much about that error message on this forum. Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Crystal Report For VS.NET 2005.. Cannot change DBName, ServerName on Runtime if write SQL Statement I guess its my turn to bump this up. I am encountering the same issue. Here's the now classic SetDBLogonForReport sub I'm using:
Private Sub SetDBLogonForReport( ByVal connectionInfo As ConnectionInfo, _
ByVal reportDocument As ReportDocument)
Dim tables As Tables = reportDocument.Database.Tables
For Each table As Table In tables
Dim tableLogonInfo As TableLogOnInfo = table.LogOnInfo
tableLogonInfo.ConnectionInfo = connectionInfo
table.ApplyLogOnInfo(tableLogonInfo)
' This next statement throws the error
table.Location = connectionInfo.DatabaseName & ".dbo." & _
table.Location.Substring(table.Location.LastIndexOf( "." ) + 1)
Next
End Sub
Is there no one out there that's found a workaround for this That last statement is supposed to fix a problem with reports based on stored procedures not receiving their parameters properly. This fix is posted here: http://www.codecomments.com/Visual_Basic_Crystal_Reports/message690985.html . Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Delete Users from TFS We are using TFS and when I list all SIDs (TfsAdminUtil sid) I get a lot of users that are no longer relevant.
All these users are from a domain that does no longer exist.
How can I remove them Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
articles/guidelines on structuring tests Donal,
You can use Visual Studio 2005 Team Suite which is superset of all the editions.
Thanks,
Rubel Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Hosting MSBuild vs. invoking through Process class I'm using MSBuild to run a custom build process and in order to make it easier to manage my custom project file (just an MSBuild file with custom tasks and targets) I've written a simple C# WinForms app to provide a graphical interface to add and remove items from the project and to launch builds for particular targets.
Initially I was hosting MSBuild both to read and change the project through the Project class and to run the builds using Project.Build(). Because the build can take quite a long time I was running the build as a BackgroundTask of the app. This caused me to get the following warning from MSBuild:
warning MSB4056: The MSBuild engine must be called on a single-threaded-apartment. Current threading model is "MTA". Proceeding, but some tasks may not function correctly.
I found a mention of this same warning in another thread in the forums but there didn't appear to be a workaround for it so I decided to try launching a separate MSBuild process using the Process class instead. My app now saves the project file when a build is requested and invokes MSBuild as a separate process, capturing the output to a TextBox by redirecting standard output.
As far as I can see there's no way to cancel a build when hosting a BuildEngine. By invoking MSBuild as a separate process I can provide the user with the option to cancel a build by calling Kill() on the process. This doesn't seem the cleanest way to provide a cancel option but it doesn't seem to be possible at all when hosting the BuildEngine. Is there any other way to cancel a build
The only real disadvantage I can see with invoking a build as a separate process rather than hosting it is that I lose some flexibility in customized build logging - I'm stuck with the plain text output I capture from standard out. Are there any other disadvantages that I'm missing Is there any way to avoid the MSB4056 warning when hosting the build in a multithreaded app How about allowing the user to cancel a build through the hosting interface Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
An attempt was made to set a report parameter 'FNAME' that is not defined in this report. Hello,
I'm using Visual Studio 2005. I'm trying to make a report with parameters on an aspx page. Here is the code:
Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load
Dim param(1) As ReportParameter
param(0) = New ReportParameter( "FNAME" , "Tom" )
param(1) = New ReportParameter( "LNAME" , "" )
Me .ReportViewer1.LocalReport.SetParameters(param)
Me .ReportViewer1.LocalReport.Refresh()
End Sub
I get always the follow message:
An attempt was made to set a report parameter 'FNAME' that is not defined in this report.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.ReportingServices.Diagnostics.Utilities.UnknownReportParameterException: An attempt was made to set a report parameter 'FNAME' that is not defined in this report. Source Error:
Line 22:
Line 23:
Line 24: Me.ReportViewer1.LocalReport.SetParameters(param)
Line 25:
Line 26: Me.ReportViewer1.LocalReport.Refresh() Source File: C:\Documents and Settings\owa\My Documents\Visual Studio 2005\Projects\LORS\LORS\Default.aspx.vb Line: 24 Stack Trace:
[UnknownReportParameterException: An attempt was made to set a report parameter 'FNAME' that is not defined in this report.]
Microsoft.ReportingServices.ReportProcessing.ParameterInfoCollection.Combine(ParameterInfoCollection oldParameters, ParameterInfoCollection newParameters, Boolean checkReadOnly, Boolean ignoreNewQueryParams, Boolean isParameterDefinitionUpdate, CultureInfo culture) +969
Microsoft.ReportingServices.ReportProcessing.ParameterInfoCollection.Combine(ParameterInfoCollection oldParameters, ParameterInfoCollection newParameters, Boolean checkReadOnly, Boolean ignoreNewQueryParams, Boolean isParameterDefinitionUpdate) +87
Microsoft.Reporting.LocalService.GetReportParameters(CatalogItemContext reportContext, NameValueCollection userSpecifiedValues, ParameterInfoCollection baseLineParameters, DatasourceCredentialsCollection credentials, ReportRuntimeSetup reportRuntimeSetup) +118
Microsoft.Reporting.WebForms.LocalReport.SetParameters(IEnumerable`1 parameters) +196
[LocalProcessingException: An error occurred during local report processing.]
Microsoft.Reporting.WebForms.LocalReport.SetParameters(IEnumerable`1 parameters) +247
LORS._Default.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\owa\My Documents\Visual Studio 2005\Projects\LORS\LORS\Default.aspx.vb:24
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Pleaaaase help me.
thanks
OWA Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
How to find out the category of a DomainProperty? Hello, I hava a DomainClass with about 20 DomainProperties in 2 different Categories, "category1" and "category2". Now I want to get a List of all the DomainProperties of a specific Category. I have writen the folowing code for that (This function is located in the DomainClass):
Code Snippet
private List<DomainPropertyInfo> GetDomainProperties(string category) { List<DomainPropertyInfo> domainPropertyInfos = new List<DomainPropertyInfo>(); foreach (DomainPropertyInfo domainPropertyInfo in this.GetDomainClass().AllDomainProperties) { ElementPropertyDescriptor elementPropertyDescriptor = new ElementPropertyDescriptor(this, domainPropertyInfo, null); Debug.WriteLine(string.Format("{0}: {1}", domainPropertyInfo.DisplayName, elementPropertyDescriptor.Category)); if (elementPropertyDescriptor.Category == category) { domainPropertyInfos.Add(domainPropertyInfo); } } return domainPropertyInfos; } While iterating through all the DomainProperties, all DomainProperties have the Category "Misc", the default Category, though I am positive that the Category can only be "category1" or "category2". I believe I am incorrectly instantiating the ElementPropertyDescriptor. Can somebody give me some advise on how to find out the Category of a DomainProperty Thanks in advance, Pim Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Crystal report on iis I am getting this error when i run crystal reports through iis as when i run it thru the ide it works fine what could the problem be
Logon failed. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. SQL State: 08001 Native Error: Error in File C:\DOCUME~1\BABAR\ASPNET\LOCALS~1\Temp\rep_DownTime {7244ADF2-D83C-4513-9BE1-C604375DA8F1}.rpt: Unable to connect: incorrect log on parameters.
I am passing the logon parameters to the report programmatically. Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
WorkItemFormControl hanging on .Item assignment Also, if it helps, the WorkItem that I'm setting to .Item comes out of a WorkItemResultsGrid that was loaded using the LoadFromWiql() method.
-Ben Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
How to suppress output from exec command I am trying to do a deploy of our build to a remote server using psexec. Getting the msi package running took a bit of work but it is running now. However, I notice that the exec command which I use to launch psexec writes the exact command into the log. This contains the uid and pwd, which for obvious reasons, I'd like to avoid. I have the pwd encrypted (using DPAPI) and pass it to the task. But that's not much good if it ends up in the log in cleartext. How can I do this Tag: Team Foundation Server - Administration SharePoint Services Service Pack 3 Visual Studio
Aidan Ryan
Has anyone deployed this service pack to a production TFS Are there any known issues