473,325 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Register in GAC - vsdrpCOM

Hi,

I'm having a strange problem and I'm not able to resolve it. Can someone
help me please ?

I want to create a MSI (setup package) to install a assembly into the GAC.
When I build the project I get this error:

Unable to build assembly named 'NameOfTheAssembly.dll', HRESULT ==
'8007065B'

The register property of the primary output is set to vsdrpCOM.
When I set it to vsdrpDoNotRegister then I can build the setup package but
.... the assembly is not registered of course !
Jul 21 '05 #1
6 12291
What happens if you don't use the Project Output choice? Just add the
assembly by browsing to it, then setting registration to vsdraCOM. (lower
case 'a' for assembly, lower case 'p' for project output).
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Gene Vangampelaere" <ge****************************@infohos.remove.thi s.be>
wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

I'm having a strange problem and I'm not able to resolve it. Can someone
help me please ?

I want to create a MSI (setup package) to install a assembly into the GAC.
When I build the project I get this error:

Unable to build assembly named 'NameOfTheAssembly.dll', HRESULT ==
'8007065B'

The register property of the primary output is set to vsdrpCOM.
When I set it to vsdrpDoNotRegister then I can build the setup package but
... the assembly is not registered of course !

Jul 21 '05 #2
I think I found the solution:
I used the project output into 2 directories (GAC and Application dir) and I
let it registering as COM twice. Now I only registered it in the GAC and it
works!

There where also a lot registry entries in my registry (I tested the dll a
lot!). I deleted them all and compiled again. Maybe that was also a problem
.... who knows ... ;-)

Thanks for the reply anyway !!
G.

"Phil Wilson" <pd*******@nospam.cox.net> schreef in bericht
news:O0**************@TK2MSFTNGP12.phx.gbl...
What happens if you don't use the Project Output choice? Just add the
assembly by browsing to it, then setting registration to vsdraCOM. (lower
case 'a' for assembly, lower case 'p' for project output).
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Gene Vangampelaere" <ge****************************@infohos.remove.thi s.be> wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

I'm having a strange problem and I'm not able to resolve it. Can someone
help me please ?

I want to create a MSI (setup package) to install a assembly into the GAC. When I build the project I get this error:

Unable to build assembly named 'NameOfTheAssembly.dll', HRESULT ==
'8007065B'

The register property of the primary output is set to vsdrpCOM.
When I set it to vsdrpDoNotRegister then I can build the setup package but ... the assembly is not registered of course !


Jul 21 '05 #3
If you have a lot of registry entries for the class, it might be because you
haven't specified an explicit Guid for the class and Visual Studio is
generating a new one every time you change something and rebuild. It helps
to nail down the version too instead of an AssemblyVersion of 1.0.*.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Gene Vangampelaere" <ge****************************@infohos.remove.thi s.be>
wrote in message news:uD**************@TK2MSFTNGP10.phx.gbl...
I think I found the solution:
I used the project output into 2 directories (GAC and Application dir) and
I
let it registering as COM twice. Now I only registered it in the GAC and
it
works!

There where also a lot registry entries in my registry (I tested the dll a
lot!). I deleted them all and compiled again. Maybe that was also a
problem
... who knows ... ;-)

Thanks for the reply anyway !!
G.

"Phil Wilson" <pd*******@nospam.cox.net> schreef in bericht
news:O0**************@TK2MSFTNGP12.phx.gbl...
What happens if you don't use the Project Output choice? Just add the
assembly by browsing to it, then setting registration to vsdraCOM. (lower
case 'a' for assembly, lower case 'p' for project output).
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Gene Vangampelaere"

<ge****************************@infohos.remove.thi s.be>
wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I'm having a strange problem and I'm not able to resolve it. Can
> someone
> help me please ?
>
> I want to create a MSI (setup package) to install a assembly into the GAC. > When I build the project I get this error:
>
> Unable to build assembly named 'NameOfTheAssembly.dll', HRESULT ==
> '8007065B'
>
> The register property of the primary output is set to vsdrpCOM.
> When I set it to vsdrpDoNotRegister then I can build the setup package but > ... the assembly is not registered of course !
>
>



Jul 21 '05 #4
This blog also covers this problem:
http://blogs.msdn.com/omars/archive/...28/122321.aspx
Jul 21 '05 #5
Hey Phil,

I tried removing the primary output and adding just the assembly. I haven't
specified any GUIDs in the code. My installation package keeps failing with
this error. I also followed all the steps in the blog. But no luck. Can u
suggest anything ?

-Anil

"Phil Wilson" <pd*******@nospam.cox.net> wrote in message
news:%2******************@TK2MSFTNGP15.phx.gbl...
If you have a lot of registry entries for the class, it might be because
you haven't specified an explicit Guid for the class and Visual Studio is
generating a new one every time you change something and rebuild. It helps
to nail down the version too instead of an AssemblyVersion of 1.0.*.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Gene Vangampelaere"
<ge****************************@infohos.remove.thi s.be> wrote in message
news:uD**************@TK2MSFTNGP10.phx.gbl...
I think I found the solution:
I used the project output into 2 directories (GAC and Application dir)
and I
let it registering as COM twice. Now I only registered it in the GAC and
it
works!

There where also a lot registry entries in my registry (I tested the dll
a
lot!). I deleted them all and compiled again. Maybe that was also a
problem
... who knows ... ;-)

Thanks for the reply anyway !!
G.

"Phil Wilson" <pd*******@nospam.cox.net> schreef in bericht
news:O0**************@TK2MSFTNGP12.phx.gbl...
What happens if you don't use the Project Output choice? Just add the
assembly by browsing to it, then setting registration to vsdraCOM.
(lower
case 'a' for assembly, lower case 'p' for project output).
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

"Gene Vangampelaere"

<ge****************************@infohos.remove.thi s.be>
wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I'm having a strange problem and I'm not able to resolve it. Can
> someone
> help me please ?
>
> I want to create a MSI (setup package) to install a assembly into the

GAC.
> When I build the project I get this error:
>
> Unable to build assembly named 'NameOfTheAssembly.dll', HRESULT ==
> '8007065B'
>
> The register property of the primary output is set to vsdrpCOM.
> When I set it to vsdrpDoNotRegister then I can build the setup package

but
> ... the assembly is not registered of course !
>
>



Jul 21 '05 #6
jbs

Check if [ClassInterface(ClassInterfaceType.None)]
None - not AutoDual if you use several classes.
Comment all ProjId but one and look at oleview what happens.

--
jbs
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message1202232.html

Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: G Kannan | last post by:
Hey all! I have written a perl script to retrieve information from a HTML Form and insert the data into an Oracle database table. I am gettting the the following error message: "Use of...
3
by: Alex | last post by:
I apoligise in advance if this is an os or platform based question, I don't know. I was wondering how register integers (and other types of register variables) are managed by c++. For example,...
14
by: aruna | last post by:
What is the disadvantage of using register storage class specifier?
9
by: Jackie | last post by:
Hi everyone, Does anyone know when "register" declarations should be used and when "register" must not be used? If possible please give examples for both cases. Thanks
29
by: orium69 | last post by:
hi everyone, i'm wondering if there is a way to have sure that a variable is allocated in the cache, after its declaration with "register"? Tks!
2
by: Mervin Williams | last post by:
I have created a setup project for my application which includes a non .NET managed code COM object. My COM component is automatically registered when I build my project. I'm having problems...
6
by: Gene Vangampelaere | last post by:
Hi, I'm having a strange problem and I'm not able to resolve it. Can someone help me please ? I want to create a MSI (setup package) to install a assembly into the GAC. When I build the...
33
by: Snis Pilbor | last post by:
With the "as if" rule in play, doesn't that effectively render the "register" keyword completely useless? Example: I make a silly compiler which creates code that goes out of its way to take a...
5
by: prouleau001 | last post by:
Hi all! Since that the decorator syntax is upon us, I think it would be good if atexit.register() was returning the function passed as argument. This simple change to the library would solve a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.