VS2005: COM wrapper build problem


A

Al Reid

I have a project that creates a com wrapper around a VB2005 web service. It was complete several month ago and has been working
properly as I developed the VB6 program that it was built for. I created a setup project and rebuilt the entire solution on Friday
in preparation to deploy the solution. This morning I changed the pointer to the web service from the development server to the
production server and attempted to compile it. Suddenly I get the error:

"Cannot register assembly "xyz.dll" - access denied. Attempted to perform an unauthorized operation."

I pointed back at the development server and same thing. My development machine is running Windows2000 SP4 and VS2005 has all
service packs installed.

Does anyone have any ideas as to what has happened or what to do to correct the problem.
 
Ad

Advertisements

M

Mr. Arnold

Al Reid said:
I have a project that creates a com wrapper around a VB2005 web service.
It was complete several month ago and has been working
properly as I developed the VB6 program that it was built for. I created
a setup project and rebuilt the entire solution on Friday
in preparation to deploy the solution. This morning I changed the pointer
to the web service from the development server to the
production server and attempted to compile it. Suddenly I get the error:

"Cannot register assembly "xyz.dll" - access denied. Attempted to perform
an unauthorized operation."

I pointed back at the development server and same thing. My development
machine is running Windows2000 SP4 and VS2005 has all
service packs installed.

Does anyone have any ideas as to what has happened or what to do to
correct the problem.

It seems that the user account security context being used and is trying to
register the DLL on the machine is being denied access to the DLL or access
to the registry is being denied on the machine for the user account.

This doesn't seem to be a .NET problem, but rather, it seems to be a user
account authorization problem on the machine or machines.
 
Ad

Advertisements

A

Al Reid

Mr. Arnold said:
It seems that the user account security context being used and is trying to
register the DLL on the machine is being denied access to the DLL or access
to the registry is being denied on the machine for the user account.

This doesn't seem to be a .NET problem, but rather, it seems to be a user
account authorization problem on the machine or machines.

Thanks for the info, Mr. Arnold.

Well, nothing has changed with the user account. I didn't even log out between successful and unsuccessful builds. The user
account is an administrator on the machine.

I went to another machine and logged in as the same user and tried from there. On that machine the project builds, but the setup
project fails with "Unable to create registration information for the file 'xyz.dll'"

If this is not a VB2005 or .Net issue, can you or anyone direct me to a more appropriate place to ask?

TIA,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top