Unanswered Problem when publishing an infopath form to a site

  • Tuesday, March 06, 2012 6:51 AM
     
     


    I've created an infopath form, used userprofile web service to query the manager details of the user who opens the form. I published it to the form library and tried to open the form. I got an error "Problem when querying the database", then i closed and browser and tried to open the site on which form is published. This time even the site is not opening...

    The error is ::

    Server Error in '/' Application.

    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() +134
       Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs() +44
       Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext) +329
       Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable() +44
       Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls() +60
       Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable() +15
       Microsoft.Office.Server.WebControls.MyLinksRibbon.OnLoad(EventArgs e) +91
       System.Web.UI.Control.LoadRecursive() +65
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427

     

    I've tried with the following options to resolve this but couldn't resolve this:

    1. Run the Sp2010 Product Configuration wizard (both through Start-->Programs and also through powershell PSConfig.exe)

    2. Stop the user profile service in Central admin, restarting it, reset the iis

    3. In IIS manager, Edit Anonymous Authentication Credentials of the particluar web application

     
    Please reply back with a solution...


    Sai