Showing posts with label save. Show all posts
Showing posts with label save. Show all posts

Friday, March 30, 2012

Runtime data source error

Hello

I have a defined data source to an oracle server. I've alredy intalled oracle client, and setup my data source to save the user and password. I'm using .NET provider/OracleClient DataProvider Connection. When I click on "Test Connection" Button, SSIS reports SUCCESS. In Connection Manager TAB I created on connection called "OracleServer" from my oracle data source, described above.

In my package, I defined a DataReaderSource task, I specified "OracleServer" as a connection to it. I can preview data and view oracle's columns name..., so it make me think that everything is fine. But when It execute the task it FAIL and notify logon error and that password can't be blank.

Please help, I need read from the oracle server!!

Thank you.

This may depend on the connection manager, the provider and your ProtectionLevel in the package. Check these.

One of them means you loose the password. If you don't know, between you clicking Execute in the designer and the package running, it is saved, and loaded into a separate execution host. The host then runs the package and passes back the debug messages to BIDS/VS to update the UI with pretty colours for you. So even though the password is there in your current BIDS/VS session, it is probably being lost on the save, prior to being loaded into the execution host. If you close the package in BIDS, and re-open do you still have the password? I would guess not, and this is the issue you see when trying to execute it.

You can play with the various settings, but my favoured approach is to set the package ProtectionLevel to DontSaveSensitive. This means no passwords are ever saved, but you then use a Configuration to set them. Going forward every time the package is loaded, by an execution host or the designer or other tool, it will read the configuration and apply the password or any other configuration you may have set. Problem solved! it may seem like hard work, but if you plan on deploying packages this is really got to be good practise.

|||

Hello,

When I close BIDS and reopen it, I can still see the password. However let me tell you that I already find the solution.

The problem was that my oracle server is 10.1.x and my oracle's drivers installed on SQL Server machine was 10.2.x. Only I unistalled these drivers and install 10.1 version and everything works!.

thanks for your advices.

Hernan.

Friday, March 23, 2012

running the same report different parameters

Is there a way to run the same report with different parameter values?
I have 159 different parameter values (In other words - 159 reports to
save). I have already written a VB.NET application (with reporting
services web service) to automate the saving of these reports (by way
of pdf files).
I was wondering if there is a *better way* to do this. I thought
subscriptions would be good idea; however, I have 159 different
subscriptions to set up not a good idea! Is there a way to configure
subscriptions under SQL Server (via, jobs), so I would not have to
create a custom application using a webservice.
Thanks in advance!
TravisTry a linked report, and there is an app to help you if you go that way.
http://www.sqldbatips.com/showarticle.asp?ID=73
Reeves
"Travis" wrote:
>
> Is there a way to run the same report with different parameter values?
> I have 159 different parameter values (In other words - 159 reports to
> save). I have already written a VB.NET application (with reporting
> services web service) to automate the saving of these reports (by way
> of pdf files).
> I was wondering if there is a *better way* to do this. I thought
> subscriptions would be good idea; however, I have 159 different
> subscriptions to set up not a good idea! Is there a way to configure
> subscriptions under SQL Server (via, jobs), so I would not have to
> create a custom application using a webservice.
> Thanks in advance!
> Travis
>|||I can't help you with your issue, but maybe you can help me with mine. Im
trying to get my reports to PDF via a VB.NET application, and I'm having no
luck. If you can help maybe contact me at specialk_ca@.hotmail.com
Michael C
"Travis" wrote:
>
> Is there a way to run the same report with different parameter values?
> I have 159 different parameter values (In other words - 159 reports to
> save). I have already written a VB.NET application (with reporting
> services web service) to automate the saving of these reports (by way
> of pdf files).
> I was wondering if there is a *better way* to do this. I thought
> subscriptions would be good idea; however, I have 159 different
> subscriptions to set up not a good idea! Is there a way to configure
> subscriptions under SQL Server (via, jobs), so I would not have to
> create a custom application using a webservice.
> Thanks in advance!
> Travis
>|||You can kick off subscriptions via sql server agent. (MS would probably not
recommend or support you if you did it). I have done this in the past to
overcome some of Reporting Service's shortcomings regarding executing
reports based on a fiscal calendar. If you're good at SQL scripting you
shouldn't have much trouble. The downside of doing it this way is that RS
creates new GUIDS for subscriptions anytime that they are updated. The sql
job's stored proc call is going to reference one of the subscription guids
and of course if you have alot of people tinkering with your subscriptions
you could have issues with reports not firing off because the guid
referenced in your job changes. In hindsight I think I could have written
the sql job to dynamically obtain the guid's it was about to execute but
I've been away from RS for almost a year and I don't remember the specifics
of it. Look on your report serverdb for the available stored procs. I
don't think the name of the execute one was too obfuscated. Good luck!
-Michael Abair
"Travis" <tswill54@.bellsouth.net> wrote in message
news:1187734326.317571.264180@.19g2000hsx.googlegroups.com...
>
> Is there a way to run the same report with different parameter values?
> I have 159 different parameter values (In other words - 159 reports to
> save). I have already written a VB.NET application (with reporting
> services web service) to automate the saving of these reports (by way
> of pdf files).
> I was wondering if there is a *better way* to do this. I thought
> subscriptions would be good idea; however, I have 159 different
> subscriptions to set up not a good idea! Is there a way to configure
> subscriptions under SQL Server (via, jobs), so I would not have to
> create a custom application using a webservice.
> Thanks in advance!
> Travis
>|||I read that a little too fast and my previous answer was way off.
I would think setting up a subscription would be the best, as stated in the
previous reply. Setting up 159 reports will be fun. If you want to run it
through your vb.net app you can path out to it, but then I'm not sure if you
can force the save at that point, but you might want to look at calling the
service directly from your app and then save the stream. Not sure on the
total details.
Sorry about the first post.
Reeves
"Travis" wrote:
>
> Is there a way to run the same report with different parameter values?
> I have 159 different parameter values (In other words - 159 reports to
> save). I have already written a VB.NET application (with reporting
> services web service) to automate the saving of these reports (by way
> of pdf files).
> I was wondering if there is a *better way* to do this. I thought
> subscriptions would be good idea; however, I have 159 different
> subscriptions to set up not a good idea! Is there a way to configure
> subscriptions under SQL Server (via, jobs), so I would not have to
> create a custom application using a webservice.
> Thanks in advance!
> Travis
>|||I think you can use Data Driven Subscriptions to fullfill your task.
Refer to steps involved in it from
http://msdn2.microsoft.com/en-us/library/aa225509(SQL.80).aspx
Thanks
Subhash

Running the related program on the save server as the database

Hello Community
I have a question relating to the recommended setup of the sql server. We
use sage with sql backend, both running on the same server. we are
experiencing major performance degradation over the WAN but not on the LAN,
the sage support are blaming the network, i am blaming the server, as when we
reboot the server the performance picks up again over a period of 10 days the
performance dies.
I am asking of there are known issues running the program on the same server
as the database.
Regards
Andy
Andy
In general it is recomended to have a server dedicated to SQL Server only.
"Andy" <Andy@.discussions.microsoft.com> wrote in message
news:71F12DDD-D3D4-4274-AAFB-0AC850B4CC24@.microsoft.com...
> Hello Community
> I have a question relating to the recommended setup of the sql server. We
> use sage with sql backend, both running on the same server. we are
> experiencing major performance degradation over the WAN but not on the
> LAN,
> the sage support are blaming the network, i am blaming the server, as when
> we
> reboot the server the performance picks up again over a period of 10 days
> the
> performance dies.
> I am asking of there are known issues running the program on the same
> server
> as the database.
> Regards
> Andy
|||If you are seeing poor performance over the WAN at the same time the LAN is
performing adequately then Sage is probably correct that you have a network
issue.
As far as running SQL and the application on the same server... I know the
*recommended* practice is to dedicate a server to SQL, but realistically
that costs $$$. As long as the two applications are not bumping into each
other and causing memory, disk, or processor contention then they should be
ok on the same server. The only way to tell is to fire up perfmon and let
it run for a while and see if your server is running short on anything.
"Andy" <Andy@.discussions.microsoft.com> wrote in message
news:71F12DDD-D3D4-4274-AAFB-0AC850B4CC24@.microsoft.com...
> Hello Community
> I have a question relating to the recommended setup of the sql server. We
> use sage with sql backend, both running on the same server. we are
> experiencing major performance degradation over the WAN but not on the
> LAN,
> the sage support are blaming the network, i am blaming the server, as when
> we
> reboot the server the performance picks up again over a period of 10 days
> the
> performance dies.
> I am asking of there are known issues running the program on the same
> server
> as the database.
> Regards
> Andy
sql

Running the related program on the save server as the database

Hello Community
I have a question relating to the recommended setup of the sql server. We
use sage with sql backend, both running on the same server. we are
experiencing major performance degradation over the WAN but not on the LAN,
the sage support are blaming the network, i am blaming the server, as when we
reboot the server the performance picks up again over a period of 10 days the
performance dies.
I am asking of there are known issues running the program on the same server
as the database.
Regards
AndyAndy
In general it is recomended to have a server dedicated to SQL Server only.
"Andy" <Andy@.discussions.microsoft.com> wrote in message
news:71F12DDD-D3D4-4274-AAFB-0AC850B4CC24@.microsoft.com...
> Hello Community
> I have a question relating to the recommended setup of the sql server. We
> use sage with sql backend, both running on the same server. we are
> experiencing major performance degradation over the WAN but not on the
> LAN,
> the sage support are blaming the network, i am blaming the server, as when
> we
> reboot the server the performance picks up again over a period of 10 days
> the
> performance dies.
> I am asking of there are known issues running the program on the same
> server
> as the database.
> Regards
> Andy|||If you are seeing poor performance over the WAN at the same time the LAN is
performing adequately then Sage is probably correct that you have a network
issue.
As far as running SQL and the application on the same server... I know the
*recommended* practice is to dedicate a server to SQL, but realistically
that costs $$$. As long as the two applications are not bumping into each
other and causing memory, disk, or processor contention then they should be
ok on the same server. The only way to tell is to fire up perfmon and let
it run for a while and see if your server is running short on anything.
"Andy" <Andy@.discussions.microsoft.com> wrote in message
news:71F12DDD-D3D4-4274-AAFB-0AC850B4CC24@.microsoft.com...
> Hello Community
> I have a question relating to the recommended setup of the sql server. We
> use sage with sql backend, both running on the same server. we are
> experiencing major performance degradation over the WAN but not on the
> LAN,
> the sage support are blaming the network, i am blaming the server, as when
> we
> reboot the server the performance picks up again over a period of 10 days
> the
> performance dies.
> I am asking of there are known issues running the program on the same
> server
> as the database.
> Regards
> Andy

Running the related program on the save server as the database

Hello Community
I have a question relating to the recommended setup of the sql server. We
use sage with sql backend, both running on the same server. we are
experiencing major performance degradation over the WAN but not on the LAN,
the sage support are blaming the network, i am blaming the server, as when w
e
reboot the server the performance picks up again over a period of 10 days th
e
performance dies.
I am asking of there are known issues running the program on the same server
as the database.
Regards
AndyAndy
In general it is recomended to have a server dedicated to SQL Server only.
"Andy" <Andy@.discussions.microsoft.com> wrote in message
news:71F12DDD-D3D4-4274-AAFB-0AC850B4CC24@.microsoft.com...
> Hello Community
> I have a question relating to the recommended setup of the sql server. We
> use sage with sql backend, both running on the same server. we are
> experiencing major performance degradation over the WAN but not on the
> LAN,
> the sage support are blaming the network, i am blaming the server, as when
> we
> reboot the server the performance picks up again over a period of 10 days
> the
> performance dies.
> I am asking of there are known issues running the program on the same
> server
> as the database.
> Regards
> Andy|||If you are seeing poor performance over the WAN at the same time the LAN is
performing adequately then Sage is probably correct that you have a network
issue.
As far as running SQL and the application on the same server... I know the
*recommended* practice is to dedicate a server to SQL, but realistically
that costs $$$. As long as the two applications are not bumping into each
other and causing memory, disk, or processor contention then they should be
ok on the same server. The only way to tell is to fire up perfmon and let
it run for a while and see if your server is running short on anything.
"Andy" <Andy@.discussions.microsoft.com> wrote in message
news:71F12DDD-D3D4-4274-AAFB-0AC850B4CC24@.microsoft.com...
> Hello Community
> I have a question relating to the recommended setup of the sql server. We
> use sage with sql backend, both running on the same server. we are
> experiencing major performance degradation over the WAN but not on the
> LAN,
> the sage support are blaming the network, i am blaming the server, as when
> we
> reboot the server the performance picks up again over a period of 10 days
> the
> performance dies.
> I am asking of there are known issues running the program on the same
> server
> as the database.
> Regards
> Andy