Showing posts with label via. Show all posts
Showing posts with label via. Show all posts

Wednesday, March 28, 2012

rsDataExtensionNotFound for using XML

Hi all,

I am using SQL Server 2005 reporting service and I am attempting to create a report via xml returned from a web service. Everything works fine while I am in the report designer of visual studio 2005.

However, when I attempt to deploy the report to the report server, it will complain that the xml data extension is not registered with the report server, giving me a rsDataExtensionNotFound. A check on the report server config file does show the xml data extension with all the microsoft namespaces. I had thought that Reporting Services in SQL Server 2005 does natively support xml data source.

Has anyone encountered a similar problem? Does anyone have any suggestions?

Does it matter that the SQL Server 2005 that I have is the workgroup edition ?

Thanks

HI,krayek:

As far as i know ,XML data sources are not supported in SQL Express:

http://msdn2.microsoft.com/en-us/library/ms365166.aspx

(See "Unsupported Features" section.

If i misunderstand you about your question, please feel free to correct me and i will try to help you with more information.

I hope the above information will be helpful. If you have any issues or concerns, please let me know. It's my pleasure to be of assistance

|||

Thanks for the reply.

However, my SQL version is SQL Server 2005 workgroup edition.


So, I am wondering if this SQL Server 2005 workgroup edition also does not support XML data extension ?

Regards,

David K

|||

HI, David K

No, SQL Server 2005 workgroup edition did not support non relational data source.

Features/Reporting Services Enhancements

EE (32-bit) DE (32-bit) EE (64-bit) DE (64-bit)SE (32-bit) SE (64-bit)WG (32-bit)SSE (32-bit)SSEA (32-bit)Support for remote and nonrelational data sourcesYesYesNoNoNo

Please refer this article: http://msdn2.microsoft.com/en-us/library/ms143761.aspx

|||

Hi Rex,

Thanks for that info. Darn, looks like I need to get the standard edition then.. =)

Thanks again for the help, appreciate it.

Regards,

David K

|||

You are welcome,David.

It's my pleasure!

Monday, March 26, 2012

rsactivate issues

After installation of ReportingService (dev edition), I get a note that the
server is not activated. I try to activate via command below and get an
exception about unable to connect to the database. I've attached the log
file as well.
One of the messages said to look for MDAC version, this machine has SQL 2000
SP3 installed so using cc.exe came up with 2.8 MDAC version. Wondering what
else I can do. This is one of several RS installations but none of the
other installations have had this error. Any clue?
C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportServer>rsactivate -c "C:\Program Files\Microsoft SQL
Server\MSSQL\Reporting Services\ReportServer\RSReportServer.config" -t
Failure starting the web service:
System.Exception: Unable to connect to the database (-2147159551)
0x800700
7f --> System.Exception: 0x8007007f
-- End of inner exception stack trace --
at
Microsoft.ReportingServices.RSActivate.RSActivate.RpcActivateService(Int32
clientType)
at Microsoft.ReportingServices.RSActivate.RSActivate.InstanceMain()
at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
Bas
eCmdLine instance)
Log File______________________
at
Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPageCon
tent()
at
Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()
w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Initializing crypto as user:
NT AUTHORITY\NETWORK SERVICE
w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Exporting public key
w3wp!crypto!948!10/05/2004-19:23:43:: w WARN: Web Service not activated
w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Client is a local admin.
Activating web service via RPC.
w3wp!library!948!10/05/2004-19:23:43:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
ception: The report server installation is not initialized. Check the
documentation for more information., ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
ception: The report server installation is not initialized. Check the
documentation for more information. -->
System.Runtime.InteropServices.COMException (0x80004005): -2147159551 -->
System.Exception: 0x8007007f
at RSRemoteRpcClient.RemoteLogon.ThrowFriendlyRpcError(Int32 mainError,
Int32 extendedError)
at RSRemoteRpcClient.RemoteLogon.ActivateService(String instanceID, Int32
clientType)
at
Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
-- End of inner exception stack trace --
w3wp!webserver!948!10/05/2004-19:23:43:: e ERROR: Reporting Services error
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
ception: The report server installation is not initialized. Check the
documentation for more information. -->
System.Runtime.InteropServices.COMException (0x80004005): -2147159551 -->
System.Exception: 0x8007007f
at RSRemoteRpcClient.RemoteLogon.ThrowFriendlyRpcError(Int32 mainError,
Int32 extendedError)
at RSRemoteRpcClient.RemoteLogon.ActivateService(String instanceID, Int32
clientType)
at
Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
-- End of inner exception stack trace --I am having the exact same error. Any help would be much appreciated.
In case it helps... my server is Windows 2k Server SP4, MDAC 2.8, SQL 2000 SP3
"Sam" wrote:
>
> After installation of ReportingService (dev edition), I get a note that the
> server is not activated. I try to activate via command below and get an
> exception about unable to connect to the database. I've attached the log
> file as well.
> One of the messages said to look for MDAC version, this machine has SQL 2000
> SP3 installed so using cc.exe came up with 2.8 MDAC version. Wondering what
> else I can do. This is one of several RS installations but none of the
> other installations have had this error. Any clue?
>
> C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\ReportServer>rsactivate -c "C:\Program Files\Microsoft SQL
> Server\MSSQL\Reporting Services\ReportServer\RSReportServer.config" -t
> Failure starting the web service:
> System.Exception: Unable to connect to the database (-2147159551)
> 0x800700
> 7f --> System.Exception: 0x8007007f
> -- End of inner exception stack trace --
> at
> Microsoft.ReportingServices.RSActivate.RSActivate.RpcActivateService(Int32
> clientType)
> at Microsoft.ReportingServices.RSActivate.RSActivate.InstanceMain()
> at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
> Bas
> eCmdLine instance)
>
> Log File______________________
>
> at
> Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPageCon
> tent()
> at
> Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()
> w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Initializing crypto as user:
> NT AUTHORITY\NETWORK SERVICE
> w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Exporting public key
> w3wp!crypto!948!10/05/2004-19:23:43:: w WARN: Web Service not activated
> w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Client is a local admin.
> Activating web service via RPC.
> w3wp!library!948!10/05/2004-19:23:43:: e ERROR: Throwing
> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
> ception: The report server installation is not initialized. Check the
> documentation for more information., ;
> Info:
> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
> ception: The report server installation is not initialized. Check the
> documentation for more information. -->
> System.Runtime.InteropServices.COMException (0x80004005): -2147159551 -->
> System.Exception: 0x8007007f
> at RSRemoteRpcClient.RemoteLogon.ThrowFriendlyRpcError(Int32 mainError,
> Int32 extendedError)
> at RSRemoteRpcClient.RemoteLogon.ActivateService(String instanceID, Int32
> clientType)
> at
> Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
> -- End of inner exception stack trace --
> w3wp!webserver!948!10/05/2004-19:23:43:: e ERROR: Reporting Services error
> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
> ception: The report server installation is not initialized. Check the
> documentation for more information. -->
> System.Runtime.InteropServices.COMException (0x80004005): -2147159551 -->
> System.Exception: 0x8007007f
> at RSRemoteRpcClient.RemoteLogon.ThrowFriendlyRpcError(Int32 mainError,
> Int32 extendedError)
> at RSRemoteRpcClient.RemoteLogon.ActivateService(String instanceID, Int32
> clientType)
> at
> Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
> -- End of inner exception stack trace --
>
>|||I am having the exact same error. Any help would be much appreciated.
In case it helps... my server is Windows 2k Server SP4, MDAC 2.8, SQL 2000
SP3, and Reporting Services SP1
"Sam" wrote:
>
> After installation of ReportingService (dev edition), I get a note that the
> server is not activated. I try to activate via command below and get an
> exception about unable to connect to the database. I've attached the log
> file as well.
> One of the messages said to look for MDAC version, this machine has SQL 2000
> SP3 installed so using cc.exe came up with 2.8 MDAC version. Wondering what
> else I can do. This is one of several RS installations but none of the
> other installations have had this error. Any clue?
>
> C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\ReportServer>rsactivate -c "C:\Program Files\Microsoft SQL
> Server\MSSQL\Reporting Services\ReportServer\RSReportServer.config" -t
> Failure starting the web service:
> System.Exception: Unable to connect to the database (-2147159551)
> 0x800700
> 7f --> System.Exception: 0x8007007f
> -- End of inner exception stack trace --
> at
> Microsoft.ReportingServices.RSActivate.RSActivate.RpcActivateService(Int32
> clientType)
> at Microsoft.ReportingServices.RSActivate.RSActivate.InstanceMain()
> at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
> Bas
> eCmdLine instance)
>
> Log File______________________
>
> at
> Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPageCon
> tent()
> at
> Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()
> w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Initializing crypto as user:
> NT AUTHORITY\NETWORK SERVICE
> w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Exporting public key
> w3wp!crypto!948!10/05/2004-19:23:43:: w WARN: Web Service not activated
> w3wp!crypto!948!10/05/2004-19:23:43:: i INFO: Client is a local admin.
> Activating web service via RPC.
> w3wp!library!948!10/05/2004-19:23:43:: e ERROR: Throwing
> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
> ception: The report server installation is not initialized. Check the
> documentation for more information., ;
> Info:
> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
> ception: The report server installation is not initialized. Check the
> documentation for more information. -->
> System.Runtime.InteropServices.COMException (0x80004005): -2147159551 -->
> System.Exception: 0x8007007f
> at RSRemoteRpcClient.RemoteLogon.ThrowFriendlyRpcError(Int32 mainError,
> Int32 extendedError)
> at RSRemoteRpcClient.RemoteLogon.ActivateService(String instanceID, Int32
> clientType)
> at
> Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
> -- End of inner exception stack trace --
> w3wp!webserver!948!10/05/2004-19:23:43:: e ERROR: Reporting Services error
> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedEx
> ception: The report server installation is not initialized. Check the
> documentation for more information. -->
> System.Runtime.InteropServices.COMException (0x80004005): -2147159551 -->
> System.Exception: 0x8007007f
> at RSRemoteRpcClient.RemoteLogon.ThrowFriendlyRpcError(Int32 mainError,
> Int32 extendedError)
> at RSRemoteRpcClient.RemoteLogon.ActivateService(String instanceID, Int32
> clientType)
> at
> Microsoft.ReportingServices.Library.ConnectionManager.GetEncryptionKey()
> -- End of inner exception stack trace --
>
>sql

rsAccesDenied

If the user connect to the report directy via http://localhost/reports, there
is no problem but if the user connects via an aspx called parameter.aspx
the user gets the following error message. If I make this user a local admin
there is no problem. the aspx page works fine, no problem, the report will
show on the aspx page.
Another strange thing, i've got another user for which it is working allright.
But even when i assign User02 the sae permissions it won't show the report
but it wil show the error message below
Server Error in '/MyAppDir' Application.
----
The permissions granted to user 'MyDomain\User02' are insufficient for
performing this operation. (rsAccessDenied)
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: Microsoft.Reporting.WebForms.ReportServerException: The
permissions granted to user 'MyDomain\User02' are insufficient for performing
this operation. (rsAccessDenied)
Source Error:
Line 120: Dim parameters() As ReportParameter = {reportPar3,
reportPar2}
Line 121:
Line 122: ReportViewer1.ServerReport.SetParameters(parameters)
Line 123: ReportViewer1.ServerReport.Refresh()
Line 124:
Source File: E:\website\MyAppDir\SubDir\Parameter.aspx.vb Line: 122
Stack Trace:
[ReportServerException: The permissions granted to user 'MyDomain\User02'
are insufficient for performing this operation. (rsAccessDenied)]
Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +366
Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1
parameters) +83
Parameter.Button1_Click(Object sender, EventArgs e) in
E:\website\MyAppDir\SubDir\Parameter.aspx.vb:122
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
+107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102And the question is, how to resolve this problem of not displaying the report
?

Wednesday, March 21, 2012

RS2005 Access Error Using Report Manager Via DNS

PROBLEM:
Created a DNS entry (reportsdev) to access reporting services.
I can NOT ACCESS the report manager and receive an error
http://reportsdev/Reports$SQLServer2005/Pages/Folder.aspx
I CAN ACCESS the report server with out a problem via IE and VS2005.
http://reportsdev/ReportServer$SQLServer2005
ERROR:
â'The attempt to connect to the report server failed. Check your connection
information and that the report server is a compatible version.â'
This is a reporting services error with the reporting services UI wrapped
around the error and the link to Home. Clicking the link to Home generates
the same error.
NOTES & Tentative Solution:
I CAN ACCESS the report manager by configuring the report site with a port
rather then host header.
http://dc13:900/Reports$SQLServer2005/Pages/Folder.aspx
If I restart IIS and then access the report manager using the DNS an error
is logged in the Application Log â'Report Manager cannot connect to the
ReportServer service.â'
Configuration:
Windows 2000, Side by side install of SQL 2000 and SQL 2005 (New clean
install of 2005). RS2000 was on the machine until a restore but after the
restore was not reinstalled the RS2000 databases have been removed from
SQL2000 after the restore.
Any help is appreciated,
TedTed,
Did you update the entry in RSWebApplication.config to match your
report server DNS entry?
Andy Potter|||the same problem persists to me although i have modified the entry in
RSWebApplication.config
when I first installed the reporting services 2005, I wanted to use as
server the older one (sql + reporting 2000). I couldn't figure out what's the
problem and I thought that may be an incompatibility beteen sql 200 and
RS2005 and RS 2000 all toghther on the same server. After this I have
installed a new instance of SQL 2005 and the RS 2005...but I had the same
error (The attempt to connect to the report server failed. Check your
connection
information and that the report server is a compatible version)
...until I droped the ideea of using host header (right now I use a simple
asp page to redirect...but this is not the final solution that I want).
still, I want to use a host header...anyone figure it out how to?
"Potter" wrote:
> Ted,
> Did you update the entry in RSWebApplication.config to match your
> report server DNS entry?
> Andy Potter
>|||I am havin the same problem!
I am having problems trying to deploy a report from VS2005 to SSRS 2005. We
are using Windows Server 2003 SP1. I get the following error:
Microsoft Report Designer
A connection could not be made to the report server
Check your connection information and that the report server is a compatible
version.
nickpup
"tbarton" wrote:
> PROBLEM:
> Created a DNS entry (reportsdev) to access reporting services.
> I can NOT ACCESS the report manager and receive an error
> http://reportsdev/Reports$SQLServer2005/Pages/Folder.aspx
> I CAN ACCESS the report server with out a problem via IE and VS2005.
> http://reportsdev/ReportServer$SQLServer2005
>
> ERROR:
> â'The attempt to connect to the report server failed. Check your connection
> information and that the report server is a compatible version.â'
> This is a reporting services error with the reporting services UI wrapped
> around the error and the link to Home. Clicking the link to Home generates
> the same error.
>
> NOTES & Tentative Solution:
> I CAN ACCESS the report manager by configuring the report site with a port
> rather then host header.
> http://dc13:900/Reports$SQLServer2005/Pages/Folder.aspx
> If I restart IIS and then access the report manager using the DNS an error
> is logged in the Application Log â'Report Manager cannot connect to the
> ReportServer service.â'
>
> Configuration:
> Windows 2000, Side by side install of SQL 2000 and SQL 2005 (New clean
> install of 2005). RS2000 was on the machine until a restore but after the
> restore was not reinstalled the RS2000 databases have been removed from
> SQL2000 after the restore.
> Any help is appreciated,
> Ted
>|||I finally managed to solve this problem
open SQl Books Online at this page:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rptsrvr9/html/a0134ef0-086c-443e-93b9-7213a3d76393.htm
and check the explanations about ReportServerVirtualDirectory and
ReportServerUrl
"ReportServerUrl and ReportServerVirtualDirectory are mutually exclusive. If
you specify ReportServerUrl, you must delete the entry for
ReportServerVirtualDirectory"
"nickpup" wrote:
> I am havin the same problem!
> I am having problems trying to deploy a report from VS2005 to SSRS 2005. We
> are using Windows Server 2003 SP1. I get the following error:
> Microsoft Report Designer
> A connection could not be made to the report server
> Check your connection information and that the report server is a compatible
> version.
> nickpup
>
> "tbarton" wrote:
> > PROBLEM:
> > Created a DNS entry (reportsdev) to access reporting services.
> > I can NOT ACCESS the report manager and receive an error
> > http://reportsdev/Reports$SQLServer2005/Pages/Folder.aspx
> >
> > I CAN ACCESS the report server with out a problem via IE and VS2005.
> > http://reportsdev/ReportServer$SQLServer2005
> >
> >
> > ERROR:
> > â'The attempt to connect to the report server failed. Check your connection
> > information and that the report server is a compatible version.â'
> >
> > This is a reporting services error with the reporting services UI wrapped
> > around the error and the link to Home. Clicking the link to Home generates
> > the same error.
> >
> >
> > NOTES & Tentative Solution:
> > I CAN ACCESS the report manager by configuring the report site with a port
> > rather then host header.
> > http://dc13:900/Reports$SQLServer2005/Pages/Folder.aspx
> >
> > If I restart IIS and then access the report manager using the DNS an error
> > is logged in the Application Log â'Report Manager cannot connect to the
> > ReportServer service.â'
> >
> >
> > Configuration:
> > Windows 2000, Side by side install of SQL 2000 and SQL 2005 (New clean
> > install of 2005). RS2000 was on the machine until a restore but after the
> > restore was not reinstalled the RS2000 databases have been removed from
> > SQL2000 after the restore.
> >
> > Any help is appreciated,
> >
> > Ted
> >|||also check this page:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rptsrvr9/html/1571c3fb-53a1-4bdd-bde6-0b8d490bf823.htm
"dragoon" wrote:
> I finally managed to solve this problem
> open SQl Books Online at this page:
> ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rptsrvr9/html/a0134ef0-086c-443e-93b9-7213a3d76393.htm
> and check the explanations about ReportServerVirtualDirectory and
> ReportServerUrl
> "ReportServerUrl and ReportServerVirtualDirectory are mutually exclusive. If
> you specify ReportServerUrl, you must delete the entry for
> ReportServerVirtualDirectory"
> "nickpup" wrote:
> > I am havin the same problem!
> >
> > I am having problems trying to deploy a report from VS2005 to SSRS 2005. We
> > are using Windows Server 2003 SP1. I get the following error:
> >
> > Microsoft Report Designer
> >
> > A connection could not be made to the report server
> >
> > Check your connection information and that the report server is a compatible
> > version.
> >
> > nickpup
> >
> >
> > "tbarton" wrote:
> >
> > > PROBLEM:
> > > Created a DNS entry (reportsdev) to access reporting services.
> > > I can NOT ACCESS the report manager and receive an error
> > > http://reportsdev/Reports$SQLServer2005/Pages/Folder.aspx
> > >
> > > I CAN ACCESS the report server with out a problem via IE and VS2005.
> > > http://reportsdev/ReportServer$SQLServer2005
> > >
> > >
> > > ERROR:
> > > â'The attempt to connect to the report server failed. Check your connection
> > > information and that the report server is a compatible version.â'
> > >
> > > This is a reporting services error with the reporting services UI wrapped
> > > around the error and the link to Home. Clicking the link to Home generates
> > > the same error.
> > >
> > >
> > > NOTES & Tentative Solution:
> > > I CAN ACCESS the report manager by configuring the report site with a port
> > > rather then host header.
> > > http://dc13:900/Reports$SQLServer2005/Pages/Folder.aspx
> > >
> > > If I restart IIS and then access the report manager using the DNS an error
> > > is logged in the Application Log â'Report Manager cannot connect to the
> > > ReportServer service.â'
> > >
> > >
> > > Configuration:
> > > Windows 2000, Side by side install of SQL 2000 and SQL 2005 (New clean
> > > install of 2005). RS2000 was on the machine until a restore but after the
> > > restore was not reinstalled the RS2000 databases have been removed from
> > > SQL2000 after the restore.
> > >
> > > Any help is appreciated,
> > >
> > > Ted
> > >

RS2005 - Response Time

When running a report in VS, the report run fast but when running the same
report via the browser (<servername>\reportserver), the report runs slow.
How can I increase the response time in running the report via the browser?
Thank you.One thing to remember, in VS it caches the data (look in your directory and
you will see a .data file). So sometimes this can give you an erroneous idea
of the time required.
Also, if it is the first time that RS has run in awhile you will get a big
delay. So run any report to make sure RS is up and active and then run your
report you are concerned about.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Terry" <Terry@.discussions.microsoft.com> wrote in message
news:BB36DBF2-4F3C-4BF7-8850-6CCC9639FE7C@.microsoft.com...
> When running a report in VS, the report run fast but when running the same
> report via the browser (<servername>\reportserver), the report runs slow.
> How can I increase the response time in running the report via the
> browser?
> Thank you.|||Do you know what 'awhile' is? Is it possible to run a schedule report
just to keep RS 'alive'?
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in
news:uRucKBj3FHA.3708@.TK2MSFTNGP10.phx.gbl:
> One thing to remember, in VS it caches the data (look in your
> directory and you will see a .data file). So sometimes this can give
> you an erroneous idea of the time required.
> Also, if it is the first time that RS has run in awhile you will get a
> big delay. So run any report to make sure RS is up and active and then
> run your report you are concerned about.
>|||I have a simple report I keep open on my desktop that autoexecutes every 5
minutes. You could also try Chris' suggestion posted below:
>>>>>>>>>>
If you are running Windows 2003 server for your IIS reportserver, then this
is a simple issue - I'll explain what happens:
The report service engine, once it is idle for more than the default 20
minutes, the worker process is shutdown.
This is controlled by IIS.
Open up the Internet Information Services (IIS) Manager
Expand the server node then the application pools.
On my IIS machine, I created an application pool dedicated to the
reportserver & reportmanager virtual webs.
But anyways, for the application pool that the reportserver is pointing to
if you left everything to their defaults will be the DefaultAppPool.
Right click the default app pool and select properties.
There are two things that are checked by default - On the recycling tab
there is a checkbox for recycling worker processes - it is currently set to
1740 minutes (29 hours). Leave it.
The other one is on the performance tab - which is the one you are
interested in changing...
See the "Idle Timeout" section and increase the number of minutes to be 8
hours a typical working day - 8*60 = 480 minutes.
Next, to be sure the "morning person" that runs the first report doesn't get
the delay, set up a schedule for either a dummy or adhoc report to fire off
like at 6am so that the report component worker processes get loaded.
I hope this helps you.
There is no need to have a report fire off every minute to keep things
alive - it is just that the report service was "unloaded" and needed to load
back up.
=-Chris
>>>>>>>>>>
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Asher_N" <compguy666@.hotmail.com> wrote in message
news:Xns97009891877C1compguy666hotmailcom@.207.46.248.16...
> Do you know what 'awhile' is? Is it possible to run a schedule report
> just to keep RS 'alive'?
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in
> news:uRucKBj3FHA.3708@.TK2MSFTNGP10.phx.gbl:
>> One thing to remember, in VS it caches the data (look in your
>> directory and you will see a .data file). So sometimes this can give
>> you an erroneous idea of the time required.
>> Also, if it is the first time that RS has run in awhile you will get a
>> big delay. So run any report to make sure RS is up and active and then
>> run your report you are concerned about.
>>
>|||"Bruce L-C [MVP]" <brucelc@.newsgroup.nospam> wrote in
news:#wuXBil3FHA.3292@.tk2msftngp13.phx.gbl:
> I have a simple report I keep open on my desktop that autoexecutes
> every 5 minutes. You could also try Chris' suggestion posted below:
>>>>>>>>>>
> If you are running Windows 2003 server for your IIS reportserver, then
> this
> is a simple issue - I'll explain what happens:
> The report service engine, once it is idle for more than the default
> 20
> minutes, the worker process is shutdown.
> This is controlled by IIS.
> Open up the Internet Information Services (IIS) Manager
> Expand the server node then the application pools.
> On my IIS machine, I created an application pool dedicated to the
> reportserver & reportmanager virtual webs.
> But anyways, for the application pool that the reportserver is
> pointing to
> if you left everything to their defaults will be the DefaultAppPool.
> Right click the default app pool and select properties.
> There are two things that are checked by default - On the recycling
> tab
> there is a checkbox for recycling worker processes - it is currently
> set to
> 1740 minutes (29 hours). Leave it.
> The other one is on the performance tab - which is the one you are
> interested in changing...
> See the "Idle Timeout" section and increase the number of minutes to
> be 8
> hours a typical working day - 8*60 = 480 minutes.
> Next, to be sure the "morning person" that runs the first report
> doesn't get
> the delay, set up a schedule for either a dummy or adhoc report to
> fire off
> like at 6am so that the report component worker processes get loaded.
> I hope this helps you.
> There is no need to have a report fire off every minute to keep things
> alive - it is just that the report service was "unloaded" and needed
> to load
> back up.
> =-Chris
>>>>>>>>>>
>
Thanks

RS2005 - RenderStream: The stream cannot be found....

Hi
I am currently trying to get our reports to run on RS2005. We have
implemented a custom authentication system, and retrieve all the reports via
web services which we then render to our own report browser.
To have all the images render when rendering in HTML4.0 format, we are using
the renderstream function on all returned streamIDs. This has worked
perfectly for us in RS2000, but now we cannot get it to work with RS2005.
To help others reading this forum who are stuck with this I'll begin with
explaining some differences from RS2000 that we have managed to solve... and
then comes my question...
The first issue was that a URI would not be accepted in the streamroot
section. This however was solved with using a complete http://.. path... in
RS2000, the relative path was enough.
Then I noticed that the only streamID that was returned was the streamid
"0", which could not be retrieved from the Report Server. The cause for this
seems to be that you now need to use a history snapshot in order to retrieve
valid streamids- This was not explicitly needed in RS2000. So then I let all
reports create snapshots... This gave me something that looked like valid
StreamGuids to work with...
However, I still cannot retrieve these images from the ReportServer. I get:
"The stream cannot be found. The stream identifier that is provided to an
operation cannot be located in the report server database. --> The stream
cannot be found. The stream identifier that is provided to an operation
cannot be located in the report server database."
Everything looks good... I have the streamID, I have the snapshotID... I've
tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
and all other possible parameters I can give the RenderStream function, but I
still cannot retrieve the stream...
I have also done the SetReportHistoryOptions... to allow snapshots... no
good...
What am I missing here? Using the Sept CTP.
/KjellI am having the exact same issue. If I publish against a 2000 Report Server
everything works fine, on 2005 i get stream not found. (hanging the uri of
the image path with file:")
I am using the final release version.
"Kjell" wrote:
> Hi
> I am currently trying to get our reports to run on RS2005. We have
> implemented a custom authentication system, and retrieve all the reports via
> web services which we then render to our own report browser.
> To have all the images render when rendering in HTML4.0 format, we are using
> the renderstream function on all returned streamIDs. This has worked
> perfectly for us in RS2000, but now we cannot get it to work with RS2005.
> To help others reading this forum who are stuck with this I'll begin with
> explaining some differences from RS2000 that we have managed to solve... and
> then comes my question...
> The first issue was that a URI would not be accepted in the streamroot
> section. This however was solved with using a complete http://.. path... in
> RS2000, the relative path was enough.
> Then I noticed that the only streamID that was returned was the streamid
> "0", which could not be retrieved from the Report Server. The cause for this
> seems to be that you now need to use a history snapshot in order to retrieve
> valid streamids- This was not explicitly needed in RS2000. So then I let all
> reports create snapshots... This gave me something that looked like valid
> StreamGuids to work with...
> However, I still cannot retrieve these images from the ReportServer. I get:
> "The stream cannot be found. The stream identifier that is provided to an
> operation cannot be located in the report server database. --> The stream
> cannot be found. The stream identifier that is provided to an operation
> cannot be located in the report server database."
> Everything looks good... I have the streamID, I have the snapshotID... I've
> tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
> and all other possible parameters I can give the RenderStream function, but I
> still cannot retrieve the stream...
> I have also done the SetReportHistoryOptions... to allow snapshots... no
> good...
> What am I missing here? Using the Sept CTP.
> /Kjell|||I found a solution that works in my case. The trick was to pass the
reportHistoryParameters returned by the Render call into RenderStream,
instead of the original reportParameters.
result = rs.Render(reportPath, format, historyID, devInfo, reportParameters,
credentials,
showHideToggle, out encoding, out mimeType, out
reportHistoryParameters, out warnings,
out streamIDs);
// for multi-stream renders, such as HTML, need to render the report
images as streams
// so they show in the report
if (this.IsHtmlReport)
{
foreach (string streamID in streamIDs)
{
try
{
byte [] image = rs.RenderStream(reportPath, format, streamID,
historyID, devInfo, reportHistoryParameters, out optionalString, out
optionalString);
FileStream stream = File.OpenWrite(imageDownloadPath + streamID);
stream.Write(image, 0, image.Length);
stream.Close();
}
"Pedro" wrote:
> I am having the exact same issue. If I publish against a 2000 Report Server
> everything works fine, on 2005 i get stream not found. (hanging the uri of
> the image path with file:")
> I am using the final release version.
> "Kjell" wrote:
> > Hi
> >
> > I am currently trying to get our reports to run on RS2005. We have
> > implemented a custom authentication system, and retrieve all the reports via
> > web services which we then render to our own report browser.
> >
> > To have all the images render when rendering in HTML4.0 format, we are using
> > the renderstream function on all returned streamIDs. This has worked
> > perfectly for us in RS2000, but now we cannot get it to work with RS2005.
> >
> > To help others reading this forum who are stuck with this I'll begin with
> > explaining some differences from RS2000 that we have managed to solve... and
> > then comes my question...
> >
> > The first issue was that a URI would not be accepted in the streamroot
> > section. This however was solved with using a complete http://.. path... in
> > RS2000, the relative path was enough.
> >
> > Then I noticed that the only streamID that was returned was the streamid
> > "0", which could not be retrieved from the Report Server. The cause for this
> > seems to be that you now need to use a history snapshot in order to retrieve
> > valid streamids- This was not explicitly needed in RS2000. So then I let all
> > reports create snapshots... This gave me something that looked like valid
> > StreamGuids to work with...
> >
> > However, I still cannot retrieve these images from the ReportServer. I get:
> >
> > "The stream cannot be found. The stream identifier that is provided to an
> > operation cannot be located in the report server database. --> The stream
> > cannot be found. The stream identifier that is provided to an operation
> > cannot be located in the report server database."
> >
> > Everything looks good... I have the streamID, I have the snapshotID... I've
> > tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
> > and all other possible parameters I can give the RenderStream function, but I
> > still cannot retrieve the stream...
> >
> > I have also done the SetReportHistoryOptions... to allow snapshots... no
> > good...
> >
> > What am I missing here? Using the Sept CTP.
> >
> > /Kjell|||Finally got this one solved:
There is a bug with the backwards compability in RS2005. If you have more
than one parameter in your report, but you only pass some of them via the web
service interface, the report server will not be able to match your streamids
with a previous execution. Microsoft created a QFE for this that you will
need in order to fix it. The alternative is to pass every report parameter
with the render calls, even if you do not use the parameters.
/Kjell
"Pedro" wrote:
> I found a solution that works in my case. The trick was to pass the
> reportHistoryParameters returned by the Render call into RenderStream,
> instead of the original reportParameters.
> result = rs.Render(reportPath, format, historyID, devInfo, reportParameters,
> credentials,
> showHideToggle, out encoding, out mimeType, out
> reportHistoryParameters, out warnings,
> out streamIDs);
>
> // for multi-stream renders, such as HTML, need to render the report
> images as streams
> // so they show in the report
> if (this.IsHtmlReport)
> {
> foreach (string streamID in streamIDs)
> {
> try
> {
> byte [] image = rs.RenderStream(reportPath, format, streamID,
> historyID, devInfo, reportHistoryParameters, out optionalString, out
> optionalString);
> FileStream stream = File.OpenWrite(imageDownloadPath + streamID);
> stream.Write(image, 0, image.Length);
> stream.Close();
> }
> "Pedro" wrote:
> > I am having the exact same issue. If I publish against a 2000 Report Server
> > everything works fine, on 2005 i get stream not found. (hanging the uri of
> > the image path with file:")
> > I am using the final release version.
> > "Kjell" wrote:
> >
> > > Hi
> > >
> > > I am currently trying to get our reports to run on RS2005. We have
> > > implemented a custom authentication system, and retrieve all the reports via
> > > web services which we then render to our own report browser.
> > >
> > > To have all the images render when rendering in HTML4.0 format, we are using
> > > the renderstream function on all returned streamIDs. This has worked
> > > perfectly for us in RS2000, but now we cannot get it to work with RS2005.
> > >
> > > To help others reading this forum who are stuck with this I'll begin with
> > > explaining some differences from RS2000 that we have managed to solve... and
> > > then comes my question...
> > >
> > > The first issue was that a URI would not be accepted in the streamroot
> > > section. This however was solved with using a complete http://.. path... in
> > > RS2000, the relative path was enough.
> > >
> > > Then I noticed that the only streamID that was returned was the streamid
> > > "0", which could not be retrieved from the Report Server. The cause for this
> > > seems to be that you now need to use a history snapshot in order to retrieve
> > > valid streamids- This was not explicitly needed in RS2000. So then I let all
> > > reports create snapshots... This gave me something that looked like valid
> > > StreamGuids to work with...
> > >
> > > However, I still cannot retrieve these images from the ReportServer. I get:
> > >
> > > "The stream cannot be found. The stream identifier that is provided to an
> > > operation cannot be located in the report server database. --> The stream
> > > cannot be found. The stream identifier that is provided to an operation
> > > cannot be located in the report server database."
> > >
> > > Everything looks good... I have the streamID, I have the snapshotID... I've
> > > tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
> > > and all other possible parameters I can give the RenderStream function, but I
> > > still cannot retrieve the stream...
> > >
> > > I have also done the SetReportHistoryOptions... to allow snapshots... no
> > > good...
> > >
> > > What am I missing here? Using the Sept CTP.
> > >
> > > /Kjell

RS2000: Failure sending mail: Cannot access a closed file...

SQL Server 2000, RS2000...
I have 2 timed subscriptions to the same report. One of the
subscriptions delivers the report via Report Server Email, the other
via File share.
If I choose PDF orWeb Archive as the deliverable then then both
reports work. If I choose Excel, I get the following error message
posted on the Report Server next to Status when I look at both
subscriptions to the report.
Any idea what is happening?
Thanks,
KeithOn Feb 1, 5:29 pm, 1300...@.gmail.com wrote:
> SQL Server 2000, RS2000...
> I have 2 timed subscriptions to the same report. One of the
> subscriptions delivers the report via Report Server Email, the other
> via File share.
> If I choose PDF orWeb Archive as the deliverable then then both
> reports work. If I choose Excel, I get the following error message
> posted on the Report Server next to Status when I look at both
> subscriptions to the report.
Guess including the error might help!
Failure sending mail: Cannot access a closed file
> Any idea what is happening?
> Thanks,
> Keith

Tuesday, March 20, 2012

RS.exe and date-type parameter.

Hi All,

I have a report with 4 parameters, 2 of them are date-type parameter. I intend to run this report via RS.exe by passing different parameters for different scenario. The issue that I have at the moment is passing date-type parameter via the VB Script file.

In my report I use "dd-mm-yy" format. I tried many ways to assign date value to my parameters, but I am always getting the following error:

"Unhandled exception: Default value or value provided for the report parameter 'myParam' is not a valid value".

Syntax that I use:

myParam = "01-01-1900"

myParam = DateTime.Parse("01-01-1900")

myParam = DateTime.Parse("#01-01-1900#")

All of them didn't work.

My question: how to assign date value to the parameter?

Many Thanks,

Man

Can you post your script?|||

Hi,

Thanks for your reply. However I solved the issue by changing the date format to US format (mm/dd/yy).

Cheers,

XL

Monday, March 12, 2012

RS.exe

I have a web based application that allows users to apply for
employment via the web. Once the appllcaition is submitted I want to
send the details to HR via email using SSRS 2005.
I'm not very familiar with rs.exe utility which is the tool I think I
need to use.
I would appreciate it if anyone has done something like this before
and can point me in the right direction it would be greatly
appreciated.On Sep 14, 4:51 pm, NC3 <ncolem...@.yahoo.com> wrote:
> I have a web based application that allows users to apply for
> employment via the web. Once the appllcaition is submitted I want to
> send the details to HR via email using SSRS 2005.
> I'm not very familiar with rs.exe utility which is the tool I think I
> need to use.
> I would appreciate it if anyone has done something like this before
> and can point me in the right direction it would be greatly
> appreciated.
One alternative is to design an ASP.NET application that sends emails
and then attach a URL to the email that basically allows the user to
export the report to a standard format (i.e., PDF). An example of a
URL to send in an email is as follows:
http://ServerA/reportserver?/ExampleReportFolderName/ExampleReportName&rs:Command=Render&ParameterName=xxxxx&rs:Format=PDF
In this example, the format is as follows:
http://<ServerName>/reportserver?/<Directory>/<ReportName>&rs:Command=Render&<ParameterName>=<ParameterValue>&rs:Format=<PDF/CSV/XML/Excel/MHTML>
Of course, if you have multiple parameters you would include extra '&'
symbols and parameter values; and, you could change the export format.
Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant|||On Sep 14, 10:49 pm, EMartinez <emartinez...@.gmail.com> wrote:
> On Sep 14, 4:51 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > I have a web based application that allows users to apply for
> > employment via the web. Once the appllcaition is submitted I want to
> > send the details to HR via email using SSRS 2005.
> > I'm not very familiar with rs.exe utility which is the tool I think I
> > need to use.
> > I would appreciate it if anyone has done something like this before
> > and can point me in the right direction it would be greatly
> > appreciated.
> One alternative is to design an ASP.NET application that sends emails
> and then attach a URL to the email that basically allows the user to
> export the report to a standard format (i.e., PDF). An example of a
> URL to send in an email is as follows:http://ServerA/reportserver?/Exampl=
eReportFolderName/ExampleReportNam...
> In this example, the format is as follows:
> http://<ServerName>/reportserver?/<Directory>/<ReportName>&rs:Command=3DR=
ende=ADr&<ParameterName>=3D<ParameterValue>&rs:Format=3D<PDF/CSV/XML/Excel/=MHTML>
> Of course, if you have multiple parameters you would include extra '&'
> symbols and parameter values; and, you could change the export format.
> Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
Thanks for the response...
One important detail I did not mention is we have security concerns
sending plain text emails from the Internet. I want to send the email
after the DB is updated so the email is secure in transmission.|||On Sep 17, 2:54 pm, NC3 <ncolem...@.yahoo.com> wrote:
> On Sep 14, 10:49 pm, EMartinez <emartinez...@.gmail.com> wrote:
>
> > On Sep 14, 4:51 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > I have a web based application that allows users to apply for
> > > employment via the web. Once the appllcaition is submitted I want to
> > > send the details to HR via email using SSRS 2005.
> > > I'm not very familiar with rs.exe utility which is the tool I think I
> > > need to use.
> > > I would appreciate it if anyone has done something like this before
> > > and can point me in the right direction it would be greatly
> > > appreciated.
> > One alternative is to design an ASP.NET application that sends emails
> > and then attach a URL to the email that basically allows the user to
> > export the report to a standard format (i.e., PDF). An example of a
> > URL to send in an email is as follows:http://ServerA/reportserver?/Exam=
pleReportFolderName/ExampleReportNam...
> > In this example, the format is as follows:
> > http://<ServerName>/reportserver?/<Directory>/<ReportName>&rs:Command=
=3DRende=ADr&<ParameterName>=3D<ParameterValue>&rs:Format=3D<PDF/CSV/XML/Ex=cel/MHTML>
> > Of course, if you have multiple parameters you would include extra '&'
> > symbols and parameter values; and, you could change the export format.
> > Hope this helps.
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant
> Thanks for the response...
> One important detail I did not mention is we have security concerns
> sending plain text emails from the Internet. I want to send the email
> after the DB is updated so the email is secure in transmission.
Have you considered an SSL certificate? This should secure the
download part of the process. Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant|||On Sep 17, 9:08 pm, EMartinez <emartinez...@.gmail.com> wrote:
> On Sep 17, 2:54 pm, NC3 <ncolem...@.yahoo.com> wrote:
>
>
> > On Sep 14, 10:49 pm, EMartinez <emartinez...@.gmail.com> wrote:
> > > On Sep 14, 4:51 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > > I have a web based application that allows users to apply for
> > > > employment via the web. Once the appllcaition is submitted I want to
> > > > send the details to HR via email using SSRS 2005.
> > > > I'm not very familiar with rs.exe utility which is the tool I think= I
> > > > need to use.
> > > > I would appreciate it if anyone has done something like this before
> > > > and can point me in the right direction it would be greatly
> > > > appreciated.
> > > One alternative is to design an ASP.NET application that sends emails
> > > and then attach a URL to the email that basically allows the user to
> > > export the report to a standard format (i.e., PDF). An example of a
> > > URL to send in an email is as follows:http://ServerA/reportserver?/Ex=
ampleReportFolderName/ExampleReportNam...
> > > In this example, the format is as follows:
> > > http://<ServerName>/reportserver?/<Directory>/<ReportName>&rs:Command=
=3DRende=AD=ADr&<ParameterName>=3D<ParameterValue>&rs:Format=3D<PDF/CSV/XML=/Excel/MHTML>
> > > Of course, if you have multiple parameters you would include extra '&'
> > > symbols and parameter values; and, you could change the export format.
> > > Hope this helps.
> > > Regards,
> > > Enrique Martinez
> > > Sr. Software Consultant
> > Thanks for the response...
> > One important detail I did not mention is we have security concerns
> > sending plain text emails from the Internet. I want to send the email
> > after the DB is updated so the email is secure in transmission.
> Have you considered an SSL certificate? This should secure the
> download part of the process. Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant- Hide quoted text -
> - Show quoted text -
Will having an SSL in place secure an email from an ASP.NET
application in transit? That's our true concern...securing the data in
transit.
Thanks again for you help.|||On Sep 18, 1:03 pm, NC3 <ncolem...@.yahoo.com> wrote:
> On Sep 17, 9:08 pm, EMartinez <emartinez...@.gmail.com> wrote:
>
> > On Sep 17, 2:54 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > On Sep 14, 10:49 pm, EMartinez <emartinez...@.gmail.com> wrote:
> > > > On Sep 14, 4:51 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > > > I have a web based application that allows users to apply for
> > > > > employment via the web. Once the appllcaition is submitted I want= to
> > > > > send the details to HR via email using SSRS 2005.
> > > > > I'm not very familiar with rs.exe utility which is the tool I thi=nk I
> > > > > need to use.
> > > > > I would appreciate it if anyone has done something like this befo=re
> > > > > and can point me in the right direction it would be greatly
> > > > > appreciated.
> > > > One alternative is to design an ASP.NET application that sends emai=ls
> > > > and then attach a URL to the email that basically allows the user to
> > > > export the report to a standard format (i.e., PDF). An example of a
> > > > URL to send in an email is as follows:http://ServerA/reportserver?/=
ExampleReportFolderName/ExampleReportNam...
> > > > In this example, the format is as follows:
> > > > http://<ServerName>/reportserver?/<Directory>/<ReportName>&rs:Comma=
nd=3DRende=AD=ADr&<ParameterName>=3D<ParameterValue>&rs:Format=3D<PDF/CSV/X=ML/Excel/MHTML>
> > > > Of course, if you have multiple parameters you would include extra ='&'
> > > > symbols and parameter values; and, you could change the export form=at.
> > > > Hope this helps.
> > > > Regards,
> > > > Enrique Martinez
> > > > Sr. Software Consultant
> > > Thanks for the response...
> > > One important detail I did not mention is we have security concerns
> > > sending plain text emails from the Internet. I want to send the email
> > > after the DB is updated so the email is secure in transmission.
> > Have you considered an SSL certificate? This should secure the
> > download part of the process. Hope this helps.
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant- Hide quoted text -
> > - Show quoted text -
> Will having an SSL in place secure an email from an ASP.NET
> application in transit? That's our true concern...securing the data in
> transit.
> Thanks again for you help.
For the email itself, I'm not completely sure; however, an SSL
certificate will improve security at the website level. In terms of
the exported report, you might want to look into some 3rd party PGP/
Encryption tools. There are a couple available that are open source
and some that aren't. This option should provide protection in
transit. Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant|||On Sep 19, 8:28 am, EMartinez <emartinez...@.gmail.com> wrote:
> On Sep 18, 1:03 pm, NC3 <ncolem...@.yahoo.com> wrote:
>
>
> > On Sep 17, 9:08 pm, EMartinez <emartinez...@.gmail.com> wrote:
> > > On Sep 17, 2:54 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > > On Sep 14, 10:49 pm, EMartinez <emartinez...@.gmail.com> wrote:
> > > > > On Sep 14, 4:51 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > > > > I have a web based application that allows users to apply for
> > > > > > employment via the web. Once the appllcaition is submitted I wa=nt to
> > > > > > send the details to HR via email using SSRS 2005.
> > > > > > I'm not very familiar with rs.exe utility which is the tool I t=hink I
> > > > > > need to use.
> > > > > > I would appreciate it if anyone has done something like this be=fore
> > > > > > and can point me in the right direction it would be greatly
> > > > > > appreciated.
> > > > > One alternative is to design an ASP.NET application that sends em=ails
> > > > > and then attach a URL to the email that basically allows the user= to
> > > > > export the report to a standard format (i.e., PDF). An example of= a
> > > > > URL to send in an email is as follows:http://ServerA/reportserver=
?/ExampleReportFolderName/ExampleReportNam...
> > > > > In this example, the format is as follows:
> > > > > http://<ServerName>/reportserver?/<Directory>/<ReportName>&rs:Com=
mand=3DRende=AD=AD=ADr&<ParameterName>=3D<ParameterValue>&rs:Format=3D<PDF/=CSV/XML/Excel/MHTML>
> > > > > Of course, if you have multiple parameters you would include extr=a '&'
> > > > > symbols and parameter values; and, you could change the export fo=rmat.
> > > > > Hope this helps.
> > > > > Regards,
> > > > > Enrique Martinez
> > > > > Sr. Software Consultant
> > > > Thanks for the response...
> > > > One important detail I did not mention is we have security concerns
> > > > sending plain text emails from the Internet. I want to send the ema=il
> > > > after the DB is updated so the email is secure in transmission.
> > > Have you considered an SSL certificate? This should secure the
> > > download part of the process. Hope this helps.
> > > Regards,
> > > Enrique Martinez
> > > Sr. Software Consultant- Hide quoted text -
> > > - Show quoted text -
> > Will having an SSL in place secure an email from an ASP.NET
> > application in transit? That's our true concern...securing the data in
> > transit.
> > Thanks again for you help.
> For the email itself, I'm not completely sure; however, an SSL
> certificate will improve security at the website level. In terms of
> the exported report, you might want to look into some 3rd party PGP/
> Encryption tools. There are a couple available that are open source
> and some that aren't. This option should provide protection in
> transit. Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant- Hide quoted text -
> - Show quoted text -
Your responses have been a big help. Thanks for the advice!|||On Sep 19, 4:07 pm, NC3 <ncolem...@.yahoo.com> wrote:
> On Sep 19, 8:28 am, EMartinez <emartinez...@.gmail.com> wrote:
>
> > On Sep 18, 1:03 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > On Sep 17, 9:08 pm, EMartinez <emartinez...@.gmail.com> wrote:
> > > > On Sep 17, 2:54 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > > > On Sep 14, 10:49 pm, EMartinez <emartinez...@.gmail.com> wrote:
> > > > > > On Sep 14, 4:51 pm, NC3 <ncolem...@.yahoo.com> wrote:
> > > > > > > I have a web based application that allows users to apply for
> > > > > > > employment via the web. Once the appllcaition is submitted I =want to
> > > > > > > send the details to HR via email using SSRS 2005.
> > > > > > > I'm not very familiar with rs.exe utility which is the tool I= think I
> > > > > > > need to use.
> > > > > > > I would appreciate it if anyone has done something like this =before
> > > > > > > and can point me in the right direction it would be greatly
> > > > > > > appreciated.
> > > > > > One alternative is to design an ASP.NET application that sends =emails
> > > > > > and then attach a URL to the email that basically allows the us=er to
> > > > > > export the report to a standard format (i.e., PDF). An example =of a
> > > > > > URL to send in an email is as follows:http://ServerA/reportserv=
er?/ExampleReportFolderName/ExampleReportNam...
> > > > > > In this example, the format is as follows:
> > > > > > http://<ServerName>/reportserver?/<Directory>/<ReportName>&rs:C=
ommand=3DRende=AD=AD=ADr&<ParameterName>=3D<ParameterValue>&rs:Format=3D<PD=F/CSV/XML/Excel/MHTML>
> > > > > > Of course, if you have multiple parameters you would include ex=tra '&'
> > > > > > symbols and parameter values; and, you could change the export =format.
> > > > > > Hope this helps.
> > > > > > Regards,
> > > > > > Enrique Martinez
> > > > > > Sr. Software Consultant
> > > > > Thanks for the response...
> > > > > One important detail I did not mention is we have security concer=ns
> > > > > sending plain text emails from the Internet. I want to send the e=mail
> > > > > after the DB is updated so the email is secure in transmission.
> > > > Have you considered an SSL certificate? This should secure the
> > > > download part of the process. Hope this helps.
> > > > Regards,
> > > > Enrique Martinez
> > > > Sr. Software Consultant- Hide quoted text -
> > > > - Show quoted text -
> > > Will having an SSL in place secure an email from an ASP.NET
> > > application in transit? That's our true concern...securing the data in
> > > transit.
> > > Thanks again for you help.
> > For the email itself, I'm not completely sure; however, an SSL
> > certificate will improve security at the website level. In terms of
> > the exported report, you might want to look into some 3rd party PGP/
> > Encryption tools. There are a couple available that are open source
> > and some that aren't. This option should provide protection in
> > transit. Hope this helps.
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant- Hide quoted text -
> > - Show quoted text -
> Your responses have been a big help. Thanks for the advice!
You're welcome. Glad I could be of assistance. Let me know if I can be
of further assistance.
Regards,
Enrique Martinez
Sr. Software Consultant