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 / Distributed Applications / June 2005

Tip: Looking for answers? Try searching our database.

COMException (0x8011042A)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AndreasW - 20 Jun 2005 16:39 GMT
Hello,

Hi, I have the same problem as described on this side:

http://www.dotnet247.com/247reference/msgs/15/77062.aspx

Sure, I have read this article:
http://support.microsoft.com/kb/316433/en-us

I used the windows-update to make sure, that all service packs und updates
are installed.
But it doesn't work.

I tried to use the proxy on a Win2003-System. There it works without problems.

I appreciative for any help.

king regards,

Andreas Wegmann
AndreasW - 21 Jun 2005 13:28 GMT
Hi,
I tryed the proxy under XP. It works as well as under Winn2003.
So it must be a problem with Win2000 or COM1.0.

Here some Details:

//#######################  AssemblyInfo.cs: #######################
using System.EnterpriseServices;
using System.Reflection;
[assembly : AssemblyTitle("MediaLogics.CommonDataService")]
[assembly : ApplicationName("MediaLogics.CommonDataService.v1.0.17")]
[assembly : ApplicationID("BBFD7C4F-9136-4a54-A73E-AB42E0D4CCC8")]
[assembly : Description("MediaLogics.CommonDataService.v1.0.17")]
[assembly : ApplicationActivation(ActivationOption.Server)]
[assembly : ApplicationAccessControl(true,
    Authentication     = AuthenticationOption.Privacy,
    ImpersonationLevel = ImpersonationLevelOption.Impersonate,
    AccessChecksLevel  = AccessChecksLevelOption.ApplicationComponent)]

//#######################  Service.cs: #######################
[ComponentAccessControl(true)]
    [SecurityRole("TVExpressUsers", true)]
    [SecureMethod]
    [JustInTimeActivation]
    [Synchronization]
    [ProgId("MediaLogics.CommonDataService")]
    [EventTrackingEnabled(true)]
    [ClassInterface(ClassInterfaceType.None)]
    [Guid("4CB513CA-825A-4f87-BCE5-CD6D52B53392")]
    [ConstructionEnabled(Enabled = true, Default = "Data Source=ora_ml2; User ID=admin; password=adabas")]
    public class CommonDataService : ServicedComponent, ICommonDataService, IProcessInitializer
    {
        private UserInfo userInfo;
        private ILog logger = LogManager.GetLogger("CommonDataServer");
        private string connectionString = null;
        private Cache cache = HttpRuntime.Cache;
        private CommonDataDataLayer dataLayer;

        protected override void Activate()
        {
            //do something
        }

        protected override void Construct(string  connectionString)
        {
            //do something

        }

        [AutoComplete]
        string ICommonDataService.GetCustomerName(int customerId)
        {
                return dataLayer.GetCustomerName(customerId);
        }
        // more...
}

I appreciative for any help...

king regars,

Andreas Wegmann

> Hello,
>
[quoted text clipped - 16 lines]
>
> Andreas Wegmann

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.