TheMaj0r's Q&A profile
Visual Studio Team System can't publish test result
The publish operation fails with the error message:Server was unable to process request. ---> Attempted to perform an unauthorized operation. Anyone encountered such problem Is it because I don't have enough perm to publish a test result The following is my publish steps: 1. Build the team project - Success; 2. Run tests and click publish in Test Results window Any idea thanks Are you a Namespace admin in TF You will need to make sure that the user for which you are publishing has been granted permission to TFS, and also to publish. What build of TFS are you using What Client are yo ...Show All
SQL Server Delete connection file
I've inherited a procedure that performs a few transforms and writes to flat files in a working directory using a connection in connection manager. After the manipulation, the system cleans up by deleting the working files. Works fine in development, but from the command line gives: The process cannot access the file <filename> because it is being used by another process.". I suspect this is because connection manager still has the file open. Any ideas Thanks Guy So this would be in a script componenent after the last valid use of the connection and before the deletion I take it I would also probably need to force RetainSameConnection to use only one connect ...Show All
Visual C++ Write a text file with Visual Studio
Hi, I am trying to write a function thats save to a text file the text I wrote in an EditBox of my main dialog. I tried many ways but the only approach that seems to work is through the code that I detail below. Still I could not write down the whole text, the last three characters are not written!!!, What I am doing wrong . Is there any way of doing this more easily . I am using Visual Studio C++ 2005 Express Edition and if i try to use fopen compiler tell me is a deprecated method, so I don't want to use it. Thanks in advance. HRESULT RecordAuxTextData(HWND hDlg) { HANDLE hDestFile = INVALID_HANDLE_VALUE; BOOL bSuccess = FALSE; // Open destination file hDestFile = CreateFile (TEXT( "c:\\RASITSonidos\\myfile. ...Show All
Visual Studio Team System BizTalk 2006 and Team Foundation Server map/schema issues
I am having some issues with Visual Studio 2005 crashing when referencing schemas or maps from different projects. We are using BizTalk 2006, Visual Studio 2005, and Team Foundation Server for source control. I have three projects: SchemaProject1 SchemaProject2 MapProject (has a ref to SchemaProject1 & SchemaProject2) Steps to reproduce problem 1) Add a new map to MapProject. New map is added successfully 2) Click on the Source Schema link to choose a source schema Visual Studio does not respond by opening the Schema Picker dialog. Instead it just blinks for a few seconds and acts like the link was never selected. At this point, Visual Studio has already become unstable. When i try to close the solution or individual projects, I ge ...Show All
SQL Server Error: 'The DbpropMsmdMDXCompatibility property is not overwritable'
I am getting the error: "XML for Analysis parser: The DbpropMsmdMDXCompatibility property is not overwritable and cannot be assigned a new value." when I try to connect to an AS2005 cube through http using Office 2007. I can connect to the same cube fine with other clients. Any ideas how to approach this issue MDX Compatibility Mode is a session property and cannot be changed from command to command. What you describe here sounds like a bug inside connection pooling in msmdpump.dll - perhaps somebody connected with non-default value for MDX Compatibility Mode, and his connection is being reused for your session. ...Show All
.NET Development Difference betwwen .net Remoting and Socketing
hi forum what is Difference betwwen .net Remoting and Socketing, webservice and Remoting thanking you in advance You'd better study MSDN to get the answer of this or search google. There are countless discussions on each subject. You can assume it's quite a long discussion to be covered here on Forums. Best Regards, Rizwan ...Show All
Visual Studio Team System Team System Warehouse Problems
Hello, About five days ago I started seeing a bunch of errors in the Windows Application Event Log. I've been searching for solutions for the past few days with no luck so now I'm posting here. Here's the errors I'm getting in order: ============================================================== Event Type: Error Event Source: MSSQLServerOLAPService Event Category: (289) Event ID: 19 Date: 9/20/2006 Time: 9:56:27 AM User: N/A Computer: TEAMSERVER Description: Errors in the metadata manager. An error occurred when loading the Changeset dimension, from the file, '\\ \D:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\TFSWarehouse.0.db\Changeset.200.dim.xml'. For more information, see Help and Support Center at http://go.m ...Show All
Visual Studio Express Editions Problems with basic Hello World program.
I am using the following code.... #include "stdafx.h" #include <iostream> int _tmain(int argc, _TCHAR* argv[]) { std::cout << "Hello, world!\n"; return 0; } And I am getting the following error... Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (__imp_ $ 6DU $char_traits@D@std@@@std@@YAAAV $basic_ostream@DU $char_traits@D@std@@@0@AAV10@PBD@Z) referenced in function _wmain test4.obj I don't know why but V C++ EE ins ...Show All
Visual C++ stdafx.h
How does VC++ decide whether to put a stdafx.h into your project or not I am looking at older code that I wrote a while back and I noticed that it does not include a stdafx.h I would like to add a #define _CRT_SECURE_NO_DEPRECATE 1 to stdafx.h, but the project doesn't have the file. And I'm not sure if it is safe to add it after the program has already been written. Thank you. longwood stdafx.h is generally a precompiled header, added by the VC++ project templates. Some templates (if not all) do have boxes you can to control whether or not to generate the header. See http://msdn2.microsoft.com/en-us/library/syth7b6s.aspx and the linked urls. ...Show All
Visual C++ filling and writing multidimensional vectors
Hello, I have 3d image data ("pixelData") that I read into a dynamic array (size "countPix"). This data is then loaded into a 3d vector so that I can easily rotate the data. I have included the code below which does seem to do the job. However, it is really long winded with loads of loops. Could someone tell me how to make this code work faster Thanks in advance. //images upside down so sort em ... Uint16 *pixelsort; pixelsort = new Uint16 [countPix]; //multi dims dinnae work so use vectors to reverse vector< vector< vector<Uint16> > > my3Ddata; //generate a 3d space of the correct size my3Ddata.resize(irows); for(int i=0;i<irows;i++){ my3Ddata .resize(icolumns); } for(int i=0; ...Show All
Visual Studio Express Editions SetWindowsHookEx
Is there a SetWindowsHookEx ,CallNextHook , and GetASyncKeyState for VB2005 Those are Win32 API functions and yes they can be used in VBEE05...You just need to make the correct declaration for each function... Serach the MSDN Library for more information on the functions ...Show All
Smart Device Development Libraries for Win Mobile
Hi there. I've had some trouble with an application I'm working on. Hope you can help. See I'm using a library that uses sys/types.h library among others. Getting a missing library error I look for it and found it under vc/include but when I add the path to the additional include paths the following errors pop: Error C2084: function 'errno_t wmemcpy_s(wchar_t *,rsize_t,const wchar_t *,rsize_t)' already has a body altcecrt.h 375 Error C2084: function 'errno_t wmemmove_s(wchar_t *,rsize_t,const wchar_t *,rsize_t)' already has a body altcecrt.h 380 Error C2065: '_ALLOCA_S_MARKER_SIZE' : undeclared identifier malloc.h 194 Error C2664: 'wcsftime' : cannot convert parameter 3 from 'const char *' to 'const wchar_t *' atltime.h 402 Error C2 ...Show All
Visual Studio Team System 500-InternalServerError when running load tests
When I ran my Webtest, I was able to complete the test execution without errors...but everytime I ran load testing, many '500-Internal server error' occurs... Also, when I look at the Test Summary part of the results...It shows the number of tests and the Failed Tests fields...in most cases both of the values here are equal...yet I know for a fact that there are successful tests since there's an email notification received everytime a user completes a registration. What I'm not really familiar with is what are these 'Tests' being referred to in the Test Summary part Does the value in the Total Tests field mean the total number of times the webtest was completed Thanks! But it seems that there are ...Show All
Visual Studio Express Editions Array Data to String
I have an array of data. The number of items in the array can vary. I would like to send the data in that array into a string. dArray(0) = "One" dArray(1) = "Two" dArray(2) = "Three" dArray(3) = "Four" ArrayResults = "One, Two, Three, Four" I would like to create ArrayResults from my data. Any assistance is much appreciated. Thanks, Doug You can use a recursive old form to make it. Function GetStringFromArray(ByVal textArray() As String, ByVal separator As String) AS String Dim result as String = String.Empty FOR i As Integer = 0 TO textArray.Length result &= textArray(i) IF i<textArray.Length THEN res ...Show All
Visual Studio 2008 (Pre-release) Where are the Windows Forms controls equivalents?
Hi, I was wondering if we are going to see equivalents of the Windows Forms Controls and Windows Forms capabilities in WPF. Although WPF seems impressive, it lags the Windows Forms power and its also counteractive. I can understand what you say but lets keep in mind that 3rd party controls cost a lot. With the present windows forms controls, great applications can be developed with no 3rd party components. I hope this release isnt the best of WPF otherwise I see a lot of people staying to Windows Forms. Myself I wont be moving to WinFX until it "matures" and I surely hope the final release of .NET 3.0 WPF will be as powerful as .NET 2.0 WinForms. ...Show All
