Showing posts with label VMWare. Show all posts
Showing posts with label VMWare. Show all posts

Monday, March 17, 2014

SharePoint 2013 - SQL Server connection failure

All of sudden, my SharePoint 2013 development server stopped working.

It says that SharePoint server cannot connect to the configuration database.

Below is the error message I got from windows events log when testing from SQL Server Management studio. It seems that the database connection is in trouble.

Faulting application name: Ssms.exe, version: 2011.110.3000.0, time stamp: 0x5081c1cd
Faulting module name: clr.dll, version: 4.0.30319.18444, time stamp: 0x52717e84
Exception code: 0x80131506
Fault offset: 0x002237de
Faulting process id: 0xd70
Faulting application start time: 0x01cf38bbd9ec2ecd
Faulting application path: E:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: d1ded40d-a4bb-11e3-8321-005056b4002b


Application: Ssms.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at SNINativeMethodWrapper.SNIClose(IntPtr)
   at System.Data.SqlClient.SNIHandle.ReleaseHandle()
   at System.Runtime.InteropServices.SafeHandle.InternalFinalize()
   at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean)
   at System.Runtime.InteropServices.SafeHandle.Finalize()


Faulting application name: Ssms.exe, version: 2011.110.3000.0, time stamp: 0x5081c1cd
Faulting module name: ntdll.dll, version: 6.1.7601.22436, time stamp: 0x521eaa80
Exception code: 0xc0000005
Fault offset: 0x000222d2
Faulting process id: 0x6e0
Faulting application start time: 0x01cf38c8fe1da46d
Faulting application path: E:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 9775f54d-a4bc-11e3-8321-005056b4002b

After hours of investigation, I believe the problem roots in quite low level. My environment is ESX + Windows Server 2008 R2 + SharePoint Server 2013. I reinstalled windows OS, but the same problem is still there.

Not sure what happened. A ticket is logged with Microsoft, and they are working on it at the moment.

What I can do, is to change SQL Server connection protocol from TCPIP to Named Pipes. That "fixed" the problem.

I will let you know once find the cause.

Friday, December 13, 2013

Hyper-V + SSD + "Data Deduplication" on Windows Server 2012


As a SharePoint developer or administrator, we all have a number ( >10 ) of virtual machines for test and development environment. If your VMs are hosted on Windows Server 2012 and stored on SSD ...... don't forget to enable "Data Deduplication"!

Why? Please check the screenshot below. 340GB vhdx files are "shrinked" to 54GB!

There are some extra cost of disk space. Let's check it from OS level, as the screenshot below, those 340GB vhdx files still takes less than 125GB disk space! What does this mean? Even a 240GB SSD is enough for a SharePoint 2013 development environment.

I am not a virtual machine expert. But if Data Deduplication is as good as here said, I believe that for most of the companies, the ESX vs Hyper-V war is over. Hyper-V wins. Let's imagine how many SSD RAID it can save for 1000 virtual machines!

This feature is really impressive. I strongly recommend it to all SharePoint gurus!

Please let me know if you have different thoughts.

Monday, July 23, 2012

VMWare Player 4 installation error

I was quite surprised that this problem was still there.

Error message:

The MSI 'C:\Users\efang\AppData\Local\Temp\vmware_1343014834\vmwarevmcisockets64.msi' failed.The older version of VmciSockets cannot be removed.  Contact your technical support group.


It seems many people got the same issue, and there is no easy way to resolve the problem. (Many people end up with re-installing the whole host machine)

I don't know exactly what caused this problem, but obviously it is caused by some problem in the registry table. After uninstall all VMWare products, I tried search for "vmware" in registry table "HKLM\SOFTWARE", and deleted all VMWare relevant items.

Then, the installation goes well.