Microsoft KB Archive/932064

From BetaArchive Wiki
Knowledge Base

FIX: Error message when you configure log shipping for BizTalk Server 2006: "Cannot insert the value NULL into column 'database_name', table 'tempdb.dbo.#job_databases_00000000001E'; column does not allow nulls"

Article ID: 932064

Article Last Modified on 11/15/2007


  • Microsoft BizTalk Server 2006 Developer Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Standard Edition


When you configure log shipping for Microsoft BizTalk Server 2006, you receive an error message that resembles the following:

Msg 515, Level 16, State 2, Procedure bts_ImportSQLAgentJobs, Line 48
Cannot insert the value NULL into column 'database_name', table 'tempdb.dbo.#job_databases_00000000001E'; column does not allow nulls. INSERT fails.


This problem occurs if non-BizTalk projects that are not associated with a particular database are present on the SQL server. The BizTalk stored procedure bts_ImportSQLAgentJobs fails if the database_name field for these jobs is set to NULL.


Hotfix information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time Platform
Logshipping_destination_logic.sql Not applicable 141,660 30-Jan-2007 16:55 Not applicable


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


After you apply this hotfix, the Logshipping_destination_logic.sql file will be updated. Then, the bts_ImportSQLAgentJobs stored procedure will accept NULL values in the database_name field.

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbexpertiseadvanced kbfix kbhotfixserver kbqfe kbpubtypekc KB932064