.NETGURU
Getting BYOT.CreateWithTipTransaction to work for .NET
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.component_services.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Jared Hagel
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!
Jared Hagel
Reply to this message...
 
    
Mark Jen [MSFT] (VIP)
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.

"Jared Hagel" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.EnterpriseServices.BYOT
System.EnterpriseServices.ServicedComponent
System.Type




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification