Telerik
Home / Community / Forums / Editor Lite / Object reference not set to an instance of an object

Object reference not set to an instance of an object

Feed from this thread
  • Klaus avatar

    Posted on Oct 9, 2007 (permalink)

    I'm looking for a tool that enhances the RTE and found radEditor that looks like something what I need. So today I downloaded the zip 4.4.0 and tried to install it but failed directly.

    Run:
    stsadm -o addsolution -filename RadEditorMOSS.wsp

    Got this message:
    Object reference not set to an instance of an object.
    RadEditorMOSS.wsp: The Solution installation failed.


    Where do I look for a solution?

    Cheers,
    Klaus

    Reply

  • Maximo Martinez avatar

    Posted on Oct 9, 2007 (permalink)

    This only means one thing. You don't have enough permission to deploy solutions.

    It doesn't matter if you're the local or domain admin. You must have administrative rights within Sharepoint. Are you a farm administrator?

    -MM

    Reply

  • Klaus avatar

    Posted on Oct 9, 2007 (permalink)

    I thought I had enough rights, have to ask the one who I know has...

    Thanks för the quick answer.

    ~Klaus

    Reply

  • Klaus avatar

    Posted on Oct 10, 2007 (permalink)

    I'm in the farm admingroup..

    Reply

  • Klaus avatar

    Posted on Oct 15, 2007 (permalink)

    Are there any other requirements that need to be set or installed.

    I can't get this to be installed and do not know what to look for.

    Please help me,
    Klaus

    Reply

  • Telerik Admin admin's avatar

    Posted on Oct 16, 2007 (permalink)

    Hi Klaus,

    As it was already mentioned, this error is pretty generic and it could mean a number of things. First you need to verify that the currently logged in windows user has administrative rights on the machine/SharePoint server. Sometimes changing the date format from the default US English dd/MM/yyyy will produce the same error.

    I suggest that you do a web search about this problem - stsadm addsolution and "Object reference not set to an instance of an object".

    Greetings,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Klaus avatar

    Posted on Oct 16, 2007 (permalink)

    SOLVED:
    My Computer -> Manage -> Added myself to WSS_RESTRICTED_WPG (Group for the Windows SharePoint Services farm administrator. This group is required for the WSS Administration Service to function.)

    I thought it was enough to be in the Farm Administrators group i SharePoint Central Administration.

    Thanks for helping me everyone...

    Reply

  • Bob avatar

    Posted on Nov 7, 2007 (permalink)

    I am adding the RadEditorMoss on my last server (of four.)  The other three were successful and were suppose to be set up relativey similar (production/Test vs Internet/Intranet).  This last server is the production intranet site.

    I did the 'stsadm -o addsolution -filename RadEditorMOSS.wsp' and I get the:
    Object reference not set to an instance of an object.
    RadEditorMOSS.wsp: The Solution installation failed.

    I am a Farm Administrator. (it worked on the other three sites)
    Any ideas on how do I fix it?

    Thanks

    Reply

  • Telerik Admin admin's avatar

    Posted on Nov 8, 2007 (permalink)

    Hi Bob,

    Have you tried all the steps in this thread?
    e.g

    1. If your system is not US-English, to set the date format to mm/dd/yyyy
    2. Make sure that you are using the Admin account for the MS Windows OS on the server

    If this doesn't help, can you please provide more details about the problematic server - is it a domain controller, what is different with it compared to the other 3 servers, etc.



    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Bob avatar

    Posted on Nov 8, 2007 (permalink)

    I did some more investigtion after I posted my plea.  It seems all servers are not alike.  On the server, in the application event log I received:

    Event Type: Error
    Event Source: Windows SharePoint Services 3
    Event Category: Database
    Event ID: 3760
    Date: 11/7/2007
    Time: 9:47:35 PM
    User: N/A
    Computer: INTRANET01
    Description:
    SQL Database 'SharePoint_AdminContent_414e0413-25b0-4f5d-99dc-b73171573029' on SQL Server instance 'sql01\MOSS' not found. Additional error information from SQL Server is included below.

    Cannot open database "SharePoint_AdminContent_414e0413-25b0-4f5d-99dc-b73171573029" requested by the login. The login failed.

    Login failed for user 'NT\xxxxxxx'.


    When I received the subscription to this thread, I was looking for where this security was set.  The person that set the servers up in not presently available.  You know off the top of your head?

    Thanks for your response.

    Reply

  • Telerik Admin admin's avatar

    Posted on Nov 8, 2007 (permalink)

    Hi Bob,

    Since the error message says the xxxxx user does not have permissions to access the corresponding database, I would suggest to temporary add the 'NT\xxxxxxx' login (if you have access to the SQL management of course) to the SQL Server so it will be able to access the MOSS database. Once the editor's deployment is finished, you can remove the access.



    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Bob avatar

    Posted on Nov 8, 2007 (permalink)

    Followup:  The SQL guy was able to get me access to 'SharePoint_AdminContent_...' and I was able to add the solution.

    Yee Ha....

    Reply

  • Telerik Admin admin's avatar

    Posted on Nov 9, 2007 (permalink)

    Thanks for the follow-up. I am sure that this thread will be useful for others, who stumble on the same problem in the future.

    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Shala avatar

    Posted on Mar 26, 2009 (permalink)

    I am having a similar problem except i got to add the solution but my portal is now not loading even after i did the IISReset.
    I tried retracting or deleting the solution and now I am getting the same error: Object reference not set to an instance of an object

    any suggestions?

    Reply

  • Telerik Admin admin's avatar

    Posted on Mar 30, 2009 (permalink)

    Hi,

    Open the server's event log and get the details for the exception. The information in the application log should be sufficient to determine what is causing the problem.

    Sincerely yours,
    Lini
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.

    Reply

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.