Showing posts with label below. Show all posts
Showing posts with label below. Show all posts

Monday, March 26, 2012

Reporting Services 2005 & Parameters

Hi, I experiencing some problems when accesing the Parameters collection on
the dataset to build the the sql statement.
Below is my code (very simple):
DataSet:
="SELECT 'userid' = '" & code.Parameter("userID", Parameters) & "' FROM
users"
Code:
Public Function Parameter(ByVal field As String, ByRef pars As Object) As
String
return pars(field).Value
End Function
This code works just fine on the Preview but if I test the report on the
browser, it doesnt work and returns the following error:
a.. An error has occurred during report processing.
a.. Cannot set the command text for data set 'ExpoMedios'.
a.. Error during processing of the CommandText expression of dataset
'ExpoMedios'.
Doing some debugging the error message inside the function is:
Attempt to access the method failed.
Can anyone pleae explain why this is happening. Your help will be
appreciated.
Regards,
FabianAny help please? It happens when I access to the Parameters Collection
inside a custom code.
Any help will be appreciated.
Thanks in avance,
Fabian von Romberg
"Fabian von Romberg" <fromberg100@.hotmail.com> wrote in message
news:uBbFLro3GHA.3492@.TK2MSFTNGP06.phx.gbl...
> Hi, I experiencing some problems when accesing the Parameters collection
on
> the dataset to build the the sql statement.
> Below is my code (very simple):
> DataSet:
> ="SELECT 'userid' = '" & code.Parameter("userID", Parameters) & "' FROM
> users"
> Code:
> Public Function Parameter(ByVal field As String, ByRef pars As Object) As
> String
> return pars(field).Value
> End Function
>
> This code works just fine on the Preview but if I test the report on the
> browser, it doesnt work and returns the following error:
> a.. An error has occurred during report processing.
> a.. Cannot set the command text for data set 'ExpoMedios'.
> a.. Error during processing of the CommandText expression of dataset
> 'ExpoMedios'.
> Doing some debugging the error message inside the function is:
> Attempt to access the method failed.
>
> Can anyone pleae explain why this is happening. Your help will be
> appreciated.
> Regards,
> Fabian
>

Friday, March 23, 2012

Reporting Services : How configure the SMTP server

I have configure the SMTP Like below, but i need to give the "senduser" and "sendpassword" to it.
So i add the <senduser>username<senduser><sendpassword>password</sendpassword>
but i doesn't work.
Do u know about it ?
Thanks a lot?
<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider"><Configuration><RSEmailDPConfiguration><SMTPServer>OWASERVER</SMTPServer><SMTPServerPort>25</SMTPServerPort><SMTPAccountName></SMTPAccountName><SMTPConnectionTimeout>60</SMTPConnectionTimeout><SMTPServerPickupDirectory></SMTPServerPickupDirectory><SMTPUseSSL>False</SMTPUseSSL><SendUsing>2</SendUsing><SMTPAuthenticate>1</SMTPAuthenticate><From>testuser@.test.com</From><EmbeddedRenderFormats><RenderingExtension>MHTML</RenderingExtension></EmbeddedRenderFormats><PrivilegedUserRenderFormats></PrivilegedUserRenderFormats><ExcludedRenderFormats><RenderingExtension>HTMLOWC</RenderingExtension></ExcludedRenderFormats><SendEmailToUserAlias></SendEmailToUserAlias><DefaultHostName></DefaultHostName><PermittedHosts></PermittedHosts></RSEmailDPConfiguration></Configuration></Extension>RS BOL seems to indicate that you should use sendusername and
senduserpassword
Have a look at "Configuring a Report Server for E-Mail Delivery" in BOL
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Peter" <peterge@.benq.com> wrote in message
news:44481130-B0A1-49B0-B476-D6B823ABBDB9@.microsoft.com...
> I have configure the SMTP Like below, but i need to give the "senduser"
and "sendpassword" to it.
> So i add the
<senduser>username<senduser><sendpassword>password</sendpassword>
> but i doesn't work.
> Do u know about it ?
> Thanks a lot?
> <Extension Name="Report Server Email"
Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,Report
ingServicesEmailDeliveryProvider"><Configuration><RSEmailDPConfiguration><SM
TPServer>OWASERVER</SMTPServer><SMTPServerPort>25</SMTPServerPort><SMTPAccou
ntName></SMTPAccountName><SMTPConnectionTimeout>60</SMTPConnectionTimeout><S
MTPServerPickupDirectory></SMTPServerPickupDirectory><SMTPUseSSL>False</SMTP
UseSSL><SendUsing>2</SendUsing><SMTPAuthenticate>1</SMTPAuthenticate><From>t
estuser@.test.com</From><EmbeddedRenderFormats><RenderingExtension>MHTML</Ren
deringExtension></EmbeddedRenderFormats><PrivilegedUserRenderFormats></Privi
legedUserRenderFormats><ExcludedRenderFormats><RenderingExtension>HTMLOWC</R
enderingExtension></ExcludedRenderFormats><SendEmailToUserAlias></SendEmailT
oUserAlias><DefaultHostName></DefaultHostName><PermittedHosts></PermittedHos
ts></RSEmailDPConfiguration></Configuration></Extension>|||Dear Jasper,
Thank u!
But i have add it.still have the error.
<RSEmailDPConfiguration><SMTPServer>owa</SMTPServer><SMTPServerPort>25</SMTPServerPort><SMTPAccountName></SMTPAccountName><SMTPConnectionTimeout>60</SMTPConnectionTimeout><SMTPServerPickupDirectory></SMTPServerPickupDirectory><SMTPUseSSL>False</SMTPUseSSL><SendUsing>2</SendUsing><SMTPAuthenticate>1</SMTPAuthenticate><sendusername>username</sendusername><senduserpassword>password</senduserpassword><From>username@.tes.com</From><EmbeddedRenderFormats><RenderingExtension>MHTML</RenderingExtension></EmbeddedRenderFormats><PrivilegedUserRenderFormats></PrivilegedUserRenderFormats><ExcludedRenderFormats><RenderingExtension>HTMLOWC</RenderingExtension></ExcludedRenderFormats><SendEmailToUserAlias></SendEmailToUserAlias><DefaultHostName></DefaultHostName><PermittedHosts></PermittedHosts></RSEmailDPConfiguration>
If i use the VB , it's ok, can send mail, so i think not the STMP SERVER or Account problems.
Does any one know about it?

Wednesday, March 7, 2012

Reporting Service

I have problem with repoting Service. When openhttp://localhost/reports it gives me below error what can be the solution for it

Error
The underlying connection was closed: An unexpected error occurred on a send.

Has reporting services ever worked on your box?

Was IIS working prior to installing SQL Server Reporting Services?

What account did you install reporting services to? Have you changed this account or has its password expired?

Look in both the Application and System event logs - you may find an expanatory message there.

|||

No before never i run reports on my localhost

Yea I am browsing many asp.net application and asp appcaltion on the same localhost and it is working very gud.

I Dont get error message in event log also

|||

You could also try posting tohttp://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=80&SiteID=17

You need to be as specific as possible as to host server, version of SQL you installed ect. Also patches applied as SP1 or Sp2 plus all security patches.

|||

Also check the HTTPSys log to see if you spot any problem.

C:\WINDOWS\system32\LogFiles\HTTPERR

This definitely sounds like an IIS issue rather than a RS issue.

|||

Their is no file like HTTPERR in C:\WINDOWS\system32\LogFiles\ Any another suggestion

|||Check the settings on the ReportingServices web site within IIS Manager. In particular check that the application name property is set.Which version of ASP.NET are you running on your web site? You may need to find and ASPNET_REGIIS -i to set all the ASP.NEt metadata.Also the temp files directory - check that the correct permissions have been applied to it. The ASP.NET set-up can fail to set set permissions to this.|||

Is your Reporting Service running on your locahost. If everthing is installed correctly, you should be able to to browse to it . You can check it Sql services are running from , right click on My computer-> manage->Sql Server Configuration Manager ->Sql Server 2005 services . check on right hand side widow if Sql Server Reporting Services are running.

hope this helps.

kushpaw

reporting service

While generating the matrix report Reporting services giveing below
problem.
An error has occurred during report processing Exception of type
'System.OutOfMemoryException' was thrown
If anybody boddy face the same problem pls tell me the sol.It might be the problem such that you have extended the no of columns
in the matrix it can show. I am not sure about the exact count. but
try to run the query on analyser first, check the No of columns and
Rows.second, Create a table in the layout ,drag and drop the values.
Run the preview,Next use matrix and try to Pivot your requiement
(Columns into Rows and Rows into columns) .finally your requirement.
Debug at each and every stage
Thanks
Raj Deep.A
On Apr 2, 5:59=A0pm, nannuri.sr...@.gmail.com wrote:
> While generating the matrix report Reporting services giveing below
> problem.
> An error has occurred during report processing Exception of type
> 'System.OutOfMemoryException' was thrown
> If anybody boddy face the same problem pls tell me the sol.