Janiv
Sun Aug 20 11:41:04 CDT 2006
How do I use InProgServer32 ?
All required files are in the same folder.
Thanks.
"Dr. Jochen Manns" <dev-2@psimarron.net> wrote in message
news:44e87dba$0$8285$9b622d9e@news.freenet.de...
> Hmm, hope that this is not a .NET 2.0 security feature which correlates
> with the RegAsm warning.
>
> Check InProgServer32 Codebase and make sure, that all required files are
> in this directory. Eventually (?) the assembly requires more legacy
> (win32) DLLs in this directory or the system search path.
>
> "Janiv Ratson" <janivr@gmailcom> wrote in message
> news:euf1cbGxGHA.4752@TK2MSFTNGP02.phx.gbl...
>> Hi,
>> It is now created but could not run due to "Could not load file or
>> assembly '3rd party assembly' exception.
>> I guess I haven't completed the action as required.
>> Any ideas?
>> Thanks.
>> J.
>> "Janiv Ratson" <janivr@gmailcom> wrote in message
>> news:e8deQQFxGHA.3904@TK2MSFTNGP02.phx.gbl...
>>> Yes it works.
>>> Thanks,
>>> J.
>>> "Dr. Jochen Manns" <dev-2@psimarron.net> wrote in message
>>> news:44e84f34$0$10391$9b622d9e@news.freenet.de...
>>>> Well - your choice, finally. In this special case: using a strongly
>>>> names assembly makes sure that no one tamperes with it. And registering
>>>> something as COM open wide access to the component on the system - no
>>>> way for further security verifications the assembly will have full
>>>> trust. Personally (not more) I can think there are scenarios where you
>>>> can live with it. Yes, indeed you losse .NET / CLR security but if
>>>> someone is able to replace a DLL on a system in most (s)he can choose
>>>> to patch the registration to a modified DLL anyway.
>>>>
>>>> No more help to expect from this side, sorry :-) But actually: does it
>>>> work after the RegAsm /Codebase?
>>>>
>>>> Bye
>>>>
>>>> Jochen
>>>>
>>>> "Janiv Ratson" <janivr@gmailcom> wrote in message
>>>> news:OGR6elExGHA.2208@TK2MSFTNGP04.phx.gbl...
>>>>> Is it a warning we can live with ?
>>>>> Thanks,
>>>>> Janiv Ratson.
>>>>>
>>>>> "Dr. Jochen Manns" <dev-2@psimarron.net> wrote in message
>>>>> news:44e82376$0$10375$9b622d9e@news.freenet.de...
>>>>>> Are you sure? I thought that this message is only a warning.
>>>>>>
>>>>>> RegAsm : warning RA0000 : Registering an unsigned assembly with
>>>>>> /codebase can ca...
>>>>>> use your assembly to interfere with other applications that may be
>>>>>> installed on
>>>>>> the same computer. The /codebase switch is intended to be used only
>>>>>> with signed
>>>>>> assemblies. Please give your assembly a strong name and re-register
>>>>>> it.
>>>>>>
>>>>>> "Janiv Ratson" <janivr@gmailcom> wrote in message
>>>>>> news:udswf%23CxGHA.4460@TK2MSFTNGP04.phx.gbl...
>>>>>>> Hello Dr. Manns and all,
>>>>>>> In order to regasm my dll using /code base, I need my assembly to be
>>>>>>> signed.
>>>>>>> Hoever, my assembly uses 3rd party assembly, which is not signed,
>>>>>>> and therefor I my assembly cannot be signed.
>>>>>>> Is there any other solution?
>>>>>>> Thanks a lot,
>>>>>>> Janiv Ratson.
>>>>>>>
>>>>>>> "Dr. Jochen Manns" <dev-2@psimarron.net> wrote in message
>>>>>>> news:44e81037$0$2192$9b622d9e@news.freenet.de...
>>>>>>>> Did you try RegAsm /Codebase.
>>>>>>>>
>>>>>>>> Eventuall POST the registry Settings under the CLSID here for
>>>>>>>> inspection. You can check yourself if there are multiple keys below
>>>>>>>> InprocServer32 of your component. If so remove the CLSID entry of
>>>>>>>> your component, make sure that the assembly version in
>>>>>>>> AssemblyInfo.cs does not use auto-increment (1.0.0.1 instead of the
>>>>>>>> VS.NET 2003 default 1.0.*) and RegAsm /Codebase the assembly again.
>>>>>>>>
>>>>>>>> Jochen
>>>>>>>>
>>>>>>>> "Janiv Ratson" <janivr@gmailcom> wrote in message
>>>>>>>> news:u6q3EbCxGHA.324@TK2MSFTNGP06.phx.gbl...
>>>>>>>>> Hello all and thanks for your help.
>>>>>>>>> I have registered my dll using regasm.exe.
>>>>>>>>> I can find the NewSupernaActivation in the registry under CLSID.
>>>>>>>>> Still I get Class not registered in my code.
>>>>>>>>> Please help.
>>>>>>>>> Thanks,
>>>>>>>>> Janiv Ratson.
>>>>>>>>>
>>>>>>>>> "Kim Greenlee" <KimGreenlee@discussions.microsoft.com> wrote in
>>>>>>>>> message news:69329933-90B9-430B-BC31-D767AD300D7B@microsoft.com...
>>>>>>>>>> Janiv,
>>>>>>>>>>
>>>>>>>>>> Did you check the registry to make sure that the COM interfaces
>>>>>>>>>> were
>>>>>>>>>> actually registered?
>>>>>>>>>>
>>>>>>>>>> Run Regedit.exe and then search on NewSupernaActivation or the
>>>>>>>>>> name of your
>>>>>>>>>> DLL. If you don't find it then it's not registered and that is
>>>>>>>>>> your problem.
>>>>>>>>>> You'll need to run regasm.exe to register the DLL.
>>>>>>>>>>
>>>>>>>>>> Kim
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> digipede - Many legs make light work.
>>>>>>>>>> Grid computing for the real world.
>>>>>>>>>>
http://www.digipede.net
>>>>>>>>>>
http://krgreenlee.blogspot.net
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>