Crystal Reports 2010 in IIS 7.5 asking for authentication

Hi,
We're in the process of moving from 2003 IIS 6 Web servers to 2008 R2 with IIS 7.5.
We also have a Windows 2008 server running IIS 7 and everything works fine on this server.
On the new servers when we go to our crystal reports viewer page we get prompted for windows authentication, then if you type in valid credentials or not you get the following error in firefox
XML Parsing Error: no element found
Location: http://192.168.10.112/Reports/ReportViewer.aspx?id=49
Line Number 1, Column 1:
^
In IE you just get a blank screen
The same code runs fine in debug mode on the server in Visual Studio 2010, and works fine on our other servers
Thanks
Edited by: stuartgreig on Sep 20, 2011 11:18 AM

Hi,
We've fixed the problem, but we have no idea why, we tryed using SSL to connect to the site and it worked. It never used to require SSL to run?
Thanks

Similar Messages

  • Crystal Reports 2010 SP1 on IIS 7.0 - Report is not being displayed

    Hi,
    Finally, the keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll error is gone, after I installed Crystal Runtime 2010 SP1. Also, I tested Crystal Report 2010 SP1 on my Windows 32 application and I can tell that I do not have this error anymore and report is being displayed properly.
    But Crystal Report is not being displayed on ASP.NET page on MS Server 2008 standard edition SP2 with IIS 7.0. Database resides on iSeries remote machine.
    The MS Server 2008 is virtual machine.
    OS system has:
    Crystal Report Basic Runtime for Visual Studio 2008
    SAP Crystal Reports Runtime engine for .NET Framework 4 (32-bit)
    Simply the report is not being displayed at all. No errors are being recorded in the Event Viewer.
    Nothing happens; excerpt the page is Loadingu2026 and Waiting for u2018website nameu2019 in the left lower corner of Firefox web browser.
    Here is the code behind aspx page with a command button - very simple:
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    protected void Button1_Click(object sender, EventArgs e)
    ReportDocument crReportDocument;
    Database crDatabase;
    Tables crTables;
    // CrystalDecisions.CrystalReports.Engine.Table crTable;
    TableLogOnInfo crTableLogOnInfo;
    ConnectionInfo crConnectionInfo;
    crConnectionInfo = new ConnectionInfo();
    //Set server name
    crConnectionInfo.ServerName = this._strServerName;
    //set database name
    crConnectionInfo.DatabaseName = this._strDatabaseName;
    crConnectionInfo.UserID = this._strUserID;
    crConnectionInfo.Password = this._strUserPassword;
    //Set integrated security
    crConnectionInfo.IntegratedSecurity = false;
    crReportDocument = new ReportDocument();
    crReportDocument.Load(Server.MapPath("~/crystal-reports/TransformerLoad/TransLoadMonthlyMax.rpt"));
    crDatabase = crReportDocument.Database;
    //Set all tables from current report file
    crTables = crReportDocument.Database.Tables;
    //crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
    //Apply schema name to the table's location
    foreach (CrystalDecisions.CrystalReports.Engine.Table _crTable in crTables)
    crTableLogOnInfo = _crTable.LogOnInfo;
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
    _crTable.ApplyLogOnInfo(crTableLogOnInfo);
    //Check if database table name starts
    if (_crTable.Location.StartsWith("XFMRSMAX", StringComparison.CurrentCulture) ||
    _crTable.Location.StartsWith("XFMRSMIN", StringComparison.CurrentCulture))
    //_crTable.Location = this._strSchemaName + "." + _crTable.Location.Remove(8) + Convert.ToInt32(Request.QueryString\"ReportYear\");
    _crTable.Location = "XFMRSMAX09";
    else
    _crTable.Location = _crTable.Location;
    this.CrystalReportViewer1.ReportSource = crReportDocument;
    This code runs on my development machine Win XP SP3
    OS system has:
    Crystal Report Basic Runtime for Visual Studio 2008
    SAP Crystal Reports Runtime engine for .NET Framework 4 (32-bit)
    This code also runs on another development server - Windows XP SP3 (IIS 5.1)
    OS system has:
    Crystal Report Basic Runtime for Visual Studio 2008
    SAP Crystal Reports Runtime engine for .NET Framework 4 (32-bit)
    ispnet_client folder has IUSR user and this user has read permissions to this folder. I even tried to change the permissions to Read & Execute.
    I am developing my reports using Crystal Reports 2008 SP2.
    Any help would be greatly appreciated.
    Serghei

    Hi Ludek,
    Thank you for your response.
    I checked the web.config file, all http handlers are there. I think the handlers are required to render the images on crystal report viewer but in my case the report viewer is not being rendered.
    I have to questions:
    1. What exact folders should be under aspnet_client\system_web?
    In my case I have structure like this
    aspnet_client\system_web\2_0_50727\crystalreportviewers13
    aspnet_client\system_web\4_0_30319\crystalreportviewers13
    Should I have folders something like this
    aspnet_client\system_web\2_0_50727\crystalreportviewers13_1
    aspnet_client\system_web\4_0_30319\crystalreportviewers13_1
    after I installed Crystal Reports 2010 SP1
    Also, in C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET 4.0\Common\Crystal Reports 2011\ there is no folder named as crystalreportviewers13 but instead crystalreportviewers
    a.     Should I copy all files from this folder to aspnet_client\system_web\2_0_50727\crystalreportviewers13, or
    b.     Should I copy all files from this folder to aspnet_client\system_web\2_0_50727\crystalreportviewers13 and rename this folder to
    crystalreportviewers
    2. Can you explain how to get a data report?
    This is the quote from your previous answer
    I'd be interested to see this simplified to a saved data report - no DB logon code - as a test...  
    Thank you Serghei

  • Crystal Reports 2010 shows error on 64 bit vista/7 machines

    Hello,
    <br/><br/>
    I search the threads before posting my problem. I saw number of threads similar to this but none of them is pointing towards solutions to my problem. Thus decided to create new one. I tried various things listed in old post to solve my problem but no solution. I am listing below what I have already tried.
    <br/><br/>
    Following is my development environment:<br/>
    - OS windows XP 32 bit<br/>
    - MS Visual Studio 2010<br/>
    - Crystal Reports 2010 <br/>
    - windows application with target framework 3.0<br/>
    - when i build solution for client i change target platform to x86<br/>
    <br/><br/>
    My client machine<br/>
    1)<br/>
    - OS windows vista 64 bit<br/>
    - Crystal Reports for VS2010 Redist 64 bit<br/>
    2)<br/>
    - OS windows 7 64 bit<br/>
    - Crystal Reports for VS2010 Redist 64 bit<br/>
    <br/><br/>
    On my development machine everything works fine. Only client machines having problem opening reports. I am having problem opening reports on client machines. I shows following error. My windows application runs fine but when we try to open reports it shows log4net error.
    <br/><br/>
    <br/>
    start error text----
    <br/>
    <br/>
    The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception.<br/>
    <br/>
    See the end of this message for details on invoking <br/>
    just-in-time (JIT) debugging instead of this dialog box.<br/>
    <br/>
    Exception Text **************<br/>
    System.TypeInitializationException: The type initializer for 'CrystalDecisions.ReportSource.ReportSourceFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.<br/>
    File name: 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
       at CrystalDecisions.Shared.SharedUtils..cctor()<br/>
    <br/>
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    <br/>
       --- End of inner exception stack trace ---
       at CrystalDecisions.Shared.SharedUtils.GetFullTypeName(Type type)
       at CrystalDecisions.ReportSource.ReportSourceFactory..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.Windows.Forms.CrystalReportViewer..ctor()
       at BackOffice.frmReportViewer.InitializeComponent()
       at BackOffice.frmReportViewer..ctor()
       at BackOffice.mdiMain.vendorsListToolStripMenuItem_Click(Object sender, EventArgs e)
       at BackOffice.mdiMain.vendorsListToolStripMenuItem1_Click(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    <br/><br/>
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    <br/><br/>
    BackOffice
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/BO%20config%20removed/BackOffice.exe
    <br/><br/>
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    <br/><br/>
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    <br/><br/>
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    <br/><br/>
    CrystalDecisions.Windows.Forms
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.1.220
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll
    <br/><br/>
    CrystalDecisions.Shared
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.1.220
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll
    <br/><br/>
    CrystalDecisions.ReportSource
        Assembly Version: 13.0.2000.0
        Win32 Version: 13.0.1.220
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
    <br/><br/>
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <br/>
    configuration<br/>
        system.windows.forms jitDebugging="true" <br/>
    configuration<br/>
    <br/>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    <br/><br/>
    end error text----
    <br/><br/>
    I am not using log4net in my windows application. As I know not directly. No log4net tag in config. Not even in publish file listing.<br/><br/>
    I have  Crystal Decisions.CrystalReports.Engine in my reference. <br/>
                                            ReportSource<br/>
                                            Shared<br/>
                                            Windows.Forms<br/>
    <br/><br/>
    I tried adding reference of log4net in my app and then tried deploying. slight modified error. Instead of not find the file it says not able to load and rest error part is same.
    <br/><br/>
    I have excluded all crystal dll from publish file list and tried.
    <br/><br/>
    I even updated cilent machine with   Crystal Reports for VS2010 Redist 64 bit support pack 1.
    <br/><br/>
    I tried adding following in config but no result<br/>
         startup useLegacyV2RuntimeActivationPolicy="true"<br/>
           supportedRuntime version="v2.0.50727"<br/>
         startup
    and
         startup useLegacyV2RuntimeActivationPolicy="true"<br/>
           supportedRuntime version="v4.0"<br/>
         startup<br/>
    <br/>
    I found related to this in one of the thread. I am not sure but this could be the problem. what is the solution for it?<br/>
    In my development machine windows/assembly folder, there exist 2 log4net files<br/>
    Assembly Name  -   version    -      Processor Architect<br/>
      - log4net           -    1.2.9.0      -    blank<br/>
      - log4net           -    1.2.10.0    -    x86<br/>
    But in my client machine, there is only one log4net file.<br/>
    Assembly Name -    version     -     Processor Architect<br/>
      - log4net           -    1.2.10.0    -    AMD64<br/>
    <br/><br/>
    I have spend lot hours on it but no output. Any help or direction is appreciated.<br/><br/>
    Thanks,
    Edited by: Dhairya Tolat on Mar 21, 2011 8:13 PM

    Hi deguri,
    1. Are you going to sell the application(which embeds the crystal runtimes) to another company?
    2. Is the application intended for users within your company?
    If the answer to question 1 is a 'Yes', then you need to purchase the license.
    If the answer to question 2 is a 'Yes', then you do not need the license.
    Take a look at a question posted in response to the blog i referred to in my previous post. That is a typical scenario where license needs to be purchased.
    We are product a client/server application in VS 2010 and would like to include Crystal Reports. The rendering/runtime would be on the server component. Our package is distributed to our clients and runs on their hardware. We would be producing the reports and shipping them with the software (i.e. no embedded designer).
    Am I correct in understanding that we would need only a single SAP Developer Advantage license (~$2500 USD) and that would cover redistribution to all our our clients?
    Thanks in advance!
    CR for VS 2010 on Application Server
    2011-06-15 14:18:50 Blair Wheadon  Business Card [Reply]
    Yes, you are correct.
    I hope that clarifies things...
    Deepu.

  • Detail sections not displayed with Crystal Reports 2010 Runtime (SP1 also)

    I have migrated a VB app from RDC 9 to Crystal Reports 2010 and I'm experiencing a very strange issue.
    In a report with 6 nested groups, the detail part is splitted in 7 section, and the whole detail has the "keep together" flag activated. At runtime, some detail sections are not displayed. There is no suppress condition on the detail section. The missed sections are those near bottom of the page. I suppose that when there is no room to print the section on the page and it should go on the next page, Crystal forget to display it.
    I exported the report in Crystal format and reopened with Crystal Reports designer and the missed section are displayed.
    The same report is displayed correctly using RDC 9.
    If I show the group tree and select the missed section group, the section is correctly displayed on a separate preview page.
    I've some screenshot to better demonstrate the problem.
    I hoped SP1 will resolve the issue but unfortunately it didn't.
    Pier Alberto Guidotti

    This issue has been escalated for a fix. tracking number is TE5000325237. For anyone wanting to attach to this thread with a similar issue, please note the behavior as decribed in the TE below. If the description does not match your issue exactly, please create a new thread.
    Description - Steps to Reproduce;
    1) Run the report in the CR 2008 designer - note the second page
    2) Run the report in VS2010 app using CRVS2010 SP1:
    CrystalReportViewer1.ReportSource = <path to report>
    3) Look at page 2 and compare to page 2 from the CR2008 designer (also, see attached compare.jpg file which is a screen shot of both views) - note missing group on page 2
    4) Export to PDF, DO, RTF - same issue
    5) Print to printer using the viewer print button - same issue
    6) Same issue print to printer using code:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
    crReportDocument.PrintToPrinter(1, 1, 1, 2)
            MsgBox("Done")
    7) Same issue print to printer using code:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
    Dim rcd As ISCDReportClientDocument
            rcd = crReportDocument.ReportClientDocument
            rcd.PrintOutputController.PrintReport()
            MsgBox("Done")
    8) Export to RPT file format - view this export in the CR2008 Designer - report looks as it should
    9) Add report to the .NET2010 project. trying to view the repor tin the .NET2010 IDE results in .NET crashing.
    - Ludek

  • Crystal reports 2010:Failed to load database information

    Hi guys,
    I had a vb.net project with crystal reports 2010 for the reporting.The report works fine inside vs 2010.I tried to build an installer for my project using 'Advanced installer'. In Advanced installer there's an option to import the run time engine for crystal reports for .net framework 4.0 which is 'CR Run time 64bit 13_0_1' but since my system and other target systems are 32 bit,I figured to also import the 32-bit version.
    But first when i followed the path for the package there was nothing so i downloaded both 32 and 64 bit run time engine then located them i that path.
    Just for the information,when i installed crystal reports on my PC,i think it installed 'Crystal Reports for visual studio'
    So i built the installer and installed it on my PC but when it try to view the report it crashes.I also try to install it on another PC and it throws this exception:
    CrystalDecisions.CrystalReports.Engine.DataSourceException: Failed to load database information.
    Error in File CrystalReport6 {566E2F0C-8C45-4647-8017-15BD6DB1F195}.rpt:
    Failed to load database information. ---> System.Runtime.InteropServices.COMException: Failed to load database information.
    Error in File CrystalReport6 {566E2F0C-8C45-4647-8017-15BD6DB1F195}.rpt:
    Failed to load database information.
       at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)
       at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)
    What am i missing?

    You have two distinct issue here - one on your dev computer and an unrelated on on the deployed computer.
    First your deployment project.
    You have to decide how you want to compile the app; 32 bit, or 64 bit?
    For 32 bit app, use the 32 bit msm file
    For 64 bit app use the 64 bit msm file
    Next, you are using Service Pack 1, current SP is #9, so update both your CRVS install (using the install exe) and the deployment project with the correct msm. Links to the msm files and the install exe are in this doc:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Once you have SP 9 installed, recompile your app making sure it still runs. Then build your deployment project and deploy. See what happens then...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Keycodedecoder.dll failure still there in Crystal Reports 2010 SP1

    Hi
    I have a problem with getting an error that busineesobjects.licensing.keycodedecoder.dll not found for version 13.0.2000.0.
    I am using Crystal Reports for Visual Studio 2010 Support Pack 1 (where I thougt this problem was resolved)
    The exception does not show up by default but if I subscribe to the AssemblyResolve event I can see that the common language runtime tries to bind the keycodedecoder assembly and fails.
    You can reproduce it by creating a .Net 4 windows forms project in Visual Studio 2010 and have Crystal Reports 2010 SP 1 installed. Here is the code for reproducing it:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System.IO;
    using System.Linq;
    using System.Reflection;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CR2010error
      public partial class Form1 : Form
        ReportDocument doc = null;
        public Form1()
          InitializeComponent();
          AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(QFE);
        private void button1_Click(object sender, EventArgs e)
          doc = new ReportDocument();
        private Assembly QFE(object sender, ResolveEventArgs e)
          // Format of e.Name:  [name-without-exe-and-dll], Version=[version], Culture=[culture], PublicKeyToken=[key]
          Assembly assembly = null;
          string[] parts    = e.Name.Split(',');
          if (4 <= parts.Length)
            assembly = HandleSignedAssembly(parts[0].ToLower().Trim(), parts[1].ToLower().Trim(), parts[2].ToLower().Trim(), parts[3]);
          return assembly;
        private enum FailType { NoFail, FileNotExist, NoVersionInfo, QfeError, LoadError, };
        private Assembly HandleSignedAssembly(string name, string version, string culture, string keyToken)
          if (name.ToLower().EndsWith("xmlserializers") || name.ToLower().EndsWith(".resources"))
            return null;
          Assembly assembly   = null;
          string[] parts1     = version.Split('=');
          string   wantVer    = parts1[1].Trim();
          string[] parts2     = wantVer.Split('.');
          int      wantMajor  = Convert.ToInt32(parts2[0]);
          int      wantMinor  = Convert.ToInt32(parts2[1]);
          int      foundMajor = -1;
          int      foundMinor = -1;
          string   path       = CreateFullPath(name);
          string   exception  = "";
          FileVersionInfo fvi = null;
          FailType failType   = FailType.NoFail;
          try
            if (!File.Exists(path))
              failType = FailType.FileNotExist;
          catch (Exception e1)
            failType = FailType.FileNotExist;
            exception = e1.Message;
          if (FailType.NoFail == failType)
            try
              fvi = FileVersionInfo.GetVersionInfo(path);
              foundMajor = fvi.FileMajorPart;
              foundMinor = fvi.FileMinorPart;
            catch (Exception e2)
              failType = FailType.NoVersionInfo;
              exception = e2.Message;
            if (null != fvi)
              if (wantMajor != foundMajor || wantMinor != foundMinor)
                failType = FailType.QfeError;
              else
                try
                  assembly = Assembly.LoadFrom(path);
                catch (Exception e3)
                  failType = FailType.LoadError;
                  exception = e3.Message;
                  assembly = null;
          if (null == assembly)
            Message_SignedAssembly(failType, exception, path, name, wantVer, null == fvi ? null : fvi.FileVersion);
          return assembly;
        private void Message_SignedAssembly(FailType failType, string exception, string path, string nameOfDll, string wantVersion, string foundVersion)
          StackTrace st;
          StackFrame sf = GetOriginatingStackFrame(out st);
          string referredBy = "";
          if (null != sf)
            if (-1 != sf.GetFileLineNumber())
              referredBy = string.Format(msgSource1, sf.GetMethod().DeclaringType, sf.GetMethod().Name, sf.GetFileLineNumber(), sf.GetFileColumnNumber());
          string reason = "";
          if (failType == FailType.FileNotExist)
            reason = string.Format(msgReason1, path);
          else if (failType == FailType.LoadError)
            reason = string.Format(msgReason2, exception);
          else if (failType == FailType.NoVersionInfo)
            reason = string.Format(msgReason3, exception);
          else if (failType == FailType.QfeError)
            reason = string.Format(msgReason4, wantVersion, foundVersion);
          else
            return;
          string msg = string.Format(msgBase1, referredBy, nameOfDll, reason);
          MessageBox.Show(msg, "QFE Resolver failed", MessageBoxButtons.OK, MessageBoxIcon.Warning);
          MessageBox.Show("StackTrace: " + st.ToString());
        private string CreateFullPath(string name)
          if (name.EndsWith(".resources"))
            name = name.Substring(0, name.Length - ".resources".Length);
          return AppDomain.CurrentDomain.BaseDirectory + name + ".dll";
        private StackFrame GetOriginatingStackFrame(out StackTrace st)
          st = new StackTrace(true);
          StackFrame sf = null;
          for (int i = st.FrameCount - 1; 0 <= i; --i)
            StackFrame frame = st.GetFrame(i);
            string s = frame.GetMethod().Name;
            if (frame.GetMethod().Name == "QFE")
              break;
            if (null != frame.GetFileName())
              sf = frame;
          return sf;
        #region Message
        static string msgBase1 =
    @"The program has failed to resolve a reference to a dll.
    Referenced dll is
    .dll
    Reason for failing:
        static string msgSource1 =
    Referred by
        static string msgReason1 =
    @"The referenced file does not exist. Searched for file:
    Copy the missing referenced file and retry again.";
        static string msgReason2 =
    @"The referenced file cannot be loaded.
        static string msgReason3 =
    @"Version information could not be obtained from the referenced file.
    Recompile the referenced file and retry again.
        static string msgReason4 =
    @"The referenced file is not compatible with the requested version.
    The requested version was , but the found file has version .
    According to the rules of QFE, these versions are not considered to be compatible.
    Replace the referenced file with a compatible version and retry.";
        #endregion

    I am only having version 13 (SP1) installed on my computer.
    If I run modules I can not see that crpe32.dll is loaded but there are fourteen other Crystal dll's loaded all with version 13 (from the below path)
    c:\program files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\
    Yes I konw it's just a warning but it's really enoying and I think it's bad if you said all references to this keycodedecoder.dll has been removed in version 13 but this warning has been there in the beta version and the final version and now also in the SP1 version, and you have told us it has been fixed at least for the SP1 version.
    I have tried my test project on a lot of other computers here at the company and we all get the same error so it's strange if you can't reproduce it. Can I e-mail you a zip-file of my test project or attach it in some way at this forum?
    I am running a 32 bit version of Windows 7 with CRforVS_redist_install_32bit_13_0_1 installed.
    Regards Tony

  • CRVS2010 Beta - Crystal Reports 2010 with VS 2010 Pro fr

    Hi,
    I fisrt use CR 2010 with Visual 2010 RC US. it works fine.
    After the offcial launch of VS 2010, i uninstall my VS 2010 RC to dowload the VS 2010 Pro French.I'm not able to use Crystal Reports 2010 anymore, even after uninstall/install Crystal Reports 2010 !! I always get the .mht file invinting me to dowload Crystal Report.
    Any help will be appreciate.
    Thanks.
    Edited by: Don Williams on May 12, 2010 8:45 AM

    Updated the subject line.
    Check the first link in this forum for more info. Currently it is English only.

  • Difficulties with Crystal Report 2010

    Good morning to everybody!
    I am with difficulties in generate a report using Crystal Report 2010, following:
    I have two distinct Tables, being one of the Customers Registered in the System and another of the Delivery Locations that only is supplied when the Customer own a Location of different delivery from your cadaster, kind Customer such has x local only then I supply the second table with such local.
    I want the report show me all the customers selected by the user, be whats are the Customers, however whether one or more customers also own other local of delivery shows these local soon after the normal data of the same.
    Only that I do not be obtaining such results, because the alone report to shows me the customers that own such delivery addresses in the prison Table, the ones that just do not have he scorns in other words does not print anything.
    Help me please and if can pass some examples.,
    Thanks!
    Dilson
    Edited by: DJHasselmann on May 31, 2011 4:26 PM

    Go to
    Database -> Database expert
    Select link tab, double click the join between tables and change to Left outer join
    Ian

  • Proxy server keeps asking for authentication

    My MacOS10.7.3 server coordinates a small subnet of 100 macs. To access the internet as provided by the larger organisation we must go through a proxy server. Unfortunately the proxy server keeps asking for authentication and checking the Remember This Password barely helps. Any tips would be appreciated.

    Hi, the reply by ctzsnooze in the following thread was very helpful to me:
    https://discussions.apple.com/message/23848959#23848959

  • SMTP  doesn't ask for authentication, but won't send

    Hello,
    I have a javaMail program that has worked in the past, but since then I have switched ISP's. The new ISP does not provide email service, but my mother still has an account with the old ISP, so I tried connecting to the old one using her username and password. The thing is the old ISP doesn't ask for authentication, I can connect and it says sender "ok" but then it just denies my email saying "relaying denied", invalid destination address. I used to be able to send emails with any sender and destination email addresses from this same smtp server when I had an account(from my computer). So I guess my question is it still possible for me to use this smtp server when I have authentication, but it doesn't ask for it?
    here is debug code:
    DEBUG: SMTPTransport trying to connect to host "smtp.paulbunyan.net", port 25
    DEBUG SMTP RCVD: 220 ns9.PaulBunyan.net ESMTP server ready at Sat, 10 Aug 2002 1
    4:47:53 -0500
    DEBUG: SMTPTransport connected to host "smtp.paulbunyan.net", port: 25
    DEBUG SMTP SENT: EHLO me
    DEBUG SMTP RCVD: 250-ns9.PaulBunyan.net Hello c65.102.026.224.stc.mn.charter.com
    [65.102.026.224], pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE 10000000
    250-DSN
    250-ETRN
    250-DELIVERBY
    250 HELP
    DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
    DEBUG SMTP Found extension "PIPELINING", arg ""
    DEBUG SMTP Found extension "8BITMIME", arg ""
    DEBUG SMTP Found extension "SIZE", arg "10000000"
    DEBUG SMTP Found extension "DSN", arg ""
    DEBUG SMTP Found extension "ETRN", arg ""
    DEBUG SMTP Found extension "DELIVERBY", arg ""
    DEBUG SMTP Found extension "HELP", arg ""
    DEBUG SMTP: use8bit false
    DEBUG SMTP SENT: MAIL FROM:<[email protected]>
    DEBUG SMTP RCVD: 250 2.1.0 <[email protected]>... Sender ok
    DEBUG SMTP SENT: RCPT TO:<[email protected]>
    DEBUG SMTP RCVD: 550 5.7.1 <[email protected]>... Relaying denied
    Invalid Addresses
    [email protected]
    DEBUG SMTPTransport: Sending failed because of invalid destination addresses
    thanks for any help

    If JavaMail doesn't see the "AUTH" line from the server, it won't attempt to authenticate.

  • Wikipedia asking for authentication

    Hello all. I'm not sure when this started happening for me, at least within the past couple of days, but when I search for something on Wikipedia, or go to it via a direct link, it asks for authentication. I'm not sure if it could be the result of a virus or not, but I am currently running a scan. Assuming URLs work on these forums, here is a link to a screen shot of this problem http://img707.imageshack.us/i/authent.png/ This problem has only begun occurring in the past 8-10 hours and seems to be isolated to Wikipedia.
    Well it appears that I can go to Wikipedia if I use a web based proxy.

    Create an SM50 trace with only the security component turned to trace level 2. In order to do so, run transaction SM50 and select some of the dialog work processes (around 5). Then choose 'Processes -> Trace -> Active components' from the menu (or use CTRL-SHIFT-F7). Set the trace level to 2 and select only the 'Security' component. Reproduce the SSO problem, and note the time. Return to the SAP system to check the traces you just started (CTRL-SHIFT-F8 in SM50). This trace collects information on work process level. Therefore, you need to find the work process that has handled the authentication attempt.
    This procedure is described in Note 495911 in more detail.
    Nick

  • Why is my public web site asking for authentication ?

    Hi,
    Why is my public web site asking for authentication ?
    My web site and the section of the default page belongs to Public group.
    My layout belongs to the WebAsset group.
    The document inside the default page belongs to Public group and Web/FP/RepMetiersSP account.
    Public group has only read access to everything.
    Also, what is the difference between unspecified group (inside site studio designer) and Public group ?
    Thanks,
    Jean-Pierre

    My fault. Inside this environment, I've specified the need for an account to access documents.

  • Why is google safari asking for authentication?

    Why is google safari asking for authentication?

    What's Google Safari? If you mean the Google search engine, it shouldn't. If you are access another section of Google, another app of fucntion, then it wan't you to log on to get to it.
    You might try cleaing Safari's cache (Settings app > Safari > Clear History and then Clear Cookies and Data). but without knowing more about what you are doing, its hard to tell what the issue is.

  • Public page asking for authentication

    Hi there,
    I have three pages in my application (aside from the login page) that are publicly accessible; ie, they have the 'Authentication' field in the page attributes set to 'Page Is Public'. Two of the pages work fine; they are accessible to unauthenticated users and display without hindrance. However, the third page always displays the login page instead of the page itself.
    There are differences between the way the pages are referred to. For example, setting pages' caches to be cleared, so I have tried using URLs with these components being the same and still get different behaviour. Also, they differ in setting variables in the URL so again, I have tried both setting variables and not in both the working and non-working pages and always get different behaviour.
    This is most strange behaviour; I have, within the same application, pages which should work the same way but don't. I would create a test case but the test case already exists within the application (the working public pages) and doesn't cause a problem.
    What reason could there be that one page set to be publicly accessible works fine with unauthenticated users but another page asks for authentication?
    Thanks,
    Robert

    Hi Dimitri,
    There's been a misunderstanding here. I don't use caching. What I mentioned was regarding the ClearCache component of Apex URLs (the 6th component.) Any pages listed in this component will have their item values cleared. This is distinct from Apex's rendering cache which appears to be what you're referring to.
    The issue is to do with different authentication behaviour in pages with the same settings.
    Regards,
    Robert

  • Crystal Report Server and IIS 7.0

    IS Crystal report server compatible with Win 2008 server/IIS 7.0. If so how can I get it to work with IIS 7.0   It keeps generating windows  DEP errors for w3wp.exe when trying to view the report through the Crystal report viewer.
    Dep on my server is set to Windows services only. You can't turn off dep for W3wp.exe.
    You no longer have the option to run in islation mode 5 either. This seems to be a worker process problem that I have not been able to figure out.
    Thanks,
    Robert

    I'm assuming you're using XI Release 2 or older version that does not support Windows 2008 or IIS 7.
    Newest version of Crystal Reports Server 2008 with upcoming Service Pack 1 should support Windows 2008 IIS 7, however, no official announcements have been made for supported platforms for SP 1.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • Errors occured during installation before itunes could be modified.... run the installer again

    Itunes says I need a version 10.7 or higher for my iphone 5 so when I go to upgrade/install the latest from the website I keep getting a message "errors occured during installation before itunes could be modified.... run the installer again" any idea

  • Where is separator bar in Mac Mail?

    What is the separator bar on Mac Mail?  I've suddenly lost the message preview pane and can't figure out how to get it back.  In Help it says to double click on the separator bar.  What is that?

  • Loading data in a drop down menu using jsp

    hello everyone... I'm very new to JSP programming....i'm facing a problem regarding loading the data in a drop down menu at the button click..... what i'm doing is...i'v taken a button and at the button click the data from "Sql Server 2000" shd load

  • Brand new 80gb! very frustrated?!?!

    i have a brand new ipod classic 80 gb. i had a 30 video and absolutely loved it, but it was stolen in a vehicle robbery and this is my replacement. when i hook it up, i am given a message that the ipod "ipod" requires itunes 7.4 or later and to downl

  • Capture of bids for procurement and workflow in SRM

    Dear Gurus, I am new to SAP. I would like to ask which functionality in SRM can do the following: 1. Capture bids for procurement 2. Use workflow to automate the evaluation and approval of the bids received (Matching bid price against budgeted cost)