Waiting On Flag To Activate Jobs ?

Feb 17, 2005

is there a way to automate a job to wait on a flag in a directory and to start my maintenance plans ?

if so how would i code is there external functions plz help.

View 8 Replies


ADVERTISEMENT

Un-flag Reinitialization Flag On Trans Subscription

Nov 21, 2004

Here's my predicament. I changed the filter on an article within a subscription, but not in a meaningful way. I just added "database.dbo." before a column name, but now my subscription is flagged for reinitialization, and won't replicate any transactions unless I start over with a new snapshot. I don't want that to happen. How can I reset the article properties somewhere to get it back the way it was and continue replicating transactions.

(I needed to add "database.dbo" so that another job that looks at the filter info would point to the correct database. Next time maybe I'll just modify the table that stores the filter info)



The reason I don't want to snapshot from the beginning is that I have procedures on the subscribing server that fire triggers from the transactions, so all the jobs "downstream" would get all out of sync.

HELP !

View 3 Replies View Related

How To Activate Licenses

Mar 20, 2007

I've just installed Workgroup Edition for the first time. I have copies on each of two servers, each ordered with five CALs.

My problem is that I don't know how to assign the licenses. I can't find anything in the documentation about it, nothing in the tools menus, and no reference to SQL Server in the Licensing application. The latter really looks like the right place, so if I had to guess, I'd think I've installed something incorrectly. Shouldn't SQL Server appear there as a product?

Of course, I'd also think this would be documented somewhere, but then it's probably one of those things that any idiot would know, so there's no need to explain it.

Once I get past that problem, I'll be setting up eight workstations. I understand from Microsoft Sales that since I've purchased a total of ten CALs, then all eight workstations will be able to access either server. Do I have to do anything special to make that work? Currently, there's no domain. The servers are just members of a workgroup.

Thanks,

Dick

View 1 Replies View Related

How To Activate Product

Jun 7, 2006

hi,

I am realy sorry that I am putting this question here since I don't know where to post this question.

We have purchased

Windows server CAL 2003 English OLP NL user CAL

with 5 user license

We got the Microsoft open license agreement after a month or so.

Now I want to know how to proceed with this license.

Since I am newbie to this kindly guide me in this regard.

thanks

View 1 Replies View Related

Develope Pending &> Activate

Apr 2, 2007

Hi,I have an application (Asp.net + c#).There is a SQL table called 'Status' it is used to store pending and activated events.There is a field called 'Complete'.So when user register I want to add recored to 'Complete' field as 'Pending'But I cant understand how to do this. Plese help me  

View 1 Replies View Related

How To Activate The MSDTC Service?

May 3, 2007

Hello,

As newbie in server country I try a course example to test a distributed transaction accessing both SQL Server 2005 and Sql Server 2005 Express.

But I get an error message saying:
--->MSDTC on server is not available

I Internetted somewhere that MSDTC stands for TransactionManager service.
If I look in the 'Services' list I do not see something like MSDTC, so I think it is not installed or started.

How do I install or activate the MSDTC service?

Thanks in advange,
Henk

View 5 Replies View Related

How To Activate SQL Server 2005

May 9, 2007

I want to know if there is a way to activate an evaluation version of SQL Server 2005 without re-installing the product completely. Running evaluation in a production environment while waiting on my purchase of Standard edition to be completed. All I have is my Microsoft Open License Order Confirmation.

View 6 Replies View Related

How To Activate Only The Selected Year In The Calender

Apr 25, 2008

I have calenders activated in our reports.So, I want only those date values to be enabled for the year I am selecting . Is there any option for that?????

View 1 Replies View Related

Activate/Initialize Report Server - Rsactivate Not Recognized

Mar 6, 2008

Hey guys I'm baffled. I've installed SSRS on our IIS server and referenced it to our SQL Server (remote server) but, I'm getting the Reporting Services Error:


The report server installation is not initialized. Check the documentation for more information. (rsReportServerNotActivated)

-2147159550

I've tried rsactivate from both 'Start>Run' and from the command prompt. In both cases the command rsactivate is not a recognized command, executable program or batch file...yadda yadda yadda.
What am I doing wrong and what do I do to fix this??
Thanks,
Jim

View 1 Replies View Related

Activate Or Execute A Ssis Package From Sharepoint Document Library

Mar 26, 2007

hello all

i need to execute a ssis(sql 2005 integration service) on a document document library . can you people help me out how i can do it

i want to make a work flow which initiate when new document upload in a moss document library and this work flow pass the document to a ssis package and initiate that ssis package

note: the database and moss servers are on different machine

please reply ASAP if there any way to do it.

thnaks

View 7 Replies View Related

Waiting On ASYNC_NETWORK_IO

Feb 20, 2008

We are having a problem with an SSIS package. The package gets stuck when it runs a data flow component that reads data from 5 large tables, performs a union on the data, does a conversion on one field and then writes the data to another table. This all happens in the same database and the ssis package runs on the same server as the database.

When I look at the waiting tasks on the sql server I always see the following type of scenario. It is always the ASYNC_NETWORK_IO that is causing the others to wait.













SPID
Wait type
duration
Waiting Address
Blocking Address

118
ASYNC_NETWORK_IO
47
0x0000000000C2FD68
NULL

118
CXPACKET
47
0x0000000000C2F2E8
0x0000000000C2FD68

118
CXPACKET
47
0x0000000000EB4DA8
0x0000000000C2FD68

118
CXPACKET
47
0x0000000000ECB048
0x0000000000C2FD68

118
CXPACKET
47
0x0000000000EE12E8
0x0000000000C2FD68

In some cases the duration column goes up to several hours until we finally just kill the package. At the same time, we also see that session 118 is consuming very large amounts of memory (in sys.dm_exec_query_memory_grants). However, when we look at the dtexec process that is running the package on the server it only has a working set of about 100Mb. We've tried rewriting the dataflow task as a simple stored procedure and this goes through smoothly.

Can anyone shed some light on what is going on and how to avoid this type of locking situation (other than just using plain old T-SQL).

View 1 Replies View Related

[393] Waiting For SQL Server To Recover Databases...

Jun 20, 2001

We have a two node cluster running W2K and SQL2000. The agent starts, but we cannot access any of the jobs. It gives us the 14258 Agent is starting, try again later... error message. We know that this is not the case, we have waited several hours without it "starting". The SQL Agent log indicates that the agent is waiting on SQL Server to recover databases, but all of our databases are up. It is almost as if during startup a flag did not get set to indicate that a database was recovered.

Has anyone run across this before? If so, did you ever figure out how to fix it?

View 2 Replies View Related

Not Waiting For A Stored Procedure To Finish

May 7, 2008

I have a Stored Procedure which Ideally should run when a Customer Logs in, the Procedure will check the available stock and create a Temp Table for the Information, which allows many other Queries in the site to run a lot faster, (due to no joins). The Query has taken as much as 30seconds (Lots of Records and 1/2 dozen Joins) to run upon log in and causing a Timeout for the web application.

I want the procedure to run as it is, but for the login method to not be dependent on the Process tried this in .NET cmd.BeginExecuteNonQuery() (cmd=SQLCOmmand)
which doesn't do what I want it just allows me to run heaps of QUeries at the same time.

Can anyone help me with getting this procedure to run and not hold up the Web application? Not sure whether I need to do this in .NET, or whether I can get .NET to run a Batch File or something, but someone must have had a similiar problem, please help.

View 5 Replies View Related

Waiting For Buffer Latch Error

Jul 20, 2005

Does anybody know what might cause the following message to show up inthe SQL Server Error Log?:Time out occurred while waiting for buffer latch type 2, bp0x12260f80, page (5:77914), stat 0x40d, object ID 7:421576540:0,waittime 500. Continuing to wait.I've read several articles about what to do about this situation onSQL Server 2000, but I'm running SQL Server 7.0. Specifically, I'mrunning version 7.00.842. Is there a way to resolve this problemwithout upgrading to some flavor of SQL Server 2000?

View 2 Replies View Related

Time Out Occurred Waiting For Buffer Latch??

Aug 23, 2004

Hi Guys,

One of your SQLSERVER 7, Server throws the below error message into the log file. It won't go away until the server get rebooted. When this error start showing up.. customers have hard time connecting to the Server, eventually we have to reboot the server.

Time out occurred while waiting for buffer latch type 1, bp 0x18b9200, page (1:50859), stat 0xb, object ID 17:1954106002:1, waittime 500. Continuing to wait.

Any help is greatly appericated.

thanks

View 2 Replies View Related

SQL SERVER 2000 SELECT Waiting And Locks

Jun 17, 2004

Is anyone have already encountered such a problem :

When a table is locked by several locks (key, pag), either a SELECT request which does not need to lock any row cannot succeed.

In SQL Server Enterprise Manager, I see that my request is waiting for a lock "LCK_M_S" !!!

How I can avoid this kind of situation which seems to me completely abnormal.

I have never been faced with this kind of problem in Oracle.

Thanks for anyone who will help me to resolve this "bug".

View 4 Replies View Related

How To Execute Any Command Without Waiting For Server Answer

Apr 6, 2015

I'm wondering if there is any way for me to execute any type of command (delete, insert, create, alter, etc) on management studio without having to wait the server answer.

On Oracle, I use DBMS_JOB. On SQL Server, do I have to create a SQL SERVER Agent Job? What if I don't have permission to create that kind of jobs?

View 2 Replies View Related

ADS System Timed Out Waiting For Lock Error

Feb 6, 2007

I am attempting to modify the ADS sample to work with my own application and am running into a snag. I have a simple sqlce database that has two tables in it. I have everything working up until the point where I try to "Pull" the data. At this point in time this is what happens.

1.) I successfully Drop Table1 from the SQLCE database and then Pull "Table1" from the desktop database

2.) When attempting to Pull Table2. It runs the DoesTableExist Function, identifies that the table does exist and therefore tries to run the "DropTable" routine before Pulling the desktop Table2 data. As soon as the sqlCmd.ExecuteNonQuery of the DropTable routine runs I get the following error....

"The system timed out waiting for a lock. [ Session id = 1,Thread id = 1318094114,Process id = 1318068802,Table name = Table2,Conflict type = x lock (s blocks),Resource = DDL ][Table2]"

Of Note...I converted the sample to VB.NET so it's possible something didn't convert right? My guess is that it probably has something to with my SQLCE Database but I haven't the slightest clue where to go from there. Anyone have any ideas what might be going on?

Thanks,

Mike

View 4 Replies View Related

Stored Procedure Waiting For CXPACKET And Never Completes.

Jan 28, 2008



Hi!

I hope to get some help with a stored procedure that never stops executing when run from Reporting Services development environment.


The server: SQL Server 2005 SP2 x86, 2 gig ram, 2 processor cores.


The stored procedure I execute is simple, it declares and sets some variables and then a executes a select statement
with 6 joins.
If I execute the stored procedure from Management Studio the query runs and returns about 50 000 rows in ~2 seconds. No problems!


The problems arises when I execute the stored procedure from visual studio (testing my reporting services report). The query will never complete its execution!?


I checked the activity monitor and can verify I have NO processses with any information in the blocked by or blocking column.
The strange thing is I got 3 rows for process id 64, only one row (row 1) printing the executing user.

Row 1: Stutus suspenden, Wait Type CXPACKET
Row 2 and 3 are pending between runnable and suspended and wait typoe pageiolatch_ex and no wait type at all when I refresh. These are probably parallell threads executed in the query.

The strange thing here is that this process never completes and if I do a trace the last command executed is select statement. I don´t understand what the problem is, sql server bug? Parellelism problem (in this case, why?)



Any help is appreciated

Regards
Per

View 8 Replies View Related

Analysis :: Excel Waiting For Query To Be Executed

Jun 2, 2015

My Excel Pivot Table connects to and SSAS 2008 cube. What exactly happens in the back-end during 'Waiting for the query to be executed...'

View 3 Replies View Related

Read Source Data Without Waiting For Possible Locks

Mar 16, 2007

hi!

I wonder if anyone can tell me how we can run select queries in an OLE DB data flow task and tell the target SQL 2000 server it should allow reads at all time. Currently when a lock is on the source table our SSIS package will sit and wait untill the lock on the source table is gone.

Thanks.

Marc

View 3 Replies View Related

Tempdb Log Mode Waiting Active Transaction

May 22, 2007

I am relatively new to SQL Server so excuse my ignorance.



I have noticed in many of my SQL Server 2005 instances that the tempdb database is very often reporting the log mode as waiting active_transaction or waiting checkpoint.



Is this of concern, how can I determine the cause of these waits and how can they be reduced or eliminated ?



View 1 Replies View Related

Is Busy: ...waiting To Complete An Internal Operation

Jul 30, 2007

Frequently, when I'm connecting to my server through SSMS i get "Is Busy: Microsoft SQL Server is waiting to complete an internal operation...."

And it tells me that if I get that message a lot, I should let Microsoft know.

So -- Microsoft, I'm letting you know.

Can anyone tell me why this is happening? I've searched MSDN and the knowledge base...I can only find one reference, and that is to a database diagram issue.

It takes a while to connect when this happens. So far, I haven't found a common denominator. It happens if I'm logged into my server and I try to connect to another instance, and it happens when I'm using my desktop...

View 2 Replies View Related

Vs2005 Helpï¼?ï¼?ï¼?ï¼? Give Me A Hand ! Waiting On Line

Feb 24, 2006

vs2005  helpï¼?ï¼?ï¼?ï¼? a textbox ,a button , a sqldatasource ,a dataview    when click the button  execute sql:  select * from authors where name=''+textbox.text+''
the dataset returned list in  dataview , just like c/s  。 I feel it very hard to
contral sqldatasource,
code is holpful 2!

View 1 Replies View Related

Error 8645---waiting For Memory Resource---urgent Pls

Oct 3, 2000

Hi all,
I am running Sql 7.0 with sp2. I have a memory 4GB. When i am running some batch jobs and replications i am getting following error number:
ERROR NUMBER : 8645
A time out occurred while waiting for memory resources to execute the query. Rerun the query.

Can anyone suggest me how i have to resolve the above error, because i was facing this error very often. Pls suggest me a permanent solution.

Thanks!

--Kavira

View 1 Replies View Related

Agent Starting Error- Waiting To Recover Database

Jun 5, 2002

SQL agent is using NT login with all permission & agent and sqlserver using the same NT username . SA password has not been changed for more than one year.

The SQL Server agent log is showing "waiting to recover database". What could be the reason ?


------------
Ray Miao at 6/5/2002 8:13:38 AM

Double check with sql service manager. Did you change sa pwd?


------------
Shaji at 6/5/2002 4:36:16 AM


Hi ,

Whenever I restart the Server , SQL server service is starting properly, but the agent is showing the green sign in EM ,agent Log also its showing its started. But in EM the jobs are not showing the next run time its showing ( Date and time not available). When I double click the jobs its showing the following error message
Micorsoft SQL - DMO ( ODBC Sql state 42000)
Error 14258 : can not perform this operation while SQL server agent is starting)
FYI :This server contain the databases of SMS too .

Thank you ,
Shaji

View 2 Replies View Related

The Process Is Running And Is Waiting For A Response From One Of The Backend CONNECTI

Sep 22, 2006

We are useing merge replication with MSSQL Server 2000 for our two location, we have more than 6 database in replication on has issue following error and few time not updated data due to this error -

The process is running and is waiting for a response from one of the backend CONNECTION

With regards

R.MAll

View 2 Replies View Related

Waiting For Ole Db Resource And Cannot Kill Process In KILLED/ROLLBACK

Feb 21, 2007

I have a query to refer to the data source in as400 with ODBC 'iSeries Access for Windows ODBC data source' and a linked server with 'oledb for ODBC driver' in SQL2005 (9.0.2047)

Now we got 2 problems,

1. When we refer to the view with openquery e.g select * from openquery (abc, 'select * from dates')

This query continue to run without ending. In Activity monitor, we found that it is waiting for resource ole db

2. Since the process continue to run without ending, I kill the process in activity monitor or by command 'kill'. It shows the status 'KILLED/ROLLBACK' and it returns 'SPID 197: transaction rollback in progress. Estimated rollback completion: 0%. Estimated time remaining: 0 seconds.' in 'kill 197 with STATUSONLY'



In problem 1, I found some ppl encountered the same problem (waiting for resource oledb) with openquery to different data source e.g. vfp, oracle.

In problem 2, we can't restart the sql server for clear the unkillable process

Kindly advise. Thanks in advance.









View 4 Replies View Related

Flag

Jul 3, 2007

hi all!

i have columns.
1. Flag : stores only + / - / <NULL>
2. Number : stores float

how would i select this 2 columns to generate -ve and +ve number depend on the flag? eg :
Flag : -
Number : 4 ====> -4 and +4 if flag=+

when i try to just to combine with -(Flag) for -ve, it gave converting type error even i already CAST it..

tq in advance


~~~Focus on problem, not solution ¯(º_o)/¯ ~~~

View 10 Replies View Related

SQL Server 2008 :: Timeout Occurred While Waiting For Buffer Latch

Mar 31, 2015

I am getting below error while executing any SQL query on database server.

Time-out occurred while waiting for buffer latch type 2 for page (20:17937), database ID 13.

There is currently some space issue on the server, so by any chance this space issue is causing this error?

View 2 Replies View Related

Waiting For User Prompt When Running Report Builder Reports

Jan 2, 2007

I have created some reports using Report Builder however they autorun with default values when selected in report manager, cant think many people would want this to happen. Is there a way of getting rid of the default values in RB or preventing auto execute in RM?

View 1 Replies View Related

Problem With WMI Tasks : Waiting For Files In Parallel In A SSIS Package

May 28, 2007

Hi,



I have a problem with the task "event watcher".



I've made a query like the one in msdn (SELECT * FROM __InstanceCreationEvent WITHIN 10 WHERE Targetinstance ISA "CIM_DirectoryContainsFile" and TargetInstance.GroupComponent= "Win32_Directory.Name="e:\\temp""). I have 20 similar tasks for watching in different folders, but when there are too much tasks in parallel, it doesn't work anymore. I change the numbers of executables to 128 (in the general properties of the package (to test)) but it doesn't seems to work.

I don't understand why it works when there are only 1 or 2 (6 seems to be the maximum) tasks and not if there are more than 6.



Could you help me with this issue?



Configuration : Windows Server 2003, SQL Server 2005, SSIS, Sql Server Agent



Thanks a lot.



Julien.

View 3 Replies View Related

Configured Child Packages - Invoke Without Waiting For Package Completion?

Apr 4, 2007

I want to set multiple child packages running without waiting for them to complete in a parent SSIS package. The catch is that I will be running the same child package in multiple threads with different configuration variables set. I want to drive the config variables for the child packages via a SQL Server table, and start the execution of each child package from within a for-loop container.





Here's what I've tried, and why it didn't work:



1) Execute package task. Didn't work: Waits for the child package to complete before moving to the next step.

2) Kicking off the package via the "sp_start_job" stored proc in the msdn db. Didn't work: Can't specify config variable values.

3) Using the DTExec command line prompt. Didn't work: Same issue as 1). Waits for the package to complete.



Anything I'm missing? Any ideas on how to accomplish this?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved