Click here to Skip to main content
15,899,026 members
Home / Discussions / COM
   

COM

 
AnswerRe: Difference between win32 dll and com dll Pin
User 2155977-Aug-07 6:03
User 2155977-Aug-07 6:03 
QuestionCDefFolderMenu_Create2 Pin
__DanC__7-Aug-07 1:41
__DanC__7-Aug-07 1:41 
Questionprinting problem through msExcel Pin
help as an alias7-Aug-07 0:26
help as an alias7-Aug-07 0:26 
AnswerRe: printing problem through msExcel Pin
User 2155977-Aug-07 6:06
User 2155977-Aug-07 6:06 
Questiondundas chart in asp.net Pin
gvpr3-Aug-07 1:31
gvpr3-Aug-07 1:31 
QuestionUnable to receive notifications from DFileSystemImageEvents interface Pin
opb2-Aug-07 20:46
opb2-Aug-07 20:46 
AnswerRe: Unable to receive notifications from DFileSystemImageEvents interface Pin
User 2155973-Aug-07 3:49
User 2155973-Aug-07 3:49 
QuestionCalling a VB.NET COM+ Remotely Pin
Andez20041-Aug-07 0:06
Andez20041-Aug-07 0:06 
All,

We have code to call a component remotely from a standard VB.NET Form. I've compiled the code on my machine and it works fine. Calling from another client over the network causes the following error message:

Retrieving the COM class factory for remote component with CLSID {F655F1E8-50B6-31EF-9C5D-B14B7D9B56D3} from machine XP1111 failed due to the following error: 80070005.

The Client Call is made as follows:

Dim svr As Type = Type.GetTypeFromProgID("ZFTestCOMPlus.ZFComPlusOne", _<br />
                                txtServer.Text) <br />
' txtServer.Text is the name of the server e.g "XP1111"<br />
Dim o As Object = Activator.CreateInstance(svr)<br />
Dim x As ZFTestCOMPlus.ZFComPlusOne = CType(o, ZFTestCOMPlus.ZFComPlusOne)<br />
Dim str As String = x.GetSomeDataFromMe()


The problem occurs on the line Dim o As Object = Activator.CreateInstance(svr).

This is the first COM+ application that has been written here. It is totally client based but users Library COM+ Application (which causes all kinds off issues).

The component is a COM+ Server Application with one class and 2 methods.

Troubleshooting (in the dark) so far...

1. Installed Component into GAC.
2. Created a MSI from COM+ to install the components on remote machine as
a proxy.
2. Added user calling the component from the remote machine to a role
under the COM+ Application. This role has been given access to
ZFTestCOMPlus.ZFComPlusOne class
3. Tried disabling Enforce access checks for this application.
4. Granted full access/remote launch to the user in dcomdnfg in the COM
Security tab.

Anyone have any ideas?

Just fumbling about in the dark at the mo and not come across any decent artices

Mad | :mad: Cry | :(( Confused | :confused: Sigh | :sigh:

Andez
AnswerRe: Calling a VB.NET COM+ Remotely Pin
sunil20046-Aug-07 21:10
sunil20046-Aug-07 21:10 
QuestionDeclaration problem Pin
Karismatic31-Jul-07 20:15
Karismatic31-Jul-07 20:15 
QuestionRe: Declaration problem Pin
prasad_som31-Jul-07 20:56
prasad_som31-Jul-07 20:56 
AnswerRe: Declaration problem Pin
Karismatic31-Jul-07 21:11
Karismatic31-Jul-07 21:11 
GeneralRe: Declaration problem Pin
prasad_som31-Jul-07 21:18
prasad_som31-Jul-07 21:18 
GeneralRe: Declaration problem Pin
Karismatic31-Jul-07 21:22
Karismatic31-Jul-07 21:22 
QuestionQueryInterface + RPC_E_SYS_CALL_FAILED Pin
Gupta Suraj30-Jul-07 20:49
Gupta Suraj30-Jul-07 20:49 
Questionvaleur HRESULT Pin
Nath999929-Jul-07 20:56
Nath999929-Jul-07 20:56 
AnswerRe: valeur HRESULT Pin
CPallini29-Jul-07 21:31
mveCPallini29-Jul-07 21:31 
GeneralRe: valeur HRESULT Pin
Nath999929-Jul-07 23:16
Nath999929-Jul-07 23:16 
AnswerRe: valeur HRESULT Pin
User 716709-Aug-07 4:49
User 716709-Aug-07 4:49 
QuestionDocumentcompleted load event handler problem with AJAX Pin
_tasleem28-Jul-07 6:11
_tasleem28-Jul-07 6:11 
QuestionCasting error when using com-objects as parameters Pin
Erling Hagen27-Jul-07 6:12
Erling Hagen27-Jul-07 6:12 
Questionerror C2065 for CoInitializeEx Pin
koumodaki27-Jul-07 4:14
koumodaki27-Jul-07 4:14 
AnswerRe: error C2065 for CoInitializeEx Pin
CPallini27-Jul-07 4:41
mveCPallini27-Jul-07 4:41 
GeneralRe: error C2065 for CoInitializeEx Pin
koumodaki27-Jul-07 4:53
koumodaki27-Jul-07 4:53 
AnswerRe: error C2065 for CoInitializeEx Pin
Michael Dunn27-Jul-07 10:29
sitebuilderMichael Dunn27-Jul-07 10:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.