Showing posts with label delete. Show all posts
Showing posts with label delete. Show all posts

Wednesday, March 21, 2012

'Error 14274' - Cannot add, update, or delete a job (or its steps or schedules) that ori

http://support.microsoft.com/default.aspx?scid=kb;en-us;281642
I followed the tip above but it didn't work. anyone know of other workaround
?
I restore a copy of my Production DB on a TestDB, the scheduled jobs get
copied over as well. Cannot removed these job frm the Test DB because of
error 14274.
I logon the Test DB on workgroup, rename to original server name (on
workgroup because the Production still exist on the network), tried to
delete the jobs, SQL doesn't allow also. At the moment, I stopped the SQL
Agent Service to prevent the jobs frm running.
How to remove the jobs in the Test DB for good ?Don't bother with the rename stuff. Simply update the originating_server
column to reflect the new server name.
Have a look at http://sqldev.net/download/sqlagent/sp_sqlagent_rename.sql
--
HTH
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"pohkeat" <pohkeat@.hotmail.com> wrote in message
news:%23GEUVi%23bEHA.1764@.TK2MSFTNGP10.phx.gbl...
> http://support.microsoft.com/default.aspx?scid=kb;en-us;281642
>
> I followed the tip above but it didn't work. anyone know of other
workaround
> ?
> I restore a copy of my Production DB on a TestDB, the scheduled jobs get
> copied over as well. Cannot removed these job frm the Test DB because of
> error 14274.
> I logon the Test DB on workgroup, rename to original server name (on
> workgroup because the Production still exist on the network), tried to
> delete the jobs, SQL doesn't allow also. At the moment, I stopped the SQL
> Agent Service to prevent the jobs frm running.
> How to remove the jobs in the Test DB for good ?
>
>

Error 14274

I am trying to delete a job, but keep getting the error 14274. It says thta
I can not dlete the job because this job originated from an MSX Server.
I would appreciate any help on this subject.
ThanksHi
Have you checked out
http://support.microsoft.com/defaul...kb;en-us;281642
John
"Munch" wrote:

> I am trying to delete a job, but keep getting the error 14274. It says th
ta
> I can not dlete the job because this job originated from an MSX Server.
> I would appreciate any help on this subject.
> Thanks
>

error 14274

After I change a job and want to save, it gives me error as following:
error 14274: Cannot add, update or delete a job (or its steps or schedules)
that originates from an MSX server. The job was not save.
Can anyone please tell me how to fix this error? Thanks.
Hi!

> error 14274: Cannot add, update or delete a job (or its steps or
> schedules) that originates from an MSX server. The job was not save.
I guess this should help:
http://support.microsoft.com/default...;en-us;281642.
Dejan Sarka, SQL Server MVP
Mentor, www.SolidQualityLearning.com
Anything written in this message represents solely the point of view of the
sender.
This message does not imply endorsement from Solid Quality Learning, and it
does not represent the point of view of Solid Quality Learning or any other
person, company or institution mentioned in this message
|||Actually, I read this article. But I cannot down the SQL service and rename
the DB instance name as it said. What is other solution? Thanks.
"Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@.avtenta.si > wrote in
message news:%23ZnjkyOQGHA.5400@.TK2MSFTNGP09.phx.gbl...
> Hi!
>
> I guess this should help:
> http://support.microsoft.com/default...;en-us;281642.
> --
> Dejan Sarka, SQL Server MVP
> Mentor, www.SolidQualityLearning.com
> Anything written in this message represents solely the point of view of
> the sender.
> This message does not imply endorsement from Solid Quality Learning, and
> it does not represent the point of view of Solid Quality Learning or any
> other person, company or institution mentioned in this message
>
|||Can anyone please help? This is urgent. Thanks.
"00KobeBrian" <a@.b.com> wrote in message
news:uGdduPPQGHA.312@.TK2MSFTNGP12.phx.gbl...
> Actually, I read this article. But I cannot down the SQL service and
> rename the DB instance name as it said. What is other solution? Thanks.
>
> "Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@.avtenta.si > wrote in
> message news:%23ZnjkyOQGHA.5400@.TK2MSFTNGP09.phx.gbl...
>
|||Check the following article:
http://www.karaszi.com/sqlserver/inf...erver_name.asp
-Sue
On Tue, 7 Mar 2006 08:04:50 +0800, "00KobeBrian" <a@.b.com>
wrote:

>Can anyone please help? This is urgent. Thanks.
>"00KobeBrian" <a@.b.com> wrote in message
>news:uGdduPPQGHA.312@.TK2MSFTNGP12.phx.gbl...
>

error 14274

After I change a job and want to save, it gives me error as following:
error 14274: Cannot add, update or delete a job (or its steps or schedules)
that originates from an MSX server. The job was not save.
Can anyone please tell me how to fix this error? Thanks.Hi!

> error 14274: Cannot add, update or delete a job (or its steps or
> schedules) that originates from an MSX server. The job was not save.
I guess this should help:
http://support.microsoft.com/defaul...b;en-us;281642.
Dejan Sarka, SQL Server MVP
Mentor, www.SolidQualityLearning.com
Anything written in this message represents solely the point of view of the
sender.
This message does not imply endorsement from Solid Quality Learning, and it
does not represent the point of view of Solid Quality Learning or any other
person, company or institution mentioned in this message|||Actually, I read this article. But I cannot down the SQL service and rename
the DB instance name as it said. What is other solution? Thanks.
"Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@.avtenta.si> wrote in
message news:%23ZnjkyOQGHA.5400@.TK2MSFTNGP09.phx.gbl...
> Hi!
>
> I guess this should help:
> http://support.microsoft.com/defaul...b;en-us;281642.
> --
> Dejan Sarka, SQL Server MVP
> Mentor, www.SolidQualityLearning.com
> Anything written in this message represents solely the point of view of
> the sender.
> This message does not imply endorsement from Solid Quality Learning, and
> it does not represent the point of view of Solid Quality Learning or any
> other person, company or institution mentioned in this message
>|||Can anyone please help? This is urgent. Thanks.
"00KobeBrian" <a@.b.com> wrote in message
news:uGdduPPQGHA.312@.TK2MSFTNGP12.phx.gbl...
> Actually, I read this article. But I cannot down the SQL service and
> rename the DB instance name as it said. What is other solution? Thanks.
>
> "Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@.avtenta.si> wrote in
> message news:%23ZnjkyOQGHA.5400@.TK2MSFTNGP09.phx.gbl...
>|||Check the following article:
http://www.karaszi.com/sqlserver/in...server_name.asp
-Sue
On Tue, 7 Mar 2006 08:04:50 +0800, "00KobeBrian" <a@.b.com>
wrote:

>Can anyone please help? This is urgent. Thanks.
>"00KobeBrian" <a@.b.com> wrote in message
>news:uGdduPPQGHA.312@.TK2MSFTNGP12.phx.gbl...
>sql

error 14274

After I change a job and want to save, it gives me error as following:
error 14274: Cannot add, update or delete a job (or its steps or schedules)
that originates from an MSX server. The job was not save.
Can anyone please tell me how to fix this error? Thanks.Hi!
> error 14274: Cannot add, update or delete a job (or its steps or
> schedules) that originates from an MSX server. The job was not save.
I guess this should help:
http://support.microsoft.com/default.aspx?scid=kb;en-us;281642.
--
Dejan Sarka, SQL Server MVP
Mentor, www.SolidQualityLearning.com
Anything written in this message represents solely the point of view of the
sender.
This message does not imply endorsement from Solid Quality Learning, and it
does not represent the point of view of Solid Quality Learning or any other
person, company or institution mentioned in this message|||Actually, I read this article. But I cannot down the SQL service and rename
the DB instance name as it said. What is other solution? Thanks.
"Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@.avtenta.si> wrote in
message news:%23ZnjkyOQGHA.5400@.TK2MSFTNGP09.phx.gbl...
> Hi!
>> error 14274: Cannot add, update or delete a job (or its steps or
>> schedules) that originates from an MSX server. The job was not save.
> I guess this should help:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;281642.
> --
> Dejan Sarka, SQL Server MVP
> Mentor, www.SolidQualityLearning.com
> Anything written in this message represents solely the point of view of
> the sender.
> This message does not imply endorsement from Solid Quality Learning, and
> it does not represent the point of view of Solid Quality Learning or any
> other person, company or institution mentioned in this message
>|||Can anyone please help? This is urgent. Thanks.
"00KobeBrian" <a@.b.com> wrote in message
news:uGdduPPQGHA.312@.TK2MSFTNGP12.phx.gbl...
> Actually, I read this article. But I cannot down the SQL service and
> rename the DB instance name as it said. What is other solution? Thanks.
>
> "Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@.avtenta.si> wrote in
> message news:%23ZnjkyOQGHA.5400@.TK2MSFTNGP09.phx.gbl...
>> Hi!
>> error 14274: Cannot add, update or delete a job (or its steps or
>> schedules) that originates from an MSX server. The job was not save.
>> I guess this should help:
>> http://support.microsoft.com/default.aspx?scid=kb;en-us;281642.
>> --
>> Dejan Sarka, SQL Server MVP
>> Mentor, www.SolidQualityLearning.com
>> Anything written in this message represents solely the point of view of
>> the sender.
>> This message does not imply endorsement from Solid Quality Learning, and
>> it does not represent the point of view of Solid Quality Learning or any
>> other person, company or institution mentioned in this message
>>
>|||Check the following article:
http://www.karaszi.com/sqlserver/info_change_server_name.asp
-Sue
On Tue, 7 Mar 2006 08:04:50 +0800, "00KobeBrian" <a@.b.com>
wrote:
>Can anyone please help? This is urgent. Thanks.
>"00KobeBrian" <a@.b.com> wrote in message
>news:uGdduPPQGHA.312@.TK2MSFTNGP12.phx.gbl...
>> Actually, I read this article. But I cannot down the SQL service and
>> rename the DB instance name as it said. What is other solution? Thanks.
>>
>> "Dejan Sarka" <dejan_please_reply_to_newsgroups.sarka@.avtenta.si> wrote in
>> message news:%23ZnjkyOQGHA.5400@.TK2MSFTNGP09.phx.gbl...
>> Hi!
>> error 14274: Cannot add, update or delete a job (or its steps or
>> schedules) that originates from an MSX server. The job was not save.
>> I guess this should help:
>> http://support.microsoft.com/default.aspx?scid=kb;en-us;281642.
>> --
>> Dejan Sarka, SQL Server MVP
>> Mentor, www.SolidQualityLearning.com
>> Anything written in this message represents solely the point of view of
>> the sender.
>> This message does not imply endorsement from Solid Quality Learning, and
>> it does not represent the point of view of Solid Quality Learning or any
>> other person, company or institution mentioned in this message
>>
>>
>

Monday, March 19, 2012

Error 14058: The subscription already exists

Hi,
I've got the error in the Subject when I tried to delete and recreate
manually a pull subscription to a publication.
How can I delete defenitely the subscription from that database?
Thank you.
get your publication name and issue the following command in your
subscription database:
sp_droppullsubscription @.publisher = 'publisher' , @.publisher_db =
'publisher_db' ,[ @.publication = 'publication'
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Siu" <Siu@.discussions.microsoft.com> wrote in message
news:7957B486-16ED-498A-BAFC-2755E49555E1@.microsoft.com...
> Hi,
> I've got the error in the Subject when I tried to delete and recreate
> manually a pull subscription to a publication.
> How can I delete defenitely the subscription from that database?
> Thank you.
|||Hi Hilary,
thanks for your answer, but your code still gives the message that the
subscription doesn't exist... I'm also sure that I've written correctly all
the parameter, namely the publisher name, publisher db and the publication
name.
Do you think that there is another problem?
"Hilary Cotter" wrote:

> get your publication name and issue the following command in your
> subscription database:
> sp_droppullsubscription @.publisher = 'publisher' , @.publisher_db =
> 'publisher_db' ,[ @.publication = 'publication'
>
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Siu" <Siu@.discussions.microsoft.com> wrote in message
> news:7957B486-16ED-498A-BAFC-2755E49555E1@.microsoft.com...
>
>
|||Hi Hilary,
now I solved the problem: I had to delete the pull subscription manually
from the Publisher database.
I have another question: when I started the syncronitation, I got the
following error:
"The process could not connect to Disctributor 'MYDISTRIBUTOR'. Login failed
for user'
How can I discover which USER NAME failed the login?
"Hilary Cotter" wrote:

> get your publication name and issue the following command in your
> subscription database:
> sp_droppullsubscription @.publisher = 'publisher' , @.publisher_db =
> 'publisher_db' ,[ @.publication = 'publication'
>
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Siu" <Siu@.discussions.microsoft.com> wrote in message
> news:7957B486-16ED-498A-BAFC-2755E49555E1@.microsoft.com...
>
>

Sunday, February 26, 2012

Error (1552) ODBC, Insert Execute Error

Hi, I have a program called dbms/copy that I use to conver clarion database tables. The program first creates the table, if already exists I delete and recreate. This part works fine. When it tries to insert the records I get the following error message:

Error (1552)

ODBC, Insert Execute Error -> Buffer Contained 100 Records but only 0 Records were written

I created a System DSN ODBC link to the SQL Server. I tried using the "sa" user, as well as creating a user and checking off all available permissions. It seems to be a permissions problem to me, although it appears I have permission to do everything. It is definately able to connect since it has no problem creating/deleting/recreating the table in the SQL Server database.

I tried doing the same import with an ODBC connection to a Microsoft Access database and it works without any problems.

Any idea what's giving me this error?I turned on ODBC tracing and the following errors showed up in the SQL.log file:

dbmswin7 f58-b90 ENTER SQLSetStmtAttr
SQLHSTMT 00E51F98
SQLINTEGER 6 <SQL_ATTR_CURSOR_TYPE>
SQLPOINTER 0x00000001
SQLINTEGER 0

dbmswin7 f58-b90 EXIT SQLSetStmtAttr with return code -1 (SQL_ERROR)
SQLHSTMT 00E51F98
SQLINTEGER 6 <SQL_ATTR_CURSOR_TYPE>
SQLPOINTER 0x00000001
SQLINTEGER 0

DIAG [24000] [Microsoft][ODBC Driver Manager] Invalid cursor state (0)

dbmswin7 f58-b90 ENTER SQLSetStmtAttr
SQLHSTMT 00E51F98
SQLINTEGER 7 <SQL_ATTR_CONCURRENCY>
SQLPOINTER 0x00000003
SQLINTEGER 0

dbmswin7 f58-b90 EXIT SQLSetStmtAttr with return code -1 (SQL_ERROR)
SQLHSTMT 00E51F98
SQLINTEGER 7 <SQL_ATTR_CONCURRENCY>
SQLPOINTER 0x00000003
SQLINTEGER 0

DIAG [24000] [Microsoft][ODBC Driver Manager] Invalid cursor state (0)

dbmswin7 f58-b90 ENTER SQLSetStmtAttr
SQLHSTMT 00E51F98
SQLINTEGER 5 <SQL_ATTR_ROW_BIND_TYPE>
SQLPOINTER 0x00000000
SQLINTEGER 0

dbmswin7 f58-b90 EXIT SQLSetStmtAttr with return code 0 (SQL_SUCCESS)
SQLHSTMT 00E51F98
SQLINTEGER 5 <SQL_ATTR_ROW_BIND_TYPE>
SQLPOINTER 0x00000000
SQLINTEGER 0

dbmswin7 f58-b90 ENTER SQLSetStmtAttr
SQLHSTMT 00E51F98
SQLINTEGER 27 <SQL_ATTR_ROW_ARRAY_SIZE>
SQLPOINTER 0x00000064
SQLINTEGER 0

dbmswin7 f58-b90 EXIT SQLSetStmtAttr with return code 0 (SQL_SUCCESS)
SQLHSTMT 00E51F98
SQLINTEGER 27 <SQL_ATTR_ROW_ARRAY_SIZE>
SQLPOINTER 0x00000064 (BADMEM)
SQLINTEGER 0

dbmswin7 f58-b90 ENTER SQLBulkOperations
SQLHSTMT 00E51F98
SQLSMALLINT 4

dbmswin7 f58-b90 EXIT SQLBulkOperations with return code -1 (SQL_ERROR)
SQLHSTMT 00E51F98
SQLSMALLINT 4

DIAG [S1092] [Microsoft][ODBC SQL Server Driver]Invalid attribute/option identifier (0)

dbmswin7 f58-b90 ENTER SQLRowCount
HSTMT 00E51F98
SQLLEN * 0x0012F7F4

dbmswin7 f58-b90 EXIT SQLRowCount with return code 0 (SQL_SUCCESS)
HSTMT 00E51F98
SQLLEN * 0x0012F7F4 (0)

dbmswin7 f58-b90 ENTER SQLDisconnect
HDBC 00E515E8

dbmswin7 f58-b90 EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
HDBC 00E515E8

Originally posted by UltraSmooth
Hi, I have a program called dbms/copy that I use to conver clarion database tables. The program first creates the table, if already exists I delete and recreate. This part works fine. When it tries to insert the records I get the following error message:

Error (1552)

ODBC, Insert Execute Error -> Buffer Contained 100 Records but only 0 Records were written

I created a System DSN ODBC link to the SQL Server. I tried using the "sa" user, as well as creating a user and checking off all available permissions. It seems to be a permissions problem to me, although it appears I have permission to do everything. It is definately able to connect since it has no problem creating/deleting/recreating the table in the SQL Server database.

I tried doing the same import with an ODBC connection to a Microsoft Access database and it works without any problems.

Any idea what's giving me this error?

Friday, February 24, 2012

Error "Lock Request Time Out" when deleting a record

Hi all,
I'm trying to delete one record from application but I get an Error :
"Lock request time out periode exceeded (37000) was experienced when
deleting a record from dbo.fe9srjh".
I'm using SQL Server 2000 SP3. What should I do ? Thank's a lot ..
rgds,
yuliusSomeone has a conflicting lock which cases your LOCK_TIMEOUT setting (set by
the programmer of your
client application) to time out. Use sp_who, sp_who2, sp_lock, Current Activ
ity in EM to find out
who is locking the resource. When you find that person, talk to the vendor o
f the application that
the person is using and have them figure out why the long lived lock.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Yulius Sutanto" <ysutanto@.atlas-sp.com> wrote in message
news:1130208619.276385.284300@.f14g2000cwb.googlegroups.com...
> Hi all,
> I'm trying to delete one record from application but I get an Error :
> "Lock request time out periode exceeded (37000) was experienced when
> deleting a record from dbo.fe9srjh".
> I'm using SQL Server 2000 SP3. What should I do ? Thank's a lot ..
> rgds,
> yulius
>

Wednesday, February 15, 2012

Erroneously deleted stored procedures

I have a teammate that, in an excess of zeal, managed to delete a majority of stored procedures on a production database, causing numerous jobs to fail. Additionally, there were no receint backups of this database taken, but the transaction log is still in place and has not been truncated. Is there any way to recover these stored procedures that I am unaware of?If the database is in the full recovery mode, you may be
able to do point-in-time restore to get back your deleted
procedures (if the log backup chain has not been broken):
1. Do a BACKUP LOG first
2. Do (using pubs as example)
restore database pubs from disk='...'
rstore log ... -- if any
restore log pubs from disk='...' -- the last log backup
with recovery, stopat = '20031010 17:59:59'
The STOPAT time should be before the time the procedures
were deleted.
Linchi
>--Original Message--
>I have a teammate that, in an excess of zeal, managed to
delete a majority of stored procedures on a production
database, causing numerous jobs to fail. Additionally,
there were no receint backups of this database taken, but
the transaction log is still in place and has not been
truncated. Is there any way to recover these stored
procedures that I am unaware of?
>.
>