RE: My Serviced component doesn't expose any methods!
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
- Date: Mon, 14 Apr 2008 11:04:18 GMT
Hi Karre,
I'm still monitoring the issue, have you got any progress?
If there is anything else we can help, welcome to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
Organization: Microsoft
Date: Thu, 10 Apr 2008 04:29:37 GMT
Subject: RE: My Serviced component doesn't expose any methods!
specified
Hi Karre,
Have you got any progress on this?
When you use regsvcs.exe to install the servicedcomponent into COM+
applications, it will create the COM+ application by the name you
throughf
<Assembly:ApplicationName("...." )>
attribute(not the class name or assembly name), have you checked to see
whether there is a COM+ application with this name? Also, are you using an
administrator account when perform these tasks on the machine?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#noti
ications.show
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?a2thcnJl?= <karre@xxxxxxxxxxxxxxxx><JZQ$7bglIHA.3756@xxxxxxxxxxxxxxxxxxxxxx>
References: <FB7340BE-9D32-468B-B037-38C3EEF146AE@xxxxxxxxxxxxx>
<6E5901C9-88E9-4887-B684-AC51C1EBC752@xxxxxxxxxxxxx>
<6980661C-663C-411F-B4F2-33C8836636C2@xxxxxxxxxxxxx>
<gb1SHvTmIHA.9932@xxxxxxxxxxxxxxxxxxxxxx>
<5D2DDD7B-9EC9-44CD-A340-1DD8ECFC351D@xxxxxxxxxxxxx>
<Dqm0euVmIHA.1036@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: My Serviced component doesn't expose any methods!
Date: Tue, 8 Apr 2008 03:51:01 -0700
I have used both regsvcs and the COM+ UI.application
regsvcs returns a happy message but I can't see the COM+ application that
has the installed component.
The people that will maintain this solution wanted to see the COM+
and components/interface/methods in it, so I tried that with COM+Management
console.
I'll try to read up on regsvcs to see how COM+ Management Console can
thef
installed component!messages,
Thanks!
"Steven Cheng [MSFT]" wrote:
Thanks for your reply Karre,
So the problem is at the Com+ registring stage. Why did you manually
register it into COM+ applications? As I mentioned in previous
andin my test, I used the .NET framework regsvcs.exe tool to install the
serviced component into COM+ applications.
#.NET Services Installation Tool (Regsvcs.exe)
http://msdn2.microsoft.com/en-us/library/04za0hca(VS.80).aspx
The command is quite simple. For example, for my case the serviced
component is named "SVCCOMLib.dll", I just run the following command in
Visual Studio command prompt:
regsvcs.exe SVCCOMLib.dll
and it will automatically do all the things without requiring me to do
anything in the COM+ management console.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
Pleasesuggestions about how we can improve the support we provide to you.
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notifeel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
worksrights.ications.
This posting is provided "AS IS" with no warranties, and confers no
in--------------------
From: =?Utf-8?B?a2thcnJl?= <karre@xxxxxxxxxxxxxxxx><JZQ$7bglIHA.3756@xxxxxxxxxxxxxxxxxxxxxx>
References: <FB7340BE-9D32-468B-B037-38C3EEF146AE@xxxxxxxxxxxxx>
<6E5901C9-88E9-4887-B684-AC51C1EBC752@xxxxxxxxxxxxx>
<6980661C-663C-411F-B4F2-33C8836636C2@xxxxxxxxxxxxx>
<gb1SHvTmIHA.9932@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: My Serviced component doesn't expose any methods!
Date: Tue, 8 Apr 2008 00:24:00 -0700
Hi Steven, thanks for your reply!
I did apply the <Assembly:
ApplicationAccessControl(AccessChecksLevelOption.Application)> setting
my
component
but somehow it didn't "stick". It seems to take a while, maybe today...
Your component installs fine in GAC today, d&d or gacutil equally
_TestClass.there'sfine.
However when I add it to a COM+ application in Component Services
trouble: I get all interfaces, including the class interface
won'tbrowseAll interfaces show their methods EXCEPT the class interface.
Am I adding it the wrong way? I use 'Install New Component' and I
to
the
dll I used as original and drag'n'dropped it into GAC. The wizard
30+let
me select the one inside the GAC.
As for VB6, my project is migrating a VB6 COM+ installed component of
havedlls.
The code is now in VB2005 but I thought that the Upgrade Wizard might
dllbrought a component setting or something from VB6 to VB2005.
I've tried calling the component anyway but gets error of kind
"couldn't create ActiveX component". This might be because the VB2005
orreferences three COM components still in VS6/C++ through COMInterop.
Perhaps it's impossible to use COMInterop inside COM+?
Wouldn't be logical - that's the perfect place for COM Interop; large
enterprise apps
where you migrate step by step.
I'd be happy to try your code on my machine to rule out funny policies
something on my machine.
Thanks in advance!
/kk
.
- References:
- My Serviced component doesn't expose any methods!
- From: kkarre
- RE: My Serviced component doesn't expose any methods!
- From: Steven Cheng [MSFT]
- RE: My Serviced component doesn't expose any methods!
- From: kkarre
- RE: My Serviced component doesn't expose any methods!
- From: kkarre
- RE: My Serviced component doesn't expose any methods!
- From: Steven Cheng [MSFT]
- RE: My Serviced component doesn't expose any methods!
- From: kkarre
- RE: My Serviced component doesn't expose any methods!
- From: Steven Cheng [MSFT]
- RE: My Serviced component doesn't expose any methods!
- From: kkarre
- RE: My Serviced component doesn't expose any methods!
- From: Steven Cheng [MSFT]
- My Serviced component doesn't expose any methods!
- Prev by Date: RE: My Serviced component doesn't expose any methods!
- Next by Date: ClickOnce app. installation failure
- Previous by thread: RE: My Serviced component doesn't expose any methods!
- Next by thread: RE: My Serviced component doesn't expose any methods!
- Index(es):
Relevant Pages
|
Loading