Posts

Showing posts from March, 2016

The lesson I learn from upgrading my iPhone5 to iOS9

Recently I upgraded my iPhone5's iOS to iOS 9 version to install the latest Mobile App. Below is the story and lesson I learnt from this upgrade. I backup my iPhone with iTune in my old Mac before the upgrade as usual, and then I went to a local Apple store and try to upgrade my iPhone on there (by using their WiFi). Once the software was downloaded and started the installation process, I went home. Guess what happened? I can't start my iPhone again. It just stayed in black screen. I went to apple.com and find the online support chat on there. Because my old Mac unable connect to wireless Internet to upgrade itself, and so the support guy suggested me to install the latest iTune in my Windows 8 PC. Once I installed the latest iTune, I can restore and upgrade my iPhone to iOS9 successfully. But when I plug my iPhone to old Mac again, I can't restore my previous backup to my iPhone anymore as the iTune version was too old!!!! I got shock again, and now I have to upgrad

Universal Windows App Troubleshooting - Unable to receive Toast notification after upgrade to Windows 10 App

Recently I upgrade my first Universal Windows 8 App to Windows 10 version. The app runs well but I can't receive the Toast notification sent from Azure Mobile App service anymore. I try to investigate the issue and verify all related reference and "Nuget Package", but still unable to figure out where is the problem. After read some posts about App life cycle and I realized that I may need to uninstall the App and install the new Win 10 App again in my local PC. After I reinstalled and run the app again, the toast notification comes back.    

Mandatory Windows Services for Successful Kerberos Authentication in SharePoint 2013

Image
Recently I experienced the "Secure Store Service Application" and "Reporting Service Application" access denied error. I verify that both of the "Claims to Windows NT Token Service" in SharePoint Central Admin and Window System "Services"are unable to start. I fixed these issue based on my last post , but I still experienced the same access denied issue, and I also found out the Event id 8306 in Event Viewer for this error, I did a research in google and found out following windows services must be started in the server: Claims to Windows Token Service, Net.Pipe Listener and Net.Tcp Listener. Once I start these services, I can open the "Secure Store Service Application" and "Reporting Service Application" in Central Admin successfully.

Share one content database and site collection between two separate farms (failover farm)

I had been worked on a Business Intelligence platform project (SharePoint 2013 integrated with MS Reporting service). The working environment has two separate SharePoint farms as fail-over farms and they shared with one common content database (in a windows cluster across two servers and using SQL always on for high availability) and site collection. These two farms have their own configuration database and service application. I created one site collection in primary farm's server and add the same content database in another farm's server via Central Admin UI, However, the site collection created in primary farm server were not showing in the second farm's server, and so I try to use powershell to connect the content database again as below: //Find out the content database ID Get-SPContentDatabase -WebApplication <Web Application URL> //Disconnect from the current content database Dismount-SPContentDatabase <identify> (Note: the id was from last comm

"Hack" SharePoint configuration database - Manually point to another configuration and content database SQL server in farm servers

Recently I was been told that SharePoint configuration and content database had been migrated and restored to another SQL server. I ran the SharePoint Production and Configuration Wizard to connect to the existing farm with the new SQL Serve Instance and same configuration database name. Once the wizard finished the process and the Central Admin site was ready, I went to the "Systems" page to check farm severs and saw the farm configuration database still showing the old SQL server instance. As the Project Manager won't  create a new farm and then reconfigure the SharePoint again, I have to come out another solution. Below is my idea to "hack"  the SharePoint configuration database although MS not recommend this way. :) I executed below SQL script against the [Objects]  table and found out the old SQL server instance record is there. SELECT TOP 1000 [Id], [ClassId], [ParentId], [Name], [Status], [Version], [Properties] FROM [SharePoint_Config].[dbo].[Objec

"Unable to start Claims to Windows NT Token Service (c2WTS)" (Share Point Kerberos Authentication)

Recently I found both of the "Claims to Windows NT Token Service" in SharePoint Central Admin and Window System "Services"are unable to start. These services are for Kerberos Authentication. The error message is "Error 2:  Unable to find the specified file". I verify the "Path to executable" of the service's properties and found out it points to wrong path "C:\ProgramFiles\...". Although I am not sure who and how did this change, I run the command line " sc config <service name> binPath= <binary path> " as Administrator, and then the executable path was changed and I can start the service!!!. This post is part of my project  "Implement the Business Intelligence On Premises SharePoint 2013 Portal ". If you want to know more my experiences from the guide of above project, please sign up in  here .

SharePoint 2013 Troubleshooting - Unable connect to Search Admin service

Recently I found a issue in "Search Administration" page in Central Admin site which said "unable connect to Search Admin service" and the "Search Application Topology" shows error and no information showing under there on the page. I verify both of the "Search" service and its service application are in "Started" status in Central Admin. I check the SharePoint ULS log file and found below error: WcfService: Exception during service start - threadId: 12 - exception: System.ServiceModel.CommunicationException: The TransportManager failed to listen on the supplied URI using the NetTcpPortSharing service: failed to start the service because it is disabled. An administrator can enable it by running 'sc.exe config NetTcpPortSharing start= demand'.. ---> System.InvalidOperationException: Cannot start service NetTcpPortSharing on computer '.'. ---> System.ComponentModel.Win32Exception: The service cannot be started, e