RADEditorMOSS: Deploy Solution Failuare

15 posts, 0 answers
  1. Phani
    Phani avatar
    21 posts
    Member since:
    May 2007

    Posted 08 Jun 2007 Link to this post

    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

  2. robert d.
    robert d. avatar
    8 posts
    Member since:
    Apr 2007

    Posted 11 Jun 2007 Link to this post

    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

  3. Phani
    Phani avatar
    21 posts
    Member since:
    May 2007

    Posted 11 Jun 2007 Link to this post

    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.
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 11 Jun 2007 Link to this post

    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
  5. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 12 Jun 2007 Link to this post

    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
  6. Phani
    Phani avatar
    21 posts
    Member since:
    May 2007

    Posted 12 Jun 2007 Link to this post

    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
  7. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 12 Jun 2007 Link to this post

    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
  8. Phani
    Phani avatar
    21 posts
    Member since:
    May 2007

    Posted 13 Jun 2007 Link to this post

    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
  9. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 13 Jun 2007 Link to this post

    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
  10. robert d.
    robert d. avatar
    8 posts
    Member since:
    Apr 2007

    Posted 14 Jun 2007 Link to this post

    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

  11. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 26 Jun 2007 Link to this post

    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
  12. jase
    jase avatar
    1 posts
    Member since:
    Jun 2007

    Posted 26 Jun 2007 Link to this post

    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.
  13. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 29 Jun 2007 Link to this post

    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
  14. rajesh nagaboina
    rajesh nagaboina avatar
    4 posts
    Member since:
    Oct 2009

    Posted 21 Oct 2009 Link to this post

    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....

  15. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 22 Oct 2009 Link to this post

    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.
Back to Top