Shamus Xu's Q&A profile
SQL Server Replication Questions???
Hi, I'm having a headache with the following questions weavering around...Hope that someone can help me with the answers. 1) I've implemented a immediate updating transactional replication on 2 servers. The loopback detection is also set to true. Under normal circumstances, when there is an transaction at the subscriber, it should be replicated to the publisher. However, this was not the case here. There were some transaction in the subsc ...Show All
Visual Studio Team System Team Build Server error
Hi Can anyone tell me how to build using Team Builds No matter how I tries, my build ends with an error. Arild Attaching the error log and .proj file. Build started 13.10.2005 10:57:01. __________________________________________________ Project "c:\data\components\duplo\Duplo\Test2\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: Target CoreClean: Removing directory "c:\data\components\duplo\Dup ...Show All
SQL Server New to Reporting Services
I am used to using Crystal Reports, but now with having Visual Studio 2005 and SQL Server 2005, I am trying to get along and use Reporting Services. I need to understand or have somebody point me to a website or good book that I can use to learn about Report Server and the reports. Here is the actual problem that I am having: I have built a report into the company intranet. This report works if I run it locally, however the print button d ...Show All
Visual Studio Team System Canceled book purchase - Introducing Microsoft Visual Studio 2005 Team System Beta Edition
I've tried to purchase the only VSTS available (many weeks ago) and my order was just canceled. I guess Microsoft is not going to release it. Oh well... http://www.amazon.com/exec/obidos/tg/detail/-/0735621802/qid=1122472985/sr=8-1/ref=pd_bbs_1/002-7165628-3580031 v=glance&s=books&n=507846 Come launch time, I'll be interested in reading the Wrox book. http://www.amazon.com/exec/obidos/tg/detail/-/0764584367/qid=1122733526/sr=8-2/re ...Show All
SQL Server SSIS ODBC Source Component
I need to create an ODBC source script component that outputs into SQL Server. When I debug I get the following error message: Error at Data Flow Task [Script Component [1]]: System.InvalidCastException: Unable to cast object of type 'System.Data.Odbc.OdbcConnection' to type 'System.Data.SqlClient.SqlConnection'. at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e) at Microsoft.SqlServer.Dts.Pipeline.S ...Show All
SQL Server Reporting Services 2000 Filtering based on a text parameter
I've looked through the reporting services help and it's very vague on how to do this. What I want to do is set up a prompt with three values; Open, Closed, and Due for Completion. Based on the user selection then a filter will be inserted, something like:If the user selects "Open" then Datatable.Status not in ('Closed', 'Cancelled', 'On Hold'), if the user selects "Closed" then Datatable.Status in ('Closed', 'Cancelled ...Show All
Windows Forms SelectedIndexChanged event does not fire for ComboBox
Hi I am creating a windows application using vs 2005. I have written some code in combobox SelectedindexChanged event. This even works fine if I select item using mouse but if I use keyboard and select item using TAB key event does not work at all. If this behavior is by design what workaround can I use Users would be using keyboard most of the time. Thanks The up and down keys in the combo it must fire the SelectedIndexChange ...Show All
Visual Studio Team System Cannot connect to Team Foundation Server
I am trying to make a new project from the Client. The installation has gon smoothly as I followed the instructions in the manual to the T. The main thing is I cannot connect to the my Team Foundation Server right now. I saw many other forum entries and have tried out all the things like restarting the IIS and the TFSSERVERSCHEDULER service. But it still gives the same error:- "The request was abor ...Show All
Visual C# pros and cons of using Microsoft Enterprise library components(Application blocks)
Hi All 1) What are the pros and cons of using Microsoft Enterprise library components(Application blocks) in our applications 2) Is it a good Idea to use Microsoft Enterprise library components in the new development when relase Visual studio 2005 is comming near Thanks!! Ave - The Enterprise Library has been updated for .NET 2.0, so yes, it would ...Show All
Visual C# How to debug a localized application?
(Visual C# Express) I have created a localized application (so far with two cultures), translated the strings, but now I would like to run the application with these non-default culture strings to see how it looks (and whether I have to adjust sizes of labels etc.). However, I can't find any debug settings, that allow me to switch culture when running the app. How do I do that First of all, to use different cultures in your applic ...Show All
SQL Server MDX parameters not associated with dimension- help!!!!!!!!
Hello, I want to create an arbitrary datetime picker parameters (StartDate and EndDate) to use it as a parameter in MDX. However, I couldn't do this, because in the filter pane it always expect me to select from the dimension as a parameter (always associate with the dimension values). Does anybody came across with similar situation Please let me know how you solved it This issue is creating me a lot of headache, please somebody help me ...Show All
Visual Studio Team System Remote access to TFS
When I connect remotely to my TFS server Documents and Reports folder is not accessible, and the right click option to ope Project Portal is grayed out. Has anyone else had this problem, and found a solution to it When I connect to TFS directly from the server everything works just fine. Installation is single server beta 3, no active directory. No, I think that covers the ports that influence this scenario. There are a few others ...Show All
Windows Forms ToolStripItem Ownerdrawn?
I am looking for a way to do owner drawn toolstrip menu items. I see I can handle the paint event but I see no way to set the ContentRectangle to size my menu appropriatly. How does one do the equivilent of the old menuitem ownerdrawing with the new ToolStripMenuItem Just set AutoSize for the ToolStripMenuItem to false and set the Size property to whatever you want. If you want to use AutoSize, and ge ...Show All
.NET Development Return list of Group Roles that a user is a member of
Im trying to get a list of groups that a user is a member of. I have tried the Groups property of WindowsIdentity, but it returns results like this: S-1-5-21-139623.... I was expecting to get a result of "administrator" or some kind of english result, not just numbers. Any idea of what method I should be using. I am using VS 2005 with .NET 2.0... Thanks, You could try something like: ...Show All
Visual Studio Team System Files Versioning
1. How is this possible to roll back specific changeset 2. Is this posible to turn need file version to the previouse one without removing current. In fact I need switch file version from e.g 1.7 to 1.4 temporary without removing versions 1.5, 1.6, 1.7 3. Is this possible to view user readable file version number in the source control client I need it e.g to refer to it in emails (I dont want create label for this)... thanks! ...Show All
