Showing posts with label updates. Show all posts
Showing posts with label updates. Show all posts

Wednesday, March 21, 2012

Kick off Stored Procedure to run Nightly?

I have a stored procedure that updates a table. I want that table to be updated nightly. I looked into the DTS package but it seems a bit difficult. Is there some other schedule in Enterprise that I can kick off my stored proc without having to build a DTS package?

In DTS, they ask for all of these symbols and want the query, but my code is already in stored proc form.

Help?What you need to do is use SQL Agent. You can schedule the job to run nightly at your prferred time. When you create a new SQL Agent job, you then ad a job step. In this job step you specify the SQL command you want to run. I'm assuming you are using SQL Server 2000 since you refer to DTS. Using SQL Server Enterprise manager, expand the SQL Server you are working with, then expand the 'Managment' tree, then expand 'SQL Agent' tree and right click on Jobs and choose New Job... The tabs here should be self explanatory.|||Ok I see where the job steps are. In the command window, I can type in my proc name sp_DailyOrders and it will know how to kick it off?|||In the step name tab, just give the step a name like 'Execute procedure', make sure the database is the correct database where your procedure lives, and type in exec sp_your_proc_name in the command section. Then move to the Scheduile tab and click the button to add a new schedule and choose the frequency etc that you want the job to tun. If you have operators setup on your server, then you can use the notification tab to have the job email you when it completes or fails.|||Thanks soooooooo much! You are awesome!

Josql

Monday, February 20, 2012

KB921896 updates did not install error code 0x3b0c

Hi,

I tried to instal KB921896 and get: updates did not install error code 0x3b0c.

In one of the summaries, I have

Product Installation Status
Product : Express Database Services Adv (WSUS)
Product Version (Previous): 2047
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR_ADV.EXE
SQL Express Features : SQL_Data_Files,SQL_Engine,SQL_SharedTools
Error Number : 15116
Error Description : Unable to install Windows Installer MSI file

How do I fix this?

thanks

Can you search the log file it supplied and see if you can find the text string "value 3"? The log appears to be located at C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR_ADV.EXE

Thanks,
Sam Lester (MSFT)

|||

Additionally, can you post the entire summary.txt?

Thanks,

Peter

|||

I am getting the same error and here is the summary text:

Time: 04/19/2007 11:59:54.299
KB Number: KB921896
Machine: A001352
OS Version: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Package Language: 1033 (ENU)
Package Platform: x86
Package SP Level: 2
Package Version: 3042
Command-line parameters specified:
/quiet
/allinstances
Cluster Installation: No

**********************************************************************************
Prerequisites Check & Status
SQLSupport: Passed

**********************************************************************************
Products Detected Language Level Patch Level Platform Edition
Express Database Services (SQLEXPRESS) ENU RTM 2005.090.1399.00 x86 EXPRESS

**********************************************************************************
Products Disqualified & Reason
Product Reason

**********************************************************************************
Processes Locking Files
Process Name Feature Type User Name PID

**********************************************************************************
Product Installation Status
Product : Express Database Services (SQLEXPRESS)
Product Version (Previous): 1399
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR.EXE
SQL Express Features : SQL_Data_Files,SQL_Engine,SQL_Replication,SQL_SharedTools
Error Number : 5118
Error Description : Unable to install Windows Installer MSI file
-

**********************************************************************************
Summary
One or more products failed to install, see above for details
Exit Code Returned: 5118

KB921896 updates did not install error code 0x3b0c

Hi,

I tried to instal KB921896 and get: updates did not install error code 0x3b0c.

In one of the summaries, I have

Product Installation Status
Product : Express Database Services Adv (WSUS)
Product Version (Previous): 2047
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR_ADV.EXE
SQL Express Features : SQL_Data_Files,SQL_Engine,SQL_SharedTools
Error Number : 15116
Error Description : Unable to install Windows Installer MSI file

How do I fix this?

thanks

Can you search the log file it supplied and see if you can find the text string "value 3"? The log appears to be located at C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR_ADV.EXE

Thanks,
Sam Lester (MSFT)

|||

Additionally, can you post the entire summary.txt?

Thanks,

Peter

|||

I am getting the same error and here is the summary text:

Time: 04/19/2007 11:59:54.299
KB Number: KB921896
Machine: A001352
OS Version: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Package Language: 1033 (ENU)
Package Platform: x86
Package SP Level: 2
Package Version: 3042
Command-line parameters specified:
/quiet
/allinstances
Cluster Installation: No

**********************************************************************************
Prerequisites Check & Status
SQLSupport: Passed

**********************************************************************************
Products Detected Language Level Patch Level Platform Edition
Express Database Services (SQLEXPRESS) ENU RTM 2005.090.1399.00 x86 EXPRESS

**********************************************************************************
Products Disqualified & Reason
Product Reason

**********************************************************************************
Processes Locking Files
Process Name Feature Type User Name PID

**********************************************************************************
Product Installation Status
Product : Express Database Services (SQLEXPRESS)
Product Version (Previous): 1399
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR.EXE
SQL Express Features : SQL_Data_Files,SQL_Engine,SQL_Replication,SQL_SharedTools
Error Number : 5118
Error Description : Unable to install Windows Installer MSI file
-

**********************************************************************************
Summary
One or more products failed to install, see above for details
Exit Code Returned: 5118

KB921896 updates did not install error code 0x3b0c

Hi,

I tried to instal KB921896 and get: updates did not install error code 0x3b0c.

In one of the summaries, I have

Product Installation Status
Product : Express Database Services Adv (WSUS)
Product Version (Previous): 2047
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR_ADV.EXE
SQL Express Features : SQL_Data_Files,SQL_Engine,SQL_SharedTools
Error Number : 15116
Error Description : Unable to install Windows Installer MSI file

How do I fix this?

thanks

Can you search the log file it supplied and see if you can find the text string "value 3"? The log appears to be located at C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR_ADV.EXE

Thanks,
Sam Lester (MSFT)

|||

Additionally, can you post the entire summary.txt?

Thanks,

Peter

|||

I am getting the same error and here is the summary text:

Time: 04/19/2007 11:59:54.299
KB Number: KB921896
Machine: A001352
OS Version: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Package Language: 1033 (ENU)
Package Platform: x86
Package SP Level: 2
Package Version: 3042
Command-line parameters specified:
/quiet
/allinstances
Cluster Installation: No

**********************************************************************************
Prerequisites Check & Status
SQLSupport: Passed

**********************************************************************************
Products Detected Language Level Patch Level Platform Edition
Express Database Services (SQLEXPRESS) ENU RTM 2005.090.1399.00 x86 EXPRESS

**********************************************************************************
Products Disqualified & Reason
Product Reason

**********************************************************************************
Processes Locking Files
Process Name Feature Type User Name PID

**********************************************************************************
Product Installation Status
Product : Express Database Services (SQLEXPRESS)
Product Version (Previous): 1399
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB921896_SQLEXPR.EXE
SQL Express Features : SQL_Data_Files,SQL_Engine,SQL_Replication,SQL_SharedTools
Error Number : 5118
Error Description : Unable to install Windows Installer MSI file
-

**********************************************************************************
Summary
One or more products failed to install, see above for details
Exit Code Returned: 5118

KB921896 Keeps reinstalling

I have sucessfully applied this patch but Automatic updates then down loads it again and agian...

I have applied it more than once now but it keeps saying that the update is ready to install.

I assume that I do not have to reinstall it again so how can I stop AU downloding it.

I have the very same problem! But sorry, I am also waiting for a solution. In the meantime I ignore AU-Install-prompting.|||I am experiencing the same problem! Have researched this issue on the Internet and have not found any solution to this ;-( I have tried uninstalling SQL Server 2005 as I don't use it but it won't let me uninstall the Express Edition and Automatic Updates keeps applying this KB921896 over and over, etc. For now my only recourse is to turn off Automatic Updates for now and turn it back on in the future to see if this keeps happening or see if someone has posted a solution...|||

Same for me too.

However, the install always fails which you guys didn't mention.

So the full circle is:

1) Update is downloaded and tries to install,

2) The installation fails.

3) It then tries to install again.

It usually tries to install twice, and then asks me to send an error report, which i do. It then returns to step 1) above.

|||yeah, ditto... i am having the same problem- kb921896 keeps failing to install and so keeps telling me i need to install it... i found the log file which says "unable to install windows installer msi file"... but i don't know how to fix this to make it install properly|||I'm getting the same install loop as everyone else. However, I always get a message that the download was successful. Has anyone found a solution to this yet. I logged a ticket with the support group, but have yet to hear back from them.|||

I settled the problem by going to WindowsUpdate, using the user-defined search and deactivating the specific KB921896. It never shows up again.

Good luck!

KB921896 Keeps reinstalling

I have sucessfully applied this patch but Automatic updates then down loads it again and agian...

I have applied it more than once now but it keeps saying that the update is ready to install.

I assume that I do not have to reinstall it again so how can I stop AU downloding it.

I have the very same problem! But sorry, I am also waiting for a solution. In the meantime I ignore AU-Install-prompting.|||I am experiencing the same problem! Have researched this issue on the Internet and have not found any solution to this ;-( I have tried uninstalling SQL Server 2005 as I don't use it but it won't let me uninstall the Express Edition and Automatic Updates keeps applying this KB921896 over and over, etc. For now my only recourse is to turn off Automatic Updates for now and turn it back on in the future to see if this keeps happening or see if someone has posted a solution...|||

Same for me too.

However, the install always fails which you guys didn't mention.

So the full circle is:

1) Update is downloaded and tries to install,

2) The installation fails.

3) It then tries to install again.

It usually tries to install twice, and then asks me to send an error report, which i do. It then returns to step 1) above.

|||yeah, ditto... i am having the same problem- kb921896 keeps failing to install and so keeps telling me i need to install it... i found the log file which says "unable to install windows installer msi file"... but i don't know how to fix this to make it install properly|||I'm getting the same install loop as everyone else. However, I always get a message that the download was successful. Has anyone found a solution to this yet. I logged a ticket with the support group, but have yet to hear back from them.|||

I settled the problem by going to WindowsUpdate, using the user-defined search and deactivating the specific KB921896. It never shows up again.

Good luck!