Hi,
I have an application for a client that is a combination of VB COM and C# .Net Assemblies. The assemblies are marked for COM interop.
The install script works great when the application is installed to a user's workstation both on Windows XP and Windows 7 (32 and 64-bit). However, they have a requirement to also install the same application on a Windows 2008 R2 server that is hosting a Citrix server for clients use from remote offices or while on the road.
When we install this to the Windows 2008 server, the install completes without any error but no TLB files are generated and the assemblies do not get installed to the GAC. If I run a separate BATCH file to invoke regasm and gacUtil and ngen, everything will register and get installed to the GAC on this "Citrix / Windows 2008" server environment.
I have tested the same IA install script on a Windows 2008 server in my local environment and everything works OK. I suspect that there might be some Group Policy setting that my client has enabled or configured that is preventing the IA script from performing the regasm step. I have compared the log files from the installation on a Windows 7 workstation and this Windows 2008 server and they are identical except where certain flags like Terminal Server are interrogated.
Any assistance in resolving this problem is greatly appreciated.
Thanks,
Norm
Register .Net Assemblies for COM on WIn 2008 Server
-
- Posts: 33
- Joined: Sun Jul 11, 2010 2:06 pm
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Register .Net Assemblies for COM on WIn 2008 Server
Dear Norm,
Just a question, have you tried what happens turning off the anti-virus app (if any) on those machines?
Regards
Just a question, have you tried what happens turning off the anti-virus app (if any) on those machines?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 33
- Joined: Sun Jul 11, 2010 2:06 pm
Re: Register .Net Assemblies for COM on WIn 2008 Server
Hi Francesco,
No, they did not try disabling their anti-virus software.
But, I had a research session with one of my client's IT staff and he was able to get the .Net assemblies to register when he logged onto the server as a domain administrator and then ran the installation "as a local administrator" of the server. His thought is that there may be a permissions issue within the registry. For my test in my development environment I was logged in as a domain administrator and did not need to perform as "Run As ..."
I will ask him to try it after disabling their anti-virus software for that server.
Thanks,
Norm
No, they did not try disabling their anti-virus software.
But, I had a research session with one of my client's IT staff and he was able to get the .Net assemblies to register when he logged onto the server as a domain administrator and then ran the installation "as a local administrator" of the server. His thought is that there may be a permissions issue within the registry. For my test in my development environment I was logged in as a domain administrator and did not need to perform as "Run As ..."
I will ask him to try it after disabling their anti-virus software for that server.
Thanks,
Norm
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Register .Net Assemblies for COM on WIn 2008 Server
Dear Norm,
Doing a quick google search, I found the following topics about a security policy that should be enabled by default with all most recent WIN OS server versions.
http://technet.microsoft.com/en-us/library/hh831534.aspx
http://msdn.microsoft.com/en-us/library/aa368304.aspx
http://www.beepthegeek.com/2011/09/the-system-administrator-has-set-policies-to-prevent-this-installation.html
Maybe you could find the above interesting.
Regards
Doing a quick google search, I found the following topics about a security policy that should be enabled by default with all most recent WIN OS server versions.
http://technet.microsoft.com/en-us/library/hh831534.aspx
http://msdn.microsoft.com/en-us/library/aa368304.aspx
http://www.beepthegeek.com/2011/09/the-system-administrator-has-set-policies-to-prevent-this-installation.html
Maybe you could find the above interesting.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 33
- Joined: Sun Jul 11, 2010 2:06 pm
Re: Register .Net Assemblies for COM on WIn 2008 Server
Thanks Francisco,
I will pass these links along to them for review and research today.
Norm
I will pass these links along to them for review and research today.
Norm
-
- Posts: 33
- Joined: Sun Jul 11, 2010 2:06 pm
Re: Register .Net Assemblies for COM on WIn 2008 Server
Hi Francesco
We tried the installation after disabling the anti-virus software on the server and it still failed to generate the type libs files.
Thanks,
Nor
We tried the installation after disabling the anti-virus software on the server and it still failed to generate the type libs files.
Thanks,
Nor
Who is online
Users browsing this forum: No registered users and 106 guests