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)


Friday, 24 January 2014

SharePoint 2013 Central Administrator page gives Blank

The SharePoint central administrator site give blank, the site has not deleted from your hard disk, so simply you can recreate the CA site and you will fix it.

To fine your CA site content from on your hard disk like "C:\inetpub\wwwroot\wss\VirtualDirectories\8445" this will provide data to new CA site. (Don't panic the IIS CA site port and virtual directory port are different, that is SharePoint architecture)

Once you get the site status like your existing IIS site port number and virtual directory is still alive or not, that is not an issue.  Follow the below steps to fix it.

1.  Goto cmd prompt run as administrator -> cd "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\BIN"

2. Use the following cmd to recreate the CA site without losing existing site collections 
"psconfig.exe -cmd adminvs -provision -port 1515 -windowsauthprovider onlyusentlm"
(Note: The port number must be a new to IIS)
 
You can see the comment result: