web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

9829000 Error -1: Object reference not set to an instance of an object.

(0) ShareShare
ReportReport
Posted on by 160

I am upgrading from SL 6.5 to SL 2011, when I run the database maintenance program i get this error message "9829000 Error -1: Object reference not set to an instance of an object." . It pops up at the very beginning and then it shows up repeatedly in the dbbuild.log file. Then it appears to begin processing my application databases and I get this error message.

"Error Code: -2146232060 Error Text: Invalid object name 'LWSIVSystem..UserGrp'"

 

Does anyone have any ideas what the cause may be?

*This post is locked for comments

I have the same question (0)
  • Adam Leonard Profile Picture
    2,151 on at

    Hi Glen,

    What's recorded in the DBBuild.log file after the process completes?

  • pbrattin Profile Picture
    1,850 on at

    The DB Maintenance screen has problems if there are any objects in the system DB which have a value in schema/owner of anything other than DBO.

  • Laura Profile Picture
    460 on at

    I get a similar result when upgrading from 6.5 to SL 2011 SP1 -

    The DBBUILD log holds the following:

    Error Code: -1

    Error Text: Object reference not set to an instance of an object.

    Statement: IF OBJECT_ID ('sDeleteAcctSub_DatabaseName', 'TR') IS NOT NULL DROP TRIGGER sDeleteAcctSub_DatabaseName

    Go

    I get this for every database that is converting, any clue if I can ignore or what the cause\resolution could be?

    Laura Vogel

  • Laura Profile Picture
    460 on at

    I ran the FRx scripts and then reran the upgrade and there were no errors.  The name of the System Database was changed for test purposes and the rerunning of the FRx scripts rectified the problem.

    Laura Vogel

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans