alois paulin's Q&A profile
SQL Server URGENT: Insert and Update in a transaction is getting blocked
Hello, I have the following situation: -Package A begins a transaction (TransactionOption="Required") with IsolationLevel=Serializable -PackageA calls PackageB -PackageB has 2 data-flows. The first one inserts into TableA. The second one updates TableA. They run serially. They both have TransactionOption="Supported". The update is blocked in SQL Server by SPID=-2 (which I know is MSDTC). I tried setting RetainSameConnection=TRUE on the connection manager in PackageB. It failed with: "Incompatible transaction context was specified for a retained connection. This connection has been established under a different tran ...Show All
Windows Forms how to implement 2 method at same time?
I have 2 datagrids on the same form, one is on the top, another one is at bottom. when i drag and drop the row from top datagrid to bottom one, when mouse move over the bottom datagrid i want the row to be hightlighted based on the my mouse position. I have a function already does that using mouse move method. but when&nbs ...Show All
Software Development for Windows Vista Latest build for Vista
I am using build 5112, can someone confirm what number the latest build is And how did you get your copy of it I don't remember getting anything later than 5112 from Technet. Thanks. Hi, I have downloaded Vista Beata 1 (Build 5112) and cannot install Visual Studio 2005 becuase .Net Framework 2.0 won't install. Has anyone else had this problem Has anyone successfully gotten VS 2005 of .net Framework 2.0 to install on Vista beta 1 (Build 5112 or any other build for that matter ) Also, does anyone know how to get the latest build of Vista and install it over a previous build. I assu ...Show All
.NET Development System.dllNotFound Exception
hi I am using websphere Mq series 5.3 version with ASP.net (VS 2003, Windows XP). i have created a queue manager in this, when i tried to open this queue manager to put a message on request queue , the program is throwing a exception i.e exception: System.dllnotfoundException message: unable to load DLL(mqic32.dll) source: amqmdnet (amqmdnet is a dll which is added as a reference in the project) these dll are from websphere mq series 5.3 version,and located in the bin directory. pls help me in this regard I have tried giving permissions on all the directories to all users including aspnet. Exactly the same code ...Show All
SQL Server populating numbers instead of description in performance objects
In performance monitor, if i try to add counters, in the performance object combo, it shows numbers instead of description. Did you ever find a solution to this problem I am experiencing the same issue and I can't find the solution anywhere. ...Show All
Software Development for Windows Vista DependencyProperties backed by another properties?
Hi, I'm thinking about wrapping some legacy components as WF activities. Let's assume that I have a bunch of classes, each having a Run() method and a couple of properties. The usage pattern is very simple: set the properties and (assuming that IsConfigurationValid() returns true) call Run() which will do some operation: abstract class Worker { public virtual void Run(); public virtual bool IsConfigurationValid(); } class TestWorker : Worker { public string Message { get {...} set {...} } // other properties follow... public override void Run() {} // .... do something public override bool IsConfigurationValid() {} } So, af ...Show All
Windows Forms Drag & drop a database connection in VS2005
Hi: In VS2003 I could drag a database connection from the 'Server Explorer' page into a WinForm and it would create a SqlCponnection with the connection string pre configured. I have seen that this drag and drop ability is not supported in VS2005, what is the new equivalent TIA, MartinH. Hi Martin, Here's a explination from our old team blog: http://blogs.msdn.com/vbteam/archive/2004/08/27/221584.aspx There's lots of other info on this blog as well. Our new team blog is at: Blogs.msdn.com/SmartClientData Regards, Steve Lasker Program Manager Visual Studio Data Designtime ...Show All
SQL Server trigger issues
I am running a trigger on a table (cusomfields) that is to fire when the table is updated or inserted. The trigger takes the new data and moves it to another table called search_products. Search products is made up of 5 columns (product_id, search_terms, name, vendor and keywords). The search_terms column is a combo of the name, vendor and keywords columns. When the trigger fires, the column in the customfields table that updates the keywords table in the search_terms field works. But the problem I am having is that the search_terms column is not being populated with that keyword value. Here is the trigger below, you can see what I am talk ...Show All
.NET Development delegates and event (=? +=?)
Hi, sorry but one more question. i saw an articles in http://weblogs.asp.net/rosherove/archive/2004/03/28/100444.aspx public class Class2 { public delegate void DomSomethingDelegate ( int num1 , int num2 ); public event DomSomethingDelegate MyDeleageteCallback ; } Class1 c = new Class1 (); c . MyDeleageteCallback = new; Class1 . DomSomethingDelegate ( this . Calculate ); the author said: In essence, declaring the event keyword prevents any of the delegate’s users from setting it to null. which that mean of this portion of code will generate a compile error. But after i test it on my visual studio .net 200 ...Show All
Windows Forms Menu Items just like MDI form
Can someone please let me know how to create the menu items on the form just like MDI form Example file Report Exit Open Monthly Save Weekly are you trying to make a MDI application You can create menu items if its a SDI or MDI it really doesn't mater, were you ...Show All
Visual Studio Team System Problem to connect to AD while doing automated tests
Hello All, I have a very strange behavior while running the tests on my development machines and on the production server. I have posted this thread in the CLR part but you may already have encountered this problem while doing tests. Thanks to have a look ! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=391203&SiteID=1 Jarod A new element : so I have created a brand new virtual machine with "Team Suite Trial" --> all my tests are ok Then I have create breand new virtual machine with "Team Edition" --> all my tests are ok Then I have upgrade my VM from "Team Suite" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct X SDK port issue?
I just recently switched over from the Directx SDK October version to the December version and my 2D game doesnt seem to want to compile. I keep getting the error that D3DXSPRITE_ALPHABLEND is an undeclared identifier.... this usually means it cannot find the file. I have the libs and the includes all set up correctly and referencing the correct folders. Has anyone noticed an error like this Look at the sample Text3D in the SDK Sample Browser. Can you compile and execute that source If so, you should examine the differences in the library setups between your code and the sample. ...Show All
Visual FoxPro Additional fields in table exported to txt
Hello, I need to output from a VFP 6 table to a text file. When I use "copy to mytext.txt delimited with ," I get an additional field before and after each of the original fields from the table. This means that in my new text file, fields 1,3,4,6,7,9,10,12,13 etc are empty fields that were not present in the table and fields 2,5,8,11,14 etc are the fields with data. Can anyone tell me how to avoid these "extra" fields please Thanks in advance, Paul. I will have a look on universalthread.com as the files I send to the inkjet printer are sometimes several megabytes in size. Mailings may be as large as 1 ...Show All
.NET Development Garbage Collector encounters access violation and calls ExitProcess
I have an application written in a combination of C#, C, and C++. The main application is a C# Windows Forms application. It calls into C DLL routines that in turn may call into C++ code. This application is using .NET 1.1. When running, occasionally the application suddenly exits. When running under a debugger, I've captured that an access violation occurred within the garbage collector and then the garbage collector called ExitProcess causing the sudden exiting. During the access violation, the stack is: 00 0012ef64 7923b74a 05560531 00147294 00000000 mscorwks!gc_heap::mark_object_simple+0x75 (FPO: [Non-Fpo]) 01 0012efe0 79238072 ...Show All
.NET Development Cannot convert type 'System.Type' to 'System.Data.SqlDbType'
I encounter error, " Cannot convert type 'System.Type' to 'System.Data.SqlDbType' " when attempting the following code: // Create a secondary DataSet in order to research the unknown data types of the destination table columns. SqlDataAdapter sqlResearchAdapter = new SqlDataAdapter(); SqlCommand sqlResearchCommand = sqlSelectCommand.Clone(); DataTable sqlResearchTable; DataSet sqlResearchSet; sqlResearchAdapter.TableMappings.Add("Table", sqlTableName); sqlResearchAdapter.SelectCommand = sqlResearchCommand; sqlResearchSet = new DataSet(sqlTableName + "0"); sqlResearchAdapter.Fill(sqlResearchSet); ...Show All
