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)

sp_refreshsqlmodule_internal

(0) ShareShare
ReportReport
Posted on by 1,226

I'm working on upgrading a client from SL2011 to SL2015CU2 with SQL2014 Standard. I've copied their databases over to the new server and am running Database Maintenance. It runs through and tells me it was unsuccessful due to the following error:

Msg 207, Level 16, State 1, Procedure sp_refreshsqlmodule_internal, Line 75
Invalid column name 'ReportFormat00'.

I followed my natural inclination to look at the stored procedure, only to find it is one that is unavailable to peruse to find the issue.  Has anyone else run into this error and, if so, how did you resolve it?

Thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    CFROTON Profile Picture
    4,710 on at

    Stuart,

    Thank you for posting this question to the forum. I was able to locate this stored procedure. It is not a SL DB procedure, it is belongs to the SQL Master DB. If you if you run sp_helptext sp_refreshsqlmodule it will return that is executes sp_refreshsqlmodule_internal.

    We have seen the Error Code 207 Invalid column name "ReportFormat00' in the past, but it was related to the QUOTED_IDENTIFIER option and the process timeout.

    If this might be your issue, can you try the following steps:

    Use Microsoft SQL Server Management Studio to change the Remote Query Timeout value to 0. Then, log on to the  Database Maintenance (98.290.00)  screen by using  Windows Authentication instead of SQL Authentication . To do this, follow these steps:

    1.  Open SQL Server Management Studio.  

    2.  In the Object Explorer pane, right-click the instance of Microsoft SQL Server that hosts the Microsoft Dynamics SL databases, and then choose  Properties .  

    3.  In the Server Properties pane, click Connections .  

    4.  Type 0 in the Remote Query Timeout box, and then click OK

    5. Then log into Database Maintenance and re-run the upgrade logged in with Windows Authentication.

    *** Note, make sure to restore the SL 2011 DB so the upgrade can run completely.

    I hope this helps.

    Thank you,

    Carolyn

    MSDSL Technical Support

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