This is a migrated thread and some comments may be shown as answers.

RADEditorMOSS: Deploy Solution Failuare

14 Answers 275 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Phani
Top achievements
Rank 1
Phani asked on 08 Jun 2007, 06:32 PM

Hi,

I have a strange problem. I am not able to deploy the RadEditor for MOSS on the production server. Error: Cannot add the specified assembly to the global assembly cache: [Rad***.Net2.dll].

I tried all the options to install the solution RadEditorMoss.wsp. But, No luck. Also, I didn't find much help on the FAQs or in forums. I would appreciate, if anyone help me to resolve the problem.

Regards,
Phani Madhav

14 Answers, 1 is accepted

Sort by
0
robert d.
Top achievements
Rank 1
answered on 11 Jun 2007, 06:10 AM
Hey Phani,

to install dll's in the global assembly cache, you need to be local admin of that machine. Try to drag/drop a dll to c:\windows\assemby and see if you get the same error message.

hth,
Rob
0
Phani
Top achievements
Rank 1
answered on 11 Jun 2007, 06:54 AM
Thanks Rob. I tried that also. I am installing the RadEditor with Admin Account and he is the administrator for the entire farm and individual systems.

I am able to install the RadEditorMoss in standalone servers, but i am not able to install it in the Farm environment where i have 2 front end servers. It is able to deploy in one front-end server, but not able to install on the other server and throwing Error: Cannot add the specified assembly to the global assembly cache: [Rad***.Net2.dll].

So, I tried copying the DLLs, Feature files and ASCX files manually on the appropriate locations of the 2nd Front-End Server, but still i don't see RadEditor in Site Features. Please let me know if anyone came across this issue and able to solve the problem.
0
Lini
Telerik team
answered on 11 Jun 2007, 07:22 AM
Hi Phani,

Are the two front end servers sharing the same configuration or is there something different in the second one?

if you have copied the feature files to the appropriate location (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES), you can install them using the stsadm command line utility:

stsadm -o installfeature -name RadEditorFeature
stsadm -o installfeature -name RadEditorFeatureIE

After that you should be able to see the features in the Site Features page.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Lini
Telerik team
answered on 12 Jun 2007, 08:44 AM
Hello guys,

I am writing this as a follow up for the  Error: Cannot add the specified assembly to the global assembly cache: [Rad***.Net2.dll] problem. We had one more report about it and it turned out that the GAC already contained the same version of the assembly. Once the customer removed the RadEditor.Net2.dll assembly from the GAC, the deployment went OK. So if you receive the error again, check the GAC on the machine and delete it before deploying.


All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Phani
Top achievements
Rank 1
answered on 12 Jun 2007, 10:32 AM
Hi, I am able to solve the problem by manually copying all the files and executing stsadm installfeature on the servers.

But still i am not able to install the solution as suggested in the User Guide. It works fine with Single Machine deployment. but it is failing in the Server farm with 2 front end server.

Regards,
Phani
0
Lini
Telerik team
answered on 12 Jun 2007, 10:39 AM
Hello Phani,

Did you remove the editor assemblies from the machine's GAC before attempting to deploy again or you get a different error this time?

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Phani
Top achievements
Rank 1
answered on 13 Jun 2007, 07:19 AM
Hi Lini,

Yes, I removed the assemblies from GAC and entries from web.config. I think the problem is something to do with CAS(code access security).

Cheers!
Phani
0
Lini
Telerik team
answered on 13 Jun 2007, 07:58 AM
Hello Phani,

Thanks for the information. The whole point of putting the assemblies in the GAC was to have them execute with Full trust, since MOSS by default uses Minimal. We will continue to research this issue and give you more details if there are new developments.

All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
robert d.
Top achievements
Rank 1
answered on 14 Jun 2007, 01:10 PM
Hi guys!

Now we've had the pleasure to run into the same error.
We tried to deploy the RadEditor on a small farm with one application server and two front end servers.

After adding the solution via stsadm we tried to deploy the solution in the central administration under solution management.
The RadEditor could only get deployed on the application server. It failed on both front end servers.
The interface suggested to force the deployment with stsadm. We tried that but it didn't work either.
The files haven't been in the gac before and there were no web.config entries prior to our deployment.

Is it possible to manually install the files needed for the RadEditor? We have that dlls, the web.config-entries and the files  in ..\wpresources\RadEditorSharePoint. Are there any more files we need to deploy the RadEditor on the two front end servers?

Best regards,
Rob

0
Georgi Tunev
Telerik team
answered on 26 Jun 2007, 03:15 PM
Hi Rob,

From what you've described, you did almost all the steps needed for manual installation. The only thing that remains is to install the feature files - Lini posted instructions about that several messages above. For convenience I am pasting them below:

if you have copied the feature files to the appropriate location (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES), you can install them using the stsadm command line utility:

stsadm -o installfeature -name RadEditorFeature
stsadm -o installfeature -name RadEditorFeatureIE

After that you should be able to see the features in the Site Features page.




Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
jase
Top achievements
Rank 1
answered on 26 Jun 2007, 05:51 PM
We are experiencing the same issue as already posted.  we have a medium-sized farm which includes 2 web, 2 app, and a 2 node sql cluster.  deploying the .wsp to the farm returns the following errors:

Error: Cannot add the specified assembly to the global assembly cache: RadEditor.Net2.dll.
SERVERNAME01 : Error: Cannot add the specified assembly to the global assembly cache: RadEditor.Net2.dll. 
SERVERNAME02: http://etwk-prodweb01:8046/ : The solution was successfully deployed.

on the solutions management page it shows staus: error and deployed to: none

looking in the GAC on the SERVERNAME02 server you see the 2 registrations that should be there, and the web.config entries appear as normal.  this is not the case on the SERVERNAME01 server.

the web.config has been modified to read "trust level=WSS_Medium" for the trust level.    

we have successfully installed in our test environment on the 1 app/web & 1 sql server model and at this point it would appear that there is a failure with deploying the wsp into a multi-server model.

Please advise.
0
Lini
Telerik team
answered on 29 Jun 2007, 07:34 AM
Hi,

We have confirmed this problem with the current MOSS editor. Currently, the only workaround seems to be manually deploying the solution elements on the second server. What you need to do is:

1. copy the DLLs to the machine's GAC
2. copy the RadControls folder to \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\
3. copy the two features to \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ and install them using stsadm:

stsadm -o installfeature -name RadEditorFeature
stsadm -o installfeature -name RadEditorFeatureIE

4. copy the web.config settins over from the deployed server (<SafeControl> elements).

Next week, we have a scheduled update for the MOSS RadEditor. We will try to resolve this issue until then, but unfortunately I cannot give you an 100% guarantee at this moment.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
rajesh nagaboina
Top achievements
Rank 1
answered on 21 Oct 2009, 04:38 PM
I am trying to deploy RadEditor control in my test environment.
It is throwing error "Object reference not set to an instence of an object" solution installation failed

I modified web.config file to use ajax 3.5 features in all my sites existing on my server.

I installed on my local system it is working fine.Why I am gettign this error....

0
Stanimir
Telerik team
answered on 22 Oct 2009, 07:21 AM
Hello rajesh,

What version of RadEditor for MOSS you are trying to deploy? If it is 5.x version of RadEditor for MOSS make sure that you follow these articles.

1. Extending your MOSS site with Microsoft ASP.NET AJAX 3.5
.
2. Installing RadEditor in a MOSS 2007 farm.


Best wishes,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
WebParts for SharePoint
Asked by
Phani
Top achievements
Rank 1
Answers by
robert d.
Top achievements
Rank 1
Phani
Top achievements
Rank 1
Lini
Telerik team
Georgi Tunev
Telerik team
jase
Top achievements
Rank 1
rajesh nagaboina
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or