Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Solomon Object Model - Applications Still Running Error

(0) ShareShare
ReportReport
Posted on by 495

I am in the process of converting a Solomon Object Model project from version 6.5 to version 2011. When I try to log out, I get an "Applications Still Running" error. Here is my code:

Try
Thread.Sleep(5000)
' Quit the application
sivApp.Quit()
sivApp = Nothing
GC.Collect()
GC.WaitForPendingFinalizers()
GC.Collect()
' Shut down the toolbar
sivTB.Logout()
sivTB.Quit()
sivTB = Nothing
GC.Collect()
GC.WaitForPendingFinalizers()
GC.Collect()
Catch ex As Exception
ErrorLog(fund + ": Error Logging Out of " + fund + Environment.NewLine + "File Processing has been Stopped.", Err.Description)
' errorcount = errorcount + 1

End Try

When I run the line "sivTB.Logout()" I get the error "Logout Error: Applications Still Running.".
Has anyone else run into this before?

*This post is locked for comments

  • Ajit Kannan Profile Picture
    1,246 on at
    Re: Solomon Object Model - Applications Still Running Error

    Saving & Quit operations using Solomon Object Model

           sivAPP.Save()

           sivAPP.Quit()

           sivAPP.Dispose()

           sivAPP = Nothing

  • Verified answer
    Barry Flynn Profile Picture
    3,090 on at
    Re: Solomon Object Model - Applications Still Running Error

    Have you tried calling the Dispose Method somewhere in that code?

    I don't know if that might help or not...

    Barry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans