Jiangang Wu's Q&A profile
Visual Studio Team System Developer has no access to SCC
Hi, I am using TFS beta3r and am experiencing a strange problem with the project I've created last. Since project creation failed a couple of times I had to use tfsdeleteproject.exe to remove it twice before I was able to successfully create it. After that it seemed to work just fine but my developers are not even seeing the project in SCC. They can interact through Team-Explorer, but cannot see nor access the source-code. The complete hive is missing in the source-control-explorer. If I look as administrator, I see the TFS-Project hive 3 times and all 3 show the solution and files. I've checked the rights in SCC-explorer and they are ...Show All
SQL Server default parameter values not updated
For testing purposes, I had placed default values in my report parameters. I deployed the whole suite of reports once and tested them. Then I eliminated the default parameters and redeployed, but the server doesn't pick up the changes. Other changes are updated fine, but for some reason it's hanging on to my default parameter values Why Is there a way around this Using RS 2000 Beta 2, btw. I came across the same thing in Reporting Services 2005. However, you can change the parameters using the Report Manager. http://<servername>/Reports Click "Show Details" Click the properties icon in the "Edit" col ...Show All
SQL Server An internal error occurred on the report server. See the error log for more details.
I have rs2005 installed. I created some reports through SQL Server Business Intelligence Development Studio. I can preview reports fine in the studio. But after deploying it, on //localhost/reports, when I click the report, it takes a while to calculate and then give me error: "An internal error occurred on the report server. See the error log for more details. " The weird thing is if I restart report service, it will display report fine on the first time, then fail on the following attempts. Here is what's in the log file SQLDUMPER_ERRORLOG.log 03/20/06 16:48:18, ERROR , SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () ...Show All
Visual Studio 2008 (Pre-release) Window Icon Propery no longer working
In the Feb CTP I could just set the icon like this < Window Icon = " Resources\\Images\\ image .png " > However thsi doesn't work in Beta 2. Instead I get a runtime error FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the error was at 0x7f570c2b, on thread 0x120c. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. ...Show All
.NET Development WS-SecureConversation and UsernameToken
Hello, I've posted this on the Channel 9 Techoff forums but it doesn't seem to be getting any responses there so I thought I would try it here: I've tried searching for online material and looking through some code samples but am still in doubt as to the easiest way to do the following: I want to initiate a SecureConversation using a UsernameToken, and do it in a secure manner. Now, sending UsernameTokens securely seems to be a hot topic but none of the examples I've looked at seem to be any good. Two methtods seem like good solutions but they really aren't that great (in terms of elegance) and I really think there is a ...Show All
Windows Forms datagrid question .net 2003
hi dev's I got a datagrid with a comboboxcolumn normal behavior with a combobox is that , when it's droppeddown then when you moving the up and down keys you go up and down in thge list of the combo. however in the datagrid, when moving up and down when the combobox is dropped down, it goes to the next record in the datagrid The question is can i change that behaviour in a columnstyle Remco Ok i found a solution ps: whats up with the posteditor no code formating here is the code 4 the guys and girls looking to solve this problem: RemcoJVG Imports System.Windows.Forms C ...Show All
SQL Server import data
can not import data into sql server 2005. I read that data import wizard comes on the right click on the database but i dont see any such option. http://www.mytravelphotos.budpix.net/rajesh_chd/a13/00000001 I have uploaded image to above link. Thanks Rajesh Hi there, I believe that the functionality you are looking for (the Data Import/Export Wizard) is not an included feature in Express Edition. I think the following post may be of interest, it contains an explaination, workarounds and other comments about importing your data: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=156956&SiteID=1 Hope that helps a bi ...Show All
Visual C# why we did not declare Int32 in C#???
As we know c# datatypes are object by inheriting the CTS classes. When we declare int anyVariable=anyValue; Exactly what we are doing . If we are creating an instance object of type int or what Please give me some detail idea.... Thanks in advance... Ashok An Int32 inherits from System.ValueType which in turn inherits from System.Object. Anything that inherits from ValueType (ie Int32, DateTime and any other structure) are actually created on the stack, whereas reference types, such as those that inherit directly from System.Object are created on the managed heap. Because of that, Value Types are typical ...Show All
Visual Studio 2008 (Pre-release) Multiple endpoints for a service hosted in IIS
Is it possible to have a service hosted in IIS to have multiple endpoints I suppose WCF services hosted on IIS only support HTTP. But, can I have a scenario whose config is shown below : < system.serviceModel > < services > < service type = " PaymentGatewayService.Payment " > < endpoint address = "" binding = " basicHttpBinding " contract = " PaymentGatewayService.IPayment " /> < endpoint address = " wse " binding = " wsHttpBinding " contract = " PaymentGatewayService.PaymentWSE " /> </ service > < ...Show All
SQL Server Simulating ORACLE SEQUENCES
In order to replace an Oracle DB with SQL-Server 2005 i've to find a substitute for the DB-Object "SEQUENCE" used in ORACLE. I tried it with a trigger and a stored procedure. But in both cases the stress-test failed. In case of the trigger the requests blocked each other. In case of the stored procedure "unique" numbers have been assigned twice to the requestors. Main problem may be the fact, that i can't read and write within one command-statement. If I use recordsets with pessimistic locking from my application I've some deadlocks making my Application stall. How can I simulate ORACLE-Sequences in a reliabl ...Show All
Smart Device Development CTime displaying the wrong time
I have a problem with MFC displaying the wrong time after creating a CTime object. This problem only occurs with MFC8 and windows mobile 5.0 and not MFC3 and PocketPC2003. Thi following code displays differently when creating a new MFC project in EVC++4 and VS2005. The time should be Tue, 04 Nov 2003 23:00:00 GMT adjusted for timezone which in my case would be 05 Nov 2003 at midnight. This is correct with the EVC++4 version but the VS2005 version displays 04 Nov 2003 at 15:00 which is clearly wrong. Am I missing something with the new version or is this a bug with MFC8 time_t nTime = 1067986800; CTime time(nTime); CString strMessage; C ...Show All
Visual Basic Creating an image with multiple layers
(please excuse any ignorance to correct terminology - i'm a VB newbie!) I have a number of bitmaps in VB, which I currently write to image files with something like Image.Save(String, ImageFormat) giving the filename to save the image to What I would like to do is save these multiple images to a single file - with each image as a separate layer. Any image format which supports layers would be fine - but I've not had any luck finding out how to do this... any pointers would be much appreciated. Thanks! Dale Yes I experience the need for multiple layers aswell, maybe not for the same p ...Show All
Windows Forms Drawstring Font size
Using the Drawstring function, you can limit the text that is drawn to a rectangle, including word wrap, elipsis, centering, etc. The question I have - is there a way that given a rectangle, determine the largest font size to be used that will fit in the rectangle. If it were only 1 line of text, I could simply check the width of the text compared to the width of the rectangle, and same with the height. But if the rectangle is big enough for multiple lines using word wrap, I want the font to be as big as possible and still have all of the text displayed. Any help would be appreciated. Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Miller & Weller
Now that our David has toddled off to Microsoft is there a possibility of a joint book between Miller and Weller I certainly hope so, an awesome combination! I guess the book is going to be great anyway. The two first books where to much for beginners. Finaly some more advanced stuff is turning up. I am starting to get tired of porting code from C++ and the unmanaged API..:) - OO - ...Show All
Visual Studio Express Editions SQL EXPRESS too sloooow...
Could someone please help. I used to have a very smooth running SQL EXPRESS server. After I installed Beta 2, the server got very very slow with massive resource consumption. It can now take in and around 30 seconds just to login with massive use of the hard drive. Does anyone else have this problem I am using SQL EXPRESS version: 9.00.1116 Thank you, Hi, Thats correct and SQL Server Express does support all of those. In fact open up 2 or 3 instances of the Express Manager and it does not give you any errors if you try to open the same database. The issue comes when you try to directly access the .MDF file of the database ...Show All
