BACKGROUND PROCESSING, REPORT NOT LOADING, "OBJECT NOT SET TO INSTANCE..."

Post Author: thecoffeemachine
CA Forum: .NET
I already posted this message in other Web sites, but I am almost getting crazy here and I need help:
HI:
The Web application I am testing was having several issues related to loading Crystal Reports. It was fixed and I do not know which of the 1000 things I did to fix it; but now it began, again, to have the same behavior after I had a conflict with another Web site that was in the same server.
The thing is that I had another virtual directory where resided a copy of the same Web app. for testing purposes/working with the Visual Studio. The reports were loading all fine, very fast, all perfect... And suddenly the assemblies of one Web site and the other began to "blend" together and..... well the same behaviors appeared again. I tried to copy the last stable backup and rebuild the Web app... but it did not work.
At the very first time that one requests the report, it shows without problem. At the second time it shows an error message related to "cannot submit to background processing", and sometimes "object not set to an instance.." ... and on the third time it just never shows up and the app. becomes unresponsive. I have to close the window and request the Web site again in another browser window. If I wish to see the report again I have to wait for hours until it shows it.
I am using Visual Studio 2003 and the Crystal Report version that was shipped with that Visual Studio version. I am working with Windows Server 2003 and SQL Server 2000. Below is the VB code:
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load             Me.SqlConnection1.Open()
       Me.SqlSelectCommand1.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandReferences.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandTextbook.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandObjectives.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandTopicData.Parameters("@CourseCode").Value = Request.QueryString("CD") Me.SqlSelectCommandCourseOutcomes.Parameters("@CourseCode").Value = Request.QueryString("CD")
        Me.SqlDataAdapterMainData.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseSyllabusData")         Me.SqlDataAdapterReferences.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseReferenceData")         Me.SqlDataAdapterTextBook.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseTextbookData")         Me.SqlDataAdapterObjectives.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseObjectivesData")         Me.SqlDataAdapterTopicData.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseTopicData")
Me.SqlDataAdapterCourseOutcomes.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseOutcomes")
        Dim myExportOptions As CrystalDecisions.Shared.ExportOptions         Dim myDiskFileOptions As CrystalDecisions.Shared.DiskFileDestinationOptions         Dim myExportFile As String         Dim myReport As New ABETFormat         myReport.SetDataSource(Me.DtsSyllabusCompleteData1)
        myExportFile = "C:UNTempPDF" & Session.SessionID.ToString & ".pdf"         myDiskFileOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions         myDiskFileOptions.DiskFileName = myExportFile         myExportOptions = myReport.ExportOptions
        With myExportOptions             .DestinationOptions = myDiskFileOptions             .ExportDestinationType = .ExportDestinationType.DiskFile             .ExportFormatType = .ExportFormatType.PortableDocFormat         End With
        myReport.Export()
        Response.ClearContent()         Response.ClearHeaders()         Response.ContentType = "application/pdf"
        Response.WriteFile(myExportFile)         Response.Flush()         Response.Close()         System.IO.File.Delete(myExportFile)         Me.SqlConnection1.Close()
    End Sub
I already have tried moving the Crystal Reports dll´s to the bin directory. ..... I have tried calling the Garbage Collector at page unload...I also have checked, inside the report, that the database is "up to date"... ... recycling the worker process of the IIS... etc...
I see that, in debbuging mode inside the Visual Studio, when the page loads the debbuging window shows a message notifying that the symbols related to the Crystal Reports dll's could not be loaded.
Should I need to modify the default properties of the database? I checked "database is case insensitive", "use indexes or server for speed".. I have tried checking and unchecking the box "performing grouping on server"
Oh by the way, my report has about 4 subreports in it. Each report loaded shows 1 or 2 pages.
ANY HELP WILL BE EXTREMELY APPRECIATED....
MMS

See  [Crystal Reports For Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23&overridelayout=true] article, page 107 and on for details on how to use Crystal reports in session.
Ludek

Similar Messages

  • Can not load pictures for setting up an ebay auction there fore can not set up auction

    Firefox will not upload images to ebay for starting an auction, the simple or complex form. You have to have an image for an auction now and if you do not you can not start the auction. Firefox will not upload any images to the auction page no mater what I tried. Explorer works, Opera works but I am unable to upload images in Firefox.

    hello, [https://bugzilla.mozilla.org/show_bug.cgi?id=775879 bug #775879] offers some background into the issue - essentially the breakdown of the ebay photo uploader is a by-product of a security relevant fix that landed in firefox 16. ebay is already aware of the issue & hopefully they are working on implementing changes in their code to solve the issue.

  • Using cp.5. Not loading or not completing

    In Internet Explorer within the LMS (Merdian Global)
    Some courses are randomly not loading.
    In Firefox within the LMS
    No courses are showing Completed Status, only "started" even if a user completes a course and /or passes a quiz
    HELP!

    You'll need to provide more information if we are to stand any chance of assisting.
    Can you please show screenshots of how you have your Captivate courses configured for SCORM reporting?
    How do you have the course modules set up?  Are they individually loaded into the LMS or are they part of a Multi-SCO SCORM?

  • SystemUIServer not loading, menubar not working

    Hi
    I am having a problem with SystemUIServer not loading and leading to nothing loading on the right side of the menu bar. It is true for all accounts on the computer.
    I have looked on the forums and not found an answer yet. I have restarted, trashed the pref file, and booted in safe mode then restarted. Even in safe mode it did not load. It looks like it may be trying to load a bad file or something and I am looking for the safest way to fix the problem. Any help would be appreciated.
    Thanks
    Rob
    The console error log shows:
    OS Version: 10.4.11 (Build 8S165)
    Report Version: 4
    Command: SystemUIServer
    Path: /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer
    Parent: WindowServer [65]
    Version: 1.4.6 (192.0.10)
    PID: 208
    Thread: Unknown
    Link (dyld) error:
    Library not loaded: /System/Library/PrivateFrameworks/NetworkConfig.framework/Versions/A/NetworkCon fig
    Referenced from: /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer
    Reason: no suitable image found. Did find:
    /System/Library/PrivateFrameworks/NetworkConfig.framework/Versions/A/NetworkCon fig: unknown file type, first eight bytes: 0x69 0x6E 0x65 0x2F 0x49 0x4F 0x49 0x6E

    Hi, and a warm welcome to the forums Rob!
    Since it's all users, the regular fix won't have much effect methinks.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot.
    The usual reason why updates fail or mess things up, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
    Some people get away without Repairing Permissions for years, some for only days.
    If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
    If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates.

  • Cannot open my excel sheet, the message saying  library not loaded, image not found therefor the icon is showing on the screenrey

    For the first time I cannot open my Excel. The report is saying:image not found, therefor the icon is showing on my desktop.
    Before my Mac open with excel sheet, now it is not there anymore. I guess it it hiding somewhere. How to find it? As you can see I am not an IT . Please try to avoid hight tech wording.
    Many thanks,
    Eva

    Hi Eva,
    Open Console in Utilities & see if there are any clues or repeating messages when trying Excel.

  • I have acp medicine cd. I copied it to hard disk. Now used start.htm to launch the webpage based application.table of contents is not loading, search not workin

    acp medicine cd is version 2006. I have java 7 update 45.
    Java Plug-in 10.45.2.18
    Using JRE version 1.7.0_45-b18 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Admin.lt01
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1786789
    basic: Plugin2ClassLoader.addURL parent called for file:/E:/Apps/ACPCD/ACPCD/sam.jar
    network: Cache entry not found [url: file:/E:/Apps/ACPCD/ACPCD/sam.jar, version: null]
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@177b4d3
    network: Cache entry not found [url: file:/E:/Apps/ACPCD/ACPCD/sam.jar, version: null]
    network: Cache entry not found [url: file:/E:/Apps/ACPCD/ACPCD/sam.jar, version: null]
    basic: Plugin2ClassLoader.addURL parent called for file:/E:/Apps/ACPCD/ACPCD/sam_java/tree.jar
    security: Accessing keys and certificate in Mozilla user profile: null
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7.0.45
    network: Cache entry not found [url: file:/E:/Apps/ACPCD/ACPCD/sam_java/tree.jar, version: null]
    network: Cache entry not found [url: file:/E:/Apps/ACPCD/ACPCD/sam_java/tree.jar, version: null]
    network: Cache entry not found [url: file:/E:/Apps/ACPCD/ACPCD/sam_java/tree.jar, version: null]
    0
    basic: Embedding dialogs not enabled in Configuration
    security: SSV validation:
    running: 1.7.0_45
    requested: null
    range: null
    javaVersionParam: null
    Rule Set version: null
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7.0.45
    security: continue with running version
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7
    network: Created version ID: 2.2.45
    security: SSV validation:
    running: 1.7.0_45
    requested: null
    range: null
    javaVersionParam: null
    Rule Set version: null
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7.0.45
    security: continue with running version
    network: Created version ID: 1.7.0.45
    network: Created version ID: 1.7
    network: Created version ID: 2.2.45
    basic: Applet loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 2891122 us, pluginInit dt 12593728 us, TotalTime: 15484850 us
    basic: Applet loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 2891122 us, pluginInit dt 12910284 us, TotalTime: 15801406 us
    basic: Applet initialized
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet made visible
    basic: Applet started
    basic: Told clients applet is started
    java.net.MalformedURLException: no protocol: data.gz
    JObjects QuestAgent
    Copyright (c) 1997-2002, JObjects International. All rights reserved.
    http://www.jobjects.com
    java.io.IOException: Failed to open file for read: sam.prm
    at com.jobjects.quest.e.c.a(c.java:55)
    at com.jobjects.quest.e.c.a(c.java:63)
    at com.jobjects.quest.e.c.a(c.java:31)
    at com.jobjects.quest.agent.GenericSearchApplet.init(GenericSearchApplet.java:51)
    at com.jobjects.quest.agent.LiveConnectApplet.init(LiveConnectApplet.java:166)
    at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    [ERROR] Can't load applet parameters from sam.prm <java.io.IOException: Failed to open file for read: sam.prm>
    [DEBUG] Detected browser: sun.plugin
    [DEBUG] Creating search panel.
    [DEBUG] Search panel created.
    [DEBUG] Search applet initialized.
    basic: Applet initialized
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet made visible
    basic: Applet started
    basic: Told clients applet is started

    Did it work when you started it directly from the CD?
    Does it work if you open start.htm in Internet Explorer?
    I don't have much experience with Java issues, but one thing to try would be to clear Java's cache, which is separate from your browser caches. This article has the steps: [http://www.java.com/en/download/help/plugin_cache.xml How do I clear the Java cache?]

  • BW 3.x : Increase Background processes for one loading

    Hello,
    in BW 3.x, I must load cube1 into cube2 (cube2 is a cube1's copy). => During loading, time process is due to writing fact table.
    I decrease parameter (infopackage parameter), in order to increase performance :
    Maximum size of a data packet in kByte
    I want to increase parallel processes in order to increase performance again (Data volume is so important). But How to increase this parameter : "Maximum number of dialog processes for sending data".
    Thanks in advance for your help.
    Best Regards,

    See note 631710.
    Or you can increase it at system source level (transaction SBIW/Main settings).
    Regards,
    Fred
    Edited by: FCI on Apr 28, 2009 6:02 PM

  • Apple mobile device DRIVER does not load/ is not installed

    this is what my itunes diagonstic says concerning connectivity tests
    Microsoft Windows 7 x64 Ultimate Edition (Build 7100)
    Hewlett-Packard HP Pavilion dv2700 Notebook PC
    iTunes 8.1.1.10
    QuickTime 7.6
    FairPlay 1.3.6
    iPod Updater Library 8.1d19
    CD Driver 2.1.0.1
    CD Driver DLL 2.1.1.1
    *Apple Mobile Device 2.4.1.7*
    *Apple Mobile Device Driver not found.*
    Bonjour 1.0.6.2 (118.5)
    iTunes Serial Number 88107370E6DED672
    Current user is not an administrator.
    The current local date and time is 2009-05-16 00:21:13.
    iTunes is not running in safe mode.
    Video Display Information
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family (Microsoft Corporation - WDDM 1.1)
    Intel Corporation, Mobile Intel(R) 965 Express Chipset Family (Microsoft Corporation - WDDM 1.1)
    ** External Plug-ins Information **
    No external plug-ins installed.
    ** iPod/iPhone Connectivity Tests **
    iPodService 8.1.1.10 is currently running.
    iTunesHelper 8.1.1.10 is currently running.
    Apple Mobile Device service 2.12.36.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) ICH8 Family USB Universal Host Controller - 2830. Device is working properly.
    Intel(R) ICH8 Family USB Universal Host Controller - 2831. Device is working properly.
    Intel(R) ICH8 Family USB Universal Host Controller - 2832. Device is working properly.
    Intel(R) ICH8 Family USB Universal Host Controller - 2834. Device is working properly.
    Intel(R) ICH8 Family USB Universal Host Controller - 2835. Device is working properly.
    Intel(R) ICH8 Family USB2 Enhanced Host Controller - 2836. Device is working properly.
    Intel(R) ICH8 Family USB2 Enhanced Host Controller - 283A. Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    Ricoh 1394 OHCI Compliant Host Controller. Device is working properly.
    Most Recent Device Not Currently Connected:
    Fifth Generation iPod (iPod with video) running firmware version 1.3
    Serial Number:
    i found it out that the apple mobile device is running yet there is no driver that is loading so that it can recognize my iphone
    any suggestions on how to get the computer automatically to search the driver in the system32/drivers folder?
    i already tried downloading the driver and copying into the folder and doing restart
    i've also tried to reinstalling itunes and i used winrar to extract the applemobiledevice support and repaired but it didn't do anything
    are there any other suggestions?

    Sorry, I should have qualified that: in the past I have given dump/debug/log details to people in the 'Windows' world to try to solve problems that I've thought have needed immense details to resolve but since owning a Mac I have discovered that if I am thinking at that level of detail then I have lost the real plot and my pulling back and looking at things simply again has been an eye-opener, hence my suggestion in response to your question to simply 'get a Mac'.
    Part of the 'issue' with Windows seems to be its varieties and variants (Windows 7 x64 Ultimate Edition (Build 7100), for example) and the range of various and variable hardware on which it can run, too often with random and non-deterministic results, not to mention the almost limitless and unnecessary combinations of user-configuration options and requirements!
    Seriously, get a Mac if you are into the Apple world, even on the periphery, if you want an easier life (in my experience).
    Good luck with your 'issue'.

  • Mac freaked out, would not 'load' pages, notes, sarfari

    last night I could not get pages to work, I'd click on it, and the little color wheel would show up, had to use force quit. I tried notes, same thing. iPhoto would show the pics but wouldn't quit, had to force quit. I tried sarfari it would get the blue bar about 1/2 way across the home page address. I tried restarting, I tried to unplug and replug the machine. I turned it off for 2 hrs and came back, and everything seems okay. Any thoughts? I have 2
    1) my wife had been using it and was taking alot of iphotos from the main page and putting them into a folder, did this jamb it up and was processing them?
    2) it was hot in the room, and the computer was on for a long time, could it have over heated?? is there a way to tell??
    thanks for your help!!

    Hello,
    I have exactly the same probleme with the same macbook pro. Did you know now what's the probleme ?
    Did you repair it ?
    Thanks !

  • Farmville not loading server not found.

    I can access facebook but cannot load farmville. Either server not found error appears or Firefox can't find the server at apps.facebook.com.

    Farmville works fine on my ipad2. What does not work for me is Nook and metaverse pro

  • HT1222 security update 2014-001 1.0 will not load. Not even in safe mode. Says to contact manufacturer?

    I have downloaded the latest Security Update from the Apps store, TWICe and neither time has it taken when installing. I then kept clicking and found a version specific to Mountain Lion, which I downloaded. That didn;t take on installation either, not even in Safe Mode. I have a VERY small amount of GB's per month (10 GB) and am increasingly frustrated with having tod ownload stuff that doesn't seem to work. AND the #1 hovering on the App symbol in the dock drives me nuts. Especially after downloading the same update now THREE TIMES?! Can anyon e help me to understand what's going on, or indeed how to make this thing work?

    Same here.
    Using AppStore twice: "unknown error"
    I thought it might be because the AppStore installation didn't have access to my system keychain for administrator privileges, so I downloading manually, opened the DMG and ran the installer. I got the prompt for my password and the installer went almost to the end, including the "optimizing" step, but still same result:
    The installation failed
    The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    MacBook Pro 15"
    OS X 10.8.5
    2.2 GHz Intel Core i7
    8 GB 1333MHz DDR3
    So how does one contact the manufacturer?
    Since upgrading to Mountain Lion, I have noticed many more application crashes (on launch, on quit or at random times), spinning beachballs and use of the Force Quit hotkeys. Maybe Apple should pay more attention to its computer business instead of playing in the fashion biz.

  • Applications will not load - as not authorized

    XP SP3
    This has me stumped.
    I am the admin for this PC.
    My music and podcasts sync to the iTouch but not a new Application I downloaded from 'the' store because I am "not authorized to use them on this computer."
    So what is preventing the install?

    got it. some how the itcouch was not authorized (found the feature under the Store tab within Itunes) yet my Nano is/was.

  • Firfox will not load, will not uninstall, I cannot edit profile(s)- help.

    I inadvertently deleted some file which include my original profile. After problems with not having my settings, I uninstall Firefox and Thunderbird (Ver 3.1.?) and re-installed (Ver 3.5.?)
    Now Firefox won't open, I cant get into profiles (RUN) and it will not uninstall at control panel..Any ideas here? Running XP home.

    CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3

  • Everytime i load firefox, I have to go to secure browsing. Web pages will either not load or not load correctly. How do I fix this on my laptop?

    laptop is a sony vaio VGN series. Windows 7 home premium, 8gb Ram, 320gb HD.

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode.]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]

  • While I really like Firefox; it causes problems on my lap top. Why does it sometimes not load pages, not send e-mail messages and sometimes even kick me off the internet?

    Doesn't happen all the times. Computer works well using Internet Explorer

    Doesn't happen all the times. Computer works well using Internet Explorer

Maybe you are looking for

  • BEST WAY TO REFRESH A MATERIALIZED VIEW

    Hi, I have a Materialized View that was created after two Base Tables, Table A is a Dynamic Table, this means that it have Insert's, update's and delete's, and a Table B that is a Fixed Table, this means that this table do not change over time (it's

  • What is the best way to connect Cambridge DAC to imac

    What is the best way of connecting a Cambridge Audio DacMagic to the imac without losing sound quality? 

  • Wlc-2504-k9 ap license upload issue

    Hi i have 20 access points and wlc controller with 15 ap supported .I got 5 ap license but am not able to upload . Temproray i have enabled evaluation license which is valid 12 weeks . but when i tried to upload the liecense its giving me error . Can

  • F110 Problem editing payment letters

    Hi all! I have tested different cases in our development environnement and now we test payment letter in integration environnement. We use specific program like RFFOIT_B and specific form like F110_IT_DTA and F110_AVVISO_IT. Test environnement: Payme

  • Update multiple infotypes for an employee

    I have a requirement to update some fields in various PA infotypes like 0002, 0006, 0008, 0015, 0021 and a few custom PA infotypes (9xxx) for a given set of employees. Is there any method by which I would be able to update the required fields of all