When opening reports problems inconsistencies

opening iPhoto a label appers reporting problems and inconsistencies, click for repair, when done, opens library ALWAYS in "Events" and at the riht side the banner faces, map, etc. and stays blocked. I have to force exit. I have done this procedure several times and dont want to open iPhoto again and I dont want to loose my library

If you don't want to lose your Library make a back up:
Most Simple Back Up:
Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
Other than that:
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
Regards
TD

Similar Messages

  • NullPointerException when opening report on Windows.

    We have to develop report by use crystal report on window and run by Eclipse 3.2 and use java 6.0
    By set font is 'Code 39' then when we run program form Eclipse.
    It show java.lang.NullPointerException. I don't know that what does it occur from problem?

    I don't know that what line which occur this exception. Then I copy all code to you. Please help me.
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <jsp:useBean id="viewBean"
         class="th.co.snp.factoryorder.view.form.PrintOutOrdSheetForm"
         scope="request" />
    <%@page import="com.crystaldecisions.reports.sdk.ReportClientDocument"%>
    <%@page import="com.crystaldecisions.sdk.occa.report.exportoptions.*"%>
    <%@page import="com.crystaldecisions.report.web.viewer.*"%>
    <%@page import="java.sql.*"%>
    <%@page import="th.co.palsys.common.util.DBConn"%>
    <%@page import="th.co.snp.common.util.Constant"%>
    <%
          /* Applies to Versions:     XI
    Date Created: February 2005
    Description: This sample demonstrates how to pass a Java Resultset to a report as a datasource at runtime using the 
                (JRC) SDK.
    Author: CW
         ReportClientDocument reportClientDocument = new ReportClientDocument();
         DBConn db = new DBConn();
         java.sql.Connection conn = null;
         Statement st = null;
         Statement st2 = null;
         Statement st3 = null;
         try {
              //SQL query that can be used can be obtained by first creating a report directly off the desired datasource, and then
              //in Crystal Reports, open the 'Database' > 'Show SQL Query' to see the SQL generated for the report. 
              String query1 = "My query1"; // I remove query becuase more line.
              String query2 = "My query2"; // I remove query becuase more line.
              String query3 = "My query3"; // I remove query becuase more line
              conn = db.getConnection();
              //Call simple utility function that obtains Java Result set that will be
              //pushed into the report. 
              st = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
              ResultSet.CONCUR_READ_ONLY);
              ResultSet resultSet = st.executeQuery(query1);
              st2 = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
              ResultSet.CONCUR_READ_ONLY);
              ResultSet resultSet2 = st2.executeQuery(query2);
              st3 = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
              ResultSet.CONCUR_READ_ONLY);
              ResultSet resultSet3 = st3.executeQuery(query3);
              if (!resultSet.next()) {
                   conn.close();
                   response.sendRedirect("message.html");
              resultSet.beforeFirst();
              reportClientDocument.open("CR/ConditioningOrderSheet.rpt", 0);
              String tableName = reportClientDocument.getDatabaseController()
              .getDatabase().getTables().getTable(0).getName();
              String SubReport = reportClientDocument
              .getSubreportController().getSubreport("SubFATRep06")
              .getDatabaseController().getDatabase().getTables()
              .getTable(0).getName();
              String SubReport2 = reportClientDocument
              .getSubreportController().getSubreport("SubFATRep06_2")
              .getDatabaseController().getDatabase().getTables()
              .getTable(0).getName();
              //Push the Java Resultset into the report.  This will then become the datasource of the report when the report itself
              //is generated.
              //reportClientDocument.getDatabaseController().setDataSource(resultSet, tableName , "resultTbl");
              reportClientDocument.getDatabaseController().setDataSource(
              resultSet, tableName, tableName);
              reportClientDocument.getSubreportController().getSubreport(
              "SubFATRep06").getDatabaseController().setDataSource(
              resultSet2, SubReport, SubReport);
              reportClientDocument.getSubreportController().getSubreport(
              "SubFATRep06_2").getDatabaseController().setDataSource(
              resultSet3, SubReport2, SubReport2);
              //Cache the report source of the ReportClientDocument in session.
              session.setAttribute("reportSource", reportClientDocument
              .getReportSource());
              ExportOptions oExportOptions = new ExportOptions();
              oExportOptions.setExportFormatType(ReportExportFormat.PDF);
              ReportExportControl oReportExportControl = new ReportExportControl();
              oReportExportControl.setReportSource(reportClientDocument.getReportSource());
              //Pass the report source to the ReportExportControl and set the ExportOptions
              oReportExportControl.setExportOptions(oExportOptions);
              //ExportAsAtttachment(true) prompts for open or save; false opens the report
              //  in the speficied format after exporting.
              oReportExportControl.setExportAsAttachment(true);
              //Export the report
              oReportExportControl.processHttpRequest(request, response,getServletConfig().getServletContext(), null);
              oReportExportControl.dispose();
         } catch (Exception e) {
              out.println(e);
         } finally {
              try {
                   if (conn != null) {
              conn.close();
              } catch (SQLException e1) {
    %>
    PS. If I don't set font 'code39' on field in crystal report . It can open report form this sourcecode.

  • 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

  • "Software Usage Metrics initialize failed" error when open Report Manager, after moving ReportServer from SSRS 2008 to SSRS 2012 (Native Mode)

    I've asked this question in SQL Server Upgrade forume, I'm asking here as well:
    Your help is highly appreciated!
    After migrating ReportServer db from 2008 to 2012, when access Report Manager throughhttp://myserver:80/Reports, I got the error below:
    ui!ReportManager_0-3!11d8!02/04/2013-15:19:12:: e ERROR: Software Usage Metrics initialize failed
    The process is below:
    •I successfully installed SQL Server 2012 (64-bit) Enterprise as a Native Mode on a server who runs Windows 7 Enterprise SP1 (64-bit).
    •I restored "ReportServer2008To2012" and "ReportServer2008To2012TempDB" in SSRS 2012 from the db files backed up in SQL 2008. In SSRS 2008, I have SSRS Model, ad-hoc reports based on model, and I also have canned reports built through BIDS
    report server project.
    •I reconfigured both databases' Compatibility level to SQL Server 2012(110) from SQL Server 2008(100).
    •I configured SSRS through Reporting Services Configuration Manager as below:
      > I chosen "Use built-in account:" as Service Account
    > In "Database" tab, I selected "Choose an existing report server database" and choose "ReportServer2008To2012" db, I used "Windows Authentication" (my login has the System Administrator priviledge). I got all 4 parts
    success: Verifying database sku = Success; Generating rights scripts = Success; Applying connection rights = Success; Setting DSN = Success.
    > I went to "Scale-out Deployment" to check if the initializing succeed, I found nothing there.
    Here are what I did from different approaches:
    A •I went to "Encryption Keys" and restored the key I backed up from SSRS 2008, after retoring, I got two initialized instances: One is on my current server (SSRS 2012), the other one is from the old server (SSRS 2008).
       I deleted the old one(SSRS 2008) through "Remove Server" action and kept the one on my current server(SSRS 2012).
       After I restart SSRS service, and tried to connect Report Manager, I got "An internal error occurred on the report server. See the error log for more details."
       I checked the log file, the error is actually "ERROR: Software Usage Metrics initialize failed"
    B •I also tried to "Delete Encrypted Content" and did see the SSRS was initialized through checking it on "Scale-out Deployment", however when I tried to open Report Manager, I got the same error.
    Anyone had the same issue? Any solution? Thanks in advance!

    Your help is highly appreciated!
    After migrating ReportServer db from 2008 to 2012, when access Report Manager through
    http://myserver:80/Reports, I got the error below:
    ui!ReportManager_0-3!11d8!02/04/2013-15:19:12:: e ERROR: Software Usage Metrics initialize failed
    The process is below:
    •I successfully installed SQL Server 2012 (64-bit) Enterprise as a Native Mode on a server who runs Windows 7 Enterprise SP1 (64-bit).
    •I restored "ReportServer2008To2012" and "ReportServer2008To2012TempDB" in SSRS 2012 from the db files backed up in SQL 2008. In SSRS 2008, I have SSRS Model, ad-hoc reports based on model, and I also have canned reports built through BIDS
    report server project.
    •I reconfigured both databases' Compatibility level to SQL Server 2012(110) from SQL Server 2008(100).
    •I configured SSRS through Reporting Services Configuration Manager as below:
     > I chosen "Use built-in account:" as Service Account
     > In "Database" tab, I selected "Choose an existing report server database" and choose "ReportServer2008To2012" db, I used "Windows Authentication" (my login has the System Administrator priviledge). I got all
    4 parts success: Verifying database sku = Success; Generating rights scripts = Success; Applying connection rights = Success; Setting DSN = Success.
     > I went to "Scale-out Deployment" to check if the initializing succeed, I found nothing there.
    Here are what I did from different approaches:
    A •I went to "Encryption Keys" and restored the key I backed up from SSRS 2008, after retoring, I got two initialized instances: One is on my current server (SSRS 2012), the other one is from the old server (SSRS 2008).
       I deleted the old one(SSRS 2008) through "Remove Server" action and kept the one on my current server(SSRS 2012).
       After I restart SSRS service, and tried to connect Report Manager, I got "An internal error occurred on the report server. See the error log for more details."
       I checked the log file, the error is actually "ERROR: Software Usage Metrics initialize failed"
    B •I also tried to "Delete Encrypted Content" and did see the SSRS was initialized through checking it on "Scale-out Deployment", however when I tried to open Report Manager, I got the same error.
    Anyone had the same issue? Any solution? Thanks in advance!

  • Print options when opening report in acDialog

    I have a report where, on the close event, I ask the user if they want to post the records. The user's response is captured to a public variable that is then used to branch logic back on the form from which I open the report.
    Consequently, I think I need to open in acDialog so that the code on the form after the OpenReport line does not continue on to the branched logic until the report is closed and the above response is available.
    However, in dialog view, I do not have access to the standard report ribbon--which is how I intended to allow the user to print/export. Yes, I know I can have the user press Ctrl-P, but that is an extra step an end user should not have to know. And yes,
    I know I can use right-click options.
    So my question is twofold. #2 will not be necessary if there is an elegant workaround for #1.
    Is acDialog the best (or only) way to accomplish the wait-for-response in my code on the form?
    How would I get print & export buttons (or the whole default Reports ribbon) available when the report is open acDialog?

    Lawrence,
    The form is where I concatenate the SQL that is the record source of both the report and the subsequent record updates. So the form is always open before the report is opened (that is where the code to open the report resides and is run), and it must remain
    open while the report is open to maintain the value of the variables, including the WHERE clause of the SQL statement that will be used for the posting process when the user closes the report. That is, the SQL used to open the report MUST match the
    SQL used when posting the records, or the user could change some selection parameter and post records not on the report.
    And I open both the form and report modally to prevent a user from inadvertently running the report's Close event outside the context of the form, with its variables all set for the posting process.
    I know I could pass all of this to public variables, but I am trying to keep it as clean and as close to the Form -> Report -> back to Form as I can.

  • Profiler 'Crashes' when opening report on sampling

    I was trying to figure out which part of EMET was causing Visual Studio to lockup for a few seconds when opening the debugging menu the first time, and this happened:
    (I used Sampling, and this is after I closed the version I was debugging)
    Profiler stopping.
    Profiler stopping.
    Stopping data collection.
    Merging collection data. Please wait...
    Unhandled Exception: System.MissingMethodException: Method not found: 'System.IO.Compression.ZipArchiveEntry System.IO.Compression.ZipArchive.CreateEntry(System.String, System.IO.Compression.CompressionLevel)'.
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VsPerfZip.PackageFiles(IEnumerable`1 files)
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VsPerfZip.Package(List`1 filesToPackage)
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.PackageFiles()
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.Shutdown(Boolean terminateProfilees)
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.WaitForUnblockingEvent()
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.Run()
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.Run(String[] args)
       at Microsoft.VisualStudio.PerformanceTools.Base.VSPerf.Main(String[] args)
    After the exception was thrown, Visual Studio is still waiting for it to complete the operation.
    I am using Visual Studio 2013 (Community Edition) on 64 bit Windows 8.1 Pro.
    EDIT: Visual Studio is locked up now - I think it tried to close it again.

    I was trying to figure out which part of EMET was causing Visual Studio to lockup for a few seconds when opening the debugging menu the first time, and this happened:
    (I used Sampling, and this is after I closed the version I was debugging)
    Profiler stopping.
    Profiler stopping.
    Stopping data collection.
    Merging collection data. Please wait...
    Unhandled Exception: System.MissingMethodException: Method not found: 'System.IO.Compression.ZipArchiveEntry System.IO.Compression.ZipArchive.CreateEntry(System.String, System.IO.Compression.CompressionLevel)'.
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VsPerfZip.PackageFiles(IEnumerable`1 files)
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VsPerfZip.Package(List`1 filesToPackage)
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.PackageFiles()
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.Shutdown(Boolean terminateProfilees)
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.WaitForUnblockingEvent()
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.Run()
       at Microsoft.VisualStudio.PerformanceTools.VSPerfEtwMon.VSPerfEtwMon.Run(String[] args)
       at Microsoft.VisualStudio.PerformanceTools.Base.VSPerf.Main(String[] args)
    After the exception was thrown, Visual Studio is still waiting for it to complete the operation.
    I am using Visual Studio 2013 (Community Edition) on 64 bit Windows 8.1 Pro.
    EDIT: Visual Studio is locked up now - I think it tried to close it again.

  • Crystal 2008 Hangs When Opening Report With Geographic Map

    Greetings - CR just hangs when I open a report that has an existing geographic map or if I create a new report with a geographic map.  I've uninstalled and reinstalled, and made sure the updates were applied.  Searched the forums but haven't found anything to help.
    Any suggestions?
    Thank you.

    Hi Doug,
    Usual next steps, What OS are you using and did you install CR with local Administrator rights?
    Are you on a domain where your IT department have modified your profile, you may be in the Admin group but they can alter the default settings. Check to confirm.
    Try Service Pack 2 from the download page, although I have not heard of anyone else having this specific problem.
    Check the System and application Event logs to see if anything failed, permissions, access etc.
    Is there anyone else in your company having the same problem? You could try downloading Process Monitor from www.sysinternals.com and filter on crw32.exe and watch when you try to access the maps.
    Thank you
    Don

  • "error unmarshalling return" when opening report

    Hello,
    I am a new user of Hyperion Financial Reporting Studio. If I sign onto our development server, every report I attempt to open gives me the following error message:
    HARSnapin Initialize() Error -2147467259 - error unmarshalling return; nested exception is:
         java.io.EOFException
    If I sign onto our production server, everything is good.
    Can someone tell me what this error means, and how it can be fixed?
    Thank you,

    I posted this problem on Metalink, and got the following response.
    When this error appears for connections against one FR server but not for another, the most likely cause is a file version mismatch. On your FR Studio machine and on both machines running the FR server (the development and the production machines), open Windows Explorer and navigate to Hyperion\BIPlus\lib. Locate the files called foundation.jar and HReports.jar. The Size and the Date Modified timestamp for foundation.jar should be identical on all three machines. Same case for HReports.jar. If there are differences on the development machine, stop the FR services there, replace the existing copies of those two files with copies from the production server, then start the services and test again.

  • Error message: Table could not be found when opening reports with InfoView or CMC

    Post Author: Giovanni
    CA Forum: Authentication
    Hi All,
    I have Crystal Reports Server XI R2 installed on a server and the database folder (foxpro) is located on a different server. Crystal is connected to the database using an ODBC connection (UNC path).
    When I try to preview a report in Infoview or CMC I get the following error: "There was an error retrieving data from the server: The table 'dp' could not be found. Error in File C:\WINDOWS\TEMP\{BC665D6D-95DE-426B-A7A2-EBF9D23F42F4}.rpt: The table could not be found."
    dp is the name of one of our tables.
    If I publish a report that uses sql database or a foxpro db that is located on the same server as Crystal Server I donu2019t receive any error message..
    Please help if you can and thanks in advance.
    Giovanni

    Post Author: colin mackenzie
    CA Forum: Authentication
    Hi Giovanni.
    This post of yours is going on 2 weeks old.
    Have you solved your problem?

  • Failed to open connection when opening report in InfoView

    We get the following error when trying to open any report in InfoView.  This is only happening after our database server changed, but the ODBC connections appear correct.  Can anyone help with this?

    Hi Amos,
    First of all, check that your ODBC is working.  Do this thorugh ControlPanel->Administrative Tools->DataSources.  If this is working then good.
    If the connection test is successful, update your conneciton theough "Set DataSource Location" under the Databadse menu in Crystal Repoorts.

  • Load Report failed when opening Report under IIS 5.1

    I recently upgraded to Crystal Reports 2008 (12) from Crystal Reports Basic 2008 (10.5).  I am using Visual Studio 2008 with the CrystalReportViewer.  Now when I run my reports from the website under IIS 5.1 (Windows XP SP3), I get a Load Report Failed.  The detailed exception follow:
    Error loading report (ConfigureCrystalReports)
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800001F5): The Report Application Server failed at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at ncspo.ReportViewer.ConfigureCrystalReports() in D:\Websites\NCSPO\FIS\ReportViewer.aspx.vb:line 43
    If I run the report using the ASP.Net Development Server, the reports run fine.  It only fails under IIS.  From other posts, I understand that i need to grant the Network Service and IIS_WPG group read/write permissions to the windows\temp folder.  I have done this for the Network Service, but the IIS_WPG group was not introduced until IIS 6.0.  Any ideas on how I can get this working under IIS 5.1?
    Here is the code behind page:
    Private Sub ConfigureCrystalReports()
                Try
                    rpt = New ReportDocument
                    Dim strReportFilename As String
                    If Len(Request.QueryString("ReportFilename")) > 0 Then
                        strReportFilename = Request.QueryString("ReportFilename")
                    Else
                        strReportFilename = System.Configuration.ConfigurationManager.AppSettings("cr404Page")
                    End If
                    Dim strReportPath As String = System.Configuration.ConfigurationManager.AppSettings("ReportPath")
                    Dim strReportFilePath As String = strReportPath & strReportFilename
                    Dim strReportFilePath_Full As String = Server.MapPath(strReportFilePath)
                    rpt.Load(strReportFilePath_Full)    <--- Exception occurs on this line
                Catch ex As Exception
                    lblStatus.Text = "Error loading report (ConfigureCrystalReports)"
                    lblStatus.Text &= "<BR>" & ex.ToString()
                    ncspo.clsMisc.LogError(ex, Me)
                End Try
            End Sub

    Am I correct in reading the following 2 documents that IIS 5.1 is not supported?
    If you check this document.  It shows IIS6 and 7 no support on 5.  See page 6
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05523e4-35c4-2b10-2c89-9fcf64b0dd22]
    This document also on page 5
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a87366-da1d-2b10-e1b4-a37ab37a2dea]
    Thanks.

  • Error when opening reports

    I receive reports from my company which I need to open to view. when I attempt to open them, I am disconected from MSN and shuts my internet down. I sent an error report to MSN and they said the error occurred in Java. I was wondering if there is a solution available so that I can open my reports without being shut down on the internet.

    I hope you eventually resolve this issue. But this is a developer forum, and the errors referred to in the title of the forum are errors that arise during the development of a Java application. From what little you have shared it can not be conclusively determined that this is even a Java issue. I suggest you attempt to resolve this by contacting the person at your company who is generating and sending these reports to you. Let them know what sort of trouble you are having.

  • Error when opening report in Excel

    Hi all,
    I'm trying to import an answer (which I made in OBI) to an Excel via sheet (Via the OBI office plugin).
    So what I do is:
    - I navigate to the report I want to open
    - I expand the report so I can see all the views
    - I double click the view I want to open
    After doing this, I get following error:
    Error while opening workbook. Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))
    Can any of you help me with this issue?
    Thank you very much

    Hi Srini,
    Thanks for your reply, but -for the benefit of other readers- after some research we found that this issue seems to be caused by a Microsoft Office BUG, which is listed on their support website as Article ID 320369 ( BUG: "Old format or invalid type library" error when automating Excel )
    The URL to access this article is: http://support.microsoft.com/kb/320369
    Cheers!!

  • Error 400 invalid directory when opening reports

    Description of Problem or Question:
    When attempting to pull up a report from Java InfoView, I get an http Status 400 error.
    Product\Version\Service Pack\Fixpack (if applicable):
    Crystal Reports Server 2008 (latest one, just downloaded last week). 
    Relevant Environment Information (OS & version, java or .net & version, DB & version):
    I installed the Crystal Reports Server 2008 onto a just built Windows Server 2008 R2 64bit system.  Nothing else is installed.
    I read through the documentation and installed the prerequisistes.
    I did a default install of the server (didn't make any changes), I believe this installs MySQL locally and Apache and tomcat.  All ports are the default.
    Nothing else but windows and updates are installed.
    Sporadic or Consistent (if applicable):
    Consistent
    What has already been tried (where have you searched for a solution to your question/problem):
    Searched forums and internet (google).  Could not login to KB area.
    Steps to Reproduce (if applicable):
    I installed crystal Reports 2008 on a client. 
    Created a report.
    I used the publishing wizard to upload to the server.
    Login to Java InfoView comes up, attempt to launch a report file (the one I just published or examples doesn't matter) I get the following error:
    HTTP Status 400 - Invalid path /CrystalReports/view was requested
    type Status report
    message Invalid path /CrystalReports/view was requested
    description The request sent by the client was syntactically incorrect (invalid path /CrystalReports/view was requested)
    Apache Tomcate/5.5.20
    Can anyone lend a hand?  It would be greatly appreciated.  Is it a 64bit and Apache Tomcat problem.  I have ran across another software package that put in a 32 bit tomcat executable and I had issues and so had to change the executable out for the 64bit version.
    Thanks!

    I was able to find 3 other instances where the same error was logged with SAP support.  Twice, a redeploy of the war files resolved the issue.  In the 3rd scenario, only IE9 was a problem and when using IE8 in compatibility mode, viewing worked. In this last scenario viewing with Firefox also worked which isn't consistent to what you witnessed, so we can probably throw this out as a possibility.
    This morning, I tested a new install of CRS2008 v1 on Win2003 64-bit and everything seemed fine.  I tested viewing the sample reports with both the java viewer and regular default html viewer.  In both cases the crystal report documents viewed.  I didn't have access to a Win2008 64-bit server, otherwise i would have used that for a better comparison.  The issue might occur from either a mismatched jvm on the windows client or something on the Tomcat side.  Both the jvm and Tomcat should be 32-bit versions, since the rest of CRS is 32-bit.
    A few things to consider:
    - Did the error happen for all crystal report documents?  I have to assume so. But make sure you at least test the sample reports.
    - Does the same issue happen within the CMC as well?
    - Try downloading a browser debugger to see how far the request is going (http://www.fiddler2.com/fiddler2/) is one option.
    - compare these urls in fiddler to the /tomcat55/webapps directory and make sure the files exist. 
    - Try viewing it in InfoView on the server console as well.
    - Try redeploying the webapps within tomcat as a last resort.  Doing so seemed to resolve two other similar scenarios.
    Below is the beginning of my output from fiddler when requesting to view the report.  since this is what a working view request will look like, comparing it to yours might shed some light on the source of the problem.
    http://lm-xi33x64:8080/CrystalReports/view.do?bypassLatestInstance=true&cafWebSesInit=true&appKind=InfoView&service=/InfoViewApp/common/appService.do&loc=en&pvl=en_US&ctx=standalone&actId=444&objIds=1146&containerId=1143&pref=maxOpageU%3D10%3BmaxOpageUt%3D200%3BmaxOpageC%3D10%3Btz%3DEurope%2FLondon%3BmUnit%3Dinch%3BshowFilters%3Dtrue%3BsmtpFrom%3Dtrue%3BpromptForUnsavedData%3Dtrue%3B
    http://lm-xi33x64:8080/CrystalReports/js/callback.js
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/js/crviewer/images/style.css
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/js/crviewer/crv.js
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/js/dhtmllib/images/skin_standard/wait01.gif
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/js/dhtmllib/images/skin_standard/dialogtitle.gif
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/js/dhtmllib/images/skin_standard/dialogelements.gif
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/js/dhtmllib/images/transp.gif
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/allStrings_en.js
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/processindicator.js
    http://lm-xi33x64:8080/CrystalReports/crystalreportviewers/js/dhtmllib/empty.html
    Edited by: Joshua Kuhn on Sep 14, 2011 10:35 PM

  • Extension warning when opening report files in MS Excel 2007

    All,
    We have created report files that are configured to open in spreadsheet/excel format, and when attempting to open the report in Excel 2007, the following warning message appears:
    The file you are trying to open, '[filename]', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
    How can I get this message to stop appearing?
    Thanks

    Here is a blog about this very issue.
    http://blogs.msdn.com/vsofficedeveloper/pages/Excel-2007-Extension-Warning.aspx
    It's a security feature. :-)

Maybe you are looking for