Different output running Report  on server and running local

hi all
I have the following problem, running my report on development environment i have the desidered results, but running the same report with the same parameters on Web server side, I have no results.
Could you help me???
Thanks in advance
Antonio

Hi
Yes other reports work without these problems...
I think that the problem is the report parameter form, and the parameter report definition.... I think so, because, if I set the report execution parameter "paramform" to no, giving the same input execution values it functs as local, but if I set it to yes it doesn't work.
I'm trying to cancel report parameter form on the report and remake it, I'll let you know.
Thanks in advance
Antonio

Similar Messages

  • Trouble with permission to open current PDF from one user to another user. what is the cure. i am running nthe current Server and updated Os 10.9.2

    Trouble with permission to open current PDF from one user to another  What is the cure ? I'm running the latest Server and OS 10.9.2.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • Different service packs in admin server and managed server

    Hi,
    Has anybody successfully used a WebLogic 6.1 SP1 managed server that
    connects to a WebLogic 6.1 SP 2 admin server?
    BEA's docs claim:
    "The Administration Server must be running the same version of
    WebLogic Server as the Managed Servers in its domain. The
    Administration Server must also have the same or later service pack
    installed as the Managed Servers in its domain. For example, the
    Administration Server could be running version 6.1, Service Pack 2
    while the Managed Servers are running version 6.1, Service Pack 1."
    This is precisely what we want to do, but it's not working. In this
    case, we need to run the admin server and managed server on the same
    machine, but we need the managed server to run SP 1 to work around a
    bug in SP 2. So to our initial installation of WebLogic 6.1 SP 2,
    where I run the admin server, I added a second installation, this time
    WebLogic 6.1 SP 1, with a different BEA_HOME. When I start the
    managed server from this second installation, I can see from the logs
    that it is starting up correctly as 6.1 SP 1. But then it fails with
    a ClassCastException when connecting to the admin server (I have
    included the stack trace below). This seems typical of version
    compatibility problems I've had when I've tried connecting to a server
    with a client of a different version.
    But in this case, you are supposed to be able to have the managed
    server with a lower service pack. Does this work for anybody? Has
    anybody encountered the problem I'm having? Note that the servers are
    not clustered, if that makes any difference, and we have a custom
    security realm in addition to the default file realm (though "system"
    of course is in the default file realm).
    Thanks in advance for any help,
    Jim Doyle
    [email protected]
    ####<Aug 8, 2002 10:25:38 AM EDT> <Emergency> <Server></server>
    <chile.iso-ne.com> <webui
    server> <main> <system> <> <000000> <Unable to initialize the server:
    'Fatal ini
    tialization exception
    Throwable: java.lang.ClassCastException:
    weblogic.security.acl.DefaultUserInfoImpl
    Start server side stack trace:
    java.lang.ClassCastException:
    weblogic.security.acl.DefaultUserInfoImpl
    at weblogic.kernel.BootServicesImpl.authenticate(BootServicesImpl.java:189)
    at weblogic.kernel.BootServicesImpl.invoke(BootServicesImpl.java:145)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:620)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:581)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:164)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:640)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
    at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace

    Hi,
    Has anybody successfully used a WebLogic 6.1 SP1 managed server that
    connects to a WebLogic 6.1 SP 2 admin server?
    BEA's docs claim:
    "The Administration Server must be running the same version of
    WebLogic Server as the Managed Servers in its domain. The
    Administration Server must also have the same or later service pack
    installed as the Managed Servers in its domain. For example, the
    Administration Server could be running version 6.1, Service Pack 2
    while the Managed Servers are running version 6.1, Service Pack 1."
    This is precisely what we want to do, but it's not working. In this
    case, we need to run the admin server and managed server on the same
    machine, but we need the managed server to run SP 1 to work around a
    bug in SP 2. So to our initial installation of WebLogic 6.1 SP 2,
    where I run the admin server, I added a second installation, this time
    WebLogic 6.1 SP 1, with a different BEA_HOME. When I start the
    managed server from this second installation, I can see from the logs
    that it is starting up correctly as 6.1 SP 1. But then it fails with
    a ClassCastException when connecting to the admin server (I have
    included the stack trace below). This seems typical of version
    compatibility problems I've had when I've tried connecting to a server
    with a client of a different version.
    But in this case, you are supposed to be able to have the managed
    server with a lower service pack. Does this work for anybody? Has
    anybody encountered the problem I'm having? Note that the servers are
    not clustered, if that makes any difference, and we have a custom
    security realm in addition to the default file realm (though "system"
    of course is in the default file realm).
    Thanks in advance for any help,
    Jim Doyle
    [email protected]
    ####<Aug 8, 2002 10:25:38 AM EDT> <Emergency> <Server></server>
    <chile.iso-ne.com> <webui
    server> <main> <system> <> <000000> <Unable to initialize the server:
    'Fatal ini
    tialization exception
    Throwable: java.lang.ClassCastException:
    weblogic.security.acl.DefaultUserInfoImpl
    Start server side stack trace:
    java.lang.ClassCastException:
    weblogic.security.acl.DefaultUserInfoImpl
    at weblogic.kernel.BootServicesImpl.authenticate(BootServicesImpl.java:189)
    at weblogic.kernel.BootServicesImpl.invoke(BootServicesImpl.java:145)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:620)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:581)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:164)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:640)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
    at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
    at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace

  • Launch Console fails: the vnc viewer is not installed on the manager server and no local vnc viewer is found.

    Hello,
    I have created and started a VM image and try to configure this image, but when launching the console I get the error:
    "the vnc viewer is not installed on the manager server and no local vnc viewer is found."
    I've read the vnc console does not rely on a local version of the vnc client, but uses the java vnc.  From the java log I get:
    Java Web Start 1.6.0_43
    Using JRE version 1.6.0_43-b01 Java HotSpot(TM) Client VM
    User home directory = C:\Users\kgraaf
    28-jun-2013 10:17:04 com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: ServiceType : VNC
    28-jun-2013 10:17:04 com.oracle.ovm.ras.proxy.external.ViewerLauncherFactory getViewerLauncher
    INFO: Os is : windows 7
    It is not clear to me yet what is expected to be running where. My configuration is:
    - VM Server 3.1 on Linux host A
    - VM Manager 3.1 on Linux host B
    - Connected via Windows 7 64-bit client via a browser to the Management Server. Let's call this host C
    When launching the console it tries to connect to 127.0.0.1:60505 so to localhost and a port#.
    - Given this information I would expect it tries to launch the vncviewer from my management server (host B).
    - /usr/bin/vncviewer is installed on host B, but this appears not to be used.
    - We see java vnc is started on my Windows 7 client (host C) and it tries to connect to 127.0.0.1 (localhost on my Windows client??) and not to the remote management server (host B)!?
    Questions:
    1 - Can someone explain what exactly is being executed (from where and to which host) when launching the console?
    2 - Is this a java version / Windows 7 related configuration issue? How to fix this?
    Thanks,
    Klaas.

    Per Oracle's website - RAN into this a few hours ago...Do it as ROOT on the VM Manager Host
    http://docs.oracle.com/cd/E26996_01/E18548/html/BABFBEIF.html
    It is preferred that you install either TightVNC on the Oracle VM Manager host computer. You can get the latest TightVNC package from:
    http://oss.oracle.com/oraclevm/manager/RPMS/http://oss.oracle.com/oraclevm/manager/RPMS/
    Install TightVNC with the command:
    # rpm -ivh tightvnc-java-version.noarch.rpm

  • Could not start the Crystal Report Application Server service on local computer

    Post Author: [email protected]
    CA Forum: Deployment
    Hi
    I have a following problem.
    I have installed Crystal report application server(RAS)(CE embeded 10) on Windows server 2003 enterprise x64 edition.
    When i start it, i see an error:
    Could not start the Crystal Report Application Server service on local computerError 1067: the process terminated unexpectedly
    Sometimes, i can start it but it stops a few minutes later.
    I have disabled DEP (data execution prevention).
    Log:
    Faulting application crystalras.exe, version 10.0.0.533, faulting module unknown, version 0.0.0.0, fault address 0x00000000.
    Please help
    Thanks for your help

    This error occurs after an initial install, when the Oracle suite is installed logged in as the user(who has admin rights on the machine). If this is the case,
    1.Go to Services (Admin Tools > Services)
    2.Double click the Oracle services( BI Server or Presentation or TNS Listener).
    3.Go to Log On tab
    4.If local system account is checked , un-check that option. Check "This Account" option
    5.Give the user information for that machine(e.g domain\username)
    6.Specify password associated with the user ( the username/pwd that is used to login to the machine)
    7.Confirm pwd and click Apply.
    8.re-start the service.
    This is what i did , and it worked.
    good luck and hopefully oracle addresses these issues , they become frustrating to use the product.
    Thanks,
    Ram

  • Can you access applications through BEA Portal Server and run applications on different BEA Application Server?

    Is it possible to use common Corporate BEA Portal server and able to run different Business Unit applications on different BEA Application Servers?

    Hi Akula,
    You may want to read this article:
    http://dev2dev.bea.com/products/wlportal81/articles/wsrp.jsp
    It maybe related to what you want.
    Regards,
    --alex
    Akula Venkata <[email protected]> wrote:
    Is it possible to use common Corporate BEA Portal server and able to
    run different Business Unit applications on different BEA Application
    Servers?

  • Deploye 9i reports on 10g application server and run report

    Dear All
    I am new to oracle application server.
    We have application developed in oracle 9i developer suit (forms and reports).
    I have deployed the forms on application server quit easily by configuring formsweb.cnfg file. I am using mmb file for menu and all the forms are attahed to it and running. I am facing proble in deploying and run the reports through menu i.e mmb file. Some one told me that it is better to run reports from forms. So i put the button on form and use the command of web.show_document and its URL in braces and define the key in cgdcmd.dat (i dont know the exact name of file).
    Key was some thing like this :
    reptest: abc/abc@orcl desttype = cache %*
    and in url:
    http://192.168.1.147:7779/reports/repservlt?reptest&..... d:\abd\reports\report.rdf
    (i dont know exactly the url)
    but any way, after that i run the form and press the button to call reports,...., browser does open and it shows a report template but not with the report data but with REP-ERROR. Error was i guess 52001 or 2. well the message of report error was. "reptest key cannot be found" / "reptest key is not defined".
    while i have already define the key in above mention .DAT file. and after that i have restart the instance but still no use.
    CAN ANY ONE HELP !, I AM IN GRAVE SITUATION OF EMERGENCY AS I HAVE TO CONFIGURE REPORTS ON MENEU TILL TOMORROW ANY HOW.
    Thanks
    Abdul Majid.

    There is a forms/reports only installation available and it is safe to use this. This is if you ONLY want to run forms and reports and don't need things like SSO

  • Error when running reports: "File Server needs to be re-initialized"

    Hi.
    This error "File Server needs to be re-initialized" appears when our users try to run reports on 11.5.10. EBS.
    There is also a message box that appears and reads:
    "A error occurred while attempting to establish a conection to Application File Server. There may be a network configuration problem, or the TNS listener may not be running."
    This is a problem in our test environment. We recently ran autoconfig on the test side.
    I have checked Metalink and also wider google search.
    Perhaps we have an issue with the tnsnames files? Well, I verified this and the tnsnames in production and test, and they are the same.
    Perhaps a listener.ora file issue?
    "The issue is caused by the variables APPLFSTT and APPLFSWD is not being set properly in the <8.0.6_ORACLE_HOME> listener.ora file. " (Note 263654.1)
    I am trying to verify the meaning of the following (in listener):
    ( SID_DESC = ( SID_NAME = FNDFS )
    ( ORACLE_HOME = /oracli2/oracle/testora/8.0.6 )
    ,APPLFSTT=
    TEST_BALANCE;TEST;PROD_806_BALANCE;TEST_FO;TEST_806_BALANCE;PROD_FO,APPLFSWD=/or
    acli2/oracle/testappl/admin;/oracli2/oracle/testcomn/temp;/oracli2/oracle/testco
    mn/html/oam/nonUix/launchMode/restricted' )
    In the APPLFSTT entry, should there be any mention of "PROD" ? Shouldnt this all be changed to TEST?
    Also, comparing this to the PROD listener, the order of APPLFSTT is different:
    TEST: APPLFSTT=
    TEST_BALANCE;TEST;PROD_806_BALANCE;TEST_FO;TEST_806_BALANCE
    PROD:APPLFSTT=
    PROD_806_BALANCE;PROD;PROD_BALANCE;PROD_FO,
    I have made a copy of our listener in TEst, so I can edit the existing one. Trouble is, not sure if I even should try to edit it!
    Any suggestions, much appreciated.
    Oracle 9.2.0. AIX 5.2.
    Notes covered in Metalink:
    274177.1
    303971.1
    304568.1
    263654.1

    Yes thanks for that. Metalink has informed me to do the same, basically.
    But I am in the middle of a cloning, so I will finish that then run autoconfig once again.
    I already ran Autoconfig on both source and target, so will do again once this process is over.
    Cheers.
    DA

  • CRM ONLINE 2013: On Approval Of Quotation, Run Report, Generate PDF and Send an Email With PDF as attachment

    Hi,
    I am using CRM ONLINE 2013.
    How to automate below process?
    1. On Approval Of Quotation, Run Report.
    2. Generate PDF.
    3. Send an Email With PDF as attachment.
    As i have gone through many forums for this topic, but creating a plugin code for generating Report PDF is not possible in CRM ONLINE.
    So, What is the alternate way to do this..?
    Thanks.

    This is my entire code mentioned below:-
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
        <script type="text/javascript">
            if (typeof (SDK) == "undefined")
            { SDK = { __namespace: true }; }
            SDK.JScriptRESTDataOperations = {
                _context: function () {
                    if (typeof GetGlobalContext != "undefined")
                    { return GetGlobalContext(); }
                    else {
                        if (typeof Xrm != "undefined") {
                            return Xrm.Page.context;
                        else { return new Error("Context is not available."); }
                _getServerUrl: function () {
                    var serverUrl = this._context().getServerUrl()
                    if (serverUrl.match(/\/$/)) {
                        serverUrl = serverUrl.substring(0, serverUrl.length - 1);
                    return serverUrl;
                _ODataPath: function () {
                    return this._getServerUrl() + "/XRMServices/2011/OrganizationData.svc/";
                _errorHandler: function (req) {
                    return new Error("Error : " +
      req.status + ": " +
      req.statusText + ": " +
      JSON.parse(req.responseText).error.message.value);
                _dateReviver: function (key, value) {
                    var a;
                    if (typeof value === 'string') {
                        a = /Date\(([-+]?\d+)\)/.exec(value);
                        if (a) {
                            return new Date(parseInt(value.replace("/Date(", "").replace(")/", ""), 10));
                    return value;
                Create: function (object, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("POST", this._ODataPath() + type + "Set", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 201) {
                                successCallback(JSON.parse(this.responseText, SDK.JScriptRESTDataOperations._dateReviver).d);
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send(JSON.stringify(object));
                Retrieve: function (id, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("GET", this._ODataPath() + type + "Set(guid'" + id + "')", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 200) {
                                successCallback(JSON.parse(this.responseText, SDK.JScriptRESTDataOperations._dateReviver).d);
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send();
                Update: function (id, object, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("POST", this._ODataPath() + type + "Set(guid'" + id + "')", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.setRequestHeader("X-HTTP-Method", "MERGE");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 204 || this.status == 1223) {
                                successCallback();
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send(JSON.stringify(object));
                Delete: function (id, type, successCallback, errorCallback) {
                    var req = new XMLHttpRequest();
                    req.open("POST", this._ODataPath() + type + "Set(guid'" + id + "')", true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.setRequestHeader("X-HTTP-Method", "DELETE");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 204 || this.status == 1223) {
                                successCallback();
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send();
                RetrieveMultiple: function (type, filter, successCallback, errorCallback) {
                    if (filter != null) {
                        filter = "?" + filter;
                    else { filter = ""; }
                    var req = new XMLHttpRequest();
                    req.open("GET", this._ODataPath() + type + "Set" + filter, true);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
                    req.onreadystatechange = function () {
                        if (this.readyState == 4 /* complete */) {
                            if (this.status == 200) {
                                successCallback(JSON.parse(this.responseText, SDK.JScriptRESTDataOperations._dateReviver).d.results);
                            else {
                                errorCallback(SDK.JScriptRESTDataOperations._errorHandler(this));
                    req.send();
                __namespace: true
        </script>
        <script type="text/javascript">
            //Create Email and link it with Order as Regarding field
            var Xrm;
            var email = new Object();
            var ownerID = "";
            var CustomerId = "";
            if (window.opener) { Xrm = window.opener.Xrm; }
            else if (window.parent) { Xrm = window.parent.Xrm; }
            //Get ownerid who send email of quotation to customer
            function GetOwnerID() {
                var owner = Xrm.Page.getAttribute("ownerid").getValue();
                ownerID = owner[0].id;
                var ownerName = owner[0].name;
                var entityType = owner[0].entityType;
                GetToEmailGUID();
            //Get customerid who receive email of quotation from owner
            function GetToEmailGUID() {
                var Customer = Xrm.Page.getAttribute('customerid').getValue();
                CustomerId = Customer[0].id;
                var CustomerName = Customer[0].name;
                var entityType = Customer[0].entityType;
                //if CustomerId is type of "Account" then get Primary Contact id of that account
                if (entityType == "account") {
                    var contact = Xrm.Page.getAttribute("customerid").getValue();
                    if (contact === null) return;
                    var serverUrl = Xrm.Page.context.getClientUrl();
                    var oDataSelect = serverUrl + "/XRMServices/2011/OrganizationData.svc/AccountSet(guid'" + contact[0].id + "')?$select=PrimaryContactId";
                    var req = new XMLHttpRequest();
                    req.open("GET", oDataSelect, false);
                    req.setRequestHeader("Accept", "application/json");
                    req.setRequestHeader("Content-Type", "application/json;charset=utf-8");
                    req.onreadystatechange = function () {
                        if (req.readyState === 4) {
                            if (req.status === 200) {
                                var retrieved = JSON.parse(req.responseText).d;
                                CustomerId = retrieved.PrimaryContactId.Id;
                            else {
                                alert(this.statusText);
                    req.send();
            function CreateEmail() {
                GetOwnerID();
                email.Subject = "Email with Report Attachment";
                //Set The current order as the Regarding object
                email.RegardingObjectId = {
                    Id: Xrm.Page.data.entity.getId(),    //Get the current entity Id , here OrderId
                    LogicalName: Xrm.Page.data.entity.getEntityName()//Get the current entity name, here it will be “salesOrder”
                //Create Email Activity
                SDK.JScriptRESTDataOperations.Create(email, "Email", EmailCallBack, function (error) { alert(error.message); });
            // Email Call Back function
            function EmailCallBack(result) {
                email = result; // Set the email to result to use it later in email attachment for retrieving activity Id
                var activityPartyFrom = new Object();
                // Set the From party of the ActivityParty to relate an entity with Email From field
                activityPartyFrom.PartyId = {
                    Id: CustomerId, //"79EBDD26-FDBE-E311-8986-D89D6765B238",  // id of entity you want to associate this activity with.        
                    LogicalName: "contact"
                // Set the "activity" of the ActivityParty
                activityPartyFrom.ActivityId = {
                    Id: result.ActivityId,
                    LogicalName: "email"
                // Now set the participation type that describes the role of the party on the activity).
                activityPartyFrom.ParticipationTypeMask = { Value: 2 }; // 2 means ToRecipients
                // Create the from ActivityParty for the email
                SDK.JScriptRESTDataOperations.Create(activityPartyFrom, "ActivityParty", ActivityPartyFromCallBack, function (error) { alert(error.message); });
                var activityPartyTo = new Object();
                // Set the From party of the ActivityParty to relate an entity with Email From field
                activityPartyTo.PartyId = {
                    Id: ownerID, //"79EBDD26-FDBE-E311-8986-D89D6765B238",  // id of entity you want to associate this activity with.        
                    LogicalName: "systemuser"
                // Set the "activity" of the ActivityParty  
                activityPartyTo.ActivityId = {
                    Id: result.ActivityId,
                    LogicalName: "email"
                // Now set the participation type that describes the role of the party on the activity).    
                activityPartyTo.ParticipationTypeMask = { Value: 1 }; // 1 means Sender
                // Create the from ActivityParty
                SDK.JScriptRESTDataOperations.Create(activityPartyTo, "ActivityParty", ActivityPartyToCallBack, function (error) { alert(error.message); });
            //ActivityParty From Callback
            function ActivityPartyFromCallBack(result) {
            //ActivityParty To Callback
            function ActivityPartyToCallBack(result) {
                GetReportId('ABM_Infotech_SalesQuote');
            //Create attachment for the created email
            function CreateEmailAttachment() {
                //get reporting session and use the params to convert a report in PDF
                var params = getReportingSession();
                //Email attachment parameters
                var activitymimeattachment = Object();
                activitymimeattachment.ObjectId = Object();
                activitymimeattachment.ObjectId.LogicalName = "email";
                activitymimeattachment.ObjectId.Id = email.ActivityId;
                activitymimeattachment.ObjectTypeCode = "email",
                    activitymimeattachment.Subject = "File Attachment";
                activitymimeattachment.Body = encodePdf(params);
                activitymimeattachment.FileName = "Report1.pdf";
                activitymimeattachment.MimeType = "application/pdf";
                //Attachment call
                SDK.JScriptRESTDataOperations.Create(activitymimeattachment, "ActivityMimeAttachment", ActivityMimeAttachmentCallBack, function (error) { alert(error.message); });
            //ActivityMimeAttachment CallBack function
            function ActivityMimeAttachmentCallBack(result) {
                var features = "location=no,menubar=no,status=no,toolbar=no,resizable=yes";
                var width = "800px";
                var height = "600px";
                window.open(Xrm.Page.context.getServerUrl() + "main.aspx?etc=" + 4202 + "&pagetype=entityrecord&id=" + email.ActivityId, "_blank", features);
                // To open window which works in outlook and IE both
                //openStdWin(Xrm.Page.context.getServerUrl() + "main.aspx?etc=" + 4202 + "&pagetype=entityrecord&id=" + email.ActivityId, "_blank", width,
    height, features);
            //This method will get the reportId based on a report name that will be used in            getReportingSession() function
            function GetReportId(reportName) {
                var oDataSetName = "ReportSet";
                var columns = "ReportId";
                var filter = "Name eq '" + reportName + "'";
                retrieveMultiple(oDataSetName, columns, filter, onSuccess);
            function retrieveMultiple(odataSetName, select, filter, successCallback) {
                var serverUrl = Xrm.Page.context.getServerUrl();
                var ODATA_ENDPOINT = "/XRMServices/2011/OrganizationData.svc";
                var odataUri = serverUrl + ODATA_ENDPOINT + "/" + odataSetName + "?";
                if (select) {
                    odataUri += "$select=" + select + "&";
                if (filter) {
                    odataUri += "$filter=" + filter;
                $.ajax({
                    type: "GET",
                    contentType: "application/json; charset=utf-8",
                    datatype: "json",
                    url: odataUri,
                    beforeSend: function (XMLHttpRequest) {
                        XMLHttpRequest.setRequestHeader("Accept", "application/json");
                    success: function (data) {
                        if (successCallback) {
                            if (data && data.d && data.d.results) {
                                successCallback(data.d.results);
                            else if (data && data.d) {
                                successCallback(data.d);
                            else {
                                successCallback(data);
                    error: function (XmlHttpRequest, errorThrown) {
                        if (XmlHttpRequest && XmlHttpRequest.responseText) {
                            alert("Error while retrieval ; Error – " + XmlHttpRequest.responseText);
            function onSuccess(data) {
                reportId = data[0].ReportId.replace('{', ").replace('}', ");
                CreateEmailAttachment(); // Create Email Attachment
            //Gets the report contents
            function getReportingSession() {
                var pth = Xrm.Page.context.getServerUrl() + "/CRMReports/rsviewer/reportviewer.aspx";
                var retrieveEntityReq = new XMLHttpRequest();
                var Id = Xrm.Page.data.entity.getId();
                var quotationGUID = Id.replace('{', ""); //set this to selected quotation GUID
                quotationGUID = quotationGUID.replace('}', "");
                var reportName = "ABM_Infotech_SalesQuote"; //set this to the report you are trying to download
                var reportID = "751089AA-74B8-E211-B52F-D8D3855B253B"; //set this to the guid of the report you are trying to download
                var rptPathString = ""; //set this to the CRMF_Filtered parameter
                var strParameterXML = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'><entity name='quote'><all-attributes /><filter type='and'><condition
    attribute='quoteid' operator='eq' uitype='quote' value='" + quotationGUID + "' /> </filter></entity></fetch>";
                retrieveEntityReq.open("POST", pth, false);
                retrieveEntityReq.setRequestHeader("Accept", "*/*");
                retrieveEntityReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
                rptPathString = "id=%7B" + reportID + "%7D&uniquename=" + Xrm.Page.context.getOrgUniqueName() + "&iscustomreport=true&reportnameonsrs=&reportName="
    +
                                reportName + "&isScheduledReport=false&p:ABMFilteredQuote=" + strParameterXML;
                //remove the part starting from &p:salesorderid if your report has no parameters
                retrieveEntityReq.send(rptPathString);
                var x = retrieveEntityReq.responseText.indexOf("ReportSession=");
                var ret = new Array();
                ret[0] = retrieveEntityReq.responseText.substr(x + 14, retrieveEntityReq.responseText.indexOf("&", x) - x - 14); //the session id
                x = retrieveEntityReq.responseText.indexOf("ControlID=");
                ret[1] = retrieveEntityReq.responseText.substr(x + 10, retrieveEntityReq.responseText.indexOf("&", x) - x - 10); //the control id
                return ret;
            var bdy = new Array();
            var bdyLen = 0;
            function concat2Bdy(x) {
                bdy[bdyLen] = x;
                bdyLen++;
            function encodePdf(params) {
                bdy = new Array();
                bdyLen = 0;
                var retrieveEntityReq = new XMLHttpRequest();
                var pth = Xrm.Page.context.getServerUrl() + "/Reserved.ReportViewerWebControl.axd?ReportSession=" + params[0] +
                "&Culture=1033&CultureOverrides=True&UICulture=1033&UICultureOverrides=True&ReportStack=1&ControlID=" + params[1] +
                "&OpType=Export&FileName=Public&ContentDisposition=OnlyHtmlInline&Format=PDF";
                retrieveEntityReq.open("GET", pth, false);
                retrieveEntityReq.setRequestHeader("Accept", "*/*");
                retrieveEntityReq.send();
                BinaryToArray(retrieveEntityReq.responseBody);
                return encode64(bdy);
            var StringMaker = function () {
                this.parts = [];
                this.length = 0;
                this.append = function (s) {
                    this.parts.push(s);
                    this.length += s.length;
                this.prepend = function (s) {
                    this.parts.unshift(s);
                    this.length += s.length;
                this.toString = function () {
                    return this.parts.join('');
            var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
            function encode64(input) {
                var output = new StringMaker();
                var chr1, chr2, chr3;
                var enc1, enc2, enc3, enc4;
                var i = 0;
                while (i < input.length) {
                    chr1 = input[i++];
                    chr2 = input[i++];
                    chr3 = input[i++];
                    enc1 = chr1 >> 2;
                    enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
                    enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
                    enc4 = chr3 & 63;
                    if (isNaN(chr2)) {
                        enc3 = enc4 = 64;
                    } else if (isNaN(chr3)) {
                        enc4 = 64;
                    output.append(keyStr.charAt(enc1) + keyStr.charAt(enc2) + keyStr.charAt(enc3) + keyStr.charAt(enc4));
                return output.toString();
        </script>
        <script type="text/vbscript">
        Function BinaryToArray(Binary)
               Dim i
               ReDim byteArray(LenB(Binary))
               For i = 1 To LenB(Binary)
                     byteArray(i-1) = AscB(MidB(Binary, i, 1))
                     concat2Bdy(AscB(MidB(Binary, i, 1)))
             Next
              BinaryToArray = byteArray
       End Function     
        </script>
    </head>
    <body>
        <input type="button" onclick="CreateEmail();" value="Attach Report" />
    </body>
    </html>

  • Run report on background and save to file

    Hi all,
    I have a development suite 10g.
    I have created simple paper report with one parameter.
    And I want to run this report on background from forms and get it
    saved to file (PDF or RTF). The parameter for report should be passed from
    my form.
    Thanks for any suggestions.
    Brano.

    Hi,
    I use the following progam unit to generate a pdf file:
    if RUN_PRODUCT does not work on 10g check out the built-in RUN_REPORT_OBJECT.
    PROCEDURE create_pdf_report IS
    l_pl_id ParamList;
    v_report_from_date date;
    v_report_to_date date;
    /* PDF file name */
    v_file_name varchar2(150);
    /* network location where to save the pdf file*/
    v_output_path varchar2(100):= :control.report_dir;
    begin
    v_report_from_date := :control.from_date;
    v_report_to_date := :control.to_date;
    v_file_name := v_output_path||'\your_pdf_filename.pdf';
    L_pl_id := Get_Parameter_List ('REPORT_PARAMS');
    If Not ID_NULL (l_pl_id) then
    Destroy_Parameter_List (l_pl_id);
    End if;
    L_pl_Id := Create_Parameter_List ('REPORT_PARAMS');
    /* Parameters to send output to pdf file*/      
    Add_Parameter(L_pl_id, 'DESTYPE' ,TEXT_PARAMETER, 'FILE');
    Add_Parameter(L_pl_id, 'DESFORMAT' ,TEXT_PARAMETER, 'PDF');
    Add_Parameter(L_pl_id, 'DESNAME' ,TEXT_PARAMETER, v_file_name);
    Add_Parameter(L_pl_id, 'PARAMFORM' ,TEXT_PARAMETER, 'NO');
    Add_Parameter(L_pl_id, 'BACKGROUND' ,TEXT_PARAMETER, 'YES');
    /* Addtional data parameters */
    Add_Parameter(L_pl_id, 'P_other_param' ,TEXT_PARAMETER, :CONTROL.MY_ITEM);
    Add_Parameter(L_pl_id, 'P_FROM_DATE' ,TEXT_PARAMETER, to_char(v_report_from_date,'DD-MON-YYYY') );
    Add_Parameter(L_pl_id, 'P_TO_DATE' ,TEXT_PARAMETER, to_char(v_report_to_date,'DD-MON-YYYY') );
    -- call the report synchronously
    Run_Product(REPORTS
    ,'YOUR_REPORT_NAME'
    ,SYNCHRONOUS
    ,RUNTIME
    ,FILESYSTEM
    ,L_pl_id
    ,NULL
    exception
    when others then
    message('Error running report. '||sqlerrm, acknowledge);
    end;
    Regards,
    Hugo

  • Newie Mail server and running other services

    We have a small office network of 6 macs that connect to a Panther server, this server provides DNS and file sharing and thats about it a Filemaker Sever and Retrospect Server. I doesn't suffer from heavy use
    I have been using a a separate mac to run Quickmail server 1 (os9) and I need to upgrade it as some of the mail protocols are out of date.
    We have a static IP address assigned to our mail gateway by our service provider.
    My question or advice
    Should I just start using OS X server to run mail services
    or
    Upgrade Quickmail and continue running it separately on a new mac mini (or similar)
    My concerns are at the moment any problem with email locally can be solved pretty much without effecting the other server or the network.
    Thanks

    The basic setup is prety simple...
    Replace following with your own equivalents...
    Domain name: woopee.com (the domain name after the "@" in your emails)
    Host name: mail.woopee.com (the hostname your MX record points to. Does not need to match server hostname. This will be the hostname mail server uses when communicating with other servers)
    Local Host Aliases: woopee.com (a list of the domains you want to accept mail for. Probably just same as Domain name?)
    Local network: 192.168.10.0/24 (LAN IP range for local users. Used to bypass authentication when they send mail out)
    Server Admin-> Mail-> General...
    Tick:Enable POP
    Tick:Enable IMAP
    Tick:Enable SMTP, Allow incoming mail, Enter Domain name & Host name (from above).
    Mail-> Relay
    Tick: Accept SMTP relays... Enter localhost IP: 127.0.0.1/32 and Local network (from above).
    Tick: Use these junk mail rejection servers. Add: zen.spamhaus.org
    Mail->Filters
    Tick: scan for junk mail. Minimum score: 5 (can be reduced later)
    Junk mail should be: Delivered (will just tag and forward to recipient)
    Tick: Attach subject tag: * Junkmail *
    Tick: Scan email for viruses
    Infected messages should be: Deleted
    Tick: update junk mail & virus database: 1 time per day
    Mail->Advanced->Security
    SMTP: none (this prevents smtp authentication from anyone outside your Local network)
    IMAP: Tick: Clear, Plain, Cram-md5 (or leave all unticked if only using pop accounts)
    POP: Tick: APOP
    Mail->Advanced->Hosting
    Local Host Aliases: Add: localhost & woopee.com (separate entries, see Local host aliases, above)
    That's it (I think ...although I cannot guarantee I have not missed something). There will be no problem setting this up and seeing it going whilst still using the existing mail server. Set up client accounts to send and receive from new server and you can send mail around internally to test. Last thing would be to change your firewall port-forwarding for SMTP from existing server to new one.
    Watch the mail.log in Console for any errors & do plenty tests.
    Ensure users have mail enabled in Workgroup Manager.
    There are plenty mods available beyond this. Have a good read through the mail services manual (I know its a bit confusing at times) and you should see where the above settings fit in.
    Lots of stuff on the forum here which you can search for. Spam filtering in particular can be made far more effective but requires editing of the underlying unix configuration files - again, plenty of previous discussions about that on forum. Meantime, the zen.spamhaus.org RBL will filter out a great many spammers.
    -david

  • Two Xserves running 10.5 Server and setting up DNS...

    Hello.
    I have two Xserves (a G5 and a new Intel), both with fresh installs of 10.5 Server on them.
    Xserve #1 not going to be hosting any external services (FTP, web, email) and only housing internal, mission critical & confidential data (the server is set up with a mirror RAID on the OS drive as well as mirror RAID on the storage drives + nightly tape backups for offsite storage). Right now there are no plans for enabling iCal on this server as we're trying to keep the server as basic as possible (as we can afford zero downtime on this server), but if the initial setup of 10.5 requires configuration at first run to allow this type of thing, I'd like to deal with it now so as to keep my options open (as I know iCal on 10.5 requires Open Directory enabled).
    Xserve #2 is going to host FTP (for external clients) and internal file sharing for the design/production department (basically, for transferring files back and fourth between departments, so no data via this share will be "critical" as it's only temporarily on the server and will always exist in other locations). Even though this server will not host "critical" data, it will share the same backup/RAID scheme as Xserve #1.
    So, I'm curious as to how I set up DNS in this situation (so we can associate a domain name to our static IP address). We already have our main domain setup via 3rd-party hosting service (for web & email as we do not want to bring these services in-house), but we're purchasing a second domain that will be associated with company (via a static IP, so we can give a domain name instead of IP address for people needing to connect to the FTP server, make it easier for employees to remember the address for remote connections, etc.).
    Because Xserve #2 is going to be hosting FTP, would it make sense to setup DNS on this server and not set it up on Xserve #1? Also, and this could just be me being paranoid, but because Xserve #1 will be housing "critical & confidential" data I want to eliminate as much contact with the outside world as possible with this server, so this is another reason I feel Xserve #2 should have DNS running instead.
    Oh, and not sure if this makes any difference, but between the WAN and the LAN is a SonicWALL firewall and currently it deal with port forwarding, etc. depending on what services are being requested from the WAN (ie. remote machine connections, FileMaker remote connections, etc.).
    Any advice would be appreciated!
    Regards,
    Kristin.

    There's a couple of things in your post I don't understand:
    the server is set up with a mirror RAID on the OS drive as well as mirror RAID on the storage drives
    How are you doing this? Both XServes support only three internal drives and two mirrors require 4 drives. Where does the fourth drive come into play?
    I'm curious as to how I set up DNS in this situation
    There are numerous ways of doing this, but with a single static IP address your best bet is to leave DNS where it is - managed by your hosting provider. Just add a record in the domain zone (e.g. ftp.yourdomain.com) that has the IP address of the public interface your SonicWall firewall. You don't need a separate domain for this. You also don't need to setup internal DNS for this (although you may need internal DNS if you're running Open Directory.
    Because Xserve #2 is going to be hosting FTP, would it make sense to setup DNS on this server and not set it up on Xserve #1?
    Assuming you're referring to setting up a DNS server - use them BOTH. Make one of the servers the primary server (I'd pick the internal-only server for this) and set the other server to be a slave (so it copies all the zone data from the primary server). That way you have a replica of the data to provide additional resilience.

  • Running the G server and labview web server as a stand-alone serve

    Hello,
     Now I am running the G web server from the Internet toolkit cooprating with the Labview default web server because I need the server to handle both GCI reguests and the requests of the remote panel.
     Now I have a question. Is there any way to make these two servers as stand-alone applications and also make it to be window service ( I think if I could make them the stand-alone applications, making them to be window services would be easy)? I just want the web server to be a stand-alone application without installing the Labview (just installing the run-time engine) on one machine. Could this be done? Thank you very much.
    Best Regards,
    Benjamin Chu

    Hello Benjamin,
    for running a LabVIEW application as Windows Service is here a tutorial.
    I formerly tried to get the G web Server into an application and I know there were some dynamic VIs loaded by the HTTP Server Control.vi and some SubVIs. I never tried this seriously enough to get it running.
    You need at least to put the VIs vi.lib\addons\internet\http\http0.llb\HTTP Server, vi.lib\addons\internet\http\http0.llb\srvr_%02d.vi (%02d is part of a format into string with a for loop index), HTTP Load Configuration Files.vi as dynamic VIs into your build definition.
    Running the G Web Server and looking at the VI hierarchy is not for help because for some reasons the G Web Server VIs will not show up in the VI hierarchy window.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Error when running report in CMC and Infoview

    Hi all,
    i have this following problem:
    - when i try to run report in cmc it fails and i get this error message: Error in File ~tmp1a745af945b59b0.rpt: Failed to load database information
    - when i try to run the report in infoview the error message looks like this: Error in File test_4: Failed to load database information.
    Where can be the possible problem ?
    Thanks for any suggestions.

    <b>i dont know if this could help you, but i found something when trying to refresh report in infoview - the full error log:</b>
    2009-05-27 08:40:54
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File Vykaz_2:
    Failed to load database information.---- Error code:-2147215357 Error code name:internal
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.findGroup(Unknown Source)
         at com.businessobjects.report.web.event.q.a(Unknown Source)
         at com.businessobjects.report.web.event.z.a(Unknown Source)
         at com.businessobjects.report.web.event.bt.broadcast(Unknown Source)
         at com.businessobjects.report.web.event.ak.a(Unknown Source)
         at com.businessobjects.report.web.a.q.if(Unknown Source)
         at com.businessobjects.report.web.e.a(Unknown Source)
         at com.businessobjects.report.web.e.a(Unknown Source)
         at com.businessobjects.report.web.e.if(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.if(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595):
    Edited by: Martin  Zluky on Jul 27, 2009 9:35 AM

  • Error when running report in CMC and Infoview_2

    I made this same thread in BOBJ Administration section but maybe it belongs here..........
    Hi all,
    i have this following problem:
    - when i try to run report in cmc it fails and i get this error message: Error in File ~tmp1a745af945b59b0.rpt: Failed to load database information
    - when i try to run the report in infoview the error message looks like this: Error in File test_4: Failed to load database information.
    Where can be the possible problem ?
    Thanks for any suggestions.

    Hi,
    this forum is about the Integration Kit with SAP. seems to belong to the BusinessObjects administration area
    Ingo

Maybe you are looking for

  • My new 2012 mac was given to me with out a startup disc.  I have forgotten my password.  what can I do

    I have a new 21'" imac the my office.  It was ready to go.  We did not get a start up disc, as it has no disc drive I worked late one evening and put in the password just to check it out.  A couple of weeks later I went finish setting it up and insta

  • Where are the updates located for Mac App Store app?

    Hi, where are the updates located for Mac App Store app? I don't think /Library/Updates is the only location. Because I'm now having 10+ of Apps reporting updates is needed, but only 1MB+ files is located in /Library/Updates. Please help!

  • Drag and drop in CRM7?

    Dear Experts, We are exploring the drag and drop functionnality for our client in SAP CRM7 standalone. I have found this solution in the scn http://scn.sap.com/community/developer-center/netweaver-gateway/blog/2014/11/12/file-uploaddownload-in-crm-we

  • Batch render After effect in backgroud task on OS X

    Hi Is there a possibility to do batch render with after effect 7 in background task with command line in the terminal? i have another problem, the batch render of AFX is very slow on my Quad G5 (2go ram). After effect only use 10 to 40 % of the CPU,

  • PL/SQL : Error: invalid path ORA-29280

    I'm trying to get this work but what can I do ? does anybody know how to resolv this problem code : (for the exemple) DECLARE      fich     UTL_FILE.FILE_TYPE; BEGIN      fich := UTL_FILE.FOPEN('e:\','test.lst','W');      UTL_FILE.PUT(fich,'something