Window System Image Backup fails error code (0x807800C5) (0x80070020)

There was a failure in preparing the backup image of one of the volumes in the backup set.
The process cannot access the file because it is being used by another process.

All I can tell you folks is what worked for me.

Image

  1. Try and shutdown the computer (not a restart).
  2. Turn on your computer and try again.
  3. If that don’t work, run these command in an elevated (administrator) command prompt.
    1. DISM.exe /Online /Cleanup-image /Scanhealth
    2. DISM.exe /Online /Cleanup-image /Restorehealth
    3. Shutdown the computer (not a restart).
    4. Turn on your computer and try again.
  4. If that doesn’t work, in an elevated (administrator) command prompt, run:
    1. sfc /scannow
    2. If that checks out okay, in the same windows, run a chkdsk:
      1. chkdsk [Drive:] [parameters]  “Example:” chkdsk c: /f /r /x
      2. Enter Y in order to have this process run the next time the system restarts.
      3. Restart your system.
  5. If this doesn’t work, browse the web and find another solution.

SQL Server Reporting Services – Opening an RDL in Older Version of Visual Studio Opens as XML

In order to fix this issue, you need to remove a few lines of code from the XML.

    1. Replace xmlns with:
      <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    2. Remove only the Report Section header and footer tags (leave the child elements)
      <ReportSections>
      <ReportSection>
      
      ..................................
      
      </ReportSection>
      </ReportSections>
    3. Remove the entire ReportParametersLayout section
      <ReportParametersLayout>
      
      <GridLayoutDefinition>
      
      .....................................
      
      </GridLayoutDefinition>
      
      </ReportParametersLayout>

Visual Studio Community Edition 2017 – VS Freezes when Accessing Context-Menu on SSRS .rdl Reports

Sometimes when I attempt to deploy a report to my Reporting Services Server, Visual Studio freezes for a minute or more before bringing up the context menu. After some research, my problem was resolved by disabling the Image Optimizer extension. To disable:

  1. Click the Tools Menu.
  2. Click Extensions and Updates.
  3. Look or Search for Image Optimizer.
  4. Click the extension.
  5. Click the disable button.

Hopefully, Microsoft will fix this issue soon.

Visual Studio Community Edition 2017 – Locked File or Folder with Visual Studio Installer

https://stackoverflow.com/questions/45839250/unable-to-update-visual-studio-installer

Quote: “The solution I found was to close down visual studio, go to “c:\Program Files (x86)\Microsoft Visual Studio\Installer”, rename the folder “Installer” to something else then run vs_installer.exe from the renamed folder.

Windows 10 – Use CHKDSK to fix problems with your hard drive

  1. Raise an elevated command prompt.
  2. Type in CHKDSK   /f   /r   /x
    1. /f  parameter tells CHKDSK to fix errors that it finds.
    2. /r parameter tells CHKDSK to repair to find the bad sectors and try and recover the readable information.
    3. /x parameter tells CHKDSK to dismount the drive before beginning the process.
  3. If your drive is a boot disk (As in your main hard drive that contains your OS, after entered, a message will popup stating the CHKDSK can’t be done while the computer is using the drive. Select Yes to schedule the CHKDSK when a Restart of the computer is executed.
  4. Restart your computer. The Scan and Repair will happen.
  5. When complete, you can look at the log of your CHKDSK by bringing up the Event Viewer.
    1. Click Windows Logs
    2. Right Click Application and click Find…
    3. Enter Chkdsk (Find looks at the Source column)  and click the Find Next button.
    4. If found, cancel out of the Find dialog box, and then read the log in the General Tab of the middle windows of the event viewer.
  6. To create a text file of the actual log, do the following:
    1.  Click Start, and in the search box, type and then click Windows Powershell. Powershell will bring up a dialog box.
    2. Enter the following at the command prompt:
      1. get-winevent -FilterHashTable @{logname=”Application”;}| ?{$_.providername –match “Chkdsk”} | fl timecreated, message | out-file Desktop\CHKDSKResults.txt
  7. Go to your Desktop and read the log file.

MVC 5 – Model State Always False and Data Received is NULL – The Save Action Variable Name Must Be the Same Name as Your Model Name When Receiving Just the Model Portion of Your View Model That Was Bound to Your View

I struggled with this one and learned something that was not taught in the tutorial I took on MVC 5. The instructor did not mention that when you receive a model into your Save action (Controller) instead of your view model that is bound to your view, you have to name your variable the same name or at least with a small case as the first character as the model class name. If you follow this rule, the model state will be true and you will get your data.

Do this if you want to receive just the model of your ViewModel you bound to your view and sent back to the controller:

public ActionResult Save(Customer Customer)

or do this if you want to receive the entire ViewModel you bound to your view and sent back to the controller:

public ActionResult Save(CustomerFormViewModel viewModel)
​

Lastly, if you choose to receive back the entire viewModel, you can call your ViewModel variable whatever you want, but NOT when receiving back just the model.

Microsoft Zune – Remember last album played

There may be many ways to save the last album played on the Zune, but here is one way.

1) Pick an album, pick a song, and start playing the song by pressing the center black button. Let the song play for 5 seconds.
2) Press the play/pause button to pause the song for 5 seconds.
3) Press the play/pause button to resume the song for 5 seconds.
4) Press the play/pause button to pause the song for 5 seconds.
5) Press and HOLD the play/pause until the Zune goes to sleep and then count 5 seconds.
6) Press the play/pause button to turn the Zune back on.
7) Keep pressing the center black button until it plays a song from the same album. Let the song play for 5 seconds.
8) Press the play/pause button to pause the song for 5 seconds.
9) Hold down the Left button and the down button (outer black circle) until it powers off.
10) After 5 seconds, reboot the Zune.

Windows 10 – Microsoft Sticky Notes Crashes

This applies to Windows 10 version 1607 or newer.

If Notes crashed immediately after startup, here is how you can fix it.

Always try shutting down your PC and do a cold boot first to see if that fixes your problem.

If that doesn’t work, search for msconfig.exe and execute. Ensure “Normal startup” is checked, click OK, and reboot your computer.

If that doesn’t solve your problem, do the following:

First, backup the sticky notes file (plum.sqlite) to a safe place. The file is located here:

C:\Users\%username%\AppData\Local\Packages\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\LocalState

If you want to read what is inside plum.sqlite in order to copy the data out, you can download the free sqlite browser tool here:

http://sqlitebrowser.org/

Reset Sticky Notes by going to Apps and Features in settings. After locating Sticky Notes, click Advanced Options and click Reset.

Go to the Microsoft Store, search for Microsoft Sticky Notes, and install.

Go back to the location where the sticky notes you backed up resides and replaces the plum.sqlite file with the one you backed up.

Done.

+++++++++++++

For those of you (like me) where sticky notes would not uninstall by clicking reset on the app or uninstalling using Powershell by entering:

Get-AppxPackage Microsoft.MicrosoftStickyNotes | Remove-AppxPackage

you can try removing it manually like this:

Give yourself permission to delete these folders and delete them.

The file location is:

C:\Users\jrmoo\AppData\Local\Packages\

The packages begin with Microsoft.MicrosoftStickyNotes

Now go to the Microsoft Store, install Microsoft Notes, and restore your backup of file: plum.sqlite.

Hope this helps!

 

Google Chrome – How to Stop Syncing History

How to stop syncing history and get rid of history on Google Server so it stops syncing between computers even though you change your settings to say not to sync history.

1) Go into each Google Chrome Settings an change your sync settings to stop syncing History. You can also choose not to sync passwords, open tabs, and credit card information.
2) Below the sync settings, click ‘Personalize Google Services’. Uncheck the checkbox next to ‘Include Chrome browsing history and activity from websites and apps that use Google services’. In the popup, click the ‘PAUSE’ link.
3) Below the checkbox on the syncing page, click ‘Manage Activity’. Click ‘Delete Activity by’ on the left. Click the drop-down below ‘Delete by Date’ and choose ‘All time’ then click Delete, and then click ‘DELETE’ again.
4) Back to the Chrome sync page, below ‘Personalize Google Services’, click ‘Manage synced data on Google Dashboard’. Scroll down and click the button, “RESET SYNC’.
5) In Chrome, go to your settings/History and clear all browsing data.
6) Close Chrome on each computer and exit out of the chrome icon in the system tray if it is there to stop the server.
​7​​​) ​Search for the following folder C:\Users\%username%\AppData\Local\Google\Chrome\User Data\Default for a file called Web Data on each computer and delete it.
8) Run CCleaner on each computer to clean up Google Chrome.
9) Restart Google Chrome on each computer and log back in to start syncing again.

The Web Data should be gone or at least a new one will begin that does not contain your entire history.

Repeat these steps above whenever you feel it necessary.

Windows 10 – Change Windows Photo Viewer Yellow Background to White

Every time your video card drivers update, the default colors are changed to your video card color settings. This causes the background color of Photo Viewer to change to yellow.

To fix this, do the following:

  1. Type color in the Windows search and click on Color Management.
  2. Check ‘Use my settings’.
  3. Select the current profile and click the Remove button.
  4. Click the Add button and choose the profile, ‘sRGB IEC61966-2.1’.
  5. Click the Close button.