Showing posts with label message. Show all posts
Showing posts with label message. Show all posts

Thursday, March 29, 2012

do not have permission error message

I have been trying to run a script that modifies objects in a SQL Server 2005 database. I am trying to drop an index but I am told the index does not exist or I do not have the correct permissions. An example of one of the commands in the script that I am trying to execute are as follows.

command:
DROP INDEX spices.ADAPTER_MESSAGE.ADAPTER_MESSAGE_SET;

response:
Msg 3701, Level 11, State 6, Line 1
Cannot drop the index 'spices.ADAPTER_MESSAGE.ADAPTER_MESSAGE_SET', because it does not exist or you do not have permission.

The index does exist in the table so the problem must be related to permissions. I am the one who created the database so I am the dbo. I should have permission to do anything in the database, right? So why am I getting this error when my script runs?

thanks,
shimo

The dbo should be able to drop the index.

Is it possible that you are not running as the dbo? Maybe an application role has been set or something like that.

One way to check is

select user_name() to determine your user context.

Another possiblility is that the spices table is not in dbo or your default schema.

Try using the two part name schema.spices.ADAPTER_MESSAGE.ADAPTER_MESSAGE_SET

HTH,

-Steven Gott

S/DET

SQL Server

|||

Is this a SQL x64 bit edition?

We have had similar issue and reported to MS Connect site.

sql

Thursday, March 22, 2012

Do I have a Spy software

I received this error message in the system event viewer
file. Is this a sign of some spy software in my system?
AMLI: ACPI BIOS is attempting to read from an illegal IO
port address (0x71), which lies in the 0x70 - 0x71
protected address range. This could lead to system
instability. Please contact your system vendor for
technical assistance.You might try asking this in a more relevant newsgroup. This one is for SQL
Server security issues. Perhaps try a newsgroup based on whatever OS you're
using?
Sincerely,
Stephen Dybing
This posting is provided "AS IS" with no warranties, and confers no rights.
"Don Mc" <anonymous@.discussions.microsoft.com> wrote in message
news:13a2801c44408$38d24cf0$a501280a@.phx
.gbl...
> I received this error message in the system event viewer
> file. Is this a sign of some spy software in my system?
> AMLI: ACPI BIOS is attempting to read from an illegal IO
> port address (0x71), which lies in the 0x70 - 0x71
> protected address range. This could lead to system
> instability. Please contact your system vendor for
> technical assistance.
>|||You can also visit;
http://www.microsoft.com/mscorp/twc...cy/spyware.mspx
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

Wednesday, March 7, 2012

Distributor to Subscriber History

I am using publisher as 2005 and subscriber as 2000. I am getting
Uninitialized Subscription. When I double click I don't see any message on
Distributor to Subscriber Histor. Where as I can see message for one of the
subscriber which is 2005.
Is that is do with 2000?
Nita
What type of repl? Sanpshot/Trans/Merge?
did you run your snapshot agent after adding subscription to 2000 svr?
Did your distribution agent push snapshot?
Try running Profiler on subscriber to pick up activity from distributor to
help troubleshoot.
ChrisB MCDBA
MSSQLConsulting.com
"NitaDBA" wrote:

> I am using publisher as 2005 and subscriber as 2000. I am getting
> Uninitialized Subscription. When I double click I don't see any message on
> Distributor to Subscriber Histor. Where as I can see message for one of the
> subscriber which is 2005.
> Is that is do with 2000?
> --
> Nita

Friday, February 24, 2012

Distribution Agent often dies with the following message. Why?

Replication Distribution Agent often dies with the following log entry. At that hour little is ever going on so I am surprised that the error occurs.

Failed Job -> JobName: Instance1-DB1-Instance2-33, StepName: Run agent., Message: Timeout expired. NOTE: The step was retried the requested number of times (10) without succeeding. The step failed..

Any ideas where to start?

Thanks

1. Did you run Distribution Agent in a SQL Agent job? If Yes, can you try to run distrib.exe through command line?

2. Was Distributor/Publisher/Subscriber started when you run the distribution?

3. Do the SQL Agent job owner has the access right to Distributor/Publisher/Subscriber?

Thanks.

This posting is provided AS IS with no warranties, and confers no rights.

|||Yes, this runs as a Job and it runs normally most of the time so I assume the set-up is correct. It seems there is a transient issue that causes the issue. I just can't tell!|||

Can you check the cleanup job schedule?

What is the retention setting?

This posting is provided AS IS with no warranties, and confers no rights.

|||From the "timeout" message, it is most likely a network/connectivity issue.

Distribution agent fails with the following error message

The concurrent snapshot for publication<PubName> has not been activated by
the Log Reader Agent.
What did I do wrong ? I reinitinalized a subscription and the snapshot has
completed, but the distrib agent fails to start ..
has the snapshot agent started yet? Is the log reader agent started? Can you
bounce it?
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
"Jim" <jim@.hotmail.com> wrote in message
news:%23USywHPZFHA.3648@.TK2MSFTNGP14.phx.gbl...
> The concurrent snapshot for publication<PubName> has not been activated by
> the Log Reader Agent.
> What did I do wrong ? I reinitinalized a subscription and the snapshot has
> completed, but the distrib agent fails to start ..
>
|||I tried all of those..
"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:OTgqX%23PZFHA.892@.TK2MSFTNGP10.phx.gbl...
> has the snapshot agent started yet? Is the log reader agent started? Can
you[vbcol=seagreen]
> bounce it?
> --
> 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
> "Jim" <jim@.hotmail.com> wrote in message
> news:%23USywHPZFHA.3648@.TK2MSFTNGP14.phx.gbl...
by[vbcol=seagreen]
has
>
|||I'd drop the subscription and try again.
One more thing, if you deployed this publication from script make sure you
set @.status='active' in your sp_addpublication call,
ie
sp_addpublication 'test',@.status='active'
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
"Jim" <jim@.hotmail.com> wrote in message
news:uLuYLySZFHA.228@.TK2MSFTNGP12.phx.gbl...
>I tried all of those..
> "Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
> news:OTgqX%23PZFHA.892@.TK2MSFTNGP10.phx.gbl...
> you
> by
> has
>

Distribution agent failed

Hi,
Our production site, I enabled snapshot replication, last night the
distribution agent failed with error message: Detect nonlogged agent
shutdown. I really don't know what that means; can someone help me to solve
this problem?
Regards,
-Chen
Sometimes the binary crashes and doesn't hand an error back to the SQL
Server subsystem.
In this case restart the distribution agent to see if it is a transitory
error.
You might also want to enable logging to see what it gives you - if
anything. Follow this link
http://support.microsoft.com/default...b;en-us;312292
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
"Chen" <Chen@.discussions.microsoft.com> wrote in message
news:26344E32-2FED-4A84-B73C-544ED47023BA@.microsoft.com...
> Hi,
> Our production site, I enabled snapshot replication, last night the
> distribution agent failed with error message: Detect nonlogged agent
> shutdown. I really don't know what that means; can someone help me to
solve
> this problem?
> Regards,
> -Chen
>
|||Thanks! I will try it.
"Hilary Cotter" wrote:

> Sometimes the binary crashes and doesn't hand an error back to the SQL
> Server subsystem.
> In this case restart the distribution agent to see if it is a transitory
> error.
> You might also want to enable logging to see what it gives you - if
> anything. Follow this link
> http://support.microsoft.com/default...b;en-us;312292
> --
> 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
> "Chen" <Chen@.discussions.microsoft.com> wrote in message
> news:26344E32-2FED-4A84-B73C-544ED47023BA@.microsoft.com...
> solve
>
>

Sunday, February 19, 2012

Distributed transactions bet linked servers

hi anyone,
I checked the DTC on both ends to be on but I am still getting this message
when running an insert
New transaction cannot enlist in the specified transaction coordinator.
Thanks,
--
bicDid you enable Network DTC Access? I did it under 2003 Server but had to do
it again after installing SP1.
http://support.microsoft.com/default.aspx?scid=kb;en-us;329332
"bic" wrote:
> hi anyone,
> I checked the DTC on both ends to be on but I am still getting this message
> when running an insert
> New transaction cannot enlist in the specified transaction coordinator.
> Thanks,
> --
> bic