I'm trying to deploy my web application onto the production server and tried to copy the Infragistics DLLs to the GAC but it's not copying.
The DLLs I'm copying from the dev machine is @
C:\Program Files (x86)\Infragistics\NetAdvantage 2010.3\ASP.NET\CLR4.0\Bin
Nothing copies when I drag & drop the DLLs into the GAC using Windows Explorer on the production server. I tried using gacutil and it give me an "Unknown Error". I am part of the Administrator group on the server so I should have the privs. I tried copying the 2009 v2 DLLs into the GAC and these copied just fine.
Am I doing something wrong? I've done this many times with previous versions of Infragistics CRL2 DLLs and did not have this problem.
Thanks,
John
Hello nguyenjn,what is your Operating System. Did you checked if you have .NET Framework 4.0 installed on it.
My dev environment is Win 7 x64. This is where I'm copying the Infragistic DLLs from. The production environment I'm trying to copy the DLLs to is WIndows Server 2003 R2. Yes, .NET Framework 4.0 is installed in both environments.
I figured out the problem. With .NET Framework 4, the GAC is not in c:\windows\assembly anymore, but instead is in C:\WINDOWS\Microsoft.NET\assembly.
Also, you can't just copy/paste the DLLs into the new GAC folder either since the GAC viewer (Shfusion.dll) is obsolete for .NET 4.
You have to use gacutil.exe to install the DLLs into the GAC, but gacutil doesn't exist when you just install the .NET Framework 4 on a production server. The gacutil is part of the .NET Framework SDK, but you have to have Visual Studio 2010 installed first - which is a no no on a production web server.
What you'll have to do is copy the gacutil.exe and associated files from your development machine where Visual Studio 2010 is installed to the production server. You'll then use the gacutil.exe to install the Infragistics CLR4 DLLs.
I found the solution here
http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/8289751b-be25-4a23-a5e2-709645b8c651
Look for MarkdeCates response for the solution.