Search

Beep Beep Barf

Throw up from my brain onto my computer

OneDrive for Business – Sync-pocalypse

I may have said it before, but I’ll say it again – OneDrive for Business is crap. If fails at its most basic purpose of ensuring files between two repositories remain in sync. I use OneDrive daily at work, and it’ll work fine for a while. After a few weeks the cracks start to show and OneDrive starts to have issues syncing.

To top it off, OneDrive even fails at failing. When something starts to go wrong, it gives you limited information or ability to troubleshoot any issues, leaving you with very few options for resolving problems. Quite often it is impossible to determine the root cause or identify an offending file causing problems. Usually a sync issue results in the need to trigger a “Repair”, which basically copies your local repository somewhere else on your PC and pulls all the files from the server again – not fun, especially when your repository is quite large.

I’ve spent so much time trying to resolve sync issues with OneDrive that I’ve lost total confidence in it. I use Google Drive for my personal files and it is sooo much better. Google Drive maintains sync and gives the user more information about what it is actually doing.

The latest issue I experienced with OneDrive for Business was I noticed it never seemed to finish syncing. When I clicked on the tray icon, it would show a message stating that there were “2 files remaining”. I started to suspect that there was something wrong when this message remained for a couple of days. I set about trying to figure out what was going on and after some googling I found this awesome article by Joseph Spurrier:

http://www.josephspurrier.com/onedrive-syncing-files-1-remaining-fix/

Experiencing the exact same problem, using Method 5 outlined in the article above helped me identify the files that were not syncing. I followed up with checking the server repository, only to discover these files had never fully synced and could have been lost – thanks Microsoft!

In order to resolve the issue I then had to manually copy the 2 files to the server, causing OneDrive to finally identify a sync problem due to a mismatch between the remote and local copies. I could then open each file and resolve the sync issue to get OneDrive for Business working again.

All this could have been avoided if OneDrive for Business identified that it wasn’t syncing these files and actually failed, rather than perpetually showing them as syncing.

 

Advertisements

OneDrive For Business error: “the server you are trying to access is using an authentication protocol not supported by this version of Office”

I don’t like OneDrive for Business. If I had a choice, I’d use Google Drive for everything as in my experience it is bulletproof, but alas my employer mandates OneDrive.

It is a pain to keep it working and it will always eventually fall over. I’m not sure why it does this, but after a while OneDrive for Business just seems to fall apart and eventually you are left with either having to conduct a Repair, or completely blow it away and start again from scratch.

I’ve found this problemĀ a couple of times when having issues OneDrive for Business. When trying to fix my sync issues, I end up with the error stating that:

“the server you are trying to access is using an authentication protocol not supported by this version of Office”.

There doesn’t seem to be any way to resolve this directly with OneDrive. OneDrive for Business will ask for credentials, but once entered will never get past the login screen.

The only way I’ve found to fix this is to:

  1. Open one of the Office desktop applications (e.g. Word)
  2. Sign out of your Microsoft account
  3. Sign back in to your Microsoft account

Re-establishing the credentials in this way seems to flow through to OneDrive for Business, which will then allow me to re-sync my libraries.

Frustrating I know.

Windows 10 – Start Menu Search Woes

I’ve started using Windows 10 at work and so far it has bee a relatively painless experience. Overall, I quite like the new OS, as I’m stepping up from W7 and there are many improvements.

As expected, there are a number of quirky things going on when I try to do different things. The most annoying of these is the fact that the Start menu search isn’t showing applications that I have installed. After some searching I found a solution posted on a W10 forum which worked for me. I’m putting that solution here for ease of access and persistence reasons.

To view the original post by user ‘nushydude’ see here.

Problem

When I press the Windows key and start typing the name of a program I’ve installed in Windows 10, the search results do not show the program.

Solution

  1. Open Indexing Options by pressing the Win + X key combo and opening the Control Panel. When viewed as small icons, you’ll see Indexing Options.
  2. In Indexing Options, I clicked ‘Modify’ and removed all the unnecessary stuff such as Visio Content, Outlook, Offline files etc. I left ‘Users’ and ‘Start Menu’.
  3. Going to services.msc, I stopped and then disabled the Windows Search service.
  4. In Explorer, navigate to C:\ProgramData\Microsoft\Search and moved the ‘Data’ folder to C:\temp. This is so once Windows Search starts again, it will recreate the search database.
  5. Rebooted.
  6. Re-enabled (Automatic, delayed start) and started Windows Search service in services.msc.
  7. Waited about 10 – 15 minutes for the search to rebuild.

After waiting for a while, the search rebuild was complete. Then when I repeated my original query where I press the Win key and start typing the name of an application, it found the application.

Bloggity Blog

So after many years of resisting, I’ve started a blog. Not because I believe I have anything interesting to say or I think I need to reach out to people, but because it will form part of my extended memory.

Being a programmer requires me to remember so many tidbits of information it is crazy. The amount of obscure parcels of info relating to coding, configuration and hacks I have floating around my brain is hard to manage. Invariably, when you need to do this, your brain at some point will spring a leak and as new information comes in, somewhere in the haze something fades out of memory.

This blog is an attempt to keep some of these tidbits of information where I can find them, since my brain won’t agree to store them forever.

SQL Server Reporting Services Prompting for Credentials

I’ve run into this problem a couple of times, so I figured I’d post it so that I will remember next time…

The issue is that on the local machine where SSRS is installed, when accessing the report server URL in IE I keep getting prompted for a domain username and password. This problem is usually unique to the local machine only, where accessing the report server URL from a different machine will not trigger the prompt for credentials.

After much stuffing around, I figured out the issue is not related to the credentials SSRS uses to access the database server or database. The issue is with Internet Explorer.

Here’s what fixed it:

  1. Go to Tools and then Internet Options.
  2. Under the Security tab, click on Trusted sites and click the Sites button and Add Report Manager/Report Server URL to theĀ zone.
  3. Then click Custom Level, and check the option Automatic logon with current user name and password.
  4. if necessary (it wasn’t for me, but was suggested elsewhere), repeat steps 2 and 3 for local intranet.

After following these steps, I no longer was prompted for domain credentials on the local machine.

Create a free website or blog at WordPress.com.

Up ↑