Rafat Haddad's Q&A profile
Visual Studio Team System TFS Server Setup (Single Server): Error 28002.Error Unknown.
I am also receiving this error, and cannot get around it. Has there been a solution identified yet I've seen several other posts, but no resolution. I have 3 seperate domain user accounts as well, with domain\ TFSSetup being the one in use for the installation, and it is in the local administrator group (and it is not a local user). Running on a newly installed 2003 Server installation, and SQL Server 2k5 installed successfully as well. Here are the bottom several lines of the log file: MSI (s) (98:40) [15:04:31:343]: Executing op: RegAddValue(Name=VsEditor,Value={00000000-0000-0000-0000-0000000000 ...Show All
Visual Studio Team System Is there any way I can not display specific web test errors?
Currenty I have a web test that is displaying errors when a gif file that is on the page is missing. It will be a while before this can be resolved in production, so I can't fix it right away. Is there a way to ignore the missing files (404 not found errors) Thanks, Tom That answered my questions. Disabling parsing of dependant requests did exactly what I wanted. I noted that it is easy to do this to the wrong step - i.e. the URL that matches the results rather than the one that causes it. No fix for this just a training problem. This can be especially true if the same URL is revisited. TomK ...Show All
Visual Studio Team System Cherry Pick merge
Hi, I'm working in RC and have the folowing scenario: Make branch B from folder A. In folder A, make changes in file F, check in and get changeset 1. In folder A, make more changes in file F, check in and get chageset 2. Now I'de like to merge only changeset 2 without changeset 1 to branch B. How doing it Thanks, Michael tf merge A B /r /version:2~2 Or in the UI, choose Merge -> Selected Changesets -> highlight #2. At this point, you'll get a conflict (in the tree-merge sense, i.e. overlapping versions of the same file) on each file that was edited in both #1 and #2. In most real-world scenarios, you ...Show All
Software Development for Windows Vista Manifest files for Vista
Hi, For some of the exes of my product, I need administrative privilege. So I embed them in my application with "requireAdministrator". It works fine on Windows Vista and prompts for allow/deny or administrator uname/password as applicable. But the same program has non consistent performance on previous OS versions(XP, 2003 Small business etc). It shows blue screen sometimes for the applications where these manifest files are embedded. One can avoid these blue screens if the embedded manifest file is also present in the same directory as the exe for other OS. I do not want to make my application dependant on the presence o ...Show All
Visual Studio 2008 (Pre-release) Questions about creation of certificates in an application
I am building a p2p application using the WCF peer channel. I would like the messages between peers to be secure (signed and encrypted). To do this I need to have each peer use a certificate that is unique to that user. The only things I have found on creating certificates has to do with testing of code signing, not use in real applications. What I think I need to do, but have not found a way to do in code are the following: 1) Using my certificate create a certificate for each license of my software. 2) From each license allow the user to create a certificate for that user's accounts (one license can have more than one use ...Show All
Visual Studio Team System PublishRun: Server was unable to process request
Hi everyone, I get the following errors when the Test Run completes... it seems that permissions may be incorrectly set for this account (against the build server), but everything in the drop phase works fine for other build output, which I find somewhat confusing. Has anyone seen this before MSBUILD : warning : Test Run Failed. MSBUILD : warning : PublishRun: Server was unable to process request. ---> Access to the path '\\90dsdev001\Builds\Kerrisdale\Stable\Compile\Stable_Nightly_20051128.1\TestResults' is denied. MSBUILD : warning : Test Run Failed. MSBUILD : warning : PublishRun: Server was unable to process request. ---> Acc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Basic question: Transforming a vertex is shaking my worldview
Wow, I always thought I had had matrix transformations pretty well figured out until now. So say I have a vertex, conveniently located at the origin (0,0,0). If I want to apply a transform to this vertex -- namely, a translation, I could do something like this: Matrix translationMatrix = Matrix .Translation(100.0f, 50.0f, 0.0f); // a simple 2D translation Vector3 myVector = new Vector3 (0, 0, 0); myVector.TransformCoordinate(translationMatrix); As expected, my vector gets transformed to its new value: (100, 50, 0). Now let's get crazy. Assume that I want to apply a transform that consists of a rotation and our previously ...Show All
Windows Forms FileOk Event problem
My handler for the FileOk event of a dialogbox just won't work.My code for the handler goes like this : void saveFileDialog1_FileOk( Object^ sender, System::ComponentModel::CancelEventArgs^ e ) { label1->Text = "test" ; } label1 is a label on the form and i want to change its text property just to check if the handler works.The saveFileDialog control shows itself after a click on a menu button.And when i click on the save button of the dialogbox, nothing happens.Any help I just typed the code under some other event handlers my program uses.Well this is my first windows ...Show All
Visual C# Where the Control definitions located?
When i createad a web application in Visual Studio .NET 2005, and drag-and-drop some controls on the page, i need to see the definitions of these controls, where are located I can not find them the only files i can see is for example (Default.aspx) and Default.aspx.cs (which not contains the definitions of controls). regards What exactly do you mean by control definition The controls are implemented in assemblies you reference, such as System.Web.dll, if that's what you mean. ...Show All
.NET Development is this transaction completing on its own!?
I' v e re-tested this 3 times now. It seems to happen roughly 10 minutes after the transaction is promoted to a distributed transaction. The transactionscopes being created are initialized with a TimeSpan.FromDays(1) for the timeout value (one at the client, then one for every server request, for an estimated total of ~400 transactionscope objects created at the server-side). Below is the tail of my debug output which includes the exception objects (partially reflected) of the exceptions which were thrown that kill the import process. The timestamps are mine. Non-timestamped lines are either being generated outside of my codebase ...Show All
SQL Server SQL JOIN? BETWEEN? ON?
i have two tables carModels and plates carModels = modelID(int,primary key), makeID(int), modelName(varchar), startYear(int), endYear(int) plates = plateID(int), plateName(varchar) When i insert a variable eg @modelID into the query. I want to return from the query the platedID and plateNames from the plates tables. Between the startYear and the endYear of the carModel table for the specific modelID record of the @modelID but i don't know which JOIN statement or Between or ON syntax to use ps im using this as a table adapter in Vis Web Dev 05 Express (if that makes a difference) please can anyone help thanks Gaz ...Show All
Visual Basic Input mask for Email?
Does anyone have a good "input mask" for masked text box to validate Email addresses Best Sorry about my ignorance but I set " ^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$" as the mask on a MaskedTextBox but I couldn't get it to work. Could you please provide a simple example on how to use this mask to validate an email address Thanks, ST ...Show All
Smart Device Development Strange bug occurring over time
Hello Everyone! I'm having a strange bug that occurs after running my application for usually more than 10 minutes. I really have no idea whats causing the problem, and have no idea if its related to the framework. Anyway, here's what happens, i'll run my application and it'll run perfectly for usually a long time. There are a few things happening here. I'm receiving data through the serial port and processing that data. Anyways, after a while, i get this... value of scanNewID: False value of scanNewID: False [all o ...Show All
Software Development for Windows Vista How to Obtain Fault from child activity in FaultHandler?
How does a child activity obtain access to the Fault captured by a FaultHandler I have a code activity as a child of the FaultHandler. I simply want to spit out the message from the exception that was caught. I tried using the Parent property, expecting that to give me back a reference to the containing FaultHandler, but it was null. The only way I can figure is to add a property to the workflow to store the Fault in through a binding so that it is still accessible to the child code activity. This seems like a really kludgy/indirect way of handling things though. Is there some way more direct, for this specific situation, and hopefu ...Show All
.NET Development Images fail to load
I have a strange anomoly. Having coded successfuly my site in Visual Studio 6, my images disappeared when i uploaded (FTP) them to the remote server. When i view my webpage locally, the site works perfectly fine, including all images, CSS, and links. Also when viewing the files themselves through the FTP server by double clicking on them, the pages load properly including all links, CSS, and images. However, when i type the URI of the site (e.g. www.microsoft.com ) the page that loads has no images on it, and the page behaves differently each time the page is loaded. Sometimes when i go to the URL it doesn't load the image, nor does it lo ...Show All
