Wednesday, March 28, 2012
Scheduling DTS package that executes other DTS packages
We have a particular process in place that uses many different DTS packages that have to be scheduled. We can successfully run a DTS package from EM. Furthermore, we can successfully schedule a DTS package and run it successfully from SQLServerAgent. And finally... I can create a DTS package that executes other DTS packages and execute it successfully from EM.
Our problem is when I attempt to schedule a DTS package that executes other packages I get an error that says:
Error string: Invalid class string Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 713. Process Exit Code 1. The step failed.
I've seen all over the place issues regarding the inability to schedule a DTS package... but we are able to do this. This is just limited to those scheduled packages that have an "Execute Package Task" in them.
Thanks in advance...I dont know wich version of server you got..this ansver goes for 7.0 (might also work on 2000).
You can add an "Execute process task" in the package that should execute other packages (one for each package).
It should run DTSrun.exe, the parameters you need is /S ServerName /U Login /P Password /N PackageName
Works for me!|||I am having the same issue as we speak. It seems that I have the SQL 2000 client tools installed on my WS, but the server is running SQL 7 with SQL 7 client tools. There are some new tasks shipped with SQL 2000. The one I am having the issue with is dynamic properties task. When I open the package on SQL 7, I get an error message that says "Invalid Class String", this is caused becauase the server does not have the same tasks or clients tools installed.
Microsofts workaround is to install the SQL 2000 client tools on the server.
I am looking for a workaround without installing SQL 2000 tools in production.
Any Thoughts?
SHICKS
Monday, March 26, 2012
Scheduling does not work!
On one of my RS Servers the scheduling does not work. That is the "schedule"
is created. It even exists as a job in SQL Server that runs however the
actual report is not run. In the log file I have the following entries:
ReportingServicesService!library!10ac!11/08/2004-18:04:22:: e ERROR:
Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
ion: The report server cannot decrypt the symmetric key used to access
sensitive or encrypted data in a report server database. You must either
restore a backup key or delete all encrypted content and then restart the
service. Check the documentation for more information., ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
ion: The report server cannot decrypt the symmetric key used to access
sensitive or encrypted data in a report server database. You must either
restore a backup key or delete all encrypted content and then restart the
service. Check the documentation for more information. -->
System.Runtime.InteropServices.COMException (0x80090005): Bad Data.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
errorCode, IntPtr errorInfo)
at RSManagedCrypto.RSCrypto.ImportSymmetricKey(Byte[] pSymKeyBlob)
at
Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
Does anyone have any ideas as how to fix this problem?
(I have deleted all schedules and having the server rebooted tonight but
dont know if that will fix the problem).
Thanks.
Regards
JonasDid you recently change the user that the reportserver service runs under?
Did you back up your symmetric key?
If you changed the user but did not back up the symmetric key, then change
the user back to the original and use rskeymgmt to back up the symmetric
key. Change the user again to what you want and user rskeymgmt to insert
the symmetric key.
If you have already saved your symmetric key then just insert it using
rskeymgmt.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jonas Larsen" <Jonas.Larsen@.Alcan.com> wrote in message
news:ezvNqMBgEHA.2536@.TK2MSFTNGP09.phx.gbl...
> Hi Guys
> On one of my RS Servers the scheduling does not work. That is the
"schedule"
> is created. It even exists as a job in SQL Server that runs however the
> actual report is not run. In the log file I have the following entries:
> ReportingServicesService!library!10ac!11/08/2004-18:04:22:: e ERROR:
> Throwing
>
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
> ion: The report server cannot decrypt the symmetric key used to access
> sensitive or encrypted data in a report server database. You must either
> restore a backup key or delete all encrypted content and then restart the
> service. Check the documentation for more information., ;
> Info:
>
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
> ion: The report server cannot decrypt the symmetric key used to access
> sensitive or encrypted data in a report server database. You must either
> restore a backup key or delete all encrypted content and then restart the
> service. Check the documentation for more information. -->
> System.Runtime.InteropServices.COMException (0x80090005): Bad Data.
> at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
> errorCode, IntPtr errorInfo)
> at RSManagedCrypto.RSCrypto.ImportSymmetricKey(Byte[] pSymKeyBlob)
> at
> Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
> Does anyone have any ideas as how to fix this problem?
> (I have deleted all schedules and having the server rebooted tonight but
> dont know if that will fix the problem).
> Thanks.
> Regards
> Jonas
>|||Thanks. Problem solved.
Next problem. Due to this issue I now have 2 jobs on my SQLServer created by
Reporting Services that does not show in RS. Can I just delete these jobs
or?
Regards
Jonas
"Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
news:%23fN5hFJgEHA.536@.TK2MSFTNGP11.phx.gbl...
> Did you recently change the user that the reportserver service runs under?
> Did you back up your symmetric key?
> If you changed the user but did not back up the symmetric key, then change
> the user back to the original and use rskeymgmt to back up the symmetric
> key. Change the user again to what you want and user rskeymgmt to insert
> the symmetric key.
> If you have already saved your symmetric key then just insert it using
> rskeymgmt.
> --
> -Daniel
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Jonas Larsen" <Jonas.Larsen@.Alcan.com> wrote in message
> news:ezvNqMBgEHA.2536@.TK2MSFTNGP09.phx.gbl...
> > Hi Guys
> >
> > On one of my RS Servers the scheduling does not work. That is the
> "schedule"
> > is created. It even exists as a job in SQL Server that runs however the
> > actual report is not run. In the log file I have the following entries:
> >
> > ReportingServicesService!library!10ac!11/08/2004-18:04:22:: e ERROR:
> > Throwing
> >
>
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
> > ion: The report server cannot decrypt the symmetric key used to access
> > sensitive or encrypted data in a report server database. You must either
> > restore a backup key or delete all encrypted content and then restart
the
> > service. Check the documentation for more information., ;
> > Info:
> >
>
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
> > ion: The report server cannot decrypt the symmetric key used to access
> > sensitive or encrypted data in a report server database. You must either
> > restore a backup key or delete all encrypted content and then restart
the
> > service. Check the documentation for more information. -->
> > System.Runtime.InteropServices.COMException (0x80090005): Bad Data.
> > at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
> > errorCode, IntPtr errorInfo)
> > at RSManagedCrypto.RSCrypto.ImportSymmetricKey(Byte[] pSymKeyBlob)
> > at
> > Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
> >
> > Does anyone have any ideas as how to fix this problem?
> > (I have deleted all schedules and having the server rebooted tonight but
> > dont know if that will fix the problem).
> >
> > Thanks.
> >
> > Regards
> > Jonas
> >
> >
>|||Yes, RS will recreate jobs if they are deleted from SQL Agent and RS still
needs them. By default it will check this every 12 hours. You can force
this to happen by recycling the ReportServer service.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jonas Larsen" <Jonas.Larsen@.Alcan.com> wrote in message
news:OG$#KRMgEHA.4024@.TK2MSFTNGP10.phx.gbl...
> Thanks. Problem solved.
> Next problem. Due to this issue I now have 2 jobs on my SQLServer created
by
> Reporting Services that does not show in RS. Can I just delete these jobs
> or?
> Regards
> Jonas
> "Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
> news:%23fN5hFJgEHA.536@.TK2MSFTNGP11.phx.gbl...
> > Did you recently change the user that the reportserver service runs
under?
> > Did you back up your symmetric key?
> >
> > If you changed the user but did not back up the symmetric key, then
change
> > the user back to the original and use rskeymgmt to back up the symmetric
> > key. Change the user again to what you want and user rskeymgmt to
insert
> > the symmetric key.
> >
> > If you have already saved your symmetric key then just insert it using
> > rskeymgmt.
> >
> > --
> > -Daniel
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >
> >
> > "Jonas Larsen" <Jonas.Larsen@.Alcan.com> wrote in message
> > news:ezvNqMBgEHA.2536@.TK2MSFTNGP09.phx.gbl...
> > > Hi Guys
> > >
> > > On one of my RS Servers the scheduling does not work. That is the
> > "schedule"
> > > is created. It even exists as a job in SQL Server that runs however
the
> > > actual report is not run. In the log file I have the following
entries:
> > >
> > > ReportingServicesService!library!10ac!11/08/2004-18:04:22:: e ERROR:
> > > Throwing
> > >
> >
>
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
> > > ion: The report server cannot decrypt the symmetric key used to access
> > > sensitive or encrypted data in a report server database. You must
either
> > > restore a backup key or delete all encrypted content and then restart
> the
> > > service. Check the documentation for more information., ;
> > > Info:
> > >
> >
>
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerDisabledExcept
> > > ion: The report server cannot decrypt the symmetric key used to access
> > > sensitive or encrypted data in a report server database. You must
either
> > > restore a backup key or delete all encrypted content and then restart
> the
> > > service. Check the documentation for more information. -->
> > > System.Runtime.InteropServices.COMException (0x80090005): Bad Data.
> > > at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32
> > > errorCode, IntPtr errorInfo)
> > > at RSManagedCrypto.RSCrypto.ImportSymmetricKey(Byte[] pSymKeyBlob)
> > > at
> > >
Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
> > >
> > > Does anyone have any ideas as how to fix this problem?
> > > (I have deleted all schedules and having the server rebooted tonight
but
> > > dont know if that will fix the problem).
> > >
> > > Thanks.
> > >
> > > Regards
> > > Jonas
> > >
> > >
> >
> >
>
Friday, March 9, 2012
Schedule to send report on 1 and 15 every month
I can't seem to set up a schedule that send a report on the 1st and 15
in every month.
Can u guys help me out?
Best regards
Kennethon the schedule menu of subscription: set the option to month and on the
monthly schedule check all months and set calendar days to 1,15
Also, after clicking on OK, make sure that you also click on OK on the
subscription screen to save the entire subscription, otherwise all is lost
"Dr-kermit" wrote:
> Hi there,
> I can't seem to set up a schedule that send a report on the 1st and 15
> in every month.
> Can u guys help me out?
> Best regards
> Kenneth
>|||Hi there William,
Thank you for the fast reply,
I tried the solution you r drafted for me, but it didn't work. So i
tried 1;15 instead and that did the job.
Best regards Kenneth Nielsen
William wrote:
> on the schedule menu of subscription: set the option to month and on the
> monthly schedule check all months and set calendar days to 1,15
> Also, after clicking on OK, make sure that you also click on OK on the
> subscription screen to save the entire subscription, otherwise all is lost
> "Dr-kermit" wrote:
> > Hi there,
> >
> > I can't seem to set up a schedule that send a report on the 1st and 15
> > in every month.
> >
> > Can u guys help me out?
> >
> > Best regards
> >
> > Kenneth
> >
> >
Schedule SQL job from .net 2005
Hey guys I have a job which runs an SSIS package. But as this package needs to run everytime a file is uploaded, I was wondering if sql jobs can help in here...
Does anyone know how can i schedule this job which executes an ssis package frm .net 2005?
Or
Can i write a custom schedule for a job which will check if certain value has changed in the table if yes run the job if no just wait
or do u guys have any suggestions or pointers...
Regards
You could use notification services to file when the upload completes, then have a job start your SSIS package when the message arives in the queue.
Schedule SQL job from .net 2005
Hey guys I have a job which runs an SSIS package. But as this package needs to run everytime a file is uploaded, I was wondering if sql jobs can help in here...
Does anyone know how can i schedule this job which executes an ssis package frm .net 2005?
Or
Can i write a custom schedule for a job which will check if certain value has changed in the table if yes run the job if no just wait
or do u guys have any suggestions or pointers...
Regards
You could use notification services to file when the upload completes, then have a job start your SSIS package when the message arives in the queue.