error viewing publi...
 
Notifications
Clear all

error viewing public folders

7 Posts
3 Users
0 Reactions
1,317 Views
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

You should try remove and recreate the GetExchangeAccounts stored procedure in MsSQL.

CREATE PROCEDURE [dbo].[GetExchangeAccounts]
(
@ItemID int,
@AccountType int
)
AS
SELECT
E.AccountID,
E.ItemID,
E.AccountType,
E.AccountName,
E.DisplayName,
E.PrimaryEmailAddress,
E.MailEnabledPublicFolder,
E.MailboxPlanId,
P.MailboxPlan,
E.SubscriberNumber,
E.UserPrincipalName
FROM
ExchangeAccounts AS E
LEFT OUTER JOIN ExchangeMailboxPlans AS P ON E.MailboxPlanId = P.MailboxPlanId
WHERE
E.ItemID = @ItemID AND
(E.AccountType = @AccountType OR @AccountType IS NULL)
ORDER BY DisplayName
RETURN

GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

Thanks,

Trevor

Reply
Posts: 22
Topic starter
(@itobin)
Eminent Member
Joined: 7 years ago

Hi Trevor,

That worked, thanks ever so much.

Ian

Reply
Page 2 / 2
Share: