danflu's Q&A profile
Visual Studio Team System TF53018: The application tier SERVER is attempting to connect to a data tier with an incompatible version
There is such error in event log on try to connect to source control: ------ BEGIN OF ERROR TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 10/23/2006 5:01:26 AM Machine: SOLARIS Application Domain: /LM/W3SVC/3/Root/VersionControl-6-128060532856161741 Assembly: Microsoft.TeamFoundation.VersionControl.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process Name: w3wp Process Id: 620 Thread Id: 3180 Account name: DOMAIN\tfsservice Detailed Message: TF53018: The applic ...Show All
Visual Basic How can I create and use a .dll file to be associated with a form?
Hi, I wanted to create a dll file (project) that will be used in the same solution of a windows form. I'm going to use one dll file to scan for any missing file and (or) directories inside the applications path, I was trying to use application.startuppath, but it is not accessible inside a dll file. How can I pass the value from the form to the dll Unless there is some other way, that is the first thing I thought of. I don't even know how to call the dll, I tried adding it as a reference to the form project, but it doesn't work, please explain in depth of what to do, I have never created or worked with any .dll files previously. Thanks. Start with a solution that has your Windows Forms project. Rig ...Show All
SQL Server How to treat two different subcategories as one absolutely?
As the subject suggests , I encountered that problem when I want to treat two different subcategories as one absolutely! Every product belongs to one subcategory , and every subcategory belongs to one category.Now in the category X there are two subcategorys : A and B,and I want to treat the merging of A and B as the new subcategory 'AB' logically absolutely , which means that , for example , the products belonging to A and B now belong to 'AB' , which meas the function 'descendants' works fine as before , but the total sales of all subcategories are right(so does "currentmember") when I choose subcategory.AllMembers on some axis. Any reply are appreciated. 3X. If you want to do it ...Show All
.NET Development RtlFreeHeap Pinvoke
Hi, I have a method with he following signatures C declaration char* someMethod(int a, int b) C# declaration [DllImport("somedll.dll", CharSet = CharSet.Ansi, SetLastError = true, EntryPoint = "someMethod", CallingConvention = CallingConvention.StdCall)] public static extern String someMethod(Int32 a, Int32 b); I get an exception :Invalid Address specified to RtlFreeHeap Well this is fairly simple function but I can't fighure out what the error is. It is probably something to do with the returned string. Can some suggest a solution. Thanks. Thanks, that helped. But this will not be helpful if there is an array of strings(length unknown) that is bei ...Show All
Visual Studio Team System how do i make Domain groups into global groups
Hey everyone ok well im in a situation where i want to have some groups that can ONLY read status's and not change it and some that can change the status for different stages of the defect.. my problem is that i created a couple different groups which were domain groups, when i go to the list of groups that i can read only or whatever there are only the global groups, how do i switch my domain groups to global lists thanks Here is how-to article on creating server level groups: http://msdn2.microsoft.com/en-us/library/ms252479.aspx . There is good information on how to manage groups and permissions at http://msdn2.microsoft.com/en-us/library/ms253047.aspx ...Show All
Windows Forms Long Serial Numbers.
Dear All, I have problem here with my long serial numbers. My length of serial numbers are in the range of 20 to 30 digits. So what I did i know that the database cant support that long of int so I kept in database as varchar. The problem now is that when I do a select from the database I need to group this serial number base on their number in terms of difference of 1. Ex. I have a list of serial say as below 12345678909999999991 12345678909999999992 12345678909999999993 444444489099999999913 444444489099999999914 So when I run the for loop I will store the first value that is 12345678909999999991 then compare with the next one that is 12345678909999999992 so the difference is 1 then compare the second value of ...Show All
Windows Forms Host a DateTimePicker in a DataGridView ?
Hi, I'm trying to host a DateTimePicker in a DataGridView, and it seems that there's a bug somewhere (which I can't find). I took the MS example ( http://msdn2.microsoft.com/en-us/library/7tas5c80.aspx ) and created a new VB application (2005). The only change I made to that code was to add a second column. Now... I run that application and pick a row, and then try and edit the date in place (that is, without a popup). Say the date is "19/09/2006". I click on the cell (it highlights), I click on the "19" (that highlights) and I press some numeric key (like "4"), I then press "tab" to get to the same row, second column, my date stays as (or rather, changes back to) "19th". In my ...Show All
Software Development for Windows Vista vista and UNC paths and mapped drives
Hi, My application is stored on our network in a location K:\path\to\app.exe. each user double clicks on the exe and installs right off the network. In vista when you do this instead of launching K:\path\to\app.exe it changes the command to a \\servername\share\ format, \\server01\path\to\app.exe. Unfortunatly for legacy reasons it will only work with a drive letter and not the UNC path. So before I look at changing the app's code, Is there a way to get past this in Vista RC1 Thanks Shane I am also having the same problem. The app resides on a network drive. I use a call to GetModuleName() and it returns the UNC path in Vista but returns the drive letter and path in XP and 2000. This happens if the app i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Im new and im interested in making a game!
Ok im new but I DONT KNOW HOW TO CREATE A GAME! can someone help me please! :) The best option for you is to start by having a search through the XNA Game Studio Express Forums on this site. Form there you will see lots of examples and tutorial sites that will help to get you started. I have put together a small Tutorial on the main Base application for XNA ( Your First Game ), you might want to have a look at that, other then that there are heaps of other sites around that will help. www.virtualrealm.com.au (My Site and Blog) www.xnadevelopment.com (Ran by George Clingerman) http://msdn.com/xna Microsofts XNA Development Center www.xnaresources.com www.xbox360homebrew.com Plus ...Show All
Software Development for Windows Vista XAML Based WF Linked to Assembly
I am trying to set up an XAML based workflow where all of the activities are either common activites or defined in a custom assembly. I am loading the xoml file at runtime using an XMLReader to load the xoml file, then calling CreateWorkflow with the XMLReader. After working with this a bit I was finally able to get the workflow to load correctly. The workflow starts with a While Activity. The While activity calls a member of my custom SequentialWorkflowActivity class named 'ContinueLooping'. 'ContinueLooping' sets args.Result = true; This should result in a continuous loop, however, the workflow always completes right away. If I put a message box in the 'ContinueLooping', I never see the message box. If I change the name of the 'ContinueL ...Show All
Visual Basic dgridview
I have two datagridviews dgv1 and dgv2 bound to datasets when user double clicks on dgv1, the current row of dgv1 gets added to the dataset of dgv2 Now what I want is when user clicks on the same record of dgv1, It should show msgbox that row was already added in dgv2( for information i dont have any primary keys) pls help me http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=695209&SiteID=1 Please do not cross post the same question in multiple forums. Those that read this forum generally read many of those related to VB and simply clutters the forums with the same question. ...Show All
SQL Server Store procedure/scripts for monitoring replication status and performance
Hi guys , may I know is there any examples of store procedure/scripts for monitoring replication status and performance I just know about sp_replmonitorhelppublisher. Thx for the assistance. From, Hans Did you try searching Books Online I searched for "monitor replication" and came up with these topics: How to: Programmatically Monitor Replication (Replication Transact-SQL ... http://msdn2.microsoft.com/de-de/library/ms147874.aspx How to: Programmatically Monitor Replication (RMO Programming) http://msdn2.microsoft.com/fr-fr/library/ms147926.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What is MultiSampleQuality
Hi, I'm curious as to what exactly MultiSampleQuality is. I understand how to set fsaa with MultiSampleType using a PreparingDeviceSettings Event Handler or just fiddling with the presentation parameters can calling Reset(). But to fulfill my curiousity, I was browsing the docs and saw little documentation on MultiSampleQuality. I understand I need to set the Type to NonMaskable to use the MultiSamplyQuality Or it must beset to an int less than the Type. What is that int all about and MultiSamplyQuality all about Thanks Found something about that in the gamedev.net forums click Topic bye ...Show All
SQL Server Matrix headings on 2005, pain in the neck
Hello, I know this is a known issue since SSRS 2000, but it seems that it hasn't been solved: How can I have column headings on a Matrix Report (not in the data region, just in the columns that identifies the rows). All the workarounds and tricks that I have found are quite nasty and have drawbacks when you export to Excel, for instance: - Using a table inside upper left blank area in the matrix report: Problem, when you export to excel you loose the Header. - Using an rectangle and placing textboxes (tweaking with pixels... :-(): When you export to excel you get excel columns merged, quite bad if somebody wants to make some macros or calculations). - Using a list report ... well I need a matrix report :-). Is ...Show All
SQL Server schedualing a ssis package
There is on ssis package. with script components. i have tried using a bat file but this did not work. it complained about the script component. i am not so keen on using sql to schedual the package. because it has to use a widows account. The error that it came back to me with was, the task "X" cannot run on this edition of integration services. it requires a higher level. The thing that gets me the most is that when a run it under my name in the constructer it works fine unless there is a new version of the dtexec application ...Show All
