Register .Net Assemblies for COM on WIn 2008 Server
Posted: Mon Mar 11, 2013 5:04 am
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
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