1 Aralık 2007 Cumartesi

"Ad hoc update to system catalogs is not supported."

HATA MESAJI:
"Ad hoc update to system catalogs is not supported."

AÇIKLAMA:
Eğer SQL Server 2005 Instance' ınızdaki "allow updates" seçeneği etkin ise, aşağıdaki örnek kodu çalıştırdığınızda bu hatayı alırsınız.

=============================
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE
GO
=============================

ÇÖZÜM:
Eğer 'allow updates' seçeneğini etkin halde bırakmak istiyorsanız o zaman yukarıdaki kodu şöyle yazın:

=============================
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE WITH OVERRIDE
GO
=============================

Eğer 'allow updates' seçeneğini sp_configure Stored Procedure' ünü kullanarak etkisiz hale getirirseniz, o zaman ilk çalıştırmayı deneyip hata aldığınız kodu gene aşağıdaki şekilde çalıştırabilirsiniz:

=============================
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE
GO
=============================

Hiç yorum yok: