Funny.net's Q&A profile
Visual Studio Team System unexpected error
Hi, I have generated as simple web test through recording option. 1. I will open the web site 2. Click on Search button. List of records appear for that search. When I am running the script both steps are passed and showing as HTTP Status as 200k. But in web browser it is showing error message. It is showing application error in web site. I tried manually couple of times but I did not this error manually. I want to call this web test in my load test. Can I ignore the web browser error message and can go for load testing or should I consider that my web test fail because of this error message in web browser ...Show All
Visual Studio Team System WebTest Broken in Experimental Hive with Team Explorer
It seems that installing the latest version of Team Explorer (TFS BETA 3) will break WebTests - you cannot run them anymore. Now, I haven't gone through all the documentation to figure out whether this is a known issue, but here is a way to reproduce it. It was reproduced on 2 machines. This is the installation order: 1) Install VS Team System RC1. 2) Install VS SDK (Sept - latest) 3) Install Team Explorer (but don't connect to any TFS). Now, when I try to run webtests in the experiemental hive, it throws an exception with a dialog stating: "The test could not be run because of the following exception: Exception has been thrown b ...Show All
SQL Server SSIS error - Data Flow Task LocaleID 0 not installed on this system
I get the following error when trying to import (have tried flat files, Excel & Access). I've searched but have not found a resolution. Any help is appreciated. Jeff Validating (Error) Messages Error 0xc00470b6: Data Flow Task: The LocaleID 0 is not installed on this system. (SQL Server Import and Export Wizard) Error 0xc004706b: Data Flow Task: "component "Source - Test1" (1)" failed validation and returned validation status "VS_ISBROKEN". (SQL Server Import and Export Wizard) Error 0xc004700c: Data Flow Task: One or more component failed validation. (SQL Server Import and Expor ...Show All
Visual C# Nullable type testing against null
I need to test if a Nullable<T> instance is null after it's been converted to an object. My current code fails using this: using System; using System.Collections.Generic; using System.Text; namespace TestNullable { class Program { static void Main( string [] args ) { System.Nullable< int > n = null ; object o = n; if ( o == null ) { Console.WriteLine( "IsNull" ); &nb ...Show All
Visual C++ Complier error C2666
I am porting an app from VC6.0. The VC++ 2005 compiler doesn't seem able to disambiguate between the following overloads (I've shown an explicit cast at the call site for emphasis): class Y { public : void foo( bool b) const { return ;}; void foo( double v) { return ;}; }; int _tmain( int argc, _TCHAR* argv[]) { Y y; bool b = true; y.foo(( bool )b ); return 0; } However, if I remove the const from the first method it appears to work correctly. Does anyone know an explanation for this Is there a way round this as I'd like to avoid having to change the function signature by remo ...Show All
Visual Studio Team System Unable To Share Files With Team Foundation
How can I share code files between projects using Team Foundation source control We currently share code files between projects using the full framework and the compact framework. VSS has the ability to share, branch, and merge. TFS only allows branch and merge. We have similar problems and the lack of shared files is a total show stopper as our whole build process relies on it. Every other version control system on the planet can handle shared files perfectly fine. You say: "If you're so sure a file will always be exactly the same in two or more projects, why not add it as a link ...Show All
Visual Studio PLK request denied!
Hi there, I hope someone from MS can give me a solution about that follows. I went to the partner website to reuest PLKs. After my request had been accepted and the PLK was given to me, I found I had writen a wrong company name. Then I tried to edit the profile to modify my company name.But it seemed I'm not allowed to do so. So, I went to obtain a new account and filled in th right company information. Yesterday, I requested the PLK again with the new account. However, this morning I was notified that my request was denied. Is it because the 2 accounts have different register information? How can I get PLK with my new account ...Show All
Visual Studio VisualStudio.CommandBars
In Beta2, I am using the following code: Protected Shared mnuAbout As CommandBarControl Public Shared WithEvents mnuAboutHandler As CommandBarEvents 'EnvDTE.CommandBarEvents I get the menu created, but the menu handler event never fires. Private Shared Sub mnuAboutHandler_Click( ByVal CommandBarControl As Object , ByRef handled As Boolean , ByRef CancelDefault As Boolean ) Handles mnuAboutHandler.Click MsgBox( "About what " ) End Sub Can anyone help I wrote this macro to test events and they’re working correctly in VS 2005 50727.42. There was a late breaking bug in this area which w ...Show All
Visual Studio Printing issue with report viewer
Application: WinForm app with local hosted report, deployed using clickonce via HTTP; System: XP, VS2005 Beta 2 Problem: when report is open, click on print preview, everything looks fine. However, if I click print button to send it printer or Office Image Writer, the outcome is strange: font size becomes larger, page settings (margins) are not properly recognized, and content is pushed to the right and bottom causing cut-offs. Any idea how to fix this Thanks. Thanks. Is this fix included in RC1 Is RC1 more or less stable than Beta 2 ...Show All
Visual Studio VSS: % in filename
I have added to a VSS project, a file which contains a % char in the filename. For example: "Is_Old_New_65%Line.vi". When I try to Check-out the same file, VSS complains with the error: "Is_Old_New_65%Line.vi is not a valid SourceSafe syntax". Looks like VSS is treating the % as a control character, and rejects the filename. Since VSS was able to ADD the file with the % character, it should also be able to Check-out/Check-in the same file. Has anyone else run into the same problem Any work-arounds, besides deleting the old version, and Re-ADDing the new version, which defeats the concept of versi ...Show All
Visual Studio Team System Undoing a changeset?
How do you back out of a changeset I was experimenting with branches and merging and I made on a change on a branch when I intended the change for the trunk version. BTW, I can see this being a problem because the VS editor MDI tabs only give a filename (not directory) and so does the solution explorer. It would be nice if there were some visual cue to indicate that a solution you have loaded is not the "primary" version you work with but a branch instead. Brian and Buck - Thanks for the feedback on the feedback :) I hear ya on it being V1 - and we all know there ain't no V2 unl ...Show All
Visual Studio How to update PropertyGrid after changing type
Hi all, Our model allows to change the type of an element using the property grid. The element type changes succesfully, but the propertgrid is not updated accordingly. When another element is selected and then the changed element, then the propertygrid displays the correct properties. How can I dynamically update the property grid after changed the element's type Kind regards, Ronald Hi Ronald, What do you mean when you say you change the type of an element Do you mean you change the model element that a shape represents Thanks, George Mathew DSL Tools Team ...Show All
Windows Forms Bound DataGridView + Sorting
Hey I like the new look for the forum! Does anyone know if the DataGridView control has an event that will fire right before a sort occurs. I've tried all the events that contain the word sort and I even did the ColumnHeaderMouseClick event, which for some reason fires before only sometimes - seems too unpredictable to use for this purpose. Here's why I need this event: I have a column that depending on the data in the row will be a DataGridViewButtonCell sometimes, other times it will be a ComboBoxCell (defaultly ComboBox). If I do a sort and have that Column selected, it will get some weird errors. Basically I ...Show All
SQL Server MSRS + Fit to Page
Hi, I need to be able to fit a report onto one page of Landscape A4. I can set the page orientation to Landscape, but I cant find anyway of setting it to print on one page. If not, is there a way to have a 'Fit to' option where you specify the number of pages wide and the no. of pages long Can anyone help Cheers Fit to Page would be great. Is this on SP2 or scheduled for development some time ...Show All
Windows Forms Grab current record when not using databinding
Table: CustID int, primary key, Identity Specification = yes CustName nvarchar(20) When a customer is added the CustName field is passed to a stored procedure, therby adding the customer. The CustID is created automatically by the DB. I need to grab the value of the CustID just created by the DB. There is no windows databinding class being used. That value is needed for a foreign key into additional tables (billing adresses, phone numbers, etc.) Any thoughts I must be overlooking a simple mechanism here. I can't simply grab the record by CustName since there may be more than one company with the same name. Also, I don't wan ...Show All
