Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Answered

Solomon Object Model - Applications Still Running Error

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?

  • Ajit Kannan Profile Picture
    Ajit Kannan 1,240 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
    Barry Flynn 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans