MeZKaL's Q&A profile
Visual Studio Team System SOAP Exception while connecting to TFS project through another workstation
Someone is trying to connect to TFS project that I created from his workstation and getting this error: Server did not recognize the value of HTTP header SOAPAction. http://schemas.microsoft.com/TeamFoundation/2005/06/Services/ServerStatus/02/CheckAuthentication I have looked up this error at many places. But have not seen this specific to TFS client. This workstation has team suite installed with TFS client installed. Naren's right - the schema version being 02 means it's not an RTM client. (The way I check is to look in %ProgramFiles%\Visual Studio 2005\Common7\IDE, check the version on tf.exe - should be 50727.147 for Whidbey RTM). If you still see problems after upgrading to the RTM version, ...Show All
Visual Studio Tools for Office TaskPane in two word windows
I create an application addIn (vsto 2005 SE + word 2007 beta) . It contains a ribbon and a taskpane. A toggle button on the ribbon show and hide the taskpane. when the user opens more then one document of word, he got the ribbon on both windows, but the button in the ribbon on the second window show and hide the taskPane of the other window (i.e. both operate on the first window, and the user cant get a taskPane on the second window) How I can open an instance of the taskpane on each document Thank you Nimrod As Word is a SDI application and special attention is needed to handle the TaskPanes to work on each document. There is work in progress concerning this but that's not (yet) availab ...Show All
Visual FoxPro foxpro + mysql
hi all, i try to connect foxpro using MYSQL 5.0 and SQL YOG as my database connection. but everytime is failed and the error msg is "connected to localhost 10061 is failed". pls guide. thanks in advance. ...Show All
SQL Server MCAD free online test
Hi everyone, I am searching for free online MCAD exam test. I could only find ucertify online free test. If you know any link about this, would you please inform me Thanks The key sentence is : "the database needs to produce a customized error message that can be displayed by the data entry application." You won’t get a customized error message (Because you won’t be able to create one) if you set the column no to allow NULL values. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C++ Template function returning dependent type fails to compile
When I try to compile the code below I get the following error (VS 2005 SP1): error C2893: Failed to specialize function template 'T::value_type::{ctor} f(T)' 1> With the following template arguments: 1> 'N' code: struct X {}; template < typename T> struct C { typedef T value_type; }; typedef C<C<X> > N; template < typename T> typename T::value_type::value_type f(T t) { return typename T::value_type::value_type(); } int main() { N n; f(n); return 0; } It seems to be a bug. You can report it here http://connect.microsoft.com/VisualStudio From the error messag ...Show All
.NET Development .Net 1.1 forward compatibility
Hi I have an C# application compiled with VS 2003 (.Net 1.1) that needs to use a dll compiled with VS 2005 (.Net) 2.0. The machine have both runtimes installed but the application refuses to use the dll since it been created by newer version. Is there any way to work in VS 2003 with .Net 2.0 dll's Thanks. Michael, The metadata format of assemblies changed between 1.1 and 2.0 (in order to support generics). The compiler needs to understand this new format, which is one of the reasons that it's not possible to forward target 2.0 with 1.1. As Mattias suggests it may be possible to dynamically load the assembly assuming that the application is running on the 2.0 CLR; however, if the machine that the ...Show All
SQL Server SP2 failed only on the Database engine and now won't restart
I have a clean SQL 2005 Ent. x64 SP1 clean with no user db's.....applied SP2 and everything showed "Success" except the Database Services (Error 29534)...... Time: 02/22/2007 08:29:50.134 KB Number: KB921896 Machine: TORCA8 OS Version: Microsoft Windows Server 2003 family, Enterprise Edition Service Pack 1 (Build 3790) Package Language: 1033 (ENU) Package Platform: x64 Package SP Level: 2 Package Version: 3042 Command-line parameters specified: Cluster Installation: No ********************************************************************************** Prerequisites Check & Status SQLSupport: Passed ********************************************************************************** Products Detected Language ...Show All
.NET Development accessing a properties PropertyInfo
I want to access a property's PropertyInfo without knowing it's name, I can do this if an accessor invokes another method via putting the following code in the invoked method. string caller = new StackTrace.GetFrame(1).GetMethod().Name; string pName = caller.Name.SubString(caller.Name.IndexOf('_')); PropertyInfo info = <this>.GetType().GetProperty(pName); As a result the same method can be readily invoked by accessors of different properties and the method can do its work based on the property name, type, custom attributes etc But I also want to do something similar in an associated method that is not invoked by an accessor - but by a method in another class, which has an instance of the properties declaring class. If I were ta ...Show All
SQL Server MSSQL Select Syntax Help
I have a table that has unit id, date, time, etc. I would like to select each unit id with the last date it has in the table. The result should have each unit listed once with the latest date in the table. For Example: unit id Date Time 00100 01/12/2007 8:00 00100 01/12/2007 8:45 00200 01/12/2007 8:50 00100 01/13/2007 13:30 00300 01/13/2007 13:45 00100 01/14/2007 11:00 00200 01/14/2007 11:30 the result should be: 00100 01/14/2007 11:00 00200 01/14/2007 11:30 00300 01/13/2007 13:45 Thanks giddyup. Your suggestion helped out a lot. This is what I got to work. SELECT * FROM log as t1 JOIN (SELECT [vehicle number],Max(Date+' '+time) as maxdate FROM log GROUP BY [vehicle number]) AS t2 ON t1.[vehicle number] = t2.[vehicle number] ...Show All
Windows Live Developer Forums Events and routines for voice and video sessions
Have your released any APIs for handling the Voice and Video If so, where can I find them If not, do you have any intention of providing those and what would timeline be Thanks Chuck ...Show All
Visual Studio Team System Cannot pass a GCHandle across AppDomains while using unit testing.
Got a manage C++ class in a class library that uses unmanaged C++ lib. The managed C++ class handles callbacks from the unmanage C++ lib by a delegate "gcroot<MessageDelegate^> m_MessageDelegate". To invoke the delegate I use the call "m_MessageDelegate->Invoke(nMsgId);". This works without any problem when running applications using this class library but when testing the class library using unit testing I got the error "Cannot pass a GCHandle across AppDomains" when I invoke the delegate. Please take a look at this (duplicated ) post that can be helpful. Thanks, Michael ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MathHelper - Trig methods, fast float math
I think it would be helpful if MathHelper had a performant set of trig methods that work directly with floats, rather than having to use System.Math, which works with doubles. Also, does the x86 build of .NET Framework 2.0 optimize math on the float type using processor capabilities such as MMX or SIMD If not, this would be nice to see optimized float math functions as a feature of the MathHelper class as well. I would post this in XNA feedback, but it appears to be down at the moment. ...Show All
Visual Studio 2008 (Pre-release) How to get ScrollBars for ListBoxes in a custom panel?
Hi! I've got a custom panel tiling the available space horizontally for two child controls. Everything works fine, only the ListBoxes don't get scrollbars as they should. Thank you very much! Here's my code: using System; using System.Windows.Controls; using System.Windows; namespace Weissegger.WPFControls { public class TilePanel : Panel { protected override Size MeasureOverride( Size availableSize) { double totalWidth = 0; double totalHeight = 0; Size childSize; for ( int i = 0; i < Children.Count; i++) { Children .Measure( new Size ( double .PositiveInfinity, double .PositiveInfinity)); childSize = Children .DesiredSize; totalWidth += child ...Show All
Commerce Server SQL Role Clarification for Marketing Resource
It appears there are some differences between the roles assigned for SQL Server 2005 deployments of Commerce Server when you look at the product documentation and the Starter Site. I was hoping to get some clarification from the product group as to why this is In particular the issues are with the Marketing database: Marketing Web Service Identity CS2007 Docs - mktg_MarketingService_role, mktg_promoCodeGenerator_role, mktg_runtime_role, mktg_dataManager_role Starter Site Install Guide - mktg_MarketingService_role, mktg_promoCodeGenerator_role Orders Web Service Identity CS2007 Docs - mktg_runtime_role Starter Site Install Guide - db_ddladmin , mktg_runtime_role Run Time User Identity CS2007 Docs - ...Show All
Visual C# Free version control tool
Hello, Is there a free version control tool with .net API Thanks. there is not a version control supplied with the .net framework. you may want to look at Visual SourceSafe or Team System which are version control system from Microsoft. There is also CVS or SubVersion which are free version control systems available. ...Show All
