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...!!!

Saturday, March 2, 2013

The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

Today I am trying to open my SharePoint port 80 Site in my Laptop which has installed window 7 Ultimate 64 bit OS.

But can't open site in browser so I have checked IIS Manager and seen port 80 site is stopped. So I have tried to start that site but can't start and error fire as below.

Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)  

Cause: After few minutes of research, I have seen one problem. Problem was Skype is by default use port 80 that's why I faced the issue.

Resolution: Go to Skype > Tools > Advance (left side Tab) > Connection > Now unchecked port 80 as per below screen.









Happy SharePointing...!!!

Tuesday, October 16, 2012

SharePoint Foundation 2013 Error : ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported.

Environment: Windows Server 2012, SharePoint Foundation 2013 in Stand-Alone mode

Error: ErrorCode:SubStatus:Service running under Network Service account in workgroup environment is not supported.

Resolution: 
  • Go to Run > Type "Services.msc" 
  • Start "AppFabric Caching Service" with proper login account.
  • Go to SQL Server in then add role to login account as below.
  • Add role: Public, Sysadmin, Setupadmin, Serveradmin
  • Then Go to Run > Type "Cmd" & run as Administrator
  • Set Psconfig.exe path as below command 
  • Type "cd C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN" then click ENTER.
  • Now run command for silent installation "psconfig.exe -cmd Configdb Create SkipRegisterAsDistributedCacheHost"

Happy SharePointing...!!!

Tuesday, July 17, 2012

SharePoint 2013 : Hardware and software requirements

You can check hardware & software requirements on below MSDN Url.
http://technet.microsoft.com/en-us/library/cc262485(v=office.15)  

Happy SharePointing...!!!