Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA Application Server
  • AVEVA Application Server Tech Notes

TN AppSvr203 Manually marking an object undeployed via the GR DB (MSSQL)

Last updated: March 7th, 2025

Description

  • Author: Brian Schneider
  • Published: March 7th, 2025

Details:

Description

This article from InSource shows how to trick the IDE into thinking an object is undeployed. Occasionally a deploy or undeploy operation may hang and the IDE may "lose its brain" not matching up with what is actually deployed. Please note that it is not officially supported to make modifications to the Galaxy Database SO USE THIS AT YOUR OWN RISK. This has been used on test systems where the IDE has been mismatched with the actual deploy state of an object. The query is basically just marking the table that the object is undeployed.

  • Author: Lewis Talley
  • Published: 8/5/2016
  • Applies to: Application Server and SQL Server

Details

declare @objectID int
select @objectID = gobject_id from gobject where tag_name = '****INSERT YOUR OBJECTNAME HERE*****'
declare @temptable table(
[gobject_id] int
)
insert into @temptable
exec [dbo].[internal_get_all_hosted_gobjects] @objectID
insert into @temptable
select @objectID
update gobject set deployed_package_id = 0, last_deployed_package_id = 0
where gobject_id in (select gobject_id from @temptable)

 

deactivate uninstall
Give feedback about this article

Recommended articles

TN - 1240 Creating a Watchlist Using an Import File

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand