Report server is open always

I have the following problem: once it leaves the report by the printer, is not closed in automatica form the Report Server anybody could say like solving this problem to me?

Hi,
You must do something like that on your EXIT trigger/code:
DECLARE
DOWN PARAMLIST;
BEGIN
DOWN:=Get_Parameter_List('down');
IF NOT Id_Null(down) THEN
Destroy_Parameter_List(down);
END IF;
down:= Create_Parameter_List('down');
Add_Parameter(down,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'Yes');
RUN_PRODUCT ( REPORTS, Report_Name, SYNCHRONOUS, RUNTIME, FILESYSTEM, down, null);
end if;
EXIT_FORM;
END;
Report_Name must be an empty report (I suggest that DESTYPE
to be FILE and give a name and path of a file by default,
like C:\XX.TXT).
When Report Runtime executes an empty report with a parameter like
the one on the example, it "AutoClose" Report Background.
Thanks .

Similar Messages

  • The report server cannot open a connection to the report server database

    I have SQL server installed to I can connect to RS using my domain/user account. However, when I try to go to http://<machine_name>/Reports/Pages/ReportViewer.aspx, I get error as
        * The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
              o Login failed for user '<machine name>\ASPNET'
        * I also noticed that after I installed RS,I do not see reports folder under C:\Inetpub. This folder does not exist, I manually created reports virtual folder in IIS and liked it to  C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
        * Thsi is obviously permissions issue and I missing something so your help will be really appreciated.
    During installation, I always specified user as domain\user.
    Thanks

    Hi NewToReporting,
    From you descriptions, I know you have tow questions: 1.Why the SQL Server Reporting Services does not create virtual directories in the wwwroot? 2. Why the error "A connection to the database is required for all requests and processing" happen? If I have misunderstood, please do not hesitate to let me know.
    One of the changes in SQL Server Reporting Services 2008 is the removal of the Internet Information Services (IIS) dependency. So, we won't see report server virtual directories in the wwwroot folder.
    The second problem is caused by the user '<machine name>\ASPNET' does not have permission to login the SQL Server database "Reports".
    To solve the issue, please follow these steps:
    1.Open SQL Server Reporting Services Configuration Manager(Start - All Programs - Microsoft SQL Server 2008 - Configuration Tools)
    2.Go to "Database" tab.
    3.Click "Change Credential"
    4.In the coming dialog, fill the textboxes with this information(some textboxes are not modifiable )
    Server: <the server name of the report server catalog database>
    Authentication Type: Current User - Integrated Security (This will use the user we are login to connect to the database server.)
    UserName:(If selecting "Current User - Integrated Security", this textbox is not modifiable. )
    Password:(If selecting "Current User - Integrated Security", this textbox is not modifiable. )
    5. Click Next
    6.In the coming dialog, configure the following information:
    Authentication Type: Service Credential(This will use the user the reporting services running under to connect to the report server catalog database. The user is the one we configured in "Service Account" tab)
    UserName:(If selecting "Service Credential", this textbox is not modifiable. )
    Password:(If selecting "Service Credential", this textbox is not modifiable. )
    7.Click Next to confirm the information.
    8.Click Next to apply.
    This will auto add the user  '<machine name>\ASPNET'  to login group, set this user to be the owner of report server catalog database, and also give this user "RSExce" role.
    Now, we are able to connect to the report server.
    For more information, please see:
    Why Leave IIS: http://blogs.msdn.com/bwelcker/archive/2007/12/04/everybody-why-leave-iis.aspx
    Configuring a Report Server Database Connection: http://msdn.microsoft.com/en-us/library/ms159133.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin ChenJin Chen - MSFT

  • The Report Server page comes up on local server, but the page does not open from clients

    Hello,
    The Report Server Page opens up just fine on the local server, but page does not open up from desktops and client PCs.   SSRS is installed on a Windows Server 2008 R2 server and with SQL Server 2008 R2 SP2
    Clients are using IE 11 and they see:
    Oops! Internet Explorer could not connect to tumdv-fsql01
    How can make this site accessible from clients?
    Thanks
    Paul

    That did not work.
    What port numbers specifically does SSRS use?  I will check the firewall.
    http://100.100.100.100/CengeaReports/Pages/Folder.aspx
    When I add the IP Address and try the link again, IE says "This page can not be displayed".  When I try the Fix connection problems, IE says:
    "The website is online, but it is not responding to connection attempts."
    Paul

  • Ask for debugging when customize authorization in the security extension sample of report server

    I have tried the sample of reporting service provide in MSDN
    http://msdn.microsoft.com/en-us/library/ms160724.aspx
    I successfully deploy the sample in my report server. But I want to know what happen in the authorization in order to authorize right to different user login from the login page. I can't debug the class Authorization by attaching aspnet_wp.exe in the process.
    Actually I want to know the value of secDesc, AceStruct ace in each CheckAccess method. But I can't debug in the file Authorization that implement interface IAuthorizationExtension. I try to add some coding in the Authorization class to write  the value of secDesc, AceStruct ace in file. It fails. Create Event log.... it also fail...any other method?

    Hi,
    "secDesc" is the security descriptor, which contains the following information for an item in the report server database:
    The group or user that has some type of permission to perform operations on the item.
    The item's type.
    A discretionary access control list controlling access to the item.
    AceStruct  is an access control entry for a trustee (user, group, or computer) that specifies the operations that a trustee can perform on items in the report server database. You can get a instance of AceStruct by de-serializing “secDesc”
    In addition, when you tried to debug the program, did you follow the steps below.
    Start Visual Studio .NET and open CustomSecurity.sln on your test report server.
    Open Internet Explorer and navigate to Report Manager while leaving the sample code open in Visual Studio.
    Switch to Visual Studio and set some break points in the custom security extension project code.
    With the extension project still the active window, from the Debug menu, click Process.The Processes dialog opens.
    From the list of processes, select the Aspnet_wp.exe process (or W3wp.exe, if your application is deployed on IIS 6.0), and click Attach.
    In the Attach to Process dialog, select the Common Language Runtime program type, and then click OK. For improved debugging performance, make sure that Native is not a selected program type.
    When the sample runs, a logon form appears. Type the user credentials into the logon form and click the Logon button. Whenever your break points are encountered during processing, the debugger should stop execution that point.
    Step through your code using the F11 key.
    Hope this helps.
    Thanks.

  • Moving the Reporting Services and Report Server DB into AlwaysON Availability Group

    I have configured the new set of SQL 2012 AlwaysOn Availability Group and need to move the SSRS and it's Report Server DB into that Availability Group.
    Can anyone give tell me the steps to do this move?
    Can I just backup the ReportServer DB into the AG server then import that DB into the SSRS running on the new AlwasyOn AG SQL?

    Hello,
    Based on your description, it seems that you want to move the Report Server database to a different server. If so, both the reportserver and reportservertempdb databases must be moved or copied together. You can move the databases by using Detaching
    and Attaching or Backup and Restore.
    What's more, you should also backup the encryption keys for the report server database you want to move and then restore to the new server.
    You can configure report server databases in Always On Availability Group to be part of a replica; however Reporting Services will not automatically use a different replica for the report server databases when a failover occurs
    Reference:
    Moving the Report Server Databases to Another Computer
    Reporting Services with AlwaysOn Availability Groups (SQL Server)
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • RAS Java API Exception on Crystal Reports Server XI R2

    Hi
    We download run the evaluation version of Crystal Reports Server XI R2 SP2.
    Our web application uses RAS Java API to talk to Crystal Reports Server to open unmanaged reports.
            ReportClientDocument lo_ReportClientDoc = new ReportClientDocument(); //*** Cause exception
            ReportAppSession reportAppSession = new ReportAppSession();
            reportAppSession.createService(
              "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"); //*** Cause exception
            reportAppSession.setReportAppServer(servername);
            reportAppSession.initialize();   //*** Cause exception
            lo_ReportClientDoc.setReportAppServer(reportAppSession.getReportAppServer());
            lo_ReportClientDoc.open(asReportName,OpenReportOptions._openAsReadOnly);
            ReportServerControl control = new ReportServerControl();
            control.setReportSource(lo_ReportClientDoc.getReportSource());
    The lines marked with "//*** Cause exception" above cause the following exceptions, although at the end the reports came up correctly. When we were running Crystal Reports Server XI (Release 1), we did not see this exception. Can you tell what is going wrong? Thanks.
    SystemOut     O org.xml.sax.SAXParseException: File "null" not found.
    +     at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1202)+
    +     at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:499)+
    +     at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:312)+
    +     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1079)+
    +     at com.crystaldecisions.xml.serialization.XMLObjectSerializer.load(Unknown Source)+
    +     at com.crystaldecisions.proxy.remoteagent.ClientSDKOptions.readClientSDKOptions(Unknown Source)+
    +              at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.b(Unknown Source)+
    +     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.h(Unknown Source)+
    +     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(Unknown Source)+

    Hey did anyone ever answer your question, I have exactly the same problem 4 years later, sigh

  • After restart Oracle Report Server some reports start automatically to run.

    When our report server is restarted always a number of reports are started automatically.
    I don't know why these are started automatically?
    Is there a avoid starting these reports?

    Hello,
    If you are storing the jobs on the database then please check:
    Using the Reports Server Queue PL/SQL Table and API - RW_SERVER_JOB_QUEUE (Doc ID 72531.1)
    otherwise just rename the report server .dat files
    1- Go to $ORACLE_HOME/reports/server directory
    2- Rename Reports Server dat file.
    Unix example :
    mv reports_server_name.dat reports_server_name.dat.old
    3- Try again to start Reports Server
    Possible causes of the issue are:
    1.scheduled jobs
    or
    2.restart of report server while some jobs were waiting in the queue
    Regards,
    Alex
    If someone's answer is correct or helpful please mark it accordingly.
    Edited by: AlexDiniasi on 02.08.2012 18:49

  • Can default report server  and OC4J be  used ..?

    Hi,
    *1*. I had a report server named stcreportserver that was working fine during the testing phase but suddenly it started throwing errors like cannot connect to report server,cannot open file and cannot get the job id........
    I would like to know when i host this application on the windows server 2003 for the users can i use the default report server instead of creating a new server.....
    *2.* I have got another application say app2 ...so for hosting do i need to make some additional configurations like creating a new oc4j instance for this application...or can i use the default oc4j instance that i use for my first application.
    Note: I use the same database for both the application but different schemas.

    <p>
    We did some tests and discovered the following: <strong> </strong>
    </p>
    <p>
    <strong>Using "null" for the filename.</strong>
    </p>
    <p>
    If I pass in "null" for the fileName, my code runs without any issues and the FRS file is now changed to a new random file, but this file does not have the .rpt extension. I can preview the report in the CMC without any issues, but the underlying file is missing the .rpt extension. I can manually add the .rpt extension and open the report in the CR Designer without any issues. In this case, the InfoObject's SI_UPDATE_TS property is updated.
    </p>
    <p>
    <span style="font-weight: bold">Using a new filename</span><br />
    If I change the fileName in anyway, such as prepending "1" to the fileName, my code runs without errors as well. I can see that the FRS file has been updated with the new name and it does have the .rpt extension.<br />
    <br />
    In this case, the InfoObject's SI_UPDATE_TS property is updated as well.
    </p>
    <p>
    <em>Currently we don't know the following things:</em>
    </p>
    <p>
    <em>Is this supported, or is this just a bug?</em>
    </p>
    <p>
    <em>I don't know the answer right now but at least you know more now. I'll try to update you if I hear anything.</em>
    </p>
    <p>
    Rob Horne<br />
    <a href="/blog/10">Rob's blog - http://diamond.businessobjects.com/robhorne</a>
    </p>

  • 9i report server related patches

    Please share the oracle patches applied for the purposes fixing someting or the other with respect to Oracle 9i report server.

    1) Open the $ORACLE_HOME/sysman/emd/targets.xml in a text editor.
    2) Search for the reports target.
    The target type for reports is oracle_repserv.
    The target definition contains a property for a username,
    for example:
    <Property Name="UserName" VALUE="repadmin" />
    3) Change the VALUE to a valid Single Sign On username.
    One of the default usernames used for SSO is "orcladmin".
    4) Find the property for password, as this will have to be modified as well,
    for example:
    <Property NAME="Password" VALUE="3f769c1e7cfd7411" ENCRYPTED="TRUE"/>
    5) Change the VALUE to be the password for the SSO account you provided as
    UserName previously.
    This is likely the Oracle9i Application Server admin password.
    Also, set ENCRYPTED = "FALSE" for example:
    <Property NAME="Password" VALUE="adminpasswd" ENCRYPTED="FALSE"/>
    6) Search for the server name property of the Reports Server.
    For example, if the Reports Server is installed on the machine
    prod1-sun in domain us.oracle.com, it would have the following server
    property:
    <Property NAME="Server" VALUE="rep_prod1-sun.us.oracle.com"/>
    7) Delete the domain portion of the server name.
    For example, in the case above, you would remove us.oracle.com:
    <Property NAME="Server" VALUE="rep_prod1-sun"/>
    8) Restart Oracle Enterprise Manager:
    # $ORACLE_HOME/bin/emctl stop
    # $ORACLE_HOME/bin/emctl start
    Where ORACLE_HOME is set to the Infrastructure ORACLE_HOME.
    NOTE: Oracle Enterprise Manager automatically encrypts the password and
    sets the ENCRYPTED flag to TRUE.

  • Server 4: open directory entry for server reports wrong IP address

    I'm running Server 4 on a Mac Mini (late 2012) running OS X 10.10.
    The server is configured as a stand-alone machine providing services to users connecting over its fixed IP public address.  The server uses Open Directory to keep record of authorised users of the services provided (mail, calendar, wiki, contacts, some file sharing), and the machine is configured as an OD master.
    I've noticed that the entry relating to the server on the Server 4 panel for Open Directory (the only entry showing by the way) lists three IP addresses below the name of the machine.  My concern is that these IP addresses are not related to the IP address being used by the machine, and there does not appear to be any simple way to change them.  The IPs reported are 10.37.129.2, 10.0.1.2, 10.211.55.2.  The server's fixed IP is in the range 45.146.x.x and the local network running below our router that the server connects to has IPs in the range 192.168.1.x.  So It is not clear where these IPs might be coming from.
    What do these numbers relate to?  If they are important, should they point to the IP address occupied by the server?  If so, how do I make this change in settings?
    Thanks a lot in advance for any help that you can provide.

    <bump>

  • SCCM Client Report Tool not opening up correct URL to Report Server

    I recently install the SCCM 2012 right click tools and within the downloaded zip file there is SCCMClientToolsSetup2012.exe which adds a whole bunch of additional features when right clicking devices in the console. The problem is no matter what I put as
    the Report Server while doing the install, it never opens the reports for the device... It gives me the following error:
    Server Error in '/ReportServer' Application.
    The resource cannot be found.
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it
    is spelled correctly.
    Requested URL: /ReportServer/Pages/ReportViewer.aspx
    I have changed the report server virtual directory to match ReportServer from the default, but it still does not open the reports... Any idea what could I might be wrong?
    I have the console and right click tools installed on my Windows 7 workstation. the Server is Windows 2012 Datacenter with SQL 2012 and SCCM 2012 R2.
    Thanks!
    Tony

    Yes, it appears to work directly from the console and via web... But it does show Report.aspx vs. ReportViewer.aspx.
    Hi,
    Did you open reports from Web Service URL in Reporting Services Configuration Manager?
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Crystal Reports Server XI On-demand Subreport does not open

    Hi,
    I'm using Crystal Reports XI and have a report with two on-demand subreports. In Crystal Designer, both work fine - that is when I click on either on-demand subreport in preview, it opens in another tab.
    But in Crystal Reports Server, one subreport works but the other one just opens another tab with the main report. What could be the problem?
    Thanks,
    Rob
    Edited by: Rob Hershfield on Feb 2, 2010 4:36 AM

    I solved it - Both subreports have no name but the one that wasn't working apparently needed a name so I just typed "." (a period) and now it works.
    -Rob

  • Reports are blank when opened from Reports Server

    I have created a report project in Visual Studio 2013 and deployed a test report to the local reports server (SSRS 2012).
    When I preview the report from visual studio it opens well, but when I try opening it from Report Server URL, I can see the report viewer toolbar but once I click "View Report" it shows "Loading" and then a blank page appears.
    I then tried to delete the datasource, datasets and delete any report contents and just keep the title, still a blank page is the only thing that appears

    Hi SB User,
    According to your description, when you run the report, it displays a blank page.
    Based on my research, it has reported the same issue when running the report in Chrome and Safari browsers. If that is a case, you can add the code below to ReportingServices.js file.
    //Fix to allow Chrome to display SSRS Reports
    function pageLoad() {
    var element = document.getElementById("ctl31_ctl09");
    if (element)
    element.style.overflow = "visible";
    Reference:
    Google chrome opens blank pages when open SSRS Reports
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Generate report on server and open it in a client report viewer, possible?

    Hi guys,
    We are new to Crystal report so please feel free to correct me if I had the idea wrong.
    Our client-server application was written in a language other than Java and Dot Net. We want to use Java and Crystal SDKs to glue our application, the Crystal Report Server and Report Viewers together...
    We are planning to collect report parameters within the client of our own application (due to attributes of our application and parameters we need) and then pass it back to the server side (our server, not Crystal server). Our server will then generate a XML file and run a Java program talks to the Crystal Report Server (XI R2) to run a report with the XML file and store the result on the server side. Then it will send a message back to the client, tells it the report has been generated. Then our client program will fire up the Crystal Report Viewer to view the report.
    I was just wondering if it is possible to do what we wanted with Java SDKs that are available to us (JRC, Viewer SDK and Report Application Server SDK)? Has anybody done the similar thing before?
    Also we would like to have some drill-down reports with XML as report data source. Would it be possible to intersect drill-down event fired in a report viewer(Java and Web)?  I would imagine the report viewer will then call some Java program talk to our application server to generate XML file for the drill-down section and then some how programmatically tell the viewer to display the drilled down report with the XML file just generated...  Will my design work? Any advice or thought will be highly appreciated.
    Thank you,
    Dong

    If you are using Crystal Reports Server, you can do almost everything you want using the RAS Java SDK.  RAS will accept XML as a runtime datasource, and then manipulate the report at the server end and render the report in the DHTML viewer.  If you want your client to call the viewer, have it call the JSP file that the viewer code has been added to.
    The RAS SDK doesn't have any ability to intercept or manipulate drill down events, so the second part of what you would like to do may not be possible.  Because our viewers are dynamically generated there is no source code to look at or use to make changes to the viewer outside of what is available in the viewer SDK. 
    Below is a link to the developer library with the Report Application Server SDK that has sample code and tutorials to do what you need to do, as well as the Java Docs of the RAS SDK.
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm

  • Report Server 10g - unexpected font change on second page of the report

    Hi all,
    I'm having a problem with Oracle Report server 10.1.2.3.0.
    It's sometimes using an unusual font (It think it looks like a Greek one).
    One example would be when a text overflow from page one to the second page it will change from Times New Roman to a "Greek" font and switches from bold to normal font it still happens in the same "Text" type item just on a new page. However when I update the text in the DB to a longer one so it flows through the whole second page to the 3rd page then it's using the correct font again.
    When I open the generated PDF file in a text editor I see an unusual value in one of the font settings "/BaseFont /#53#79#6D#62#6F#6C" when I edit it manually to the value taken from another occurrence of the "BaseFont" in the same file it helps and changes the font to the correct one.
    When I export the report to the PDF from report builder it's always using the correct font.
    The encoded font "/#53#79#6D#62#6F#6C" translates to: "Symbol"
    select CHR(TO_NUMBER('53','xx'))||CHR(TO_NUMBER('79','xx'))||CHR(TO_NUMBER('6D','xx'))||CHR(TO_NUMBER('62','xx'))||CHR(TO_NUMBER('6F','xx'))||CHR(TO_NUMBER('6C','xx')) from dual;
    The correct font is as expected "Times-Roman"
    I noticed that this happens only when HTML code is allowed in the Text/field. When I generate HTML version of the report I see after the page break and new table on the new page the following tag <font face="symbol">.  When I set Web Setting->"Contains HTML Tags" set to NO then font stays the same even after the page break.
    Did anyone experienced something similar?
    Thank you,
    Palo

    We have had this a few times before and there are 2 ways that most likley will fix this.
    If on mac close all adobe apps, do a find for all files with the .lst in their file name. Delete all you .lst files, they are font database files that go corrupt and will regenerate themselves when needed and usually a working copy.
    Close any multiple master fonts you have open in fontbook, and other utility such as Suitcase. Multiple master fonts will have a filename like "Kronos mm", and in the adobe illustrator type >> font menu i believe they have a different icon (possibly a mm) than the others {a(type 1), tt(true type), O (opentype)}
    Your problem is likely the 1st option, as the mm problem usually happens while editing the file, while the other is after you open the file. If you still have the problem, you then may have 2 different fonts sharing the same FOND ID number. Close as many fonts as you can, especially the one that looks like your wrong font.

Maybe you are looking for