Sunday, December 28, 2014

SharePoint Farm configure in Azure

When I was trying to configure the SharePoint farm in Windows Azure, I often encountered this problem.

My SharePoint farm consists of Domain Controller , two WFE and one SQL Server.

I have create the Azure Virtual Network and all of the above VMs are connected in the same sub net.

Still the server manager reports this below problem and subsequently I am not able to connect the VMs in to Domain Controller.

When I am trying to make the WFE-1 as member of Domain controller,It was not able to connect the DC even though virtual network listing all VMs are part of it and shows this error.


WinRM cannot complete the operation.Verify that the specified computer name is valid,that the computer is accessible over the network and that a firewall exception for the WinRM service is enable and allows access from this computer. By default,the WinRM firewall exception for public profiles limits access to remote computers within the same local sub net.




To identify this problem and resolve, I searched through on windows azure forums and discussion and come up with resolution. Eariler I joined the WFE-1 with the domain controller by choosing the computer name (Murugesan-SP) instead of DNS or fully qualified name and then ran the winrm quickconfig on the same VM and reboot the server and the problem got solved. Now my VMs are connected with DC. 

And also the member computer was created before the VM which was promoted to domain controller that's why DC is not recognize the member computer and WinRM service also not started automatically on the member computer.

When you are joining to DC, always use the DNS name instead of computer name and restart the member computer.






After ran the command , all of the VMs are connected and joined happily with DC.


Topic related video















Monday, December 15, 2014

Hiding the row or column in nested table


In this table, I have nested 2 tables with class identification.All you need is irrespective of multiple nested tables,you just need to pick their class or id and then loop all the rows or columns. // $('.second td:nth-child(2)').hide(); / The above line hides the second column in the table named 'second'. $(this).closest("#row1").hide(); This code hides the row in the second table that has row with row1 identification.
   
First Name Last Name City Email Address
MurugesanPandianChennaisomeuser1@example.com
GeethaMurugesaKovilpattisomeuser2@example.com
ShreeDhanyataMumbaisomeuser3@example.com
PandiNadarChennaisomeuser4@example.com
Department Prof.Name Location
ITMurugesa Pandian3F,248

Tuesday, December 09, 2014

Microsoft Sign In assistant window not closing in Visual Studio.

When I was trying to create the SharePoint Provider hosted app in SharePoint on my fresh installed Windows 2008 R2 SP1, Visual Studio 2013 Ultimate Update 4 and Internet Explorer 11.

I encountered the strange issue,
When I am about to deploy this app on my Office 365 developer site,
IE window doesn't close after the authentication completed successfully which caused Visual studio cannot deploy the app and waiting with the status bar message "Deploy Started".
But it didn't go nowhere.

Internet Explorer window not closing on Validation in Visual Studio - SharePoint App,Office 365

Honestly, to resolve this issue I am clueless to put the exact keyword in google or bing.
Then I posted this on MSDN Forum and got answer to this weird yet strange issue.
You need to update the registry with new key/value "

Create the RealTimeIsUniversal key and set the value to "0"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation


I thought ,It could solve this problem,after this still the internet explorer window doesn't closes after authentication completes.

Now the error with different notation.


Then I noticed my TimeZone and the date and time is different than each other.
So I corrected my time and time zone to UTC 5.30+ and restarted my server.
Now visual studio able to close the Microsoft Sign in Assistant window after successful authentication.