Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Component Services / December 2003

Tip: Looking for answers? Try searching our database.

Newbie question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kenneth - 16 Dec 2003 17:33 GMT
I'm developing a (C#) n-tier application and have looked a little at COM+,
thinking it might be a good Data Access Layer Component.
But whenever I try to call a method on my COM+ component I get this error:

"The partner transaction manager has disabled its support for remote/network
transactions"

My component is placed on a WinXP machine, while the SQL Server 2000
database is installed on Windows Server 2003. Is this a problem?

I checked ALL checkboxes in the MSDTC | Security Configuration... | Security
Settings area on both computers as described here:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=ORdkGu4SDHA.
1912%40TK2MSFTNGP12.phx.gbl


What am I doing wrong?

Here's a code-sample of my COM+ component (if it's any help?):

[Transaction(TransactionOption.Required)]
public class ComComponentForDBAccess : ServicedComponent
{
   public ComComponentForDBAccess()
   {
   }

   [AutoComplete]
   public string GetSomethingFromDB()
   {
       //... implementation here
   }
}

Any help will be greatly appreciated,
Kenneth
Brad - 17 Dec 2003 16:19 GMT
Kenneth,
Your setup of XP -> WS03 is fine.  There are 2 articles that come to mind
here, one of which you've already seen.  Let me know if neither one of
these gets you up & running...

  817064 HOW TO: Enable Network DTC Access in Windows Server 2003
  http://support.microsoft.com/?id=817064

  817065 HOWTO: Enable Network COM+ Access in Windows Server 2003
  http://support.microsoft.com/?id=817065

HTH,
Brad
john smith9th - 19 Dec 2003 06:08 GMT
change "TransactionOption.Required" to "TransactionOption.supported"

> I'm developing a (C#) n-tier application and have looked a little at COM+,
> thinking it might be a good Data Access Layer Component.
[quoted text clipped - 8 lines]
> I checked ALL checkboxes in the MSDTC | Security Configuration... | Security
> Settings area on both computers as described here:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=ORdkGu4SDHA.
1912%40TK2MSFTNGP12.phx.gbl


> What am I doing wrong?
>
[quoted text clipped - 16 lines]
> Any help will be greatly appreciated,
> Kenneth

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.