Got exception when running CrystalReportViewer on 64 bit Windows 2008

We have a client/server app built with c#, .NET2, CR2008 .net runtime SP2, and VS2008. The smart client hosts a CrystalReportViewer, which consumes the ServerFileReportService.
The client on XP, 2003, Vista, and 32 bit Windows 2008 works fine with 32 bit Windows 2008/2003 server. But the client on 64 bit Windows 2008 throws the following exception,
EXCEPTION >>
IndexOutOfRangeExceptionMessage: Index was outside the bounds of the array.
Source: CrystalDecisions.Windows.Forms
TargetSite: System.String GetResourcePath()
StackTrace:
   at CrystalDecisions.Windows.Forms.ParameterPromptControl.GetResourcePath()
   at CrystalDecisions.Windows.Forms.ParameterPromptControl.BuildPromptingRequestContext(PromptingHTMLFeedback feedback)
   at CrystalDecisions.Windows.Forms.ParameterPromptControl.BuildPromptingRequestContext()
   at CrystalDecisions.Windows.Forms.ParameterPromptControl.StartPromting()
   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(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)
Edited by: Frank88 on Oct 9, 2009 8:55 PM

Hi Jonathan,
Currently the .NET solution contains over 70 assemblies, and only one assembly has reference to CR2008 .Net runtime SP2.  All the 70 projects for each assemblies are compiled with Platform Target set to Any CPU.  We build an installer with InstallShield, which deploys the runtime by CRRuntime_12_2_mlb.msi.
If we resolve all the parameters, and donu2019t prompt user for the parameters, then the same report runs fine on 64-bit Window 2008. Otherwise we always get the error on prompting parameters.
We resolved the issue by recompiling the exe with Platform Target set to (x86). And all the 70 assemblies are still compiled with Any CPU.
Regards,
Frank
Edited by: Frank88 on Oct 12, 2009 11:07 PM
Edited by: Frank88 on Oct 13, 2009 9:30 PM
Edited by: Frank88 on Oct 14, 2009 3:28 AM

Similar Messages

  • Issues in running flash player activeX on 64 bit windows 2008 R2 server

    When the activeX acts up, users can not type anything into search boxes or use the keyboards in online game sites. From time to time, we have to re-install flash player again.
    We noticed that the FlashUtil64 activeX dll is somehow saved in c:\windows\system32\Macromed\Flash folder while the FlashUtil32 activeX dll is in c:\windows\syswow64\Macromed\Flash folder, is this normal? And when running 32 IE, the flashutil64 shown in the windows running process.
    We installed flash player with 32 bit IE 10 on a 64 bit windows 2008 R2 server.
    Thanks.

    It seems you have used 32bit installers on 64bit machine. Please refer -
    http://anuj-dwivedi.blogspot.com/2010/10/installing-oracle-soa-and-bpm-111130.html
    Regards,
    Anuj

  • Can FMLE run on a 64 bit Windows 7 machine?

    I run it now on my Windows 7 32 bit machine but was getting ready to buy a new computer and wanted to get a 64 bit Windows 7 machine. Will FMLE run on a 64 bit Windows OS?

    Yes, we currently run it on a Dell Precision Rackmounted 64 Bit system and capabilities are fine.

  • Java app on 64 bit Windows 2008

    I need help finding the solution to a problem that I'm having with an java application that I'm running on 64 bit Windows 2008 Server for a P to V, physical to virtual server migration. My application has been running fine on Windows 2003 32 bit OS. Windows 2008 Server seems to be causing my applicaton to issue file copy errors (null value) for a text file that is a basic listing of a directory, nothing large or arcane. Also, the application does not move files from folders designated in the properties file. I gave admin access to all resources the application requires. I'm stuck at a standstill. I installed jdk1.6.0_26 and modified the PATH environment variable by adding the following: C:\Program Files\Java\jdk1.6.0_26\jre . I also installed the 32 and 64 bit version of jre 6_26 to no avail. Any and all suggestions are welcome. Thanks.

    user7356290 wrote:
    I need some clues like what .dll's should be registered throught the Windows GAC. That has absolutely nothing to do with the problem you described.
    You stated that your application is running.
    If a dll fails to load then you will get an exception that specifically indicates something like that or optionally you will get some horredous exception that means nothing. Or the VM will not run at all.
    And unless your java code is eating exceptions you are not getting any exceptions. If your code is doing that then your java code is wrong and the solution is to fix the java code so it does report the exceptions.
    Presuming that you are not eating exceptions and that you are not getting exceptions, since you didn't state you had any, it means it has nothing to do with dlls.
    It could be a permission problem, but that would again suggest that you are eating exceptions.

  • How to develop a plugin for 64-bit windows 2008 server?

    I have developed a plugin to open local application from web pages, but the plugin could only run on 32-bit windows and 32-bit and 64-bit windows 7, it couldn't work on 64-bit windows 2008 server. The plugin was compiled by vs2008 studio on 32-bit windows xp. Any instructions or advices, men of genius? Thanks

    Hi Gnittala,
    Thanks for your reply.
    I debug the javascript code in firebug on windows 8 and found that firefox would be not responding while executing "document.body.append(myPlugin)".
    My javascript code is below:
    function openLocalApp(cmdPath, cmdLine) {
    var npMyPlugin = navigator.mimeTypes["application/mozilla-npruntime-scriptable-plugin"];
    if (npMyPlugin) {
    var myPlugin = document.createElement("embed");
    myPlugin.style.visibility = "hidden";
    myPlugin.type = "application/mozilla-npruntime-scriptable-plugin";
    myPlugin.width = 0;
    myPlugin.height = 0;
    document.body.appendChild(myPlugin);
    myPlugin.foo(cmdPath, cmdLine);
    } else {
    alert("Failed to create the plugin!");
    And firefox plugin's source code copys from the following link:
    http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/npruntime/
    Just changed a little.
    I know the sample is very old, but newer proper sample couldn't be found. So if you can give me a newer sample, I'll appreciate.
    Thanks again.

  • Issue while installing idm 8.1.1 gateway on 64 bit windows 2008 R2

    Hi
    We have issue in installing idm 8.1.1 gateway on 64 bit windows 2008 R2
    C:\Program Files (x86)\IDM\gateway>gateway -i
    An error occured while trying to install the service: Input/output error
    Sun notes: if you're running 64-bit Windows 2008, you need the JDKTM Version 6 Update 12 and later.
    But this java version should be there in Gateway server(windows 2008) or idm installed server?
    We don't have java installed on gateway server. is this causing issue?
    please let us know
    Thanks

    I may have found a workaround. Can you try to change the "compatibility mode" in 2008 R2 to "Windows XP SP3" and see if it will install?
    Admittedly I have not done this myself so I'm not entirely sure where or how it's done, but I have confirmation it resolves the issue from others who have faced it.
    Edited by: user12611524 on May 2, 2011 5:11 PM

  • Want to move RH Server 8 to 64 bit Windows 2008 Server R2

    Can someone please confirm what version of Windows 2008 Server that RoboHelp Server 8 will run on?
    The Server Admin group says that they have to replace the server on which RH Server 8 is currently running an end-of-line operating system (Windows 2003).
    According to my support person, it would be really good if it could run on 64 bit Windows 2008 Server R2.
    FYI -- We're still using RoboHelp 7 with the last patch that allowed it to talk to RH Server 8.  If it is really important to convert up to RoboHelp 8, please let me know that as well.
    Thanks.  

    Hi Doug.
    I've not heard of any change in the officially supported versions of RoboHelp Server. Sorry.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • 64 bit Windows 2008 Server showing up as Win32NT

    I'm running this code on a windows 2008 server 64 bit and it's displaying Win32NT. I'm sure it's 64 bit windows server. Why would it show up as Win32NT?
    string OSVersion = System.Environment.OSVersion.Platform.ToString();
    Console.WriteLine("OS Version produced from System.Environment.OSVersion.Platform.ToString(): + " OSVersion);
    Console.ReadKey();

    I'm running this code on a windows 2008 server 64 bit and it's displaying Win32NT. I'm sure it's 64 bit windows server. Why would it show up as Win32NT?
    string OSVersion = System.Environment.OSVersion.Platform.ToString();
    Console.WriteLine("OS Version produced from System.Environment.OSVersion.Platform.ToString(): + " OSVersion);
    Console.ReadKey();
    Use this code instead:
    bool is64BitWindows = System.Environment.Is64BitOperatingSystem;
    if (is64BitWindows == true)
    Console.WriteLine("OS is 64 Bit");
    Console.WriteLine("System.Environment.Is64BitOperatingSystem == true");
    else
    Console.WriteLine("OS is 32 Bit");
    Console.WriteLine("System.Environment.Is64BitOperatingSystem == false");
    Console.ReadKey();

  • How to install a plugin on 64 bits windows 2008 server?

    From the developer forum, I found a description which told me how to install a plugin on windows series system, but I only succeded intalling the plugin on 32 bits windows xp, couldn't install the plugin on 64 bits windows 2008 server. Any ideas or advices, men of genius? Thanks :-)

    Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Is owb 11g r2,supported by 64 bit windows 2008 server

    is owb 11g ,r2 supported on 64 bit windows 2008 server.
    is it true that : OWB 11g,r2 is supported only for 32 bit windows 2008.

    There is no 64b client for windows at this time. You can check on Oracle for available downloads.
    http://www.oracle.com/technetwork/developer-tools/warehouse/downloads/software/index.html

  • Please help me to get Oracle 10.2.0.5 software for 64 bit Windows 2008 R2

    Hi All,
    Subject: Please help me to get Oracle 10.2.0.5 software for 64 bit Windows 2008 R2 operating system.
    I am looking for Oracle 10.2.0.5 software to install in windows 2008 server (64 bit) R2. I tried with oracle download repository but unfortunately I couldnt find this software. In the below link I can see the product Oracle 10.2.0.5 - 64 bit (Itanium). I have tried to download and install in the server but I received in-compatible error message.
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    From the oracle support certification site I have found that the Oracle 10.2.0.5 is the compatible version to installed in windows 2008 server(64) R2.
    I am trying very hard to find Oracle 10.2.0.5 - 64 bit. Can you please suggest me where I can download this software.
    Please do the needful.
    Regards,
    Jame

    Hi;
    Which means, do i need to install 10.2.0.4 and then to upgrade 10.2.0.5 using patchset?10.2.0.1 is base relase 10.2.0.x is patchest. 10.2.0.5 cover previous patchest errors which mean you do not need install 10.2.0.4 than upgrade it 10.2.0.5
    Regard
    Helios

  • Install ODI 10g on  64 bit Windows 2008 server

    Can we install ODI 10g on 64 bit Windows 2008 server ? if so Please provide the me the link for download
    Edited by: user1137989 on Oct 27, 2010 10:51 PM

    If you are looking for 10g then scroll down in the link (http://www.oracle.com/technetwork/middleware/data-integrator/downloads/index.html) Oracle Data Integrator 10g (10.1.3.5.0) and select for Microsoft Windows (x86) and extract and install .
    11g comes in 32 and 64 bit version .
    32 bit version is
    Oracle Data Integrator 11g (11.1.1.3.0)
    for Microsoft Windows (x86)
    64 bit version is .
    Oracle Data Integrator Companion 11g (11.1.1.3.0)
    for All Platforms
    Hope this helps .

  • When I try to print using Windows 2008 print server I have to use the generic print drivers supplied. If I use the OEM driver the printer locks up. I have tried a HP 4 plus and a Canon Copier.

    When I try to print using Windows 2008 print server I have to use the generic print drivers supplied. If I use the OEM driver the printer locks up. I have tried a HP 4 plus and a Canon Copier.

    A number of vendor drivers written for OS X cannot be used when connecting via SMB to a printer that is shared by Windows. This is due to limitations of the driver.
    In some cases, if you were to enable the LPD Print Service in Windows, you can connect to the share using the same syntax as SMB but on the Mac you would use the LPD as the protocol.
    If you can reply with the brand and model of printer you have then we may be able to provide more information.

  • ACS SE Agent aupport for 64 Bit Windows 2008

    Greetings All,
    Is there ACS SE agent support for a 64 Bit Windows 2008 Server. I was told there was not, I just want to confirm.
    thanks.

    there isn't sorry

  • Encountering exceptions when running a java program in the db

    hi,
    when running the following following program in oracle11g, AIX (5300-07)
    DROP JAVA SOURCE DIRLIST;
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED DIRLIST as import java.io.*;
    import java.sql.*;
    import java.util.Date;
    import java.text.SimpleDateFormat;
    public class DirList
    public static void getList(String directory)
    throws SQLException
    File path = new File( directory );
    String[] list = path.list();
    String element;
    for(int i = 0; i < list.length; i++)
    element = list;
    String fpath=directory+"/"+list[i];
    File f = new File(fpath);
    long len;
    Date date;
    String ftype;
    String sqldate;
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:S");
    if (f.isFile()) {
    len = f.length();
    date = new Date(f.lastModified());
    sqldate = df.format(date) ;
    ftype = "F";
    else {
    len = 0;
    sqldate = null;
    ftype = "D";
    #sql { INSERT INTO DIR_LIST (FILENAME, filelength, filetype, filemodified)
    VALUES (:element, :len, :ftype, to_timestamp(:sqldate,'YYYY-MM-DD HH24:MI:SS:FF3'))
    we are encountering the following issues..
    SQL> sho error JAVA SOURCE DIRLIST
    Errors for JAVA SOURCE DIRLIST:
    LINE/COL ERROR
    0/0 An exception has occurred in the compiler (1.5.0_10). Please
    file a bug at the Java Developer Connection
    (http://java.sun.com/webapps/bugreport) after checking the Bug
    Parade for duplicates. Include your program and the following
    diagnostic in your report. Thank you.
    0/0 java.lang.NullPointerException
    0/0 at
    com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:4
    80)
    LINE/COL ERROR
    0/0 at
    oracle.aurora.jdkcompiler.JdkDriver.compile(JdkDriver.java:570)
    0/0 at oracle.aurora.rdbms.Compiler.compile(Compiler.java:322)
    0/0 at oracle.aurora.rdbms.Compiler.access$000(Compiler.java:57)
    0/0 at oracle.aurora.rdbms.Compiler$1.run(Compiler.java:324)
    0/0 at java.security.AccessController.doPrivileged(Native Method)
    0/0 at oracle.aurora.rdbms.Compiler.doCompile(Compiler.java:651)
    In trace files there are another set of exceptions that are getting generated when this program is running as shown below
    joez_compile_method: failed compiling method oracle/aurora/sqljdecl/SqljDecl.jj_
    scan_token with oracle/aurora/zephyr/util/JITCompileException:class java.lang.Ar
    rayIndexOutOfBoundsException:null
    oracle.aurora.zephyr.util.JITCompileException: class java.lang.ArrayIndexOutOfBo
    undsException:null
    at oracle.aurora.zephyr.util.Debug.assert_(Debug.java:67)
    at oracle.aurora.zephyr.JITDriver.jitMethod(JITDriver.java:197)
    at oracle.aurora.zephyr.JITDriver.jitMethod(JITDriver.java:71)
    at oracle.aurora.vm.OracleRuntime.jitOneMethod(Native Method)
    at oracle.aurora.vm.OracleRuntime.jitSomeMethods(OracleRuntime.java:758)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    at java.util.Vector.addElement(Vector.java:582)
    at java.util.Stack.push(Stack.java:44)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.push(ByteCodeToMIR.java:4
    03)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.pushRef(ByteCodeToMIR.jav
    a:406)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.translateBasicBlock(ByteC
    odeToMIR.java:1822)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.translateMethod(ByteCodeT
    oMIR.java:824)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.translateMethod(ByteCodeT
    oMIR.java:4633)
    at oracle.aurora.zephyr.JITDriver.jitMethod(JITDriver.java:125)
    ... 3 more
    We been trying for couple of weeks to figure out the issue.
    Has anyone encountered this issue or having solution in rectifying this please share with us..
    Thanks

    If you mean can you run it as a windows 2000 service so the user doesn't see it yes you can.
    I recommend the following Java Service wrapper program:
    http://www.eworksmart.com/JNT/
    It's quite simple to set up and will start when the user logs in (so long as the service is set to start automatically).
    Hope that helps,
    Seigers.

Maybe you are looking for