Applied Concepts HR/Payroll
Home
Search
Tags
Glossary
Welcome Guest
(
Login
|
Register
)
Latest Additions
Most Popular
Applied Concepts HR/Payroll
About
articles
webinars
collaboration
Home
»
articles
»
HR/Payroll (emPath)
»
Technical
»
SQL
»
Resolve an invalid object error by changing ownership of a...
Resolve an invalid object error by changing ownership of a SQLserver object (table, function, ect).
Resolve an invalid object error by changing ownership of a SQLserver object (table, function, ect).
Issue:
While helping a client upgrade to emPath 6.4 the log for the DatabaseDeploymentUtility included an error which was related to ownership of SQLserver objects. Note that this was not a bug in the emPath DatabaseDeploymentUtility. In fact the utility was identifying a problem which had occurred previously and gone undetected until the empath 6.4 upgrade.
(See notes at the bottom of this article for examples of error messages received)
Resolution:
(1) using Query Analyzer identify the SQLserver objects which have an owner other than "dbo". The tables and functions should have ownership of dbo:
(2) If an object (table or function) has an ownership other than dbo you should change the ownership to dbo prior to running the emPath DatabaseDeploymentUtility. Following the SQL statement to change ownership in the above example:
sp_changeobjectowner 'xxx.AA2', 'dbo'
Note that errors in the log file of the DatabaseDeploymentUtility may look similar to the following:
Note that errors on emPath pages related to ownership issues look similar to the following:
Tags:
DatabaseDeploymentUtility
,
emPath 6.4
,
Install
,
invalid object
,
SQL
,
SQLexception
Add Your Comments
Name:
*
Email Address:
Web Address:
Verification Code:
*
Details
Last Modified:
Saturday, April 04, 2009
Last Modified By:
Denton Harryman
Type:
FIX
Article not rated yet.
Article has been viewed 480 times.
Options
Email Article
Print Article
Bookmark Article
Social Bookmarks
Comments RSS
Export As PDF
Powered By InstantKB.NET 2.0.3 © 2010
Execution: 0.203.
8 queries.
Compression Disabled.