2015-05-23

[SOLVED] Samsung Data Migration "An error occurred while writing to the Target Disk" 301001

QUICK ANSWER:
Make sure your source drive is Disk 1 and target is Disk 2 (whether that is forced via physical connections or configured in your BIOS) -- please leave feedback if there is a better way to articulate this answer!

Read on below for more details if you need them...

Today I was required to clone a Samsung 840 EVO SSD that has been intermittently failing ever-increasingly in the past couple of weeks.  My new drive is an 850 EVO.

I connected the 850 EVO via a Thermaltake USB 3.0 dock.

The Samsung Data Migration software happily detected both drives (although the software listed my 840 EVO as a "Generic- Compact Flash USB device"), but when I started the clone, after about 8 seconds, the software stopped with the following error:

"An error occurred while writing to the Target Disk"
(with the error code 301001)
Perplexed because it detected the drives fine, I began investigating.

After playing around with a few ideas, I had the thought that maybe it didn't like the fact that I was plugged into an external dock.

Unfortunately I didn't have any extra cables, so I had to unplug a secondary internal drive to be able to plug my 850 EVO in.  This worked like a champ and I'm about 46% finished cloning as I'm writing this.

I began writing this with the intent to tell my readers that you need to plug it in to the internal and not use an external adapter.  However, with further investigation, I discovered the following in Samsung's Data Migration Software manual (English - other languages here) under "Limitations" on page 5 of the PDF:
#5. "On systems with two(2) drives of more (e.g. "C:", "D:", and "E:" drives) with the operating system installed on the "C:" drive, only the first two drives will be cloned.  The "System" partition that is created during Windows installation is automatically replicated.
Now I may have read this incorrectly, but it suggests to me that you need the Source disk as your first HD and the Target as your 2nd (whether that's configured through plugging into the correct ports on your motherboard or set in your BIOS I am not certain at this time) for this to work.

I think it worked for me because I limited myself to the two SATA drives so there would be no confusion (though that only happened because I needed to use the storage drive's SATA cable and power.  LOL

I would love to hear from you if you have had a similar situation... especially if you kept more than two drives connected and/or if you successfully used a USB/SSD dock/adapter.  I would imagine those with thin laptops that can't connect a second drive would need that to work.

I hope this helps save someone some time!

2014-06-26

[SOLVED] Adobe Flash not working on Windows Server 2012 in Internet Explorer

I've been accessing a web site that uses Adobe Flash.  From a Windows 2012 Server using Internet Explorer, however, it always asks me to install Flash.  No matter how many times I install Flash, I'm constantly told that Flash is not installed and prompted to install it again.  The Flash content never displays.

From searching the web, everything I found talked about enabling the "Shockwave Flash Object" under "Manage Add-ons".  However, I never even see the Shockwave Flash Object under Manage Add-ons, regardless of the number of times I've uninstalled and re-installed Flash.

I finally figured out the answer.  By default Windows Server 2012 does not allow you to use "consumer" level features like Flash.  Flash is installed but disabled, and there is no way to enable it without installing the "Desktop Experience" feature.  Servers are intended to use a web browser for setup of the system, but not for consumer level things like Flash.  You have to install the consumer level features on your server.

To fix this, run Server Manager on your Windows Server 2012 machine.  Select Local Server and scroll to the bottom in the “Roles and Features” section.  In the upper right corner select Tasks > Add roles and features.


Press Next through the screens until you get to “Features”.  Scroll down to the bottom and open up “User Interfaces and Infrastructure”.  You will have 2 of 3 installed.  The missing one is “Desktop Experience”.  Check “Desktop Experience” and press Next until you are finished.  Then reboot your server.  Flash should now be enabled, and you will see "Shockwave Flash Object" in the "Manage Add-ons" dialog.


Here is the link where I found the answer:

Hope this helps!

2014-04-13

GoDaddy PHP Upgrade from 5.3.x to 5.4.x Kills Sessions on IIS/Windows

The problem...

I spent a sleepless night on this one, but finally figured it out...

NOTE: This issue should only affect those on the GoDaddy Windows Hosting plan using PHP on IIS, but if I'm mistaken, please post your details and solution [if discovered] in the comments!)

I work on a PHP website that is in the process of being rewritten in ASP.NET MVC.  Because of this, the site has been set up on GoDaddy on a Windows Hosting plan with PHP running under IIS.  All was well through PHP versions 5.2.x and 5.3.x, but tonight needed to upgrade to 5.4 while we wait for the migration to be complete.

The site came up fine until I hit pages that required Session data.  It seemed that Sessions stopped working with my existing code.  After much troubleshooting, I discovered that the sessions were being written on the page setting the data, but when I hit another page that wanted to use said Session data, the Session was blank as if created new.

It turns out that there is a discrepancy on GoDaddy on the session.save_path used for PHP 5.2.x/5.3.x and PHP 5.4.x when hosted on the Windows hosting plan.

session.save_path comparison

PHP 5.2 and 5.3

session.save_path = C:\Windows\Temp\


PHP 5.4

session.save_path = D:\Temp\php\session\

The solution...

Now, I don't know if the directory doesn't exist, or if there aren't proper permissions set on the directory, but for whatever reason, it doesn't like that path.  After reverting back to 5.3.x and discovering the path difference, I re-upgraded to 5.4.x and forced the session.save_path to C:\Windows\Temp\ using a ".user.ini" file in the root of my site on GoDaddy.

What to do...

  • Create/Edit ".user.ini" in the root of your site and make sure it has:
    session.save_path='C:\Windows\Temp\'
  • GoDaddy Control Panel | IIS Management | Recycle App Pool
    (This will ensure the PHP config overrides in ".user.ini" are loaded and used)
  • Enjoy access to $_SESSION again!
I hope this will save someone else a sleepless night.

2013-12-22

[SOLVED] New Media Files Not Showing on DLNA Player From Server

The problem:

When I find cool segments of blu-ray movies or awesome movie trailers I like to show off in my theater room, I have a special place on a computer on my network that I store ripped chapters of the blu-rays or movie trailers.

I love to play them using my Sony BPS-S3100 down in my theater room from said computer on my network.

What stumped me is that, at first, I would add files to the computer, but they wouldn't show up when I would browse the available folders on my blu-ray player.  Old files would show up fine, but the new ones would not.

Thinking it was a caching issue on the side of the blu-ray player, I spent an hour muddling through menus looking for ways to get it to refresh.  I finally found a place in the settings that would allow me to remove my computer from the content server list and re-detect it.  Unfortunately, that didn't solve the issue.

It turns out the issue resides on the computer serving the content.  I assume this information will be relevant to any DLNA server and the clients trying to consume the content.  If not, please leave a comment correcting me where I am mistaken.

(I believe each DLNA server will update media library information automatically on its own schedule, but I have no idea what the schedule is, nor have a desire to wait to have access to my content.)

The solution:

The DLNA server in question must be told to refresh the media library information to apply any changes you have made to your library (whether that is new/modified/deleted files or meta-information stored within the files like ID3 tags, etc.).

I realized I am using Windows Media Player Network Sharing Service.  To force it to update or refresh your media library information, simply click on the "Organize" button in the menu bar, then click "Apply media information changes" (see below.)

The procedure for updating will be different for different types of Media Servers, but if you have found your way to this article and discover the proper way for your DLNA media server to update/refresh your media library information so it can appear on your client, please leave a comment with the steps to do so and I will update this article with the steps for each server.

DLNA Servers & Steps to refresh/update the media library information:

Windows Media Player Network Sharing Service:

  • Open Windows Media Player
  • Click "Organize" >> "Apply media information changes"
    (It will take a little bit of time depending on the hardware in your computer if you need to do the same.)

2012-12-15

Mumble: "Server connection failed: The remote host closed the connection" Possible Cause

I did an extremely newb thing the other day that caused me a night of bewilderment and frustration.

Often times, some of my Friday Night Gamer buddies of mine will play ShootMania during our lunch break at work.  We sometimes communicate on Mumble, an excellent VOIP server made for gamers.

The problem this particular day is, none of the rest of my crew jumped in the server, so I basically ended up only wearing my headset to hear the game sounds.  Those of us in our server happened to all be in the same room on the same LAN, so it didn't matter.

That said, I completely forgot I had connected to Mumble before, so when we stopped our gaming session, I accidentally left Mumble connected.

Fast forward a couple of days, to Friday Night Gaming and it's time for me to get my game on with my buddies.  I connect to my Mumble server from home (with the same account I use at work...)  It connects for about 30 seconds, then kicks me back off, with the error message:

"Server connection failed: The remote host closed the connection"

30 seconds later, it reconnects (Mumble was set to auto-reconnect should it get disconnected.)

After much frustration and realizing that the rest of my crew was having no problem, I gave up and we all moved to our back-up server.  After we finished our gaming session, I was bugged and wanted to discover why this had happened to me.

Like a sunrise, it dawned on me...

"I'm still connected at work... and Mumble there is also configured to reconnect."

I quickly logged on to the VPN and connected to my work machine, saw myself logged in there and disconnected.

I connected from home again and was happily staying connected.

Moral of the story: If you connect to Mumble using multiple computers or devices (they have iOS, Mac OS X and Linux clients too) and you ever encounter this error; make sure you are not connected from another device still; especially with "auto-reconnect" enabled.

I'm sure there are other reasons this error will come up, and I can't help you there.  But if this scenario is a possibility for you, make sure you explore it and correct it as necessary!

2012-04-28

Steam Client and/or Game Update Not Working

Sometimes when Steam downloads an automatic update to a game, the game doesn't work quite right after.

There are many workarounds/solutions to try, but I need to share this particular one I learned, because it may apply to many different Steam games.

In my particular case it was Dungeon Defenders.  Steam downloaded the Eternia Shards Aquanos update, and when I tried to launch the new Aquanos map from the Tavern in a Private game connected to the Trendy network, it would kick me back out to the server list to choose someone else's game to join.

Many people suffered the same fate as discussed on the Steam Forums (where I thankfully found the solution through a combination of posts in the thread there; thanks to all, especially IceArrow and Sylesta at the end of page 3 and 4.)

The steps are as follows (discussed in reference to Dungeon Defenders, since that was my problem; and on Windows since that's what I'm running):

  1. Make sure Steam is closed.
  2. Locate your ClientRegistry.blob file in the Steam installation directory and either rename it to ClientRegistryOld.blob or move it to your recycle bin (in case you need to restore it.)
  3. Launch Steam (which will recreate the ClientRegistry.blob file)
  4. Right-click the game's name in your Steam Library and go to Properties
  5. Click on the "Local Files" tab in the game's properties
  6. Click "Verify Integrity of Game Cache" button
  7. Once the verify finishes, close Steam down entirely.
  8. Relaunch Steam
  9. Launch your game and test the issue again.

Steps are in detail below.  I hope it helps you!

1. Make sure Steam is closed.

Right-click the Steam icon | Click Exit


2. Locate ClientRegistry.blob and rename it.

Right-click ClientRegistry.blob | Rename to ClientRegistryOld.blob


3. Launch Steam.

Click the Steam icon in your taskbar


4. Bring up the game's properties.

Right-click the game name in your library | Click Properties


5. Click the "Local Files" tab

Click the "LOCAL FILES" tab


6. Click "Verify Integrity of Game Cache"

Click the "VERIFY INTEGRITY OF GAME CACHE" button


7. Close Steam

8. Relaunch Steam

9. Launch your game

Click Play | Good Luck.  Have Fun!



2011-03-13

Windows 7 Activation after Sandy Bridge Recall Motherboard Replacement

Tonight I swapped out my original Sandy Bridge motherboard with one of the "Rev 3" B3 stepping (fixed) versions of the motherboard.  It is an Asus P8P67 Pro.

After not being able to just boot off my Windows drive, I inserted the Windows 7 Professional install CD and ran the repair.  That worked and I was back in business...

... That is, until I brought up my System Properties window using Windows + Pause/Break ... and found that I had 3 days to activate (because Windows had detected the hardware change.)

Trying to activate with via the Internet will bring you an error prompting you to buy a new key or try the automated phone activation service.

Use the automated phone activation service.


It's a pain in the butt because you have to hand enter or speak a bunch of numbers, then listen to and enter a bunch more into your activation dialog, but it works.

The automated system will ask how many computers this copy of Windows has been installed on.  In my case it was the same system; I just swapped the motherboard, so I replied, "One."

It accepted it and gave me my code... seems I'm good now.

I hope the rest of you that have gone through the recall only have to deal with this inconvenience.