Error Deploying soluion Package - Cannot add the specified assembly to the global assembly cache
Hi, We have a deployment package, which gets deployed in test server farm environment(2 WEFs, 1 App Server, 1 SQL Server) but the same package fails to get deployed in production environment with similar server farm. It throws the error saying that "Error: Cannot add the specified assembly to the global assembly cache" inapplication server. But itsuccessfully gets deployed in 2 WFEs servers of production env. The only difference between test and production env is, in production the central admin is configured in app server but in test server farm its there in one of the WFE. The SharePoint log shows the following error: 09/21/2009 14:31:25.02 OWSTIMER.EXE (0x0680) 0x06C4 Windows SharePoint Services Timer 6759 Critical The Execute method of job definition "SPSolutionDeploymentJobDefinition" (id "695a3e94-969a-430f-94db-10836c9b0d55") threw an exception. Error: Cannot add the specified assembly to the global assembly cache: GAC\SomeWebPart.dll. What could be the issue here? Thanks, San
September 21st, 2009 9:04pm

Hello,Deploy the solution using the -allowgacdeployment switch:http://technet.microsoft.com/en-us/library/cc262459.aspxThanks,Aseem Nayar - MSFTThis posting is provided "AS IS" with no warranties, and confers no rights
Free Windows Admin Tool Kit Click here and download it now
September 21st, 2009 9:56pm

Hi Aseem ..Thanks for your responding to this ..We are using the SharePoint Administrator screen to deploy the solution,and already get an alert about the GAC deployment in that screen. So I hope thats not an issue. Also the same package is getting deployed successfully on test server farm with similar farm environment as production.
September 22nd, 2009 6:30pm

Hi Please be sure that youre running as both a local administrator on the server and an administrator within the SharePoint farm. Does this issue disappear after the server is rebooted?If so, the reason for this might be that the SharePoint application pool service account did not have appropriate permission to activate IIS REGWAM admin service. You can walk through it by explicitly adding these permissions in the DCOM management console and then restarting IIS and Windows SharePoint Timer Service. Best Regards!
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2009 6:28am

Hi Lily, So, you are saying FARM ADMINISTRATOR ACCOUNT should also have local administrator access. Can you please tell me then what's the diferrence between the INSTALL ACCOUNT and FARM ADMINISTRATOR account? Best Regards! Jas
November 5th, 2010 12:12pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics