The Small Business Consultancy

Archive: February 2007

FIX: An error occurred while calling the callback: “Ribbon_GetDCVisible”

If you're new here, you may want to subscribe to our RSS newsfeed so you don't miss out on all the information, news, tips and tricks.
Thanks for visiting!

In our previous posting, An error occurred while calling the callback: “Ribbon_GetDCVisible”, it was found that disabling the Access Data Collection & Publishing Add-in was a workaround to preventing an error being generated when opening emails from the preview pane.

A quick Google revealed information on using the Access Data Collection & Publishing Add-in out on the web. After this link was published on the Microsoft Outlook public forums an MVP (Most Valuable Professional) pointed out the following:


“That particular add-in is not designed to be activated manually in Outlook. If you go into Outlook’s Trust Center, Add-Ins and activate it manually there, the error you see is expected. This particular add-in needs to be activated from Access. Once you start the process from Access as described in the article then the add-in will be automatically activated in Outlook and will work without this error message.”

That is the workaround fix to the “Ribbon” error when open an email from the preview pane:
- Run the process within Access 2007, as detailed in the link above, and the link-up between Access and Outlook is fixed.

However, this is a bug in our opinion. It shouldn’t be possible to configure Outlook to the point where it breaks functionality. If the Access Data Collection & Publishing Add-in shouldn’t be manually disabled/enabled then a user shouldn’t be able to do it from within Outlook!!! It also shouldn’t break in the way it manifests itself. The development team need to fix this Access add-in that is used by Outlook so it isn’t so fickle.

This “fix” has now been reported to Microsoft Support along with the comment on this being a BUG that requires patching!

Technorati Tags: , , , , , , , ,

BBC News Story on WiFi

BBC News lunchtime edition had a feature on wireless network security today. The so called “expert” stated it is as simple as setting a password. No it isn’t!

Securing the wireless network is only the start of making your computer safer when using the Internet. There is much more to making a secure computing environment. If you don’t know how to do it then call in an expert who does.

Technorati Tags: , ,

An error occurred while calling the callback: “Ribbon_GetDCVisible”

Another Outlook 2007 problem is being reported by a few other users and we’ve got it as well!

When double clicking an email in the preview pane to open it for reading in a new window, the following error dialog box is displayed:

Outlook ribbon error generated by addin

Closing the error dialog box allows you to continue as normal.

The problem is happening when the “Microsoft Access Outlook Add-in for Data Collection and Publishing” add-in is enabled. The workaround is to disabled this problematic plugin until a permanent fix can be supplied by Microsoft.

Information on disabling add-ins in Outlook 2007 can be found HERE.

Technorati Tags: , , , ,

Microsoft Has Been a Busy Bee

Those folks over at Microsoft have been busy releasing important updates and new products.

1. Virtual PC 2007
The latest version of this virtualisation technology now has support for Vista.

It can be downloaded for free from HERE.

More information on Virtual PC.

2. SQL Server 2005 SP2
Bug fixes and new features are contained in this important service pack for SQL Server, the flag ship database product from Microsoft.

It can be downloaded for free from HERE.

Technorati Tags: , , , ,

Problem with Outlook 2007 - Email Receive is Broken!

Read all the post and comments before doing anything!

As people start to use Outlook 2007, there is an alarming pattern starting to emerge regarding performance issues when receiving POP3 email. Even the smallest and most trivial of emails can take ages to download and be available, ranging from 30 seconds to minutes. During this time, Outlook and Windows can become slow to respond or become completely unresponsive, usually returning to normal when the send/receive cycle has completed.

One of the first things to try is to run the Office Diagnostics, with the hope it finds the problem and fixes it automatically. In Outlook this is easily achieved by:

Help -> Office Diagnostics

In the early days of this problem people thought the performance degradation was down to Microsoft’s implementation of the AUTH command, which seems to be missing a parameter. This omission by Microsoft is specified in RFC 1734.

Our own investigation, along with the assistance of people like Steve Foster (a Microsoft MVP), reveal this isn’t part of the performance problems as it doesn’t slow down the receiving of emails at all. We enabled logging to see what was going on with the server and it may also be worth your while putting Outlook into logging mode and inspecting if the delay is down to the server communication or whether it is down to Outlook’s processing of the email once it is received. It is easy to do this, within Outlook:

Options -> Other -> Advanced Options -> Enable logging (troubleshooting) - tick it

Picture of the Enable Logging setting

Accept everything to get back to Outlook’s normal windows then close down Outlook and restart. All your email send/receive sessions will be logged in a file located on your main Windows drive, which if it was the C drive would look like this:

C:\Documents and Settings\user name\Local Settings\Temp\Opmlog.log

Our typical log is shown below. The time it takes to connect, download and disconnect should be about the same time as you observe physically.

2007.02.17 11:39:40 POP3 (myserver.com): Port: 995, Secure: SSL, SPA: no
2007.02.17 11:39:40 POP3 (myserver.com): Finding host
2007.02.17 11:39:40 POP3 (myserver.com): Connecting to host
2007.02.17 11:39:40 POP3 (myserver.com): Securing connection
2007.02.17 11:39:40 POP3 (myserver.com): Connected to host
2007.02.17 11:39:40 POP3 (myserver.com): +OK Hello there.
2007.02.17 11:39:40 POP3 (myserver.com): Authorizing to server
2007.02.17 11:39:40 POP3 (myserver.com): [tx] AUTH
2007.02.17 11:39:40 POP3 (myserver.com): -ERR Invalid command.
2007.02.17 11:39:40 POP3 (myserver.com): [tx] USER me@myemailaddress.com
2007.02.17 11:39:40 POP3 (myserver.com): +OK Password required.
2007.02.17 11:39:40 POP3 (myserver.com): [tx] PASS *****
2007.02.17 11:39:40 POP3 (myserver.com): +OK logged in.
2007.02.17 11:39:40 POP3 (myserver.com): Authorized to host
2007.02.17 11:39:40 POP3 (myserver.com): Connected to host
2007.02.17 11:39:40 POP3 (myserver.com): [tx] STAT
2007.02.17 11:39:40 POP3 (myserver.com): +OK 0 0
2007.02.17 11:39:40 POP3 (myserver.com): ==== Comparing server and local blobs ====
2007.02.17 11:39:40 POP3 (myserver.com): ==========================================
2007.02.17 11:39:40 POP3 (myserver.com): Do deletions: LoS: no
2007.02.17 11:39:40 POP3 (myserver.com): ========= No blob changes =========
2007.02.17 11:39:40 POP3 (myserver.com): ===================================
2007.02.17 11:39:40 POP3 (myserver.com): Disconnecting from host
2007.02.17 11:39:40 POP3 (myserver.com): [tx] QUIT
2007.02.17 11:39:40 POP3 (myserver.com): +OK Bye-bye.
2007.02.17 11:39:40 POP3 (myserver.com): Disconnected from host
2007.02.17 11:39:40 POP3 (myserver.com): ========= No blob changes =========
2007.02.17 11:39:40 POP3 (myserver.com): ===================================
2007.02.17 11:39:40 POP3 (myserver.com): End execution
2007.02.17 11:39:40 Email Account Name: ReportStatus: RSF_COMPLETED, hr = 0×00000000
2007.02.17 11:39:40 Email Account Name: Synch operation completed

Untick the Enable Logging option, exit Outlook and restart to disable logging to the file.

The incorrect usage of the AUTH command has been raised with Microsoft by us. Hopefully we’ll see this syntax error being fixed in a future update / service pack.

It can be seen the whole receive cycle took less than a second, but it took another 30 seconds for the email to come into the inbox. All during this time, the hard drive light was on solidly indicating sustained disk access. Now that is a big clue to the real root cause of the problem.

More recently people have been starting to look towards the size of PST files, which are the files used to store the data and emails within Outlook. Undoubtably, the size of PST files are now affecting Outlook performance when using Outlook 2007. Microsoft have released a knowledge base article on this topic:

You may experience performance problems when you are working with items in a large .pst file or in a large .ost file in Outlook 2007

We tried splitting our 900MB PST main file into multiple smaller ones, with the biggest PST now being about 600MB, but this didn’t fix the performance issues. A small improvement was noticed but it was still taking an eternity for emails to reach the inbox.

When performing the PST management / cleanup, it is important to reduce your file size as much as possible by moving emails/folders to other PSTs, deleting whatever you don’t need and emptying the deleted items folder before compacting the older (fatter) PST files. Compacting is essential as it reclaims the free space, although it may take some time on large PST files:

File->Data File Management -> (select a PST data file) -> Settings -> Compact Now

Compact PST 1st step

Compact PST 2nd step

Leo Notenboom has an excellent article on reducing the size of your PST files and performing the clean-up afterwards. He explains everything you need to know to perform this stage of the fixing attempt.

Likewise, the following suggestions were made as potential fixes by various people in the Microsoft Outlook Discussion Forum:

1. Create a new mail profile

2. Turn off various “Options” to improve performance - see below

Outlook options that should be disabled

3. Disabling plugins

4. Disable RSS sync feed - we use a separate RSS aggregator anyway

None of those fixes affected the poor performance for us.

We also uninstalled the recently installed Windows Desktop Search 3. It got installed during the set-up of Outlook 2007. It seemed to make a small different to the performance.

Still experiencing problems with Outlook 2007 we tried restarting Outlook in safe mode:

Start -> Run -> outlook /safe

How to start Outlook in safe mode

Our Outlook ran much better when in safe mode! This usually indicates a configuration data corruption problem or a misbehaving add-in/plugin. In our case, it looks like a big part of the problem can be put down to file corruption when upgrading from Office (Outlook) 2003 to Office (Outlook) 2007.

Shane Keller has offered the following general solution on the Microsoft Outlook Discussion forum, which has been refined through feedback by other users as they implement it:

STEP 1: Turn off Outlook 2007 and locate each of these files in turn and rename as indicated.

For some reason, during the upgrade these four files can become corrupted - the migration from 2003 to 2007 isn’t the smoothest but not having to create all your POP3 accounts again is excellent.

1. extend.dat - you will find this file in the location | Drive Letter:\Documents and Settings\user-directory\Local Settings\Application Data\Microsoft\Outlook\extend.dat
//change it to extend.old

A user has reported that this file was the only thing that he needed to rename, so at this point try restarting Outlook normally and see if it has improved. If no difference has been made then rename the new version of the extend.dat as extend.old2 and continue on with the remaining files.

2. views.dat - may not find it most of the time

3. frmcache.dat - Drive Letter:\Documents and Settings\user-directory\Local Settings\Application Data\Microsoft\FORMS\FRMCACHE.DAT
//change it to FRMCACHE.old

4. outcmd.dat - C:\Documents and Settings\user-directory\Application Data\Microsoft\Outlook\outcmd.dat
//change it to OUTCMD.old

STEP 2: Restart Outlook 2007

1. Send yourself some test emails and watch the messages appear.

This made a big performance improvement to our version of Outlook 2007.

To summarise, during the fault diagnosis of Outlook 2007 we did the following:

- Created a new mail profile
- Recreated the account settings
- Imported old PST
- Created new PSTs (x5) and sorted email from the main PST into those
- Compacted the main PST
- Removed the old profile
- Uninstalled Windows Desktop Search 3
- Disabled plugins
- Turned off various options
- Renamed the Outlook configuration files outlined above

Knowing what we know now, our recommendation is to try safe mode as one of the first things in faulty finding Outlook problems. It could save you so much time and effort.

After getting Outlook 2007 working, Windows Desktop Search 3 has now been reinstalled to evaluate the overall impact on the performance issues. Initial impressions are favourable, with no noticeable impact by reinstalling and using Windows Desktop Search. It was later uninstalled again due to the system running poorly. Windows XP certainly runs smoother when Windows Desktop Search 3 is uninstalled.

It is also worth pointing out that Business Contact Manager was never installed at any time! Perhaps this is something else that needs further exploration by those still having performance issues with Outlook 2007.

Mike Bisson has posted a comment on Tim Anderson’s blog that offers a fix for Outlook 2007 performance issues when running on Vista:

Go to Programs -> Accessories and right click on command prompt and select “run as administrator”

Then type in the following:
netsh interface tcp set global autotuninglevel=disable

Quarrel commented on a problem with Outlook rules and offered a fix involving upgrading the rules to work in the new Outlook 2007 format.

“Discovered that in Tools->Rules&Alerts->Options there is an “Upgrade Rules” option (I’d upgraded my 8Gb pst from 2003).

Upgrading my rules took about 1 second and FIXED my problems. (I had about 100 local rules)”

To summarise a further Vista issue that was pointed out by Marc, it is possible for legacy network hardware to cause issues with receiving of emails. Further, it is worth pointing out that both Vista and Longhorn Server have a new network TCPIP stack which will undoubtably break some existing network devices. Vendors are releasing new firmware and drivers to account for this redesigned network stack, hence it will be worth checking for updates for your network hardware.

Rob March commented on the nature of the steps he took to get things fixed and added another option to our list of things worth trying:

“I also did a SCANOST and SCANPST on the data files that makeup my mailbox which seemed to help too.”

Further issues and fixes with Outlook 2007 can be found HERE.

Note that Office 2007 Service Pack 1 is now available and it fixes a load of bugs and performance issues. Doesn’t make Outlook perfect by any means, but it does make enough of a difference to make it an immediate recommendation.

More solutions to the performance issues to follow as we get them. We will also be editing this posting to reflect new information and to improve suggestions for diagnosing and fixing Outlook 2007 POP email issues.

Technorati Tags: , , , , , , ,

Apple Not Ready for Vista

Apple develop many common applications that are used on Windows: iTunes, Quicktime, etc. However, it would appear that iPod owners and users of their software will now need to wait a while before upgrading to Vista.

Technorati Tags: , , , , ,

E-Petition against 0870 Numbers

If you been following our Telephone Cold Calls No More! postings then you may also be interested in signing this e-Petition on the No10 Downing Street Website.

Technorati Tags: , , , ,

Windows Vista Installation

After 10 hours of attempting to install Vista on a PC, Anthony eventually found a system that he could get it to load onto… watch the video.

Technorati Tags: , ,

Internet Security

You’ve taken everyone’s advice and have:
- Antivirus
- Antispyware (multiple applications)
- Antispam
- Firewall
- Pop-up Blocker

So are you safe to go do anything on the Internet?

The answer is “absolutely NOT”.

At any time, security vendors are working hard on a backlog of new and emerging threats. Until they’ve have identified, analysed, devised a clean-up procedure and have pushed out the updates to customers then you are vulnerable to infection from the undetectable malware. You choice of security product may only be providing 40% coverage, although most common anti-malware solutions have better coverage but not complete coverage from the nasties floating around the Internet.

Vulnerabilities can be found even in security products causing compromises in your computer that these products are supposed to prevent - now that is ironic.

Every month, companies such as Microsoft release security fixes for problems found in their products. If you aren’t using automated updates for each and every application installed then you need to be checking all the vendor’s websites for updates, downloading them when available and ensuring they are installed as prescribed.

The virus writers use the common security suites to test their own work. They will run their latest viruses against the best known and widest used security products to ensure their nasty-ware cannot be detected. Many of these nasties use exploits that have been discovered in the operating system or a common application e.g. Windows. By keeping your system patches up to date you’ll reduce the attack surface available to malware.

Use layered protection from different vendors to maximise the protection and create the likelihood that one of the layers will prevent an attack on you.

The finest security product you have available is “YOU”!
- Don’t do stupid things.
- Don’t visit dodgy websites.
- Take care when dealing with pop-ups and their messages!
- Don’t install pirate software, especially ones that require cracks and hacks.
- Take great care when using P2P networks to download content: you may be downloading a virus!
- Don’t trust people you don’t know.
- Don’t implicitly trust content from people you know. They may be infected!
- Use the same level of caution online that you would in real life.

Technorati Tags: , , , , , , , , , , ,