Anthony McGary's Q&A profile
SQL Server what type of isolation level should i use?
lets say user1 is reading row1, then user2 reads and updates row1, when user1 is about to update row1 i want him to be informed that his copy of row1 have been updated, so he has now the options to either get the new version of row1 or cancel his update process or continue his update by the way, im using typed dataset on my data access layer. thanks.. Hi, this is not a problem of isolation level, this is more a concurrency checker problem. Depending on the implementation of your data access layer you will have to check whether the row was updated in between reading and updating. In addition to that you will also have to consider your transaction strategy for informing the us ...Show All
Software Development for Windows Vista Identity provider requested for an unsupported authentication type.
I've got the STS running now, and am getting the following error message when using my managed card. I click on "Click here to get the token" on the SimpleSTS Sample.htm page and select the managed card, enter a password (or leave it blank) and when I submit the card it thinks for a second and I get a failure about unable to contact the identity provider. I have no idea what the errors below mean, can anyone help I get them both for each time I try to generate a token, first one is event 272, second is even 273. =============================================================== First Event: A token could not be created. Identity provider requested for an unsupported authentication type. Additional Information: at System.Environme ...Show All
Windows Forms Windows Forms 2.0 Slow - MDI Application + TabPage+ Datagridview
Hello! I’m creating a windows forms MDI application and having problems with performance: Problem: I created a MDI child form with a tabcontrol.The tabControl have 2 tabpages.The first contain 3 group boxes and the total of 50 controls (textbox,combobox,lists and buttons).The second have a label and a datagrid view. Running the application , i noticed the form drawing(rendering ,flicker ) ,and when i switch between tabpages again the drawing. The DoubleBuffer property is on (true) and the problem persists. I already see the transparencekey and other properties , including the background color , but no results . Thank you Tiago Hi. I have the same problem, I changed the FlatStyle property on all of my la ...Show All
Visual Studio How do I KeepTogether rows from one record?
I have a report table that spans many pages, each database record is presented on several rows. How do I "Keep Together" the rows of a record The "KeepTogether" attribute of the table seems to relate to the whole table rather than the rows that make up a record. Any ideas anyone Thanks John Greg, No luck. I used this "silly" work-around: Each of my records had 5 rows so I adjusted the size of the rows to get 25 rows / page => 5 records / page. I didn't find another way. Hope this help Turg ...Show All
SQL Server Help with reporting services
Ok, here's the deal. I'm just learning sql express and I'm trying to get my reporting services worked out. I have everything installed and I have managed to connect to the report server at http://<computername>/Reports my problem is I can only connect to this page when I am at the machine where the sql database, reporting database, etc... I cannot log on to this site from any other computer no my network Does any one know why I have also tried installing on a different machine and I get an error "Server Error in /ReportServer application..... failed to access IIS metabase. IIS is installed on this machine. Thanks!!! As long as you are inserting the correct computer name in your URL string, I don't see why it ...Show All
Windows Forms paint above other controls
Hi, I want to draw something on my form. However what I draw in "OnPaint" appears below other controls in my form. What should I do to draw above other controls in the form True, transparency in .NET is not fully implemented. You can try this link. It basically a program that allows you to overlay drawings on any window. You probably gonna have to implement something like it, a tranparent form overlaying your actual form. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadvnet/html/vbnet11122002.asp ...Show All
SQL Server Casting...
I've got an ftp task that will be downloading a couple of files each night. today they're called blah20060830blah the date value in the middle changes each day. I'm trying to adjust this value with an expression. The expression doesn't want to cast my getdate function into a string that this property will accept. I know i'm missing something stupid. Thank you Sorry the expression (DT_STR) GETDATE() generates this: Attempt to parse the expression "(DT_STR) GETDATE()" failed. The expression might contain an invalid token, an incomplete token, or an invalid element. It might not be well-formed, or might be missing part of a required element such as a parenthesis. I'm no genius when it comes to m ...Show All
Smart Device Development [Pocket PC] User32.dll for keybd_event
It seems like everyone else is using the keybd_event great i've never had a problem using it in applications for the desktop, but for the pocket pc i get a connot find user32.dll. I can't figure out how you guys are getting this to work and i'm getting an error. Declare Sub keybd_event Lib "user32.dll" Alias "keybd_event" _ (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer) Nothing to special about the code i dont think it seems like the standard of what everyone else uses. Any help would be great. Thanks. I know this... and it doesn't make it work. I figured by labeling it that someone would say it was some specific .dll that i wasn't think ...Show All
Visual C++ Hindi Application
Hi I am developing a MFC Application in Hindi "#if !defined(AFX_RESOURCE_DLL) || defined( AFX_TARG_ENU ) what should i use for hindi what should I specify for culture info in project settings and resource Thanks Manoj Jangid This define is from the RC file. You don't need to change it here. Open the resource editor. Click on the resource, select the properties and select the appropriate language in the properties. ...Show All
.NET Development ftp sockets in c#
hello sir, iam using ftp server(c#), thru my client ftp program is connected to remote server ftp. but iam unable to access like listing files in the remote host, uploading and directory creation and removing . Is that do we need any permissions for doing above operations. while iam downloading a list of files from the remote machine . it shows "one error " The system can't find the specified file. ...Show All
Visual Basic Please help
Write a program to provide information on the height of a ball thrown straight up into the air. The program should request the initial height, h feet, and the initial velocity, v feet per second, as input. The four options to be provided by buttons are as follows: a) Determine the maximum height of the ball. Note: the ball will reach its max height after v/32 seconds b) Determine approx. when the ball will hit the ground. Hint: calculate the height after every .1 second and observe when the height is no longer a positive number c) Display a table showing the height of the ball every quarter second for give seconds or until it hits the ground. d) Quit The formula for the height of the ball after ...Show All
.NET Development Testing and profiling asp.net applications
Please can someone direct me to a site where i can purchase applications which could be use to test all testables for asp.net applications for performance, scability, etc especially with relevance to MS SQLServer. Thanks From past experience in the field most of the customers I worked with used LoadRunner. It is a very extensive load testing tool, very good from my limited experience with it. Not sure of the cost. Of course since I work for Microsoft I cannot recommend one vendor's product over another. http://en.wikipedia.org/wiki/LoadRunner I just know that lots of customers I dealt with in the past used it and liked it, this is all I can say. ...Show All
SQL Server Connect to SSIS Service on machine "Servername" failed: Error loading type library/DLL.
Hi, Anyone who can tell me why I get this error ! I can connect to Integration services on the server from another client. Pls help //T http://support.microsoft.com/kb/919224 ...Show All
Windows Search Technologies WDS 3.0 Beta 2- Cannot index pdf file contents
Hello, I found this bug a while ago. I tried everything, install, uninstall pdf ifilters, etc..... WDS Beta 2 simply cant index pdf contents. Are anyone aware of this issue Thanks, Marcus It's really a bit issue. For business things, PDF files are widely used. And the ability of searching PDF files are just why we want to use a desktop search tool. ...Show All
SQL Server ODB Datareader time columns - updated 26th June
I am using an ODBC Datareader to connect to a proprietary DB (Epex) and I need help on column mappings. The Epex database has a number of time columns which we successfully imported using SQL 2000 DTS by defining these as varchar(5) . When using SSIS (Service Pack 1) these fields are shown as 'eight-byte signed integer [DT_I8] '. I have attempted to these columns to both [DT_WSTR] and [DT_STR]' without success. I can change the External Column type to [DT_WSTR] but I am unable to alter the Output Coulmns, when doing so I get the following error message: Error at Data Flow Task [DataReader Source [1]]: The data type of output columns on the component "DataReader Source" (1) cannot be changed. Does anyone know ...Show All
