Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 COM+ calls, and the 2nd only only is taking (C# in Asp.net)

Status
Not open for further replies.

wrbodine

Programmer
Aug 24, 2000
302
US
Hi,

I have an .aspx page (ASP.net) where I'm calling a COM+ dll (class library in C#) that performs an insert into a SQL database. When the user picks a certain value for one of the variables, a second insert needs to take place (calling the same method of the COM+ component again). When just the 1st insert is performed, it works great. For some reason, when the 2nd insert is required and that code is accessed, the 2nd insert goes into the database,but the 1st doesn't. Do I need some code after the 1st COM+ call to make it go in before making the 2nd method call?

Thanks,
Ray
 
Well, now this is working for both calls, it was when I was stepping through in debug mode that the 1st didn't work, but now they're both working...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top