Excel(DAO) connection wants database logon when published

I've searched and found nothing that addresses my issue.  I built a report using an Excel 2010 spreadsheet(.xls) as a datasource.  The file is stored on a network share.  I entered the UNC path in the DAO connection dialog.  There is no username/pwd on the file.  The report runs fine from my pc using CR2008.  When I publish it in InfoView and go to the report it starts to run then asks for a database logon and that's all she wrote. 
Steps I've taken:
    -  add the BO service account(taken from the Server Intelligence Agent service) to the permissions for the network location
    -  tried to supply an AD admin username and password when prompted
Should I be using another type of connection?  I can't seem to find much on this.  Thanks.

Hi Bob,
That definitely indicates Apache doesn't have access to either the DSN or a dependency. It should not prompt for log on info at all. That prompt is misleading actually, it's not really looking for the log on info, it doesn't have access to the XLS file.
Not sure but CR 2011 and Cr for VS 2010 now supports XLXS file types so I'm wondering now if this has something to do the version of the Excel file itself.
Can you save the file in Excel 2007 format and test that?
Try using "Admin" as the user name and no password for both prompts, I believe that is/was the default.
Thanks again
Don

Similar Messages

  • Unable to connect to Business Catalyst when publishing

    Hello,
    I'm trying to publish my site to a temporay site for sign off by my client. But when I click on publish all I get is a spinning wheel and a progress message saying ' Signing into Business Catalyst' I have already logged in accepted the new terms and conditions.
    Any ideas?

    Sounds like you are using Dreamweaver and are connecting with plain FTP.
    Go into the server setting (Found in the manage sites dialog) and set the 'Connect Using' to SFTP

  • How to Connect Oracle database from excel

    I have installed oracle 11g on Windows 8 64 bit OS  on my laptop. I have Microsoft excel 2013. I can connect to database from SQL and from TOAD. Now  i want - from excel to connect to database.
    Please guide me the steps.
    Thanks

    Below link may be helpful to you :
    http://khalidali-oracledba.blogspot.in/2013/09/connection-between-ms-excel-to-oracle.html
    And if you are getting 32 bit vs 64 bit ODBC driver issue then :
    https://social.technet.microsoft.com/Forums/office/en-US/2234554e-e93c-438b-990a-6739df19da44/odbc-connection-problem-in-excel-2013-64-bit-windows-8-os-and-x64-processor-oracle-8i?forum=excel
    And still you are not able then post the question in :
    ODBC
    Regards
    Girish Sharma

  • Please help, probleme de connection to database oracle and  java

    Ihave a problem to make connection to database Oracle when I use a simple code of java
    ======================
    import java.sql.*;
    public class Exemple1 {
    public static void main (String args[]) {
    Statement stmt = null;
    Connection con=null;
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:GB","scott","tiger");
    catch (Exception e) { System.out.println(e);        }
    =================
    I have :
    * Linux (Fedora core3).
    * Oracle 10g
    My var. environ.:
    * ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
    * PATH=$ORACLE_HOME/bin
    * CLASSPATH=$ORACLE_HOME/jdbc/lib/ojdbc14.jar
    the error is:
    Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: oracle.sql.CharacterSet
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at JvResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at oracle.jdbc.driver.DBConversion.DBConversion(short, short, short) (Unknown Source)
    at oracle.jdbc.driver.T4CConnection.connect(java.lang.String, java.util.Properties) (Unknown Source)
    at oracle.jdbc.driver.T4CConnection.logon() (Unknown Source)
    I don't know what's heppen exactly?

    If
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    is replaced
    with
    Class.forName("oracle.jdbc.driver.OracleDriver");does the java.lang.NoClassDefFoundError: while resolving class: oracle.sql.CharacterSet get generated?

  • Connecting Access Databse to BI Publisher

    Hi,
    Please anyone tell me, how to connect MS Access database to BI Publisher.
    There is no explicitly drivers defined in JDBC Connection, so what should I use in this case as DriverType & Connection String.
    Hoping for quick reply.
    Thanks in Advance.

    Hi Vestrini,
    Thanks for your reply, but only connection string is not enough, what about Driver type, Database Driver Class, username and password.
    Please, provide some detail step to connect access database to BI Publisher.
    Thanks.

  • Failed to connect to database

    Several days ago, I created a workbook with 5 worksheets in Discoverer Plus 9.02 against a 10g database. Everything worked fine until today when I tried to re-saved the workbook into the database. I saw the error message that said "Failed to connect to database". When I hit the OK button in the error message dialog box, my sessions were terminated. Again, the error happened whenever I tried to re-save the workbook into the DB. I didn't see such error before.

    Hi Andy,
    We are having a similar issue. We recently upgraded from 4.1.48 to 10.1.2.48.18. We are using Plus/Viewer. Imported workbook has several worksheets. Query runs but then receive an error stating 'Contact with the server has been lost...' I set the row retrievel to 20 rows but still get this error message.
    Have you found a resolution to this problem?
    Thanks in advance for any help.
    Barbara

  • Need To Trace Reports Server Connection to Database

    Hi,
    A customer is getting intermittent "Unable to connect to database" errors when running Oracle Reports.
    We have tried teaking the Reports server's configuration, but the errors are still occuring.
    I know how to set up a trace on the Reports server, but wonder how best to trace the server's connection/attempted connection to the database.
    Is it possible to trace attempted connections?
    Database is 9i 9.2.0.6, Reports server is OracleAS 10g 9.0.4.2.
    Any suggestions greatly appreciated.
    Jim

    There is a parameter SQL_TRACE which you can turn on and it will start tracing all the sessions at database level which is not preferred way. You need to enable the trace for only report server sessions for troubleshooting and you can do this by enabling the trace in specific sessions. You can do something like this:
    Connect to database using report server
    On the server identify the sessions belongs to report server connection
    Enable the tracing for those sessions by using:
    SQL> exec dbms_system.set_sql_trace_in_session(SID,SERIAL#,true);
    You can find the SID and SERIAL# (if your report server session) in V$SESSION view in database.
    Then find the trace files in path defined user_dump_dest parameter. After getting the trace file use TKPROF to parse it. Just type at command prompt:
    tkprof abc.trc abc.txt
    It will convert the trace file into readable format.
    Best Of Luck.
    Daljit Singh

  • Getting Database Logon Prompt when trying to run report from Infoview

    I have a user who has 2 Crystal reports loaded in InfoView.  The reports are similar except for the parameters.  When scheduling one of the reports, she is being prompted with the database logon information everytime she tries to enter the parameters.  But on the other, she isn't.  All she is prompted with is the parameters of the report.  Which setting in InfoView or CMC controls the database logon prompt? We are on BOE 11.5.
    Thanks,
    Maureen

    Dynamic Parameters. You'll want to get all your report designers up on this topic.
    When you create a dynamic parameter in a Crystal Report, and then publish it to the Enterprise, you are creating a Business View, with all it's underlying necessary layers. Dynamic Parameters exist to be able to use the same LOV (a list of current customers) from a database for more than one report. These dynamic parameter LOVs act like a mini report that runs against the database and gets the current values for selection, then the selection(s) are used to run the overall report.
    So I create a report, and in it I create a dynamic Customer LOV. When I save it, the Enterprise creates a Data Connection (DC), Data Foundation (DF), Business Element (BE), Business View (BV), and the list of values is built on the Prompt Group. So, my Business View Manager, Repository Explorer will show (in the default Dynamic Cascading Prompts folder):
    Customer_DC
    Customer_DF
    Customer_BE
    Customer_BV
    Customer - Prompt Group
    Customer (the LOV)
    The idea is that next time I create a report and need a customer parameter, I select the existing dynamic group. If the report designer is unaware of this, and next time they create a new report that needs a customer LOV, they creates a new dynamic LOV "Customer", when saved to the Enterprise, it repeats the above. Since repository objects must have unique names, you will now have additional items something like:
    Customer 2_DC
    Customer 2_DF
    Customer 2_BE
    Customer 2_BV
    Customer 2 - Prompt Group
    Customer 2 (the LOV)
    So you can see how that folder will get filled with duplicates pretty quickly. Which ones were created and used in which reports? Have to open the report in Crystal Reports, open the parameter for Edit and verify the LOV name (_2, _3, _4, etc). If you do in fact discover there are dupes, you can change it to a single one for all reports using a dynamic LOV, re-save them to the Enterprise, then delete the dupes in the BVM.
    You've already discovered how to use the BVM to update the data connection to include/save the database credentials. The only other common issue is sometimes the LOV rights need to be changed in order to allow users to "Edit" the LOV (select different values in the LOV). You'd have to run the report as an end user, not the admin account or the report designer account to verify that works.
    Another item of note is that these dynamic LOVs are run by the Report Application Server (RAS), regardless of which viewer you are using.
    The Business View Manager administration guide has more information on the subject.

  • Use same database logon as when report is run

    Is there a way to set the option for "When viewing report" to "Use same database logon as when report is run" for all reports?

    If scheduling we have schedule manager in XIR2 which will do a folder at a time, it's been added to the CMC in 3.x I believe.
    For running the reports I think you would need to use the [SDK|/community [original link is broken]; if if you wanted to modify a bunch of reports at the same time, or use the publishing wizard to publish a bunch of them (no use if the reports are already uploaded)
    Regards,
    Tim

  • Unknown Database Connector Error - when published

    Post Author: dommurphy21
    CA Forum: Deployment
    Hi,
    Im trying to get a Crystal Report to run when published to my BOXI Enterprise server.  I get the following error when trying to run the report
    CrystalReportViewer
    Unable to retrieve Object.Error in File UseTable.rpt: Unknown Database Connector Error
    The report runs on my PC using an oracle connection and I have also setup the orace driver and client on the Server and can connect to the database from the server.  I'm using the same TNSNAMES entries on my client that are also on the server.
    Could you please respond asap as once this simple issue is resolved I can get on with completing my Proof of Concept.
    RegardsDominic

    Post Author: colin mackenzie
    CA Forum: Deployment
    Hi Dominic. I had a similar problem in the past.When you go to publish your report try this.Select the Object.Select the Process Tab.Select the Database Tab.Select the radio button or option button "Use custom database logon information specified here"Inside the drop down list select Oracle.Enter your server name or tnsname "whatever.world"Enter your database name, this doesn't really matter you can enter anything will work here. (Whatever world - Production)Try that and let me know if that solves the problem.

  • Published pdf form is unable to connect with database

    Hi Guys!
    I have created a PDF form using Adobe Live Cycle Designer which have some text fields namely RECORD and NAME. I have connected this form with a Database. When I enter a record in the RECORD number field the NAME field of this form has been populated with the help of XFA Script which is written on the exit event of the RECORD text field. When we publish this form, a new interactive PDF is created which works fine and populates the NAME field from the an SQL database but when I access this PDF form (which is located on a shared location) from some another location (not on the same machine where i designed this form) it is unable to connect to the database and does not work as expected.
    I think there is some thing i am missing for the database connectivity.
    If any body on this forum can help me out.
    thanks
    Here is the Script for the above form which i used to populate the NAME FIELD on the basis of enetered RECORD number.
    ----- Document.Page1.txt_MRN::exit: - (JavaScript, client) -----------------------------------------
    /* This dropdown list object will populate two columns with data from a data connection.
    sDataConnectionName - name of the data connection to get the data from.  Note the data connection will appear in the Data View.
    sColHiddenValue  - this is the hidden value column of the dropdown.  Specify the table column name used for populating.
    sColDisplayText  - this is the display text column of the dropdown.  Specify the table column name used for populating.
    These variables must be assigned for this script to run correctly.  Replace <value> with the correct value.
    var sDataConnectionName = "DataSource";  // example - var sDataConnectionName = "MyDataConnection";
    var sColHiddenValue  = "RecordNum";   // example - var sColHiddenValue = "MyIndexValue";
    var sColDisplayText  = "Name";   // example - var sColDisplayText = "MyDescription"
    // Search for sourceSet node which matchs the DataConnection name
    var nIndex = 0;
    while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    //var oDB = xfa.sourceSet.nodes.item(nIndex);
    var oDB = xfa.sourceSet.nodes.item(nIndex).clone(1);
    oDB.open();
    oDB.first();
    // Search node with the class name "command"
    var nDBIndex = 0;
    while(oDB.nodes.item(nDBIndex).className != "command")
    nDBIndex++;
    // Backup the original settings before assigning BOF and EOF to stay
    var sBOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
    var sEOFBackup = oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF", "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF", "eofAction");
    // Clear the list
    this.clearItems();
    // Search for the record node with the matching Data Connection name
    nIndex = 0;
    while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oRecord = xfa.record.nodes.item(nIndex);
    // Find the value node
    var oValueNode   = null;
    var oTextNode   =  null;
    var sRecordNum  =  $.rawValue;
    for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
    if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
      oValueNode = oRecord.nodes.item(nColIndex);
    else if(oRecord.nodes.item(nColIndex).name == sColDisplayText)
      oTextNode = oRecord.nodes.item(nColIndex);
    var found= 0;
    while(!oDB.isEOF())
    if (oValueNode.value== sRecordNum)
      txt_FirstName.rawValue = oTextNode.value;
      txt_LastName.rawValue = oTextNode.value;
      found = 1;
      break;
      //this.addItem(oTextNode.value, oValueNode.value);
       oDB.next();
       if (found == 0)
        txt_FirstName.rawValue = "";
        txt_LastName.rawValue = "";
    // Restore the original settings
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup, "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup, "eofAction");
    // Close connection
    oDB.close();

    Finally achived the database connectivity for the published pdf form developed in the Adobe LiveCycle Designer 8.0.
    There must be the same driver version of the DSN on both machines. The machine which published the form and the one accessing it.
    Use the Admin account to add the DSN on both machines.
    Get rid of the error: Connection for Source "DataConnectionName" failed because the environment is not trusted.
    Thanks
    AbdulHafeez

  • Database logon failed when opening report with parameter values in CrystalReportViewer

    Hi,
    I designed 2 crystal reports: report A contains parameter fields and report B did not contain any parameter
    I can open both reports in development site using CrystalReportViewer control. When I open the reports in testing site,
    I can open report B but can't open report A. It display error message "Database logon failed". When I set EnableDatabaseLogonPrompt
    to true and try to open the report A again, it shows database connection data which was created on report.
    In addition, it is strange that it displays error "Database logon failed" when I click an item in group tree panel of the report B. This indicates that it can load data from database
    in testing site but it connect to development database when clicking items in group tree panel
    All reports connect to database using Windows Authenication. It use dynamic database connection at runtime
    How to ensure the report always connect database using login data dynamically at runtime?
    Below is my code about database connection:
    string strServerName = null;
    string strDatabaseName = null;
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(strFilePath);
    ConnectionInfo connInfo = new ConnectionInfo();
    TableLogOnInfo logonInfo;
    for (int i = 0; i < rptDoc.Database.Tables.Count; i++)
    logonInfo = rptDoc.Database.Tables[i].LogOnInfo;
    ReportHelper.GetReportConnection(ref strServerName, ref strDatabaseName, strSystemType);
    logonInfo.ConnectionInfo.ServerName = strServerName; 
    logonInfo.ConnectionInfo.DatabaseName = strDatabaseName;
    logonInfo.ConnectionInfo.IntegratedSecurity = true;
    rptDoc.Database.Tables[i].ApplyLogOnInfo(logonInfo);
    rptDoc.Database.Tables[i].Location = rptDoc.Database.Tables[i].Location.Substring(0, rptDoc.Database.Tables[i].Location.Length - 2);
    crvViewer.ReportSource = rptDoc;
    crvViewer.DataBind();
    Development environment:
    - SAP Crystal Reports 2013 Support Pack 1
    - Visual Studio Professional 2012
    - .NET Framework 3.5
    - DDL
    CrystalDecisions.Shared (v 13.0.8.1216)
    CrystalDecisions.Web (v 13.0.8.1216)
    CrystalDecisions.CrystalReports.Engine (v 13.0.8.1216)
    Database connection in crystal report:
    - Database Type: OLEDB (ADO)
    - Provider: SQLOLEDB
    - Integrated Security: True
    Thanks and Regards,
    Tony

    Hi Tonylck
    Try  to pass login info to crystal report dynamically as follows:
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    namespace WindowsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    ReportDocument cryRpt = new ReportDocument();
    TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
    TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    Tables CrTables ;
    cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt");
    crConnectionInfo.ServerName = "YOUR SERVER NAME";
    crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
    crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
    crConnectionInfo.Password = "YOUR DATABASE PASSWORD";
    CrTables = cryRpt.Database.Tables ;
    foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
    crtableLogoninfo = CrTable.LogOnInfo;
    crtableLogoninfo.ConnectionInfo = crConnectionInfo;
    CrTable.ApplyLogOnInfo(crtableLogoninfo);
    crystalReportViewer1.ReportSource = cryRpt;
    crystalReportViewer1.Refresh();
    Ref
    http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm
    Mark as answer if you find it useful
    Shridhar J Joshi Thanks a lot

  • How do I remove old web site when publishing new site with same URL in iweb? Hit replace when publishing new iweb site (so we could have control over changes) but new site name is attached to old via a / after our www address we want to keep.

    I hit the replace when publishing the new iweb site (so we could have control over changes - last one was not an apple based site) but new site name is attached to old via a forward slash and underscore after our www address. Makes it very messy with a very long web address.  Original address now followed by iweb site name followed by name of first page? Went for iweb as not that computer literate - all going so well?! Cheers for help in anticipation. Have to get off to work now but be great end to week if we could be sorted tonight. Rupes

    Well yes of course, if you try and publish through iWeb there won't be an option to publish without your site folder which is exactly why I told you to download Cyberduck and use Cyberduck to upload your site to your server having published your site from iWeb to a local folder.  That is what you need to do if you don't want your site name to be included in yoru url.
    It would have been easier also if you had used Cyberduck initially to connect to your server and delete your old site yourself - at least that way you would have deleted the correct files rather than relying on your hosting service to do it and doing it incorrectly.
    Download Cyberduck and then select the publish to a local folder option from iWeb and then use Cyberduck to upload your site to your server, but rather than uploading the whole site folder and separate index file, upload ONLY the contents of your site folder and then your url will be http://www.domain.com/page_name.html.
    It really isn't rocket science!

  • How to hide Database Logon option when scheduling Crystal Report in BOE?

    Hi All,
    For security reason, we are try to hide the Database Logon option in Crystal Report Schedule page in InfoView.
    There is option in CMC which we can configure the default Database logon option so that users do not have to enter the logon everytime they view or schedule the report.  However, we are looking to hide this option completely.
    Does anyone know if there is a security setting which can hide the option from specific users?
    Thanks,
    Bobby

    Hi Bobby,
    As Jorge informed that there is no method available within CMC to hide database logon option when scheduling or viewing a Crystal Report in the Info view. This is very much true.
    But as you also mentioned that you don't want your users to enter the database logon credentials evertime they view or schedule a crystal report, there is one setting in CMC which we can do to avoid prompt for database logon credentials.
    CMC - Home - Go to that specific crystal report - Click Process tab - Click the sub-tab 'Database' and at the bottom of the page there is an option "Use same database logon as when report is run". Check this option after providing the database credentials and click UPDATE.
    Now whenever users try to view or schedule this specifc crystal report they won't be prompted for the database logon credentials.
    Regards,
    Venkat

  • Database logon failed when deploy CR on Windows Server 2008

    I use Crystal Reports for Visual Studio 2010 Production Release with MVC 2 web aplication and SQL Server 2008 database server. When I compile/run from VS 2010 it running well, but when deploy it on Windows Server 2008, when load certain report (Not All report) face the following exception message:
    Database logon failed
    Stack Trace is as the following:
    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType) at SequisLife.Controllers.ReportController.run_report(String report_name, IDictionary`2 dic_param)
    InnerException:
    System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed. at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    run_report method is as the following:
    private ActionResult run_report(string report_name, IDictionary<string, string> dic_param)
                string ls_respon = "";
                try
                    get_sqllogin();
                    ReportClass rptH = new ReportClass();               
                    rptH.FileName = Server.MapPath(VirtualPathUtility.ToAbsolute(report_name));
                    rptH.Load();             
                    rptH.Refresh();
                    Database crDataBase;
                    Tables crTables;
                    TableLogOnInfo crTableLogOnInfo;
                    ConnectionInfo reportConnectionInfo = new ConnectionInfo();
                    reportConnectionInfo.ServerName = server;
                    reportConnectionInfo.DatabaseName = database;
                    reportConnectionInfo.UserID = login_user;
                    reportConnectionInfo.Password = login_pass;
                    crDataBase = rptH.Database;
                    crTables = crDataBase.Tables;
                    foreach (Table crTable in crTables)
                        crTableLogOnInfo = crTable.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo = reportConnectionInfo;
                        crTable.ApplyLogOnInfo(crTableLogOnInfo);                  
                    ParameterFields lpf_parameters = rptH.ParameterFields;
                    if (lpf_parameters.Count > 0)
                        foreach (ParameterField lpf_param in lpf_parameters)
                            var llst_tmps = dic_param.Where(d => d.Key == lpf_param.Name);
                            foreach (var param in llst_tmps)
                                if (param.Key == lpf_param.Name)
                                    if (lpf_param.ReportName == "")
                                        rptH.SetParameterValue(lpf_param.Name, param.Value);
                                    else
                                        rptH.SetParameterValue(lpf_param.Name, param.Value, lpf_param.ReportName);
                    Stream stream = rptH.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
                    return File(stream, "application/pdf");
                catch (Exception ex)
                    ls_respon += ex.Message;
                    ls_respon = " - "ex.StackTrace;
                    ls_respon += " - " + ex.InnerException;
                    ls_respon += " - " + ex.Source;
                    ls_respon += " - " + ex.Data;
                    return Content(ls_respon);
    Please any body hepl me...
    Thank's in advance

    Hi,
    I am using CR with visual studio 2010 in windows 7 box 64bit box. using a ADO.net data source. And I need to export .rpt as pdf.The solution works fine in my dev box. by when i try to deploy in a windows server 2008 R2 box (64bit) it fails . Both my dev box and deplyment box uses sql server 2008 DB . Also i am using .Net framework 4.0 (not client profile)
    installed the following things in deployment box:
    1. CRRuntime_64bit_13_0_1.msi in
    2. Also copied the CRforVS_mergemodules_13_0_1 in C:\Program Files (x86)\Common Files\Merge Modules
    I get the following error in my Box:
    CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)   at Tesco.Instore.PickingControl.ReportController.PrintDriverDocumentation(String driverDocumentation, Int32 vehicleTripId)] 20/10/2011 08:08:41        PCS        Critical                   Classic .NET AppPool      Error running End of Van [Logon failed.
    Error in File temp_31b3196f-fd25-45c8-b657-5d9cd7c9dccb {4F74290C-D56E-4FC4-8DEF-371BB5C5B10B}.rpt:
    Unable to connect: incorrect log on parameters.]
    I also verified the database connection is upto date. while creating the solution
    the project build is set to anyCPU.
    is there anything else i have to install ?? Please help me ..I am trying this thing from last one week and have not got any proper solution till now

Maybe you are looking for

  • Unable to change stock posting date at usage decision while inspecting HUs

    If we were using materials without WMS it's simple: thereu2019s a button in the screen for stock posting by which we're able to change document date and posting date; but we're using WM and the screen is slightly different: the button I'm referring i

  • Single quote ' in output difficulty

    I'm trying to output a single quote, then a value, but I'm having trouble. Any solutions? I've tried using '', ''', '(...)'.     tabFIELD = 'tab-field'.           varVALUE = 'CCC'.           CONCATENATE cond                     tabfield              

  • Report Builder - Printing in dos mode

    I am using developer 2000 - report builder I want to printing all my near around 15000 -in dos mode because in windows printing it is very slow . so just want to print it in dos mode .

  • Java Add-in or unicode conversion first?

    Hi all. I have just performed a BW 3.5 (NW 6.40) to BI 7.0 (NW 7.0) NON-unicode upgrade. The next two things we want to do are unicode conversion and java add-in installation. I am wondering which of these actions should come first; Java add-in or un

  • Convert web page to PDF in Mozilla

    Is it possible to add a "Convert current web page to PDF" button to Mozilla Firefox in the same way as IE has one, and if so how?