Skip to main content

Posts

SharePoint 2013 - .master file not generated from masterpage html

Created a master page from seattle.html and uploaded it via a Sandbox solution. But the master page file .master was not generated automatically. Saved the file manually and the .master file was generated. Tried updating the file with powershell, still masterpage .master file not generated. Noticed the following properties and the value was set to true for a successful conversion. <mso:htmldesignconversionsucceeded msdt:dt="string">False</mso:htmldesignconversionsucceeded> <mso:htmldesignstatusandpreview msdt:dt="string"></mso:htmldesignstatusandpreview> used powershell to set the value to false and updated the file. The .master file was generated successfully. Wrote a small powershell snippet as part of deployment to ensure that .master is generated before setting the masterpage.

word-wrap:break-word does not work

During troubleshooting a css where the text wrap was just not working even though the style had word-wrap:break-word included. Later figured that there was another css property which was preventing it from working. Added this to style and it started working. white-space: normal;

Google Authenticator - Invalid pin

If you are facing invalid pin while trying to login to a two factor authenticated site with Google Authenticator, the question is did you travel outside your timezone? :) In the Authenticator app there is a setting for time correction. You can sync time with the server and everything should be good again.

Error while starting VM - Failed to allocate resources while connecting to a virtual network

Solution: Change Network Adapter settings for the virtual machine to "Not Connected", start the VM and change the network adapter to the default one. Error Details: [Window Title] Virtual Machine Connection [Main Instruction] The application encountered an error while attempting to change the state of 'machine_name'. [Content] 'machine_name' failed to start. Synthetic Ethernet Port (Instance ID GUID): Error 'The specified network resource or device is no longer available.'. Failed to allocate resources while connecting to a virtual network. [Expanded Information] 'machine_name' failed to start. (Virtual machine ID GUID) 'machine_name' Synthetic Ethernet Port: Failed to finish reserving resources with Error 'The specified network resource or device is no longer available.' (0x80070037). (Virtual machine ID GUID) 'machine_name' failed to allocate resources while connecting to a virtual network: The...