Outlook not showing attachments

One of our users contacted the ServiceDesk to say that they were no longer getting attachments from specific senders. The email would show the paperclip icon but when the email was opened no attachments were there.

The emails were all from users of Applemail and the end user was on our Exchange 2007 server.

Client was Outlook 2007, upgrading them to Outlook 2010 didn't help.

Only change on the server was the patch Update Rollup 3-v2 for Exchange Server 2007 Service Pack 3 (KB2530488) was applied to the server.

To fix on our server I followed http://support.microsoft.com/kb/954684 which was to run the following PowerShell command:

set-OrganizationConfig -ShowInlineAttachments:$true
After running the command I restarted the Transport service and the test email came through correctly.

Performing a Consultative Transfer using Lync


A consultative transfer is a common scenario where before transferring a call to someone you want to contact the person you’re transferring to first to ensure they are able to take the call. Let’s walk through this scenario to show how this is accomplished using Lync.


Matt Webster has called me and is inquiring about the project we are working on.



As I don’t have the experience in this specific project, I start a new phone call with Andy Robinson from the Contact List, the project manager for this specific project.


When I start the new call to Andy, Matt’s call is automatically put on hold.



Andy has indicated that he is free to take the call, so I return to Matt’s conversation window and click on the Transfer Button. The transfer menu automatically includes people I’m currently talking to, so I’m able to select Andy from here.







While the call is transferred I can see the status from both Matt’s and Andy’s conversation window. After the transfer has completed both windows are closed :)



The beautiful part about Lync is that you are not just limited to consulting using a phone call. Next time you want to consult someone before transferring, try using an IM.

As you can see from this simple scenario, the ability to consult with someone before sending a phone call to them can be quite useful in ensuring that the person is available, and has the background required to help the caller.



This blog post uses the text from http://blogs.technet.com/b/lync/archive/2009/10/21/using-consultative-transfer.aspx but with the images of Lync instead of OCS for all us early adopters!


Feel free to add me on your Lync - sip:tobie.fysh@freebridge.org.uk

Lync 2010 forgetting contacts





I have a problem with Lync 2010 on Windows 7 SP1 with Office 2010. Excahnge 2007
It is reproducible across other machines in the organisation on both Outlook 2007 and 2010.
The problem is as follows:



Create a contact with an email address and phone number in your personal contacts in Outlook







Then switch to Lync and search for the contact and add them







As you can see the contact is added with all information present.







Logout of Lync and back in, Lync will then try to sync contacts with Outlook (shown by updating…)







After a while the sync finishes but the contacts do not have the details left in them to be able to phone the contact. Sort of defeats the point of adding it in the first place.





Sophos Install on Vista/W7

Have recently upgraded to Sophos Enterprise Manager 4.5

Still didn't seem to be a way to push the install to the more modern of the Microsoft Windows family so had to work out how to script it.

I could see the PC's that were not showing up as connected in the Enterprise manager and hacked together this script:

e:\pstools\psexec.exe \\ComputerToInstallTo -u Domain\Adminitrator -p Password -h -i \\SophosServer\SophosUpdate\CIDs\S000\SAVSCFXP\setup.exe -mng Yes -crt R -user Domain\Administrator -pwd Password -s yes -ni yes

The PC that you are trying to push Sophos to needs to be logged on but only as a standard user

For information about the above check out these two help pages:

http://technet.microsoft.com/en-us/sysinternals/bb897553

http://www.sophos.com/support/knowledgebase/article/12570.html

An Alarming Time (or Facebook stalking works out)

I live beside a Gardman warehouse, the one that is mentioned in this press release.

For some reason the alarm at the building was triggered between the end of 2010 and the start of 2011 (Saturday), being a good neighbour I wandered down to the sign saying who looked after the building to see if they were aware.



On phoning the local security company (GSL Darden) they informed me the key holder had been contacted but he was in Essex and it would be a while before he turned up.

A second night of the alarm sounding went by and (now Sunday) I again phoned GSL who told me that the key holder had decided to stay in Essex until late Monday probably Tuesday.

Humm – that’s a bit of a pain as this alarm is getting slightly annoying now. So what to do?

  1. I rang all the numbers I could find on the Gardman website (http://www.gardman.co.uk/contact-us) and got either no reply or automated “thanks for calling but we are closed”
  2. Searched Twitter for an account -Found @gardman but don’t think that Keith Lee is the guy I need!
  3. Did a bit of digging for directors names and came up with:
  • Mark Pearson (CEO)
  • Tim Stainton (Commercial Director)
Thought about buying the financial reports online from Companies House to get home details (did that before to get them for First Choice when they gave poor customer service) but didn’t want to spend the money.

So where to turn next...... FACEBOOK :-)

So, lets start at the top – Mark Pearson, I found this profile : http://www.facebook.com/mark.d.pearson who is friends with a Tim Stainton but not sure its the CEO

On to Tim – he was easier to find as he has a nice clear photo http://www.facebook.com/tim.stainton and reading down from his (unsecured) wall there is this comment about B&Q.



When you refer to http://www.diyweek.net/news/news.asp?id=12511 you can see that Tim came from B&Q in the past and he also has a boat http://www.facebook.com/album.php?aid=226355&id=777438972

so I’m thinking reasonably successful guy with the same name – probably a match.

It's time to craft a message to him:

Hi Tim,

Sorry to disturb you on a Sunday but myself and my family have been disturbed by one of the security alarms on your new West Lynn site since New Years Day. The site is the one this press release is about :
http://www.gardman.co.uk/gardman-ready-growth

I phoned the local security company, who tell me that the key holder has been informed but wont be back until late Monday or probably Tuesday when the site re-opens.

I think this is a tad antisocial and would appreciate if you would please get someone to site earlier to firstly turn off the alarm and secondly for your peace of mind ensure that the site and products are secure.

With kindest regards
Tobie Fysh

I’ll post any response that I get.

Chrome is eating my session varibles (or how a Favicon saved the day)

Have had an interesting problem with the latest version of Google Chrome and a classic ASP site that I am responsible for.

The site uses session variables to control the authentication of logged in users. These are compared against a backend database to ensure that the logged in user is still authenticated while they move around the site.

I had a report from one of our external customers bemoaning the fact that we were not allowing Chrome to navigate the site, they could log in correctly and arrive on the landing page but as soon as they tried to move to any of the other authenticated pages they would be logged out.

I tried to replicate the problem on the internal test site but could not. Looking at it the differences between the two they were that the external site was secured (SSL Certificate) and being published through ISA 2006.

I created a new site (by copying the live site in IIS) and created a rule for access through the ISA server (purchasing certificate from Digicert - best certificate provider around).

AND IT WORKED. Wahoo, so the problem must be in the ISA Rule/IIS/Certificate (as these are the only things that are different).

I then spent the next day comparing the two sites (Live and Dev). Unfortunately I could find no differences at all. The rules in ISA are identical; the IIS settings are exactly the same. I rekeyed the SSL certificate so it was created from the same IIS configuration but I could not get the original site to work.

I started to look at the live site in more detail, the return code from the logout is a querystring that showed that the error was that the username or password was incorrect. I didn’t have a reason to put the site into maintenance and block customers out of the system as it was “only” Chrome users who were affected, therefore the debugging had to be done live. To do so I added a couple of lines to the ASP to show the variables:

if Request.ServerVariables("REMOTE_ADDR") = "MYEXTERNALIP" then
response.Write("." & Request.ServerVariables("REMOTE_ADDR") & "
" & session("Username") & "
" & session.SessionID)
end if

This showed that all was correct and the logouts were only happening after the next click within the site. I then had to put some error trapping into the head of the page so on the next click I could see what variables we had:

if objRS.eof = true then
objRs.Close
Set objRs = nothing
objConn.Close
Set objConn = nothing
if Request.ServerVariables("REMOTE_ADDR") = " MYEXTERNALIP " then
response.Redirect("/debugpage.asp")
else
response.Redirect("/index.asp?Error=2")
end if
end if

My debugpage.asp had the following in it:
response.Write("." & Request.ServerVariables("REMOTE_ADDR") & "
" & session("Username") & "
" & session.SessionID)


Strangely the output on this had:
IPAddress
blankline
SessionID

So something was eating the session("Username") variable…..

Looking through the code there didn’t seem to be anything that would be removing the variable, I stepped through the code line by line on paper and could not see anything that would be removing the variable, the only sessions.abandon was in the logout, index landing page and the global.asa PLUS the other session variables were not getting cleared either (and this was getting away from the fact it was ONLY happening on Chrome).

I next fired up a test laptop and downloaded a copy of fiddler2. I put it onto a test laptop as I needed to decrypt and inspect HTTPS sessions, to do this in Fiddler2 you have to add a certificate to the local store and its recommended that you only ever install the HTTPS monitoring on a test machine.

Once I started to look at the output I saw the following:


This showed that there was a 302 response when trying to get to favicon.ico (line 91)……. Hummm, I don’t have a favicon so why was it redirecting?

AND HANG ON, what’s that on line 93? Why is the Secure URL turning up when I’m browsing the Dev site…… Suddenly a light bulb went off in my head. Scroll back to how I created the Dev site (hint ….. the IIS settings are exactly the same……).

The Dev site was a copy of the secure files, that includes the Web.config. Web.config contains the error page redirections:


So what was happening then?
  1. Customer enters Dev site
  2. Chrome (for some reason) demands favicon file
  3. IIS can’t find favicon so issues a 302 redirect to a 404 page
  4. Cusomised ASP page which includes the following code: session("Username ") = ""
  5. As customer is on Dev site the session variable is NOT cleared (it’s the wrong domain) But if the user is on the Secure site then the code will execute correctly and clear the variable.

So, what the hell does this all mean?
For some reason the latest version of Chrome insists on trying to download favicon.ico, as this doesn’t exist a 404 is generated on the server and *if* you have some code to trap 404’s then it will execute.

The lesson:
When copying websites carefully look at your web.config and put a favicon.ico on the root of your websites so that Chrome doesn’t put a whole load of 404’s into your weblogs (or worse stops the customers from using your site).

Global Address List not up to date

First Check Outlook Web Access as this will always be up to date. If the staff members are missing from OWA then this is a different problem.



If the staff members are in OWA try a manual download

Outlook > Tools > Send/Receive > Download Address Book

Uncheck Download changes since last Send/Receive > OK



If this fails then repair the Outlook Profile:

Outlook > Account Settings > repair > Next

If the wizard reports that Outlook need to be restarted then restart Outlook and retry the manual download above



If the manual download fails start Services.msc (elevated/run as end user is logged in)

Check that:



* Automatic Updates

* Background Intelligent transfer Service



are both set to Automatic and are started.

If not, make those changes.



Return to Outlook and try the manual download again.