Friday, June 7, 2013

Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm.

Error:
Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm. (see the image below)



Cause:
Your login user has no 'db_owner' access for SharePoint Databases.
1. SharePoint_Config
2. SharePoint_AdminContent_[XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX]
3.Your web application DB in which you want to deploy WSP (Example. WSS_Content_XXXX)

Solution:
Now connect your SQL Server with admin user.
Then select your user which has error in deployment.
Then assign all above DBs to db_owner rights. (see the image below)





Now try to deploy your WSP.

You can successfully deploy WSP.

Happy SharePointing...!!!

Wednesday, June 5, 2013

Workflow Manager Configuration Wizard Error for SharePoint 2013

Error:  
Method not found: 'System.String Microsoft.ServiceBus.Commands.Common.SecurityHelper.CreateServerAdministratorRole(System.String, System.String)'.

Error Detail Log: 
System.Management.Automation.CmdletInvocationException: Method not found: 'System.String Microsoft.ServiceBus.Commands.Common.SecurityHelper.CreateServerAdministratorRole(System.String, System.String)'. ---> System.MissingMethodException: Method not found: 'System.String Microsoft.ServiceBus.Commands.Common.SecurityHelper.CreateServerAdministratorRole(System.String, System.String)'.
   at Microsoft.ServiceBus.Commands.NewSBFarmBase.InstallManagementDB(String connectionString)
   at Microsoft.ServiceBus.Commands.NewSBFarmBase.ProcessRecordImplementation()
   at Microsoft.ServiceBus.Commands.ServiceBusBaseCmdlet.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
   at Microsoft.Workflow.Deployment.ConfigWizard.CommandletHelper.InvokePowershell(Command command, Action`3 updateProgress)
   at Microsoft.Workflow.Deployment.ConfigWizard.ProgressPageViewModel.CreateSBFarm(FarmCreationModel model)


Resolution:

Missing Service Bus 1.0 package.
Download from  http://www.microsoft.com/en-in/download/details.aspx?id=35374
OR 
Install http://www.microsoft.com/en-us/download/details.aspx?id=36794

Then re-run Workflow Manager Configuration Wizard again and see the 
first steps working successfully for "Create a new Service Bus farm."




Happy SharePointing...!!!

Tuesday, June 4, 2013

Microsoft Certified Professional

Last saturday (1st June, 2013) I have passed 70-573 "TS: Microsoft SharePoint 2010, Application Development" Exam. 

Now I become Microsoft Certified Professional and moving forward for become MCPD (70-576). 

Happy SharePointing...!!!



Friday, May 10, 2013

All application, file icons change to Acrobat/Reader icon after install Acrobat Reader

Issue:
After I install Adobe Reader on Windows 7 , icons of all applications and file-types change to Acrobat/Reader icon. Double-clicking any icon or file launches Acrobat or Reader. (The native application associated to the file type doesn't open.)

Solution:
I found good solution in Acrobat Help.
See the link here.


Tuesday, March 12, 2013

Get SharePoint Users List from Infopath Form People Editor

Today I am doing some R & D with Infopath form & workflow. I want to pass multiple users from Infopath to workflow for multiple users' task creation.

I have searched on google but not getting proper result for above. That's why I have decided to write this post for other user's help.

See below image for visualization.

 

 








Now, fire button click & add below code.

        public void btnGetUsers_Clicked(object sender, ClickedEventArgs e)
        {
            // Write your code here.
            XPathNodeIterator sentToIterator = MainDataSource.CreateNavigator().Select("/my:myFields/my:reviewersGroup/pc:Person/pc:AccountId", NamespaceManager );
            string result = "";
            int count = 1;
            foreach (XPathNavigator selectedNode in sentToIterator)
            {
                if (count < sentToIterator.Count)
                {
                    result += selectedNode.InnerXml +"; ";
                    count++;
                }
                else
                {
                    result += selectedNode.InnerXml;
                }
            }
        } 
Happy SharePointing...!!!