Wednesday, 12 February 2014

Business Portal 6.0: "Microsoft.BusinessFramework.Security.AuthenticationException: Invalid user"

Issue:
Once you successfully installed and configured the basic setup of Business Portals 6.0 and few of them getting the following error due to wrong data on MBF (Microsoft Business Framework).
-----------------------------------------------------------------------------------------------------------
Microsoft.BusinessFramework.Security.AuthenticationException: Invalid user.
at Microsoft.BusinessFramework.UserManager.VerifyUser()
at Microsoft.BusinessFramework.EnterpriseSession.Initialize(String enterpriseUrl)
at Microsoft.BusinessFramework.Security.EnterpriseInitializationModule.OnAcquireRequestState(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

-----------------------------------------------------------------------------------------------------------
Solution: 
While adding the user in MBF you must notice and add it, for example if you are going to add the user "testuser1" and the domain name as "contoso.local",  the user must look like "contoso\testuser1" but nor "contoso.local\testuser1" because both are not same.

Reference: https://community.dynamics.com/gp/f/32/p/120598/252918.aspx#252918

Thursday, 6 February 2014

PSConfig.exe failed to Upgrade..

You can upgrade SharePoint 2010 and SharePoint 2013 using "PSConfig" from cmdlet, some time it's getting "Failed" (i.e. 10.00% : Failed to upgrade SharePoint Products.) Even if you are trying to upgrade from SharePoint Configuration Wizard.  If you are not find any solution, just follow the steps.

Open couple of commend prompt as Administrator;
CMD 1: 

  • In SharePoint 2010:
    • Go to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\bin"
  • In SharePoint 2013:
    • Go to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\bin"
  • Type "PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures"
While running this, go to cmdlet 2

CMD2:
If you see the screen like, what I mentioned "Image 1" 
(Image 1: Command Prompt "1")

Simply type "net start SPTimerV4" in cmd 2
(Image 2: Command Prompt "2")

Cheers finally you will successfully upgrade your SharePoint Server and check it our in your CA.
(Image 3: Upgrade Status on CA)