RSS

Author Archives: alanjmcf

About alanjmcf

Scottish based programmer of networking software in particular using .NET, Bluetooth and OBEX.

Sage install update error Ox800704DD

Sage Software Updates  An error has occurred.  Error Adding File (The operation being requested was not performed because the user has not logged on to the new.ork. The specified service does not exist. (Exception from RESULT: Ox800704DD)).   Please contact Sage Customer Services

Error Adding File (The operation being requested was not performed because the user has not logged on to the new.ork. The specified service does not exist. (Exception from RESULT: Ox800704DD)).

 I upgraded a small charity’s Sage installation recently and got the above error on two out of three machine. After the upgrade completed the update dialog appeared but it failed with the above error. One the one machine the update process installed (Service Pack 4) successfully.

On the other two machines, a bit later I just reopened and closed Sage, then the update re-ran and was successful on both PCs.

 
Leave a comment

Posted by on June 1, 2015 in Uncategorized

 

No Import Contacts to Office 365 OWA Shared-Mailbox — Use Powershell

I was wanting to import a CSV file of contacts into the contacts folder of a Shared Mailbox and using OWA (Outlook Web App) to do so. Normally one goes to wheel->Import-Contacts, supply the file name, and success…

OWA Import-Contacts menu     OWA Import-Contact window

In OWA it’s possible to open a Shared Mailbox if you have the rights to do so (use the menu with your name and select “Open another mailbox…”). However if you try this it fails with a 403 error. Shame.

OWA Import-Contact fails if opened Shared Mailbox
(Failing URL is https://outlook.office365.com/ecp/tmp-contact-import1@example.com/PersonalSettings/ImportContactList.aspx)

Of course PowerShell comes to the rescue. Office 365 has a cmdlet Import-ContactList (help). Connect PowerShell to Office 365 in the normal way and call that cmdlet specifying the user to import to and the CSV and it does the job.

PS C:\temp> Import-ContactList -Identity tmp-contact-import1@example.com -CSV -CSVData ([System.IO.File]::ReadAllBytes(‘Antony_no_groups.csv’)) -Verbose
VERBOSE: Importing contacts to mailbox “tmp-contact-import1@luma-it.com”.RunspaceId       : bdf8902b-e858-44ba-a8ee-368fc809f6c2
ContactsImported : 136
Identity         : tmp-contact-import1
IsValid          : True
ObjectState      : New

PS C:\temp>

The Contact folder for the Shared Mailbox is now full:

OWA contacts

 
Leave a comment

Posted by on August 7, 2014 in Office 365

 

Add RSS feeds in Office 365

Outlook and Outlook Web App can display RSS/Atom feeds.

Outlook RSS feeds

RSS Feeds in Outlook (2010)

Outlook OWA RSS feeds

RSS Feeds in Office 365 OWA

There’s apparently no way to add feeds from within OWA. So you’ll have to have Outlook set-up for your account for this to work. But once they’re added in Outlook they then appear in OWA.

I had another complication however: I have multiple Exchange accounts. It seems that one can only add Feeds to the primary exchange account but I wanted it in one of the other accounts.

Outlook Add New RSS Feed on menu

Add Feed on the primary Exchange account

Outlook no Add feed on secondary account menu

No Add Feed on the secondary account

So I added it to the primary and then tried to drag it into the RSS folder in the other account. However no go! (Two error messages.) Then I waited and tried again just in case it was still synchronising. But again it failed.

The solution? Copy the feed of course. Moving it didn’t work but creating a copy in the second account did work. Yay!

Ohh and for double fun, to get a Facebook Page’s timeline as a feed use a URL like the following: http://www.facebook.com/feeds/page.php?format=rss20&id=147477388635837  See e.g. http://stackoverflow.com/questions/13020897/official-facebook-rss-feed-for-a-page

 
Leave a comment

Posted by on June 23, 2014 in Office 365

 

“Post Snippets” WordPress plugin backup

I use the Post Snippets plugin on some of my WordPress website. I made a change on one of them and made a mistake and wanted to get back the original content. The plugin has a Export feature but I hadn’t used it to make a backup recently. But I had done SQL and files backups of the server. So where in those files would I find the Post Snippets content?

I expected to find a new table in the SQL backup but there wasn’t one. I didn’t expect to find a file in the plugin’s folder and sure enough it wasn’t there. After a closer look I found the content within WordPress’s wp_options table I found a row. It starts:

(92109,’post_snippets_options’,

I was able to copy out the text I wanted from there, unescape it, i.e. change \” to “, and paste it back in and restore my lost text.

 
Leave a comment

Posted by on December 21, 2013 in wordpress

 

Yahoo email import CSV

When importing contacts from a csv file into Yahoo there is no help given on the screen.

yahoo csv dialogI spent much time trying to get the import to work. Was it a filename extension issue (I started with .txt), what it a charset issue (I started with UTF-8+BOM), or what??? By trial and error I discovered that there is a single particular data column format that Yahoo expects. If you don’t use that format this will fail with the following.

yahoo csv dialog NOT-csv

So a rubbish error message and no link to a help page that describes what format is required!

As there’s no help link, I tried googling and could find no information. I only found the required format by guessing that it would be same as the export format, doing a dummy export and copying the header line. After massaging my file into those columns the import worked.

The headers from the export file are:

First Middle Last Nickname Email Category Distribution Lists Messenger ID Home Work Pager Fax Mobile Other Yahoo! Phone Primary Alternate Email 1 Alternate Email 2 Personal Website Business Website Title Company Work Address Work City Work County Work ZIP Work Country Home Address Home City Home State Home ZIP Home Country Birthday Anniversary Custom 1 Custom 2 Custom 3 Custom 4 Comments Messenger ID1 Messenger ID2 Messenger ID3 Messenger ID4 Messenger ID5 Messenger ID6 Messenger ID7 Messenger ID8 Messenger ID9 Skype ID IRC ID ICQ ID Google ID MSN ID AIM ID QQ ID

i.e.

"First","Middle","Last","Nickname","Email","Category","Distribution Lists","Messenger ID","Home","Work","Pager","Fax","Mobile","Other","Yahoo! Phone","Primary","Alternate Email 1","Alternate Email 2","Personal Website","Business Website","Title","Company","Work Address","Work City","Work County","Work ZIP","Work Country","Home Address","Home City","Home State","Home ZIP","Home Country","Birthday","Anniversary","Custom 1","Custom 2","Custom 3","Custom 4","Comments","Messenger ID1","Messenger ID2","Messenger ID3","Messenger ID4","Messenger ID5","Messenger ID6","Messenger ID7","Messenger ID8","Messenger ID9","Skype ID","IRC ID","ICQ ID","Google ID","MSN ID","AIM ID","QQ ID"

That’s appears to be what’s documented at http://help.yahoo.com/kb/index?locale=en_US&page=content&id=SLN5840 which I managed to track down after all that manual effort.

 
Leave a comment

Posted by on November 6, 2013 in Uncategorized

 

Change log WordPress theme Twenty Ten 1.5 1.6

Can’t see a changelog so this is the best alternative.

http://themes.trac.wordpress.org/changeset?old_path=/twentyten/1.5&new_path=/twentyten/1.6

WP TwentyTen diffs

 
Leave a comment

Posted by on September 30, 2013 in wordpress

 

64-bit for Internet Explorer 10

On Windows 7 I’ve always chosen to open Internet Explorer (64-bit) rather than the standard 32-bit version. This is in the hope that because the former is both older and more popular it might be more subject to vulnerabilities. Whether that it true or not I don’t know, but it’s worth it right…

Note that there is some downsides 64-bit. For example in SkyDrive trying to open an office (Word/Excel) file for edit locally fails (maybe because the target apps are 32-bit).

Anyway, a while back, don’t know quite when…maybe with the upgrade to MSIE 10 that ability was lost. I still use the Internet Explorer (64-bit) shortcut but the MSIE copy that opens is 32-bit. How do I know? Well I use Aaron Margolis’s PrivBar which shows that amongst other things. The screenshot below shows it reporting “32-bit” along with “Low IL”, and my userid.

MSIE PrivBar shows 32-bit

I’ve never got around to investigating that until now. But after some googling I think I’ve found the answer…

In short set “Enable Enhanced Protected Mode“, reboot and then you’ll find 64-bit mode is back.

MSIE10 Opts Advanced e.g. EnhancedPM   MSIE PrivBar shows 64-bit after EPM

I’ve only been running in this mode for a little while but it seems good.

For more details see the following articles. The search returned the first article and based on that I found the Microsoft articles; the first is general, the second’s more about the internals, and the last is aimed at the developer of plugins.

 
Leave a comment

Posted by on September 27, 2013 in mswindows