Groups | Blog | Home
all groups > dotnet component services > may 2004 >

dotnet component services : Getting BYOT.CreateWithTipTransaction to work for .NET


jared_hagel NO[at]SPAM cpr.ca
5/21/2004 7:21:32 PM
Hello everyone,

Has ANYBODY got BYOT.CreateWithTipTransaction to work? I've tried to
implement this method in many different ways. With the current way I
implement this method, the following error is logged into my Windows
event viewer (using Windows XP - however, I get a very similar error
when using Windows 2000):

The BYOT Gateway could not set transactional property in new object
context.
Server Application ID: {1E246775-2281-484F-8AD4-044C15B86EB7}
Server Application Instance ID:
{3656D672-82C5-4418-98C6-3A39BFF39181}
Server Application Name: .NET Utilities
Error Code = 0x80004005 : Unspecified error
COM+ Services Internals Information:
File: d:\nt_qxp\com\com1x\src\comsvcs\byot\byotex.cpp, Line: 335
Comsvcs.dll file version: ENU 2001.12.4414.53 shp

If you want, you can download my cs project files from
www.hickerty.com . I made this project explicitly to get
BYOT.CreateWithTipTransaction to work. To download these files, click
on "Click here to get TIP.zip" .

The error shown above occurs after I execute the following line of
code in ServerSide.cs (ServerSide.cs is a ServicedComponent that
supports transactions):

object temp = BYOT.CreateWithTipTransaction(tipURL,Type.GetType("Test.ServerSide"));

where tipURL is obtained from ClientSide.cs with:
ITIPTransaction txTIP = (ITIPTransaction) tx;
txTIP.GetTransactionUrl(out tipUrl);

Any working examples/feedback would be greatly appreciated! I'm sure
Microsoft intended this function to be used, but nothing I've done
will make it work.

Thanks!
Mark Jen [MSFT]
6/16/2004 4:55:22 PM
Hi Jared,

This error seems strange. The only time this should be hit is if something
freezes the context. Can you repost your code? I went to www.hickerty.com
but was unable to find a link titled "Click here to get TIP.zip" .

Thanks,
Mark Jen [MSFT]
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

AddThis Social Bookmark Button