Thursday, December 06, 2007

SMTP Server for Orange Mobiles Running Windows Mobile 6

For a while now I have been unable to send my personal email from my mobile phone (running WM6 on the Orange network in the UK). I could download email via IMAP from my server (not hosted by Orange), but never send.

So after doing a bit of research I discoved that the SMTP server is smtp.orange.net, but that did not work. Further playing around with the settings on my found found me clicking the Advanced link under the SMTP server field in the account options settings. Here I choose Orange World as the network, and emails were instantly sent.

Instructions: From your IMAP account in WM6 click Menu > Tools > Options. Click your IMAP account in the list (or add a new account), click Next (filling in fields correctly if adding a new account) until you get to the Outgoing (SMTP) mail server page. Here enter smtp.orange.net and click Advanced Server Settings.

Under Advanced Server Settings select Orange World for the value of the Network Connection. Click Done and then Next a few times until Finish.

Wednesday, December 05, 2007

Blogger Blogs in Outlook - Incorrect Dates

This has been obvious to me for a while - whenever I viewed this blog in Outlook 2007 via the common RSS feed store, the dates were all incorrect and so new posts appeared at random within the list.

I finally found a fix yesterday - the post was based upon ATOM technology and not RSS technology. I have therefore changed the subscribe link on the site to add ?alt=rss to the end of the link.

If you subscribe to this blog please delete it from your feed store in IE 7 and resubscribe at http://reidablog.blogspot.com/feeds/posts/default?alt=rss.

Friday, October 26, 2007

Exchange Server 2007 Rollup Update 5

The latest version of the Exchange 2007 update is Update Rollup 5 for Exchange Server 2007 - this can be downloaded from here (64 bit and 32 bit versions now available).

Microsoft plan to do these releases rather than issue hotfixes as the method of engineering Exchange has changed since the previous versions, and KB937194 describes why this is. Each update rollup contains all the previous updates, so you only need to deploy this patch and not any earlier patches as well.

If you have not yet installed Exchange 2007 yet, copy this patch to the Update folder on your installation point and it will get slipstreamed into the installation automatically upon running Setup.

Note that unlike updates #1 and #2, a 32bit version of this update is available so this update can be applied to test and virtual computer systems and labs.

Wednesday, October 03, 2007

Error Code: 500 Internal Server Error. The network logon failed. (1790)

This is an error visible in the web browser when connecting to a HTTPS web site behind an ISA Server.

The problem is that the firewall access rule for this web site in ISA Server is forwarding the requests to an internal server on a port that it is not listening on. For example you connect to https://server.example.com and the ISA Server forwards this request to http://internalsrv. On the Bridging tab check that the mentioned port(s) are actually working on the internal server. For example if you are listening in ISA Server on 443 for a SSL connection and the SSL/HTTPS port is ticked make sure that the port is 443, and that the web server internally is listening on 443. If its another number make sure that it is meant to be the other number and not really 443 or not ticked at all. Ditto for the HTTP port, which is 80 by default.

Friday, September 21, 2007

Can't Update Media Player Library on Windows SmartPhone

I have found for a while now that I could not view the Windows Media Player library on my phone, and everytime I viewed the library I got a dialog saying "An unexpected error occured". But now I have fixed it. It must have been a corrupt copy of the libary database on the SDCard in my phone.

To fix:

Delete the MSMETADATA folder in the root of the Storage Card.

If using File Explorer on your device note that it's not visible by default. You have to select the "Show All Files" option in File Explorer. Once deleted rebuild your library using Media Player, and see if that helps.

Tuesday, June 19, 2007

Fixing Error 1324.The path xxx contains an invalid character.

When installing software I have now seen a number of times the following error "Error 1324.The path My Documents contains an invalid character.". My Documents could be replaced by a number of other special folders, and I have seen this issue on Windows XP and Windows Vista.

The problem seems to stem from having UNC paths for folders (i.e. \\server\share\user\my documents). So, to fix the issue you need to temporarily change the path to a local path and change it back after installation. These steps will help (based on Vista, but XP is similar):

  1. Click Start
  2. Right-click Documents (or Pictures etc.)
  3. Choose Properties
  4. Make a note of the path currently used
  5. Change path to the Default by clicking Restore Default button
  6. Click OK
  7. If prompted about creating folder say Yes
  8. When prompted about moving all your files say no (you are going to move the folder back shortly) and then wait a bit - this might take some time.
  9. Install your application
  10. Repeat above instructions to move the folder back again, but this time do move the files. This will merge changes to the folder back to your actual folder.

Sunday, July 16, 2006

Setting MP3 ID Tags with CDDBControl.dll

The CDDBControl DLL that can be downloaded from here can be used in VB or Java Script to programatically set and read the ID3 tags on an MP3 file. Lots of documentation exists on Google which shows you how to write the script, but today I discovered that this control will only operate if the user calling it has Administrator privileges.

Using tools from Sysinternals did not give me any additional information on why this restriction was true (as the file I was changing had got full control for the limited user that runs the script) so I added the DLL to Component Services as described below to solve the problem.

  1. Create a new user account with administrative permissions on the local machine. Give this account a very complex password and require that the password never expires.
  2. Login as this account and start Component Services (in the Administrative Tools area of Control Panel)
  3. Expand the Component Services tree until you get to COM+ Applications and right-click this node of the tree
  4. Choose New Application, Create an empty application and provide a name such as ID3Tag for the application. Keep the default of Server Application set.
  5. On the Set Application Identity page choose This User and enter the details for the current user account. It is important that you select this option and do not leave the default value of Interactive User set.
  6. Once the component is created, right-click the component and select the Pooling & Recycling tab. Set 1 minute for the Expiration Timeout value (unless your script takes longer to run) and click OK.
  7. Expand Component Services so that the contents of Components under your component are visible (this area will currently be empty)
  8. If you have already registered the control with regsvr32 then you need to unregister it using regsvr32 -u "path\CDDBControl.dll"
  9. Find the folder in which you have copied CDDBControl.dll and drag the dll into the Components container in Component Services
  10. You will get an error about some components not being able to be installed. You can click OK at this point.

You can now run your script as a limited user and when you call the id3.SaveToFile function the script will not fail with error 0x82fc100c