Question : Outlook 2007 "Waiting to update this folder" due to multiple connections

We run Exchange 2003 SBS and Outlook 2007 clients. I cannot open Outlook 2007 for my own mailbox because Outlook hangs with the message Waiting to update this folder. I have tried on 3 PCs running Windows XP, Vista and 7. All my colleagues can login to their mailboxes OK so I am confident there is nothing wrong with the client set ups - the problem is specifically with my server mailbox. I can use OWA with no problem at all, and I can also use my iPhone with the Exchange mailbox - no problem. I have followed all the posts to switch off cached mode, delete OST files, rebuild with SCANOST, remove add-ins, start in safe mode  - nothing has worked!

If you look at my connection status, you can see that the Req/Fail value is very high and ever increasing. After half an hour or so, this will reach 50,000 easily!

Does anyone know what could be wrong with my mailbox please?!
Attachments:
 
Connection Status
Connection Status
 

Answer : Outlook 2007 "Waiting to update this folder" due to multiple connections

Well, I do think it needs the extra checking in there...

So, have a look at :
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
ALTER FUNCTION [dbo].[udf_getrates_3] (@date datetime,@util varchar(50))
RETURNS @tbl table (chargerate MONEY, levy MONEY, caprate MONEY,ChargeCap float, StandingDayCharge money)
AS
BEGIN


  declare @dw char(1)
  set @dw = left(DATENAME(DW, @date),1)

  declare @hr int
  set @hr = datepart(hour,@date)

  insert @tbl 
  select Top 1 --EffectiveStartDate, EffectiveEndDate, 
         CASE WHEN @dw = 'S' and (   (@hr between datepart(hour,weekenddaystart) and datepart(hour,weekenddayend) and isnull(weekenddaycost,0) <> 0)
                                  or (@hr NOT between datepart(hour,weekenddaystart) and datepart(hour,weekenddayend) and isnull(weekendnightcost,0) <> 0))
              THEN
                     CASE WHEN @hr between datepart(hour,weekenddaystart) and datepart(hour,weekenddayend)
                          THEN weekenddaycost
                          ELSE weekendnightcost
                     END
              ELSE 
                     CASE WHEN @hr between datepart(hour,weekdaystart) and datepart(hour,weekdayend)
                          THEN weekdaycost
                          ELSE weeknightcost
                     END
         END , climateChangeLevyRate, ((chargeablecapacity*capacityrate)),chargeablecapacity, isnull(StandingDayCharge,0)
  FROM   EnergySuiteDB.dbo.Rates
  where  UtilityName=@util 
  AND @date between EffectiveStartDate and EffectiveEndDate 
  Order By ID desc    -- get the "last" row that covers the requested date.

  if @@rowcount = 0
     insert @tbl 
     select Top 1 --EffectiveStartDate, EffectiveEndDate, 
         CASE WHEN @dw = 'S' and (   (@hr between datepart(hour,weekenddaystart) and datepart(hour,weekenddayend) and isnull(weekenddaycost,0) <> 0)
                                  or (@hr NOT between datepart(hour,weekenddaystart) and datepart(hour,weekenddayend) and isnull(weekendnightcost,0) <> 0))
              THEN
                     CASE WHEN @hr between datepart(hour,weekenddaystart) and datepart(hour,weekenddayend)
                          THEN weekenddaycost
                          ELSE weekendnightcost
                     END
              ELSE 
                     CASE WHEN @hr between datepart(hour,weekdaystart) and datepart(hour,weekdayend)
                          THEN weekdaycost
                          ELSE weeknightcost
                     END
         END , climateChangeLevyRate, ((chargeablecapacity*capacityrate)),chargeablecapacity, isnull(StandingDayCharge,0)
     FROM EnergySuiteDB.dbo.Rates
     where UtilityName=@util 
     order by EffectiveEndDate desc   -- highest enddate belongs to "row 1" the all covering / default rate.
  return 
END
Random Solutions  
 
programming4us programming4us