CRLF Injection issue wrt microsoft_reportviewer_webforms_dll.Microsoft.Reporting.WebForms.ReportDataOperation

Hi Team,
we are using Microsoft report viewer in one of our projects and recently our code is scanned by Veracode
and identified CRLF Injection issues with respect to improper nuetralization.
please find below the issue reported :
This call to system_web_dll.System.Web.HttpResponse.set_ContentType() contains an HTTP response splitting flaw. Writing unsanitized user-supplied input into an HTTP header allows an attacker
to manipulate the HTTP response rendered by the browser, leading to cache poisoning and cross-site scripting attacks. The first argument to set_ContentType() contains tainted data. The tainted data originated from an earlier call to system_dll.system.net.httpwebrequest.endgetresponse.
Remove unexpected carriage returns and line feeds from user-supplied data used to construct HTTP response headers. Whenever possible, use a security library such as ESAPI that provides safe
versions of addHeader(), etc. that will automatically remove unexpected carriage returns and line feeds and can be configured to use HTML entity encoding for non-alphanumeric data. Only write custom blacklisting code when absolutely necessary. Always validate
user-supplied input to ensure that it conforms to the expected format, using centralized data validation routines when possible.
References:
CWE (http://cwe.mitre.org/data/definitions/113.html)
OWASP (http://www.owasp.org/index.php/HTTP_Response_Splitting)
WASC (http://webappsec.pbworks.com/HTTP-Response-Splitting)

Is there any fix for the above veracode issue?
I too have a similar kind of issue:-
Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')
Description
A function call contains an HTTP response splitting flaw. Writing unsanitized user-supplied input into an HTTP header
allows an attacker to manipulate the HTTP response rendered by the browser, leading to cache poisoning and crosssite
scripting attacks.
Recommendations
Remove unexpected carriage returns and line feeds from user-supplied data used to construct an HTTP response.
Always validate user-supplied input to ensure that it conforms to the expected format, using centralized data validation
routines when possible.
Instances found via Static Scan
MvcReportViewer.dll void SetStreamingHeaders(string,
System.Web.HttpResponse) 

Similar Messages

  • Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

    Hi,
    Our development team is trying to run a report on our report server through web application but they are getting the below error. Report Viewer both version 10 and 11 are already installed on our reporting server. 
    [System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    The files are in place in assembly folder 'C:\Windows\assembly' and DLLs are also in place in folder 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\ReportViewer. 
    Can anyone please help us with this issue. 
    Thanks

    Hi Saurabh,
    This error means you're using the SQL Server Reporting Services ReportViewer control in your web application and the server can't find the proper DLL.
    Please check details information below to add the 'Microsoft.ReportViewer.WebForms.dll 10.0.0.0 to see if your problem will be resolved:
    Go to right click on project name to select the properties
    Check the References on the left and click "Add", then click Browse to the path "C:\Windows\assembly\GAC_msil" to select Microsoft.ReportViewer.WebForms.dll 10.0.0.0 , then click ok
    If above didn't help. please also the web.config file which path like:
    C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportManager
    C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer
    Please check to add below configuation:
    <system.web>
         <httpHandlers>
           <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    validate="false" />
         </httpHandlers>
     </system.web>
    Similar thread in below article for your reference:
    http://praveenbattula.blogspot.com/2010/03/fix-to-report-viewer-problems-in-iis-7.html
    User can not run a winForm with the ReportView Control
    Can not load Reportviewer
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Microsoft Report Viewer Print Button is not Displayed in FireFox. Why?

    Hi,
    I have developed a reporting web site using asp.net. To view the reports I have used the microsoft report viewer. In IE it works fine. But when im goint to run this web site in Fire Fox some buttons (print button, search button) in the ReportViewer tool bar are not displaying. Can you please let me know how to solve this issue in Mocrosoft Report Viewer and Fire Fox?

    I also have this problem, if the problem has been resolved, please email me

  • Microsoft Reporting Services

    Hi
    We are using SQL 2005 as a database for PCM v12.1 and plan to upgrade to PCM v13 SP1.
    Has anybody using Microsoft Reporting Services for preparing reports ?
    could you please guide on the same ? How good it is ? Is it easy to prepare report (in comparison to Infomaker) ? (i know it can not be shown like infomaker report within CM)
    Please give your suggestions.

    I simply find infomaker a bit stiff and not that user friendly.
    examples of reports in a big summary:
    - sysadmin > all reports if something is wrong (like some custom fields are not filled in, or one person approved as another user, etc).
    - construction reports > field force (to trace or by site/project or by subcontractor history of workforce based on daily reports), some audit of new revisions of drawings, new transmittals etc
    - communication > Report of minutes of meeting to trace by responsible person from our team and/or contractor what are the current issues, if there are any new notices, any letters (which we barely use);
    - project review > each projects financial details - how much was contracted, changed, protocoled all in accordance to what was budgeted (on contract and/or items level);
    - management reports > status with KPIs of all projects with devision into cost splits and cost per net m2.
    what reports are you thinking of? Perhaps we could share some ideas.
    If migrating to Oracle you will just have to change the data sources and if you are using some custom views () you will have to change the way its generated. It shouldn't be a lot of work.

  • Microsoft Reporting Web Service

    I am trying to call the new Microsoft Reporting web service from
    weblogic 8.1sp2. I've run the clientgen utility against the microsoft
    reporting server's wsdl.
    Using the generated stup classes, I keep getting an error about a
    snapshotID parameter, which is not a parameter passed in the stub API.
    I've attached the wsdl, java program and the soap xml with the error in
    it.
    Any help would be greatly appreciated.
    Thanks,
    Eddie
    [ReportingService.wsdl]
    import java.io.*;
    import weblogic.webservice.context.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.serializer.*;
    import bny.adr.common.webservice.MSQLReportingService.weblogicgen.serializer.holders.*;
    public class TestClient1
    public static void main(String args[])
    FileOutputStream out_stream= null;
    PrintWriter writer = null;
    try
    //out_stream =
    // new FileOutputStream("C:/mystuff/JavaProjects8.1/java/Test/webservices/MSReportService/StackDump");
    //writer = new PrintWriter(out_stream);
    ReportingService_Impl rpt_srv_impl =
    new ReportingService_Impl();
    ReportingServiceSoap rpt_srv =
    //rpt_srv_impl.getReportingServiceSoap();
    rpt_srv_impl.getReportingServiceSoap("user", "password");
    String reportPath = "/Chapter04/Invoice-Batch Number Report";
    //String reportPath = "/Chapter04/Customer-Invoice Report";
    //The rendering format for the report.
    String format = "HTML4.0";
    // The devInfo string tells the report viewer how to display with the report.
    String devInfo =
    "<DeviceInfo>" +
    "<Toolbar>False</Toolbar>" +
    "<Parameters>False</Parameters>" +
    "<DocMap>True</DocMap>" +
    "<Zoom>100</Zoom>" +
    "</DeviceInfo>";
    // Create an array of the values for the report parameters
    ParameterValue parameters[] = new ParameterValue[2];
    ParameterValue paramValue = new ParameterValue();
    paramValue.setName("StartDate");
    paramValue.setValue("01/01/2001");
    parameters[0] = paramValue;
    paramValue = new ParameterValue();
    paramValue.setName("EndDate");
    paramValue.setValue("01/06/2005");
    parameters[1] = paramValue;
    ParameterValue paramValue = new ParameterValue();
    paramValue.setName("snapshotID");
    paramValue.setValue("1/7/2005 10:38:21 AM");
    parameters[0] = paramValue;
    // Create variables for the remainder of the parameters
    String historyID = null;
    DataSourceCredentials credentials[] = null;
    String showHideToggle = null;
    String encoding;
    String mimeType;
    Warning warnings[] = null;
    ParameterValue reportHistoryParameters[] = null;
    String streamIDs[] = null;
    SessionHeader sh = new SessionHeader();
    SessionHeaderHolder shh = new SessionHeaderHolder();
    sh.setIsNewExecution(true);
    shh.setValue(sh);
    ServerInfoHeaderHolder server_info_hd_hldr = new ServerInfoHeaderHolder();
    Render param = new Render(reportPath, format, historyID, devInfo, parameters,
    credentials, showHideToggle); //, encoding, mimeType,
    //reportHistoryParameters, warnings, streamIDs);
    //ServerInfoHeader server_info_header = new ServerInfoHeaderHolder(;
    RenderResponse response = rpt_srv.Render(param, shh, server_info_hd_hldr);
    byte report[] = response.getResult();
    System.out.println(report);
    catch (Exception e)
    e.printStackTrace();
    //if (writer != null)
    // e.printStackTrace(writer);
    --------------------Configuration: MSQLReportService - j2sdk1.4.1_07 WebService - <Default>--------------------
    Command : "C:\j2sdk1.4.1_07\bin\java.exe" -Dweblogic.webservice.verbose=true -classpath "C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\MSQLReportService;C:\mystuff\JavaProjects8.1\lib\CR121728_81sp2.jar;C:\mystuff\JavaProjects8.1\lib\CR120224_81sp1.jar;C:\mystuff\JavaProjects8.1\lib\weblogic.jar;C:\mystuff\JavaProjects8.1\lib\webservices.jar;C:\mystuff\JavaProjects8.1\lib\webserviceclient+ssl.jar;C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\weblogicbuild;C:\j2sdk1.4.1_07\jre\lib\rt.jar;C:\j2sdk1.4.1_07\lib\dt.jar;C:\j2sdk1.4.1_07\lib\tools.jar;C:\j2sdk1.4.1_07\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1_07\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.1_07\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1_07\jre\lib\ext\sunjce_provider.jar" TestClient1
    Directory : C:\mystuff\JavaProjects8.1\java\Test\webservices\MSReportService\MSQLReportService
    <!-------------------- REQUEST ---------------->
    URL : http://wteadapadr01/ReportServer/ReportService.asmx
    Headers :
    SOAPAction: ["http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/Render"]
    Content-Type: [text/xml]
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header><n2:SessionHeader xmlns:n2="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices"><n2:IsNewExecution>true</n2:IsNewExecution></n2:SessionHeader></env:Header><env:Body><n1:Render xmlns:n1="http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices"><n1:Report>/Chapter04/Invoice-Batch Number Report</n1:Report><n1:Format>HTML4.0</n1:Format><n1:HistoryID xsi:nil="true"/><n1:DeviceInfo><DeviceInfo><Toolbar>False</Toolbar><Parameters>False</Parameters><DocMap>True</DocMap><Zoom>100</Zoom></DeviceInfo></n1:DeviceInfo><n1:Parameters xsi:type="n1:ArrayOfParameterValue"><n1:ParameterValue xsi:type="n1:ParameterValue"><n1:Name>StartDate</n1:Name><n1:Value>01/01/2001</n1:Value></n1:ParameterValue><n1:ParameterValue xsi:type="n1:ParameterValue"><n1:Name>EndDate</n1:Name><n1:Value>01/06/2005</n1:Value></n1:ParameterValue></n1:Parameters><n1:Credentials xsi:nil="true"/><n1:ShowHideToggle xsi:nil="true"/></n1:Render></env:Body></env:Envelope>
    <!-------------------- END REQUEST ------------>
    <!-------------------- RESPONSE --------------->
    URL : http://wteadapadr01/ReportServer/ReportService.asmx
    Response Code :500
    Headers :
    Date=Thu, 13 Jan 2005 21:59:37 GMT
    Server=Microsoft-IIS/6.0
    X-Powered-By=ASP.NET
    X-AspNet-Version=1.1.4322
    Cache-Control=private
    Content-Type=text/xml; charset=utf-8
    Content-Length=2882
    Envelope :
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Client</faultcode>
    <faultstring>The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.</faultstring>
    <faultactor>http://wteadapadr01/ReportServer/ReportService.asmx</faultactor>
    <detail>
    <ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsParameterTypeMismatch</ErrorCode>
    <HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus>
    <Message xmlns="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00</HelpLink>
    <ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName>
    <ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">8.00.743.00</ProductVersion>
    <ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId>
    <OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem>
    <CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId>
    <MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices">
    <Source>Microsoft.ReportingServices.Diagnostics</Source>
    <Message msrs:ErrorCode="rsParameterTypeMismatch" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00" xmlns:msrs="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <MoreInformation>
    <Source>mscorlib</Source>
    <Message>String was not recognized as a valid DateTime.</Message>
    </MoreInformation>
    </MoreInformation>
    <Warnings xmlns="http://www.microsoft.com/sql/reportingservices" />
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    <!-------------------- END RESPONSE ----------->
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    Detail:
    <detail>
    <ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsParameterTypeMismatch</ErrorCode>
    <HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus>
    <Message xmlns="http://www.microsoft.com/sql/reportingservices">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00</HelpLink>
    <ProductName xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName>
    <ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">8.00.743.00</ProductVersion>
    <ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId>
    <OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem>
    <CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId>
    <MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices">
    <Source>Microsoft.ReportingServices.Diagnostics</Source>
    <Message xmlns:msrs="http://www.microsoft.com/sql/reportingservices"
    msrs:ErrorCode="rsParameterTypeMismatch"
    msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsParameterTypeMismatch&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=8.00">The parameter value provided for 'snapshotID' does not match the parameter type.</Message>
    <MoreInformation>
    <Source>mscorlib</Source>
    <Message>String was not recognized as a valid DateTime.</Message>
    </MoreInformation>
    </MoreInformation>
    <Warnings xmlns="http://www.microsoft.com/sql/reportingservices">
    </Warnings>
    </detail>; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    at bny.adr.common.webservice.MSQLReportingService.weblogicgen.ReportingServiceSoap_Stub.Render(ReportingServiceSoap_Stub.java:1266)
    at TestClient1.main(TestClient1.java:97)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: The parameter value provided for 'snapshotID' does not match the parameter type. --> The parameter value provided for 'snapshotID' does not match the parameter type. --> String was not recognized as a valid DateTime.
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
    at bny.adr.common.webservice.MSQLReportingService.weblogicgen.ReportingServiceSoap_Stub.Render(ReportingServiceSoap_Stub.java:1261)
    ... 1 more
    Process completed.

    This is a little late, I know. but I just spent the day
    struggling with this very issue. Hopefully this can help someone
    else in the future. Here's my solution...
    on MX:Operation -- result="fillXML()"
    then
    private function fillXML(): void {
    var x:XML = new
    XML(wsProps.GetDatasetData.lastResult.toString());
    ...do what you need with your xml...
    I use an XMLList node of the result as the source property
    for an XMLListCollection bound to a datagrid. Let me know if you
    need more help to get it working. It works like a charm now that I
    figured that out. I don't know if it's a slimy hack, or not, but it
    gets the job done.

  • Microsoft.Reporting.WinForms Memory Usage

    I am using Microsoft.Reporting.WinForms in an application and I have the problem that when I compile the program in 32-bit (x86) mode, we have limited memory space to use (approximately 2 GB). When the user displays a Dynamic Report and moves around in it, or when he closes the report and opens it again, it always occupies more memory space. The memory space is never released. This is a serious problem. Is there a way to make the program release the memory so that the problem of exceeding 2 GB of memory will occur less often?

    Youjun, thanks for moving the question to the appropriate forum!
    Michael, you are right that some resources are not cleaned up, yet I perceive the culprit to be Microsoft Reporting for Visual Studio 2010, not our own code. Yet before I asked the question here in this forum, I did some research on the Internet and found
    discussions about the same problem - it is a known issue of Microsoft Reporting that it does not release the memory it occupies. I adapted some of the code I found in these discussions to our own program and inserted it. This code, however, only releases about
    20 - 50 MB of memory once the report window is closed. This is unsatisfactory.
            protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
                FixToolbarTextBoxes(rptViewer);
                rptViewer.Clear();
                rptViewer.LocalReport.ReleaseSandboxAppDomain();
                rptViewer.LocalReport.Dispose();
                rptViewer.Dispose();
                GC.Collect();
                GC.WaitForPendingFinalizers();
                GC.Collect();
                MainForm mainForm = (MainForm) AllForms.GetByName("MainForm");
                Size size = mainForm.Size;
                mainForm.SetBounds(0, 0, 0, 0);
                mainForm.SetBounds(0, 0, size.Width, size.Height);
            public void FixToolbarTextBoxes(Control view)
                foreach (Control ctrl in view.Controls)
                    if (ctrl.GetType().Name.IndexOf("ToolStripTextBoxControl") >= 0) ctrl.VisibleChanged += this.onVisibleChanged;
                    else FixToolbarTextBoxes(ctrl);
            bool m_visible = false;
            public void onVisibleChanged(object sender, EventArgs args)
                Control ctrl = sender as Control;
                Delegate.CreateDelegate(typeof(Microsoft.Win32.UserPreferenceChangedEventHandler), 
                        sender, "OnUserPreferenceChanged");
                m_visible = ctrl.Visible;

  • Microsoft Reporting Services with BW

    Hi,
    I have posted it in a Reporting Services forum, but seems no one can answer it.
    We use Microsoft Reporting Services as the front end, to render data extracted from BW 7.0. The communication between Reporting Services and BW is based on Web Services, XMLA. And the username/password used for the connection is saved at Reporting Services side. The connection is fine, and everything works. However, we have got an issue at BW side, that every time a query request creates a session in BW system, and the session is never expired! So after a period of time, the memory will run out and BW server is not able to accept any new request. We have to manully log out those sessions, and then the BW server becomes available again.
    My question is how to set up the account in BW for Reporting Services request, so that it won't exhaust the server?
    Thanks.

    Just a quick addition.
    by transaction SM04, what i found in bw system is that when a report is run from Reporting Services side, the BW system actually creates more than 10 sessions under the same user name, with type Plugin HTTP. And even after I close the request from the Reporting Services side, the sessions are still there until you manually log them out.
    Shouldn't the session type RFC rather than Plugin HTTP?
    Edited by: huaxianz on Jun 22, 2010 6:52 AM

  • Microsoft Reporting Services portlets

    Hello Everyone
    We created some portlets that show some nice charts from Microsoft Reporting Services.
    The issue that we are having is the Export option
    When we select the Export option, the javascript includes the root call
    For example, the Reporting Services website has http://servername/Reports/Default.aspx
    The charts on the portlet shows OK
    When we are trying to use the Export function there is some javascript there that includes /Reports/ExportFunction.aspx?OUTPUT=PDF
    When I have the gateway, I end up with http://portalserver/Reports/ExportFunction.aspx?OUTPUT=PDF instead of the gateway call.
    Do you know how to fix this?

    do you have the ability to modify the javascript file? if so, you'll need to ensure that all links in external js files contain links that are gatewayed properly.
    i'm not sure i do it the most official way, but what I usually do is just have a hidden link somewhere in the portlet that will get gatewayed, and then grab the base url of that in javascript and use it to create gatwayed links.
    (in portlet)
    a href=/myapp/ id="mycoollink"
    (in js)
    var mylink = document.getelementbyid('mycoollink').href + "\xsrf.js"
    ..or soemthign liek that
    OR move all the JS to the imageserver and point to it there

  • Microsoft Report Error

    Hi everybody, is there anyone who can explain me what to do when this message comes: "Microsoft Report Error"?
    Since this morning I have been trying to use word, I open the document, I start working with it and after 5-10 minutes the computer crashes and this message comes. Recently I've re-installed Tiger, updated all the programms and installed quark Express 6.5.

    Try a search at http://groups.google.com/group/microsoft.public.mac.office.word for "Microsoft Report Error"; more appropriate place to resolve the issue than here.

  • Error in posting Goods Issue wrt Reservation

    Hi experts,
    System gives following error while posting Goods issue wrt reservation
    Message No - M7093
    Fld selectn for mvmt type 261 / acct xxxxxx differs for Fund (xxx)
    Then, I checked following things
    1.  RM07CUFA (SE38) report shows that
    "fund" field in Mvt type 261 field selection control is OPTIONAL ENTRY
    "fund" field in  G/L acct xxxxxx field selection control is HIDDEN
    2.  In OMJJ,   i did not find field " fund " for Mvt type 261
         In OBC4,  i did not find field " fund " for a/c xxxxxx (group Z012)
    How to resolve the problem?
    rgds,
    jay

    Thanks for your reply.
    In SE38 , I run Program RM07CUFA with Movement type 261 and Company code and GL account.
    Here it shows Fund field selection controls are different in Mvt type & G/L account
    But,there " fund"  field is not displayed to change its field selection control , neither in Mvt type nor in GL a/c.
    pls help me out
    Regards.
    jay

  • Microsoft Report Viewer Redistributable 2008 setup encountered Error on Server 2008 R2 Enterprise

    Hi,               
    I need help Microsoft Report Viewer Redistributable 2008 setup encountered Error on Server 2008 R2 Enterprise.  I tried to install many time failed every
    time. Please advise how I fix this issue
    After click OK
    Here is the next error message

    This one might sort it.
    http://support.microsoft.com/kb/970652
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Select multiply value in Microsoft Report Service

    Hi everyone!
    I'm in the process of creating
    a report in Microsoft Report Services and I have a one problem. My report is to show max, min, avg temperature in
    specified room. I need to make such a
    filter values: when I select one value of parameter (e.g. min temperature) must to show this one value in
    the chart and table, when I select two value (e.g. min and max temperature) must to show this two values etc. On the screen is choice values of parameter "Rodzaj wykresu" http://pl.tinypic.com/view.php?pic=f0x9ad&s=8#.U_o4p2OaKyE
    . I have a problem with Expression. My parameter have a multiply values and when I write sign "=" is error. I have no idea how this show or hidden values...
    This Expression  http://i62.tinypic.com/2s6m4o7.png is ok, when in parameter properties is http://pl.tinypic.com/?t=postupload and isn't move when I choice allow multiply values...

    I thought, when
    I want to make
    a window to select my values (this: http://i61.tinypic.com/11hv5n9.jpg) I must have a multiple values (in parameter properties select "allow multiple values"). I try your idea tommorow morning (I'm
    not working now).
    I'm a beginner in sql (I know him
    from 18. August). Thank You.
    Yep
    Once you check allow multiple values then you'll get parameter dropdown as per screenshot and you will be able to select multiple values which gets passed as a comma separated list and then you will be able to use In operator in filter expression.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to set a default date as a parameter in Microsoft Reporting Services 2008 to January 1st

    How can I set a default parameter for date for 01/01/yyyy.

    Hi Giss68,
    If I understand correctly, you want to set the first day of current year as a default value of a parameter in Microsoft Reporting Services 2008 report.
    If in this scenario, we can use the expression below as the default value in the parameter:
    =DateAdd("d",-DatePart(DateInterval.DayOfYear,Today,0,0)+1,Today)
    The following document about DateAdd function is for your reference:
    http://technet.microsoft.com/en-us/library/aa337194(v=sql.100).aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Issue with Exceptions in Reporting

    Hi BW Gurus,
                I am still new to BW, Like I have a issue with exceptions in reporting.
                Let me explain clearly, I created a report which gives me two MRP values they are for example V1 and PD(there other MRP types but I am focusing only this two). Here I can see in my report those two values and the overall result of all MRP types (they are 6 different types). My report looks like this for examply
       V1                  46,782,434(this are rough figures)
       PD                  56,232,453
       Overall Result      102,434,111
            Here my requirement is I need to find this overall result like accroding to thresold values this overall result shows RED,YELLOW,GREEN.
            I have given threshold values in exceptions. like
       0           -
    > 45,000,000(Red)
       45,000,001  -
    > 65,000,000 (Yellow)
       65,000,001  -
    > 500,000,000 (Green)
           But according to this values I should get Red( Overall Result), I cant see any change in the overall result.
           Please can some one give advice how to reflect this threshold values in my report.Or I have to select any other options in exceptions.
           Thanks in advance.
    Regds
    Sam

    Not really possible with BEx functions, but if you provide a workbook to users you can just type in this information in a non-Bex cell and save the workbook.
    Else you can try to name your exception such that it shows the value ranges. Then in the report, from the toolbar Layout > Display Exceptions.
    Hope this helps...

  • Performance issues when creating a Report / Query in Discoverer

    Hi forum,
    Hope you are can help, it involves a performance issues when creating a Report / Query.
    I have a Discoverer Report that currently takes less than 5 seconds to run. After I add a condition to bring back Batch Status that = ‘Posted’ we cancelled the query after reaching 20 minutes as this is way too long. If I remove the condition the query time goes back to less than 5 seconds.
    Please see attached the SQL Inspector Plan:
    Before Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    AND-EQUAL
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N2
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_N1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    After Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    TABLE ACCESS FULL GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX RANGE SCAN GL.GL_JE_HEADERS_N1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    INDEX UNIQUE SCAN GL.GL_CODE_COMBINATIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    Is there anything i can do in Discoverer Desktop / Administration to avoid this problem.
    Many thanks,
    Lance

    Hi Rod,
    I've tried the condition (Batch Status||'' = 'Posted') as you suggested, but the qeury time is still over 20 mins. To test i changed it to (Batch Status||'' = 'Unposted') and the query was returned within seconds again.
    I’ve been doing some more digging and have found the database view that is linked to the Journal Batches folder. See below.
    I think the problem is with the column using DECODE. When querying the column in TOAD the value of ‘P’ is returned. But in discoverer the condition is done on the value ‘Posted’. I’m not too sure how DECODE works, but think this could be the causing some sort of issue with Full Table Scans. How do we get around this?
    Lance
    DECODE( JOURNAL_BATCH1.STATUS,
    '+', 'Unable to validate or create CTA',
    '+*', 'Was unable to validate or create CTA',
    '-','Invalid or inactive rounding differences account in journal entry',
    '-*', 'Modified invalid or inactive rounding differences account in journal entry',
    '<', 'Showing sequence assignment failure',
    '<*', 'Was showing sequence assignment failure',
    '>', 'Showing cutoff rule violation',
    '>*', 'Was showing cutoff rule violation',
    'A', 'Journal batch failed funds reservation',
    'A*', 'Journal batch previously failed funds reservation',
    'AU', 'Showing batch with unopened period',
    'B', 'Showing batch control total violation',
    'B*', 'Was showing batch control total violation',
    'BF', 'Showing batch with frozen or inactive budget',
    'BU', 'Showing batch with unopened budget year',
    'C', 'Showing unopened reporting period',
    'C*', 'Was showing unopened reporting period',
    'D', 'Selected for posting to an unopened period',
    'D*', 'Was selected for posting to an unopened period',
    'E', 'Showing no journal entries for this batch',
    'E*', 'Was showing no journal entries for this batch',
    'EU', 'Showing batch with unopened encumbrance year',
    'F', 'Showing unopened reporting encumbrance year',
    'F*', 'Was showing unopened reporting encumbrance year',
    'G', 'Showing journal entry with invalid or inactive suspense account',
    'G*', 'Was showing journal entry with invalid or inactive suspense account',
    'H', 'Showing encumbrance journal entry with invalid or inactive reserve account',
    'H*', 'Was showing encumbrance journal entry with invalid or inactive reserve account',
    'I', 'In the process of being posted',
    'J', 'Showing journal control total violation',
    'J*', 'Was showing journal control total violation',
    'K', 'Showing unbalanced intercompany journal entry',
    'K*', 'Was showing unbalanced intercompany journal entry',
    'L', 'Showing unbalanced journal entry by account category',
    'L*', 'Was showing unbalanced journal entry by account category',
    'M', 'Showing multiple problems preventing posting of batch',
    'M*', 'Was showing multiple problems preventing posting of batch',
    'N', 'Journal produced error during intercompany balance processing',
    'N*', 'Journal produced error during intercompany balance processing',
    'O', 'Unable to convert amounts into reporting currency',
    'O*', 'Was unable to convert amounts into reporting currency',
    'P', 'Posted',
    'Q', 'Showing untaxed journal entry',
    'Q*', 'Was showing untaxed journal entry',
    'R', 'Showing unbalanced encumbrance entry without reserve account',
    'R*', 'Was showing unbalanced encumbrance entry without reserve account',
    'S', 'Already selected for posting',
    'T', 'Showing invalid period and conversion information for this batch',
    'T*', 'Was showing invalid period and conversion information for this batch',
    'U', 'Unposted',
    'V', 'Journal batch is unapproved',
    'V*', 'Journal batch was unapproved',
    'W', 'Showing an encumbrance journal entry with no encumbrance type',
    'W*', 'Was showing an encumbrance journal entry with no encumbrance type',
    'X', 'Showing an unbalanced journal entry but suspense not allowed',
    'X*', 'Was showing an unbalanced journal entry but suspense not allowed',
    'Z', 'Showing invalid journal entry lines or no journal entry lines',
    'Z*', 'Was showing invalid journal entry lines or no journal entry lines', NULL ),

Maybe you are looking for