BUG: Startup Stored Procedure Using sp_OACreate FailsID: Q196218
|
A startup stored procedure that uses sp_OACreate fails with the following
error returned to the error log:
Stored function 'sp_OACreate' in the library 'odsole32.dll' generated
access violation; SQL Server is terminating process 10
To work around this problem, try either of the following:
CREATE PROC TheStartUp AS
execute master.dbo.xp_cmdshell 'isql /E /Q"execute <sp_name>" '
go
sp_makestartup TheStartUp
go
Microsoft has confirmed this to be a problem in SQL Server version 6.5.
Additional query words: errorlog st proc stproc sproc
Keywords : SSrvAdmin SSrvStProc SSrvTran_SQL kbbug6.50
Version : WINNT:6.5
Platform : winnt
Issue type : kbbug
Last Reviewed: April 20, 1999