Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Smart Connector Maintenance Utility

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • Smart Connector Maintenance Utility
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SmartConnector Forum
Richard_M
Lieutenant JG Richard_M Lieutenant JG
Lieutenant JG

Posted: ‎2023-01-26 10:40 PM

0 Likes
3
1141
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2023-01-26 10:40 PM

Smart Connector Maintenance Utility

Hi Everyone,

 

I have a customer using the Maintenance Utility processor to clean up subscriptions but it doesn't appear to be running successfully.

An excerpt of the error is below (and a log snippet attached).

 

The SQL Express db had filled to 10GB over the past two years. We installed the Maintenance Utility to stop this happening. I cleaned up the db (it came down to 20MB) but the error still occurs.

 

Does anyone have any ideas why this is happening? The site is running SC v2.4.x

 

 

-----------------------

 2023-01-20 16:25:46.5723,Info,Processor,<no principal>,Validation Prompt for Kaba Door Lock EWS Maintenance Utility: MayNotContinue : An error occurred while executing the command definition. See the inner exception for details.
The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
at System.Data.Entity.Infrastructure.DbExecutionStrategy.Execute[TResult](Func`1 operation)
at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Mongoose.Service.Data.MongooseDbContext.Mongoose.Common.Data.IDataSource<Mongoose.Ews.Server.Data.EwsNotification>.Delete(IList`1 items)
at Mongoose.Ews.Server.Data.EwsServerDataAdapter.DeleteNotifications_Internal(EwsSubscription subscription)
at SmartConnector.Utilities.EwsServer.EwsItemManager.DeleteSubscriptionNotifications(IEnumerable`1 subscriptions)
at SmartConnector.Utilities.Maintenance.EwsServerCleanupProcessor.Execute_Subclass()

Attachments
Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 3
ard
Crewman ard
Crewman

Posted: ‎2023-02-21 10:45 PM

0 Likes
0
1062
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2023-02-21 10:45 PM

Truncate the tables and update to a 2.5.x version, cleanup is automatic from 2.5 and forward. It will give you problems if you don't truncate the big tables first though.

Reply
MaximeLaudren
Lieutenant MaximeLaudren Lieutenant
Lieutenant

Posted: ‎2023-03-20 11:56 AM . Last Modified: ‎2023-03-20 11:57 AM

0 Likes
1
997
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2023-03-20 11:56 AM

Hey @Richard_M,

 

Before upgrading to newer version of the smartconnector, always check that your processors are compatible with the new version.

 

Did you try to restart both the SQL and SC services?

Can you check with SSMS inside the properties of the Smartconnector.service table, what's the size and space available?

 

image.png

 

Is there still space available on the disk of the machine?

 

Can you also check what's the stats in the about page:

image.png

 

Max

Reply
Richard_M
Lieutenant JG Richard_M Lieutenant JG
Lieutenant JG

Posted: ‎2023-03-20 02:40 PM

0 Likes
0
991
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2023-03-20 02:40 PM

Hi @MaximeLaudren ,

 

I'm not planning on updating the SC version any time soon. This is the door lock SC site you helped me with a couple of years ago so I'm not going to make any changes unless I absolutely need to.

I have an active support case open at the moment (98710859) but we are still just gathering data.

 

I'm not sure if I have restarted the SQL service. The SC would have definitely been restarted though.

 

The database was sitting at about 1.5GB when I looked last week so there is still plenty of drive space. 

I'll check the SC stat's page next time I'm on. Below is a summary of the processor from last week.

2023-03-15 08_56_20-Web Rep Console - Richard Manning and 84 more pages - Work - Microsoft​ Edge.png

 

 

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of