Friday, December 16, 2011

How To Fix Windows Offline File Sync Error


When trying to sync offline files in Windows you may sometimes get an error “parameter is incorrect”.

Before I show you how to fix it, I'll tell you what's most probably gone wrong. This quote is a post I found in the digitalspy forum (see my sources) and explains it beautifully.
"The simplest explanation is that you've exceeded the maximum path and/or file lengths.
On Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters. 'Path' includes all the nested folder names, eg "C:\MyPrograms\Microsoft Office". 'File Names' include the extension."

Now here's a great way to identify which path or file is causing the problem.

  1. Get the Path Scan app from here http://www.softpedia.com/get/System/File-Management/Path-Scan.shtml (This is an older version of Path Scanner but you need it because it works with UNC paths - i.e. paths that start with double-slash '\\' - whereas the newer version of the program on the official web site does not work with UNC paths, it only works with paths starting with a drive letter, e.g. c:\ and that's useless because the path length problem is all about the length of the full UNC path.)
  2. Now go online and sync with your server so you can see the sync error "parameter is incorrect" again. 
  3. Look at the error to check the path where the problem occurred.
  4. Paste this path into Path Scanner and don't forget to add a wildcard, e.g. it must end with ‘\*’
    • E.g. \\file-abc01.work.intern\home$\joeblow\*
  5. In Port Scanner set the "Display files with more than" option to 261 char.
  6. Then click Scan to locate the files for which the path is too long and do something about them.
    • E.g. Back up the file and/or folder that is causing the problem somewhere else, then delete it from the original location and try to sync again.
Sources

Saturday, August 13, 2011

Unsync and Remove iPhone Contacts From Facebook

See your "Facebook phonebook" here: https://www.facebook.com/friends/edit/?sk=phonebook. This will include contacts that you have synced from your iPhone (if you chose to switch that feature on.)
[Note: The iPhone app will only have synced your iPhone contacts to Facebook if you actually chose to switch that feature ON. You may not remember doing this though. I think when they introduced it they did it in a kind of sneaky way, where you hardly noticed. I think it's a pop-up when you first install the app on your iPhone]

First click on the link above and read the expanation in the right-hand column!
It says something like this.

Facebook Phonebook displays contacts you have imported from your phone, as well as your Facebook friends.

If you would like to remove your mobile contacts from Facebook, you need to disable the feature on your mobile phone and visit this page.


Where it says "this page." that is a link you can click on with further instructions (I also provide the link, but if it doesn't work, make sure you go to the actual Facebook page and try to click the link there).

So anyway, click on that link and follow the instructions. You will find instructions there to do both these things.
a) stop syncing your iPhone contacts to Facebook
b) remove your iPhone contacts from Facebook.

Note: Your friends that are already on Facebook and have chosen to share their phone number with you will NOT be removed.

This is what Facebook says about the whole syncing contacts from iPhone to Facebook thing.

Wednesday, August 03, 2011

How I Fixed Mac OSX Lion NTFS issue

After I upgraded my Macbook to OSX Lion, my NTFS-formatted USB drive would no longer mount... GREAT! %$#@

I use an free open source NTFS driver for Mac called NTFS-3G (You can get it from SourceForge here - grab the dmg file).
However NTFS-3G is built on top of a piece of software called MacFuse (part of the NTFS-3G installation)  and unfortunately MacFuse only provides a 32-bit interface, whereas OSX Lion has a 64-bit kernel. I found the explanation of the problem here.

I was able to solve the problem when I came across a little gem on this site:
http://www.fatframe.com/2011/07/25/macfuse-issues-mac-os-10-7-lion
This guy has posted a custom compiled version of MacFuse, compiled for 64-bit.

I downloaded this guy's custom compiled version (look for the link to the zip file half way down the page) and just installed it straight on top of my existing MacFuse version. Then rebooted.
It solved my problem! I can now mount my NTFS USB drive and I have read/write access.

(N.B. I sometimes see an error when I connect the drive saying it can't communicate with the drive, but when you actually try to access the drive it works fine.)

If you have never had NTFS access before (e.g. you just bought a new Mac or just never tried it before) you have 2 options.
EITHER
1) Install the open source NTFS-3G driver (from  SourceForge as mentioned above) and then install the custom build of MacFuse on top of it. I'd recommend a reboot in between.
OR
2) Or go for a commercial NTFS driver like this one from Tuxera.

Further reading: Check out this thread on macrumours.com for other people's experiences.

Good luck.
eXTReMe Tracker