Grant_csi's Q&A profile
Visual Studio Team System VSS Coverter crashes during migration.
I have been trying to migrate the VSS data to TFS Source Control. Initially I tried with full database (around 4GB size with 36135 actions). VSS Converter finished in 3 hrs and 37 min with 4242 errors. Most of the code files were w/o history. It wasn't expectable so I restored the fresh TFS version control database (backed up before migration) and again attempted with incremental migration. This time it went quite far with just 345 errors but eventually crashed before completing the job. Here is the message I got: Verifying pinned versions... The application is unable to handle exception: An item with the same key has alr eady been added. Unhandled Exception: System.ArgumentException: An item with the same key has already been added. ...Show All
Visual C++ DLL Project migrated from VC6 to VC8 crashes.
Hi, I am currently maintaining an MFC/ATL COM project that has been compiled till now with Visual C++ 6. I have been assigned the task to maintain the code under the VC8 compiler. The solution has several projects under it. Most of them generate DLLs, and there is also an Application project that uses these generated DLLs. Migrating the code from VC6 to VC8 has meant mainly performing the following minor changes to the code... using the _CRT_SECURE_NO_DEPRECATE macro definition to suppress various warnings (not errors) regarding deprecated function calls etc. removing the @1, @2 ... ordinals from the .def file changing string functions like ltoa() to _ltoa() etc. static_cast<> for conversion errors ...Show All
Visual Studio 2008 (Pre-release) Extending DataContext?
Is it or will it be possible to override the internals of the DataContext I want to alter the object creation implementation in the datacontext to create subclass proxies instead of just instancing the entity types directly. However DataContext seems very black boxish. Im well aware of the claims that non virtuals execute faster than virtual methods etc.. but in this kind of scenario where big chunks of data is fetched from some sort of datasource , those few nano seconds will be impossible to notice.. so that will hardly be a valid argument. Ive seen that there is a "services" collection inside the datacontext , but that also seems impossible to access from the outside. it would be really really lovely if such things were expo ...Show All
Visual Studio Team System How do I exclude a database project from a solution for a build
This is along the line of other posts I've seen but, doesn't cover a database project. I have a solution with a web project, libraries, and a database project. The database project doesn't show up in the Configuration Manager of the solution to include or not in the build. When I create a build to run on our build server it fails with the D:\Build\Project\Project Build\Sources\Project\Project.sln(0,0): warning MSB4078: The project file "...StoredProcedures.dbp" is not supported by MSBuild and cannot be built. It builds fine in VS since it's not being included. How do I exclude it from the build server build Unfortunately, this is a limitation of MSBuild, and there is no fix for the pro ...Show All
SQL Server Passing GUID into dtexec, invalid cast to a string variable. Solution??
I am getting an invalid cast specification when I call dtexec and try to /SET a user variable within the package that is defined as a string data type. Is there any solution to this I have tried passing the GUID with {} w/o {} w/ '' w/ "" etc.. many variations... and still get an invalid cast specification. Is there a data type that I need to set the User variable to besides String The User Variable is used to Select records from a SQL data source where the GUID is stored. I do not have an option of GUID data type for a User Variable. Thanks for any help! Aaron B. What does your SET look like, this works fine for me. I just set it, and check the value in a Script Task, just to ensure ...Show All
Visual Basic Show Forms inside a SplitContainer
Hi, I think this might sound weird, but I’m working with new VS2005 Pro controls. I have a SplitContainer and I would like to know if there is a way that allows me to show different forms (one at the time) inside my SplitContainer right panel. My SplitContainer is on a MDI form and instead of showing the form above the SplitContainer, it would be nicer to have it inside the SplitContainer panel. is it possible any hint Thanks in advance George George, Try Panel1.Controls.Add(New frmClients) Here's what I do: ' MFBaseForm is a common form others derive from for functionality to talk to the status bar, etc. Dim f As MFBaseForm f = New MFForm1 ' MFForm1 inherits f ...Show All
.NET Development Convert dataset to XML ?
I have a report that will be repesented as a tree, with three levels. I have a proc which returns three tables, one for the data at each level. I'd like to generate an XML document that represents the tree, which I guess means I want to tell the data set how to look into the lower levels to get out the data that pertains to each higher level I have a feeling there's support for this, but not sure where it is You need some way of transfering the schema of your data. You can create a dataset, add tables, and add also relations. When writing to xml file you should include the schema of dataset. You can either do this with c# code or create typed dataset, add relations between tables and use typed dataset to fill and write with schema t ...Show All
Visual Basic Warnings Question....
Does anyone know what these 3 warnings mean and how do I fix them Warning 1 There are updated custom wrappers available for the following referenced components: Office. Warning 2 Failed to create the wrapper assembly for type library "MSOLAPUI80". Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)) MGM_REPORTS Warning 3 The referenced component 'MSOLAPUI80' could not be found. Thanks!!! EZ1976, Read the following link and hope that you can find your satisfied answer of the three questions above. http://xldennis.wordpress.com/2006/10/18/using-loaders/ ...Show All
Software Development for Windows Vista Missing plugin for Live meeting in Vista
Hi, I have installed LMAddinPack(Live meeting) on Vista.when i open Microsoft Outlook, there i should get this live meeting options as plugins.But i am not getting it. However i am getting these plugins on XP. So anyone could help me out and let me know the procedures and i should carry to get these plugins on Vista(Microsoft outlook) as well. Thanks and Regards, Karthikeyan ...Show All
SQL Server How many full-text catalogs does SQL Server 2005 support
SQL Server 2000 is pretty well documented with the limit of 256 (see http://msdn2.microsoft.com/en-us/library/aa214780(SQL.80).aspx ) but I can find no documentation anywhere that discusses the limit on SQL Server 2005. Is there one Please help ! Thanks No, this is even not true for 32bit. SQL Server 2005 removed this restriction. Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Software Development for Windows Vista How can a "fork" (parallel split) pattern be implemented in a WF state machine workflow?
By "fork", I mean from within a root state machine workflow, how can I initiate 2 or more state machine subworkflows, have the state machine subworkflows execute in parallel and a) have the parallel state machine subworkflows join or synchronize later in the root state machine workflow ...or b) not have the parallel state machine subworkflows join or synchronize later in the root state machine workflow (i.e. have each subflow complete independently) Are there any restrictions on the StateMachineWorkflowActivity invoked by InvokeWorkflowActivity ...in particular, are there any issues having InvokeWorkflowActivity invoke an instance of the same workflow it is being invoked from ...i.e. can the child workflow created by ...Show All
Windows Forms Databinding to class properties/variables
Ok, bear with me here - I'm not famed for my explanatory skills... The " recall " method of my " issue " class retrieves a particular record and spits the data back into the relevant variables in the class: Issue.Recall(IDtoFind as integer) (results are stored in Issue.ID, Issue.Title , etc.) Next step is to display these results on my form for the user to see. Naturally this is easily achievable by using Title_Label.Text = Issue.Title However, I think it would be better to use databindings instead, so then any changes will be synonymous between the form’s text boxes and the class’s variables (which would then update back to the dataset when the uses presses 'save'). The problem I’ve got, is that ...Show All
.NET Development System.InvalidCastException: Unable to cast object of type 'ASP.students_payment_aspx' to type 'WMProShop.Payment'.
I GET THE FOLLOWING PROBLEM WHEN I AM MAKING THE CHANGE IN THE APPLICATION AND REUPLOAD ON THE SERVER PLS PROVIDE ME THE SOLUTION SOON THANKS Server Error in '/' Application. Would you please the code you have in WMProShop.Students.CreditCardInfo.PaymentControl property ...Show All
Visual Studio VS 2005 can not delete project_name.vshost.exe file
The *.vshost.exe file needs to be deleted from the bin\Debug folder manually because the VS Debugger will not start otherwise. This behaviour occurs every morning. The file is backdated to 9/26/2005 6:56 AM. The file appears every day. And VS works after this file is deleted manually. How can I solve this problem please Thank you. Piyush, Go to project properties, select Debug pane and disable "Enable the Visual Studio hosting process". Azeem Khan Visual Studio Debugger. ...Show All
Visual FoxPro MSCHART AND VISUAL FOXPRO 9
I am trying to use MSCHART with VFP9 and have some success until I want to set or change Legions, Titles, Colors etc. or to enter data into the second Y axis. Using any of the property / constant names only produces the message "Name Unknown". Any suggestions. CetinBasoz wrote: Wrong. I don't remember I said something about graphs.vcx (and I don't have an idea what it is). The code I posted is missing only 2 pieces: 1) DibApi32.dll - A well known DLL from MS samples. You can get it from http://support.microsoft.com/kb/130804 2) The report form itself. Create a report from sample cursor (before report form line). ie: create report myReport from alias() column modify report myReport Add a grouping ( by ...Show All
