Suresh .M.V's Q&A profile
Visual Studio Team System Number of tests executed in build report does not match the number of tests executed in build log
We are using TFSBuild and have 33 tests run automated during the build process. When we look at the report for Builds, it states that only 1/1 tests run. However, looking at the actual build log shows that all 33 tests were executed and passed. The tests are broken up until 2 solutions. 1 Solution has only 1 test running, while the other has 32 tests. Looking at the build log, both solutions say that their test results were published. Any idea why the build report would say that only 1 test ran and passed Thanks We tried that and it only reports the number of tests in the one solution. When we add both test solutions, it no longer works and only reports the number of tests that executed in the first solu ...Show All
SQL Server Checkpoints: FTP task download FTP files fails in between then what will happen?
Hi, I have a FTP task in my control flow that download files from a FTP server. This ftp task is inside a foreach container that loops over a ADO recordset for the file name. The files that the ftp task pulls are huge. If the FTP task fails then I want the FTP task to restart and only download those files that have not been downloaded. Is this possible What possible configurations do I have to make to the foreach container and the filetask Thanks a lot in advance for your help and time. Regards, $wapnil ...Show All
Audio and Video Development 0x4094c00c on Toshiba emulator
The error code comes up everytime the xmu calls functions (any function) in .js. Any clue That means there was an error in the function that you are calling. You would have to write some debugging code to get more specific than that. ...Show All
SQL Server How to figure out if the dataset returned any data or not while rendering the report through the SSRS Web Service
In one of my projects, i have been using the SSRS web service to render a report as pdf and then manually emailing it out. I need to know whether the data set for the report returned any data or not (so that i can avoid emailing the report with a blank report body). Ofcource this can be done by executing the same query (same as the query for the report) from C# code and checking the count of the resultset, before calling the SSRS Render method. But it might not be an efficient method. Was wondering the the SSRS Web Service provides an property or method that can let me figure out whether the resultset was empty or not (after the report execution). Thanks. After the report execution you will ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Disable transparency in terrain (star field shown thru terrain)
(Note: I am not able to format my code with PRE tags so I have to show you the code without fixed-width and unformatted/dedented code anyway.) I have an image that I want to show to you: http://img141.imageshack.us/img141/961/terrainglasssw9.png As you can see, there's transparency in terrain even though there's no alpha channel in TGA but I tried other file formats like PNG and DDS but no help so I am going to show you the FX code: float4x4 WorldViewProjection : WORLDVIEWPROJECTION; texture UserTexture; float4x4 xRot; float4 xLightPos; float xLightPower; float4 eye; struct VS_OUTPUT { float4 position : POSITION; float2 textureCoordinate : TEXCOORD0; float3 normal : TEXCOORD1; float3 position3D : TEXCOORD ...Show All
Visual Basic Easier way to Array.Clear ?
I have an array that I want to reset. Dim A(10) as integer .... array.clear (A,0,a.length) Is there an easier way to do this (A's name is AttemptsThisExercise_ByCue ... so the above statement gets wordy. I TRIED Redim and got an error that it's not a member of system.array (And .net help shows that to be the case). Great suggestions. I'm goint to overide the MYCount(n) referencing so that if Mycount.Count<n+1 then It would do a MyCount.Add(0) until MyCount(n) exists. Any downsides to this code Public Class MyList( Of T) Inherits System.Collections.Generic.List( Of T) Private Sub AddElementsUpTo( ByVal i As Integer ) If i > ...Show All
Visual Studio Team System Error Establishing Connection
I have SQL Server 2005 Developers Edition SP2 installed on my Windows Vista Ultimate x64. I am getting the following error when trying to create or open a database project. --------------------------- Microsoft Visual Studio --------------------------- An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) --------------------------- OK --------------------------- I have tried following all the steps listed in opening u remote connections, however that doesn't solve the problem either. M ...Show All
SQL Server sql 2000 help!
Hello all, I am having a problem with the sql DB on the company that I work for. I got message under job history on Enterprise manager is : "The job failed. The Job was invoked by Schedule 15 (Replication agent schedule.). The last step to run was step 1 (Run agent.)" and in the event log is: Event ID: 208 Source: SQLAgent$(company DB) "sql server Schedule (company DB) status:Failed" Please advice. Thanks in advance Kind regards PS:i posted this msg in another sections coz i dont know which section i should post to. ...Show All
Visual Studio Express Editions Code cleanup Needed
Using VS 2005 I would like some opinions with this code will anyone look it over I can't seem to figure -out the few quirks it has. 'Project Name: My Craps game Project 'Project purpose: The project simulates the dice game craps which use's two dice 'Created/revised by: David Barselow/Present time & date Option Explicit On Option Strict On Public Class MainForm Dim point As Integer Dim die1, die2, die3, die4, die5, die6 As Integer Dim dice1 As Integer Dim dice2 As Integer Dim Dice3 As Integer Dim Dice4 As Integer Dim Dice5 As Integer Dim Dice6 As Integer Dim Dice7 As Integer Dim Dice8 As Integer ...Show All
Visual Studio Team System Unrecognized default notification 'From' address again....
Although I have seen this issue before, I haven't been able to fix this on the environment I am working on now. This is an environment that was once restored from a single VPC into a dual server environment. I have verified the web.config and both the mailserver and from addresses are fine. I have even set the email property of the user used to run the AT in Active Directory. Tried, IISReset, even reboot. The STMP Server can send messages, I verified that. I still end up with this error in the eventlog: 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 ...Show All
Visual C# Using private constructors in embedded classes
Hi. I have a pretty simple question, though I don't know if it has a simple answer: I would like to define a class-within-a-class such that the embedded class can only be created by the outer class, but once created can be accessed publicly (similar to a factory pattern): class A { public class B { private B() { ... } } public B CreateB() { return new B(); } } This doesn't work as written, I get A.B.B() is inaccessible due to its protection level, and I get "inconsistent accessibility" errors with any other configuration I try. Is there some other protection level that will allow B.B() to be accessible to A, but not to anything outside of A Also, I'm not super clear on this "inconsistent accessibility" co ...Show All
Visual C# How to import C# library to VC++ 6.0.
Hi, Is it possible to use C# library to VC++ 6.0. If so can you please give a steps to create a sample from VC++ using C# libraries. Thanks for your help. Yes. There are two ways to pass data. One is through the use of C# sockets on the managed side and native sockets such as C sockets, Windows API sockets, or C++/MFC Sockets on the unmanaged or native side. You can serialize objects even by using the serializable attribute on the managed side. The other way is to use COM Interop where COM-Callable Wrappers are created around managed code and consumed then by native-unmanaged code in VC++ 6.0. Managed Code // Under Project | Properties | Build, make sure you register the project for COM Interop ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Model Position Problem
I have this code that creates a model at the position of the mouse click but the model never shows up at that position. Maybe someone out there knows why the models seem to be offset. If I click in the top left corner of the screen, the model shows up in the center of the window. Here is the code: #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using System.Collections; #endregion namespace Commander { /// <summary> /// This is the main type for your game /// </summary> ...Show All
SQL Server AMD vs. INTEL
dear folks, A few days ago I heard from microsoft’s consultant a great disavantatge between Intel and AMD 64-bit processors when you manage sql25k and obviously other server applications. He stated that AMD could reach the hightest point around 1TB of RAM otherwise Intel only 64 Gb. AMD have a unique bus for all the processors (40 bit) whereas I ntel architecture works in star (34 bit) Is it true TIA thanks. we've selected a intel 64-bit cluster for our business as a migration of our old active-active cluster. I don't think that it will be noticeable in terms of our on-daily basis because never have demanded the full capabilities to our system so that... ...Show All
Windows Forms Displaying two fields in checklistbox
Is it possible to display two columns in one checklistbox For example, (checkbox) Full Name, DOB If so, can someone please let me know how I'd like to avoid using datagrid. Something along these lines: GetPeopleListDataSet.GetPersonList.Columns.Add("MyNewColumn", typeof(string)); Unless it's a strongly typed data set in which you might have to resort to: GetPeopleListDataSet.Tables[#].Columns.Add("MyNewColumn", typeof(string)); foreach (DataRow Row in GetPeopleListDataSet.GetPersonList.Rows) { Row["MyNewColumn"] = String.Format("{0:20}", Row["Name"] + String.Format("{0:d}", Row["DOB"]; } Y ...Show All
