Deploying visual studio 2008 project with crystal reports

I have deployed an application using ClickOnce.  The application works except that I am getting a "Load Report failed" error.  I am able to view reports on my developer machine, but when I deploy it I get the error.
What causes this and how can I fix it?

Cause is that either the report file is not found where the engine expects it to be, or the engine does not have the neccessary permissions to load and / or process the report. A bit more information is needed:
1) What version of CR are you using? 
                   9.2.2.634
2) What is the OS you are deploying to?
                   XP
3) Is this a web or a windows app?
                   Windows
4) How are the reports being loaded? (code snippet may be a good idea)
THIS IS IN FORM frmCRReports
    <snip>
               Private Sub SetReport()
               Dim strReportPath As String = Application.StartupPath
                  If rbDetails.Checked = True Then
                     ReportName = strReportPath & "\Reports\rptDetail.rpt"
                 ElseIf rbByYear.Checked = True Then
                      ReportName = strReportPath & "\Reports\rptYearly.rpt"
              End Sub
<snip>
                 Private Sub cmdPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPreview.Click
             Call SetReport()
             frmCRViewer.Show()
                End Sub
THIS IS IN FORM frmCRViewer:
<snip>
           Private Sub ViewReport(ByVal ReportName As String)
             Dim oReport As New ReportDocument
             oReport.Load(ReportName)
             CrystalReportViewer1.ReportSource = oReport
         End Sub
         Private Sub frmCRViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
                 Call ViewReport(ReportName)
         End Sub
The reports are located in a folder named Reports which is directly under the Application Files folder; both underneath the folder having the application name on the application server.  Any help will be appreciated!

Similar Messages

  • Problems deploying VS 2005 Web Site with Crystal Reports

    If it's not one assembly reported missing, it's another. Runs fine on my local machine, but can't deploy to a test environment on my company's server. How can I force crystal to install everything on the server that is needed so that my clients (end users) can run this report?
    We are not running Crystal RAS.
    When I set up my msi, I made sure to set it to take assemblies from my local machine. Yet, my local machine does not seem to contain all of the assemblies that it needs. They're not showing up in the bin anyway.
    I am using non-embedded report files (as you can see from my code below) so that I can change reports on the fly, if necessary without recompiling the entire app.
    I am using the ReportDocument object.
    Error as follows (when run from any desktop) in IE.
    Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 21:         'Server.MapPath(strPath)
    Line 22:
    Line 23:         crMissing218 = New ReportDocument
    Line 24:
    Line 25:         Dim file As String = Server.MapPath("\reports\CrystalReports\crmissing218.rpt")
    Source File: C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb    Line: 23
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    === Pre-bind state information ===
    LOG: User = NT AUTHORITY\NETWORK SERVICE
    LOG: DisplayName = CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    (Fully-specified)
    LOG: Appbase = file:///C:/Inetpub/wwwroot/MicsaReports/
    LOG: Initial PrivatePath = C:\Inetpub\wwwroot\MicsaReports\bin
    Calling assembly : CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Inetpub\wwwroot\MicsaReports\web.config
    LOG: Using host configuration file:
    ?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Post-policy reference: CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/micsareports/aa1e0492/7939610/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/MicsaReports/bin/CrystalDecisions.ReportAppServer.CommLayer/CrystalDecisions.ReportAppServer.CommLayer.EXE.
    Stack Trace:
    [FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +0
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
       Missing218s.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\MicsaReports\Missing218s.aspx.vb:23
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
    Any help with this would be most appreciated. Is there a KB that deals with deploying a VS 2005 WEB SITE with Crystal?
    Thank you,
    Bob

    Okay. So I installed the correct MSMs, opened the deployment document that came with it entitled, "Crystal Reports for .net Framework 2.0 - Deployment using Merge Modules" and got to page 4. At the bottom of page 4. It had me create a new Web Setup Project. The MSMs are included in the project, as they should be.
    On page 4, #7, it says "Build the project."
    #8 says Run your development setup.
    There are 3 panes on my VS interface (4 including the Solution Explorer). To me, they look like they need the information regarding what Web Site this is to deploy.
    I don't see any instructions on how to do this. I just blew away my old MSIs that I created because the previous document said not to use them.
    So, how do I add my Web Site to these panes?
    Thank you for your help with this.
    Bob

  • Does CR 2008 work with Crystal Reports Server 11.5

    I currently have CRS 11.5 and am using CRXI. I would like to upgrade CRXI to CR2008 (visual advantage), but not upgrade CRS at this time. Does CR2008 work with CRS11.5? Any known issues to be aware of?
    Thanks,
    Jsr

    Unfortunately, CR 2008 is compatible with CR Server 2008 only You could refer to the [CR Server 2008 Supported Platforms|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90e0d1a4-ae34-2b10-198c-f309bfa21e91]
    Kindly refer to the [Crystal Reports Server XI Release 2 Info|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20d9fe63-396c-2b10-e7a8-efddd1a910f6]
    Hope it helps !!

  • Using visual studio entity frameworks in crystal reports

    Can visual studio entity frameworks be used in designing crystal reports?

    Can visual studio entity frameworks be used in designing crystal reports?

  • XCelsius Engage Server 2008 integration with Crystal Reports Server 2008

    Hi there....
    I am kinda new to XCelsius and am confused with the integration points XCelsius Engage Server offers for 'Crystal Server 2008' users.
    The trial install package for XCelsius Engage Server (SP1) has a binary installation for XCelsius and then for Adobe LifeCycle DataServices. The installation document in the distribution does not talk about what the 'engage server' part is? and how it can get integrated to an existing CS 2008 installation ?
    any suggestions/pointers would be appreciated. Also is there a document/white paper explaining how this whole family of CS and XCelsius products fits together ?

    user12111287,
    To answer your question.....No, I do not. But we have run Crystal Reports using P6 data.
    As far as I know Crystal Reports only needs a database of some kind in order to do its thing. Are you attempting to set up a "real time" data link (ODBC) to Crystal via SDK?
    If not, you could just build your own P6 exports or develop your own reports that would provide the data for feeding Crystal Reports. Maybe set up an automated Job Service task to run a batch of reports on a daily basis.
    Hope this helps.
    Edited by: p3_scheduler on Mar 25, 2010 1:18 PM

  • Crystal Report 10 in Visual Studio 2008

    Hello,
    Is there a formal process to make Visual Studio 2008 work with Crystal Report version 10? Are there specific files that need to be installed? Any problems to watch for. I currently tried to port Visual Studio 2003 solution that had working Crystal Reports 10 code and I have received some errors relating to ReportDocument (but there could be other). Anyway, maybe there are some basics I am missing.
    Thanks.

    When I double click on the report (.rpt) file, I am getting Microsoft Windows dialog with the following message:
          Microsoft Visual Studio 2008 has stopped working.  
          Windows can try to restart the program.
          --> Restart the program
         --> Debug the Program
    When I click Debug the Program, I see following:
       Unhandled exception at 0x18205950 in devenv.exe: 0xC0000005: Access violation.
       Top 3 Call Stack lines at this point are:
       18205950()
       CRDesigner.dll!3e043d7a()
       [Frames below may be incorrect and/or missing, no symbols loaded for CRDesigner.dll]
       When I click Break in debug window I see:
       No symbols are loaded for any call stack frame. The source code cannot be displayed."
       Windows has triggered a breakpoint in devenv.exe.
       This may be due to a corruption of the heap, which indicates a bug in devenv.exe or any of the DLLs it has loaded.
    I do not see Crystal Reports 10.xx under reference list. How do I go back to the version of reports originally created in? If I am not able to work the Crystal Reports 2008, I want to go back to 10.xx and drop the idea of considering upgrade to Crystal Reports 2008.
    Any help is appreciated. Thanks.

  • Visual Studio 2008 Crystal Report 10.5 merge modules download

    Hi All,
    I'm struggling with this problem about 2 weeks and still cannot find the resolution.
    I was developed a .Net application with visual studio 2008 and using crystal report to generate report.
    It is working fine in my local machine. However, after I deployed the application to web server with microsoft server 2003 64bits server. The report cannot open and I get this error The type initialize for 'crystaldecisions.crystalreports.engine.reportdocument' threw an exception.
    I try to install the redistribution package from  C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5 but it doesn't work.
    Please kindly to help me thank you very much

    Thank you Sir,
    After I installed the msi I get this error retrieve from event log.
    An unhandled exception occurred and the process was terminated.
    Application ID: DefaultDomain
    Process ID: 528
    Exception: System.Runtime.Serialization.SerializationException
    Message: Type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' in Assembly 'CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is not marked as serializable.
    StackTrace:    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
       at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
       at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
       at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
       at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
       at System.AppDomain.Serialize(Object o)
       at System.AppDomain.MarshalObject(Object o)
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

  • Crystal Report 2008 in Visual Studio 2008

    Greetings all,
    I faced a problem here when trying to implement a web application on a Windows Server 2003 Release 2 64bit. The web application is developed using Visual studio 2008 on a development PC running on Windows XP 32bit. The application basically will pass some parameters to the crystal report before loading it for viewing. When this application is implemented on one of our client's server which is running on Win2003 32bit, it was perfectly fine. However, when this same application is implemented on a windows 2003 r2 server x64, it somehow prompted an error on top of the page (just before the report viewer object) of the below message:
    This field name is not known. Error in File [temp_location_of_rpt]: Error in formula '{Vendors.company_code}={?Company_Code} and ' This field name is not known.
    As the application was working fine running under win2003 r2 x32, I configured the x64 server to enable the 32bit IIS mode on the server by running the below command:
    cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 u201Ctrueu201D
    Then proceeded with reinstallation of 32bit .net framework which surprisingly able to run the web application just fine (including viewing the report). When I deactivate the 32bit on the IIS (as the client needs to run the IIS on 64bit mode), the error appears again stating the formula error and field name not known when trying to load the report.
    Anyone faced similar to this problem or any gurus and expers here can help? Would appreciate all help and guidance.

    Hi Brian,
    I did try to create a report without any parameters passing through the web application, in which merely to load the report that connects to the database and grab records for viewing but to my amazement, the rows of record displayed is max up to 1 row (even there are many rows in the database table). I am curious if the problem lies in the connectivity issue between crystal and oracle. Now I am wondering if there is anyone out there who manage to get the web application (visual studio) interfaced successfully with crystal report to load data directly from oracle running on IIS 64bit? Or even any other database engine where the web application is running on IIS 64bit mode?
    For the time being, I am re-constructing the report to use XSD for the intention to pass the data through dataset from the web application to crystal report. It's a time consuming but I guess that's the only way to work around it.
    Would appreciate if anyone have any leads to get the crystal report working on IIS x64 mode.
    Thanks.
    Edited by: eklim8 on Jan 19, 2010 3:51 PM

  • Crystal Reports for Visual Studio 2008 - dbf

    Hello,
    I use both Visual Studio 2005 and 2008 on same PC. I can not work with dbf files (format foxpro2x, dbase IV) in VS 2005 and VS 2008.
    Q1. Work Crystal Reports for Visual Studio 2008 with database files - dbf (version foxpro2x, dbaseIV)? I get error -
    Crystal Reports ActiveX Designer
    Failed to load database information
    or with dbf files work only Full version of Crystal Reports?
    Q2. How re-install Crystal Reports for Visual Studio 2008. In setup Add/Remove features not exist Crystal Reports check box. I only Repair/reinstall all Visual Studio but after reinstall same error
    Crystal Reports ActiveX Designer
    Failed to load database information
    3. When I can open sample project with Crystal Reports which use Crystal Reports (dbf file) this error is displayed:
    Crystal Report Viever
    Failed to load database information
    Details: The database DLL "crdb_p2bxbse.dlll" could not be loaded.
    4. I reinstal Crystal Report in Visual Studio 2005 - same error
    5. I apply hotfix Crystal Reports for .NET 2005 - SP 1 - same error
    Thank You
    Ludek

    Hi Ludek,
    1-For dbase file to work you need have permission on database files for IIS as well as user accessing the database.
    2-For re-install you need to insert the CD of visual studio setup then do custom install and then try to choose crystal reports for re-installing
    3-The old viewer might cause the problem. In this case can you try connecting to a blank dbase file.
    and for such issues we have a special forum [here|SAP Crystal Reports, version for Visual Studio;
    Thanks,
    Hitesh Mangtani

  • Keycode missing in Crystal Reports Basic for Visual Studio 2008

    I just upgraded from Visual Studio 2005 Professional to Visual Studio 2008 Professional (with SP1 installed also).  Crystal Reports Basic for Visual Studio 2008 is listed as installed under the VS Help dialog, but no key code is shown.  And when I attempt to open a Crystal Report, I get a dialog saying 'Please wait while Windows configures Crystal Reports Basic', which eventually terminates with an 'Invalid Keycode' message.
    I've tried repairing the Visual Studio install, and even uninstalling and reinstalling the whole thing.  To no avail.
    Other facts: My VS 2005 version still works with its version of Crystal Reports.  I am running Vista Professional.  Looking in the registry, under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | VSNET | Keycodes | CR9 NET, I see a Type REG_SZ with a data value in the form xxxxxx-xxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxx [6 chars-7 chars-26 chars].
    Help! How do I get Crystal Reports Basic for Visual Studio 2008 to work?

    Hi Elaine,
    Thanks for your response.  I do have versions of Visual Studio 2003 and Visual Studio 2005 on my machine, and the earlier versions of Crystal Reports worked with these versions.  In addition to the registry key I cited earlier (which I now understand is a VS 2003 version), there is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.2 | Crystal Reports | KeyCodes | CR Ent.  I see that you are correct, and this corresponds to my VS 2005 installation (which still works).  However, there is NO entry under HKEY_LOCAL_MACHINE | SOFTWARE | Crystal Decisions | Crystal Reports | 10.5 (the CR  Basic for Visual Studio 2008 path you indicated).  There is an entry under HKEY_LOCAL_MACHINE | SOFTWARE | Business Objects | 10.5 | Crystal Reports, but it has only keys for ChartSupportPath, CommonFiles, DisablecheckForUpdates, and Path.
    The Windows\assembly folder has 25 files that are CrystalDecisions.xxx, version 10.5.3700.0.  This is consistent with my seeing 'Crystal Reports' listed as installed in VS 2008 Help.  But no KeyCode!
    I tried a complete uninstall and reinstall of VS 2008, without luck.  I can't clean my system of earlier verions of Crystal Reports, because I am still supporting a body of work that I did under VS 2005, and I can't convert all this stuff to 2008 -- at least until I have a fully working VS 2008 suite.  After this experience, I fear that if I were to uninstall an earlier version, i might never get it back!
    I've spend quite a few hours on this with no luck, so any help would be enormously appreciated.

  • Windows Vista Home, Visual Studio 2008 sp1, Oracle 11g  Error Access

    Hi:
    Im new in occi for visual studio, im try to do some with occi, i dowloaded and installed vc9 libs and inc and instant client basic and sdk, but i can connect, can you help me?
    this is my history
    First-chance exception at 0x52902721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    Unhandled exception at 0x52902721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\instantclient_11_1\vc9\oraocci11.dll'
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\oci.dll', Binary was not built with debug information.
    'acad.exe': Loaded 'C:\Windows\System32\msvcr71.dll'
    'acad.exe': Loaded 'C:\app\Usser3\product\11.1.0\client_1\oraociei11.dll', Binary was not built with debug information.
    'acad.exe': Loaded 'C:\Program Files\AutoCAD Map 3D 2010\dbghelp.dll'
    The thread 'Win32 Thread' (0x1718) has exited with code 0 (0x0).
    First-chance exception at 0x527b2721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    Unhandled exception at 0x527b2721 (GEOM.arx) in acad.exe: 0xC0000005: Access violation reading location 0xfeeefefe.
    oraociei11.dll     C:\app\Usser3\product\11.1.0\client_1\oraociei11.dll     N/A     N/A     Binary was not built with debug information.          436     OraOCIEI11.dll - 11.1.0.1.0
    oracore11.dll - 11.1.0.7.0 Product     01/10/2008 03:45 a.m.     1A480000-214C1000*     [5728] acad.exe: Native     
         oci.dll     C:\app\Usser3\product\11.1.0\client_1\oci.dll     N/A     N/A     Binary was not built with debug information.          434     11.1.0.1.0     01/10/2008 03:22 a.m.     19C70000-19CF2000*     [5728] acad.exe: Native     
         dbghelp.dll     C:\Program Files\AutoCAD Map 3D 2010\dbghelp.dll     N/A     N/A     Symbols not loaded.          437     6.10.0003.233 (debuggers(dbg).080908-1333)     08/09/2008 03:46 p.m.     520A0000-521BE000     [5728] acad.exe: Native     
         oraocci11.dll     C:\app\Usser3\product\11.1.0\client_1\instantclient_11_1\vc9\oraocci11.dll     N/A     N/A     Symbols not loaded.          433     11.1.0.6.0 Production     20/08/2008 03:45 a.m.     19BE0000-19C67000*     [5728] acad.exe: Native     
    acad.exe': Loaded 'C:\Users\Usser3\Documents\Visual Studio 2008\Projects\GEOM\Win32\Debug\GEOM.arx', Symbols loaded.

    Hi Luis,
    It looks like you are working with a debug build:
    'prueba2_oci.exe': Loaded 'C:\Users\Usser3\Documents\Visual Studio 2008\Projects\prueba2_oci\Debug\prueba2_oci.exe', Symbols loaded. <=== I see Debug in the path, so this looks like a debug build.
    But then further down in your output I see this:
    'prueba2_oci.exe': Loaded 'C:\instantclient_11_1\vc9\oraocci11.dll' <=== This is the release build of OCCI dll not the debug build.
    You appear to be mixing debug and release libraries which will not work correctly.
    This is in the following step in the blog post:
    "Expand Configuration Properties node, expand Linker node, select Input item, enter "oraocci11d.lib" for a debug build or "oraocci11.lib" for a release build."
    If you are creating a debug build you need to use oraocci11d.lib as input to the linker.
    You use oraocci11.lib as input to the linker for the release build.
    For your reference, this is what you should see in the output window in Visual Studio for the debug execution:
    'OCCITest.exe': Loaded 'C:\Projects\OCCITest\Debug\OCCITest.exe', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\vc9\oraocci11d.dll'  <=== Notice this is the debug version of the occi library (oraocci11d.dll not oraocci11.dll)
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\oci.dll', Binary was not built with debug information.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\psapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcr90d.dll', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcp90d.dll', Symbols loaded.
    'OCCITest.exe': Loaded 'C:\instantclient_11_1\oraociei11.dll', Binary was not built with debug information.
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\dbghelp.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\version.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\userenv.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'
    'OCCITest.exe': Unloaded 'C:\WINDOWS\system32\netapi32.dll'
    'OCCITest.exe': Loaded 'C:\WINDOWS\system32\msctf.dll'
    The program '[776] OCCITest.exe: Native' has exited with code 0 (0x0).EDIT: Can you check to make sure you are linking the correct library and let us know if that works?
    Regards,
    Mark

  • SSIS package Corrupted - Connection element is not found - Visual Studio 2008

    Some body help me...
    last week my senior give me a SSIS package, but when I open in visual studio 2008 there is pop up like this.
    TITLE: Microsoft Visual Studio
    There were errors while the package was being loaded.
    The package might be corrupted.
    See the Error List for details.
    BUTTONS:
    OK
    and this is the description of
    Error    1    Error loading KIBB_INVC_IS.02.dtsx: The connection "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
         C:\Users\CYH\Documents\Visual Studio 2008\Projects\IS\IS\KIBB_INVC_IS.02.dtsx    1    1    
    Error    10    Validation error. SheetValue Insertion Error Log Execute SQL Task: Connection manager "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" does not exist.      KIBB_INVC_IS.02.dtsx    0  
     0    
    Error    11    Validation error. SheetValue Insertion Error Log : There were errors during task validation.      KIBB_INVC_IS.02.dtsx    0    0    
    Error    12    Validation error. Data Flow Task: SCB_IB_IDS 05: The connection "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" is not found. This error is thrown by Connections collection when the specific connection element
    is not found.      KIBB_INVC_IS.02.dtsx    0    0    
    if some body know this problem, please help me to resolve my problem :(

    It is due to a connection manager being deleted.
    Oftentimes fixable by introducing it back. Sometimes the package even runs successfully even w/o it.
    But if you can create a new package anew.
    Arthur My Blog

  • Sub report parameter prompt appears when running Visual Studio 2008 with Crystal Reports 2008

    Post Author: relliott
    CA Forum: .NET
    If I build a simple Crystal Report that contains another simple Crystal Sub Report, the report will print preview fine in Crystal 2008.  The problem happens when add this report to a Visual Studio 2008 Web Application Project and I build and debug the application, the Crystal Viewer is prompting the user for the parameter used to link the sub report to the main report.  This should never happen as the user is not supposed to see this parameter.  If I type in some value for this sub-report parameter prompt, the Crystal Report Viewer gives an error message about not finding the field.
    I was having the same problem in Vs2005 with Crystal 10 which is why I upgraded.  Business Object's official fix for this problem was published under their KB article number c2018840 and c2019047.  These hot fixes ended up causing general exception errors in Visual Studio so I scrapped these solutions.
    Support had me install SP0 for Crystal 2008 (which did not fix it).
    Any ideas?
    Any help is greatly appreciated.
    Thanks,
    Rich Elliott

    Hi Bontrager,
    Thank you for posting in MSDN forum.
    According to your description, I agree with pvdg42's suggestion, so I suggest you can try pvdg42's suggestion to install the version of
    Crystal Reports 10.5 to check this issue again.
    Reference:
    http://forums.asp.net/t/1236730.aspx?Which+CR+version+is+in+Visual+Studio+2008+
    In addition, since this forum is
    to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. So if you have any issue about the
    Crystal Reports, I suggest you can ask the issue to the
    SAP Crystal Reports website:
    http://scn.sap.com/community/crystal-reports/content?filterID=contentstatus%5bpublished%5d~objecttype~objecttype%255bthread
    as pvdg42 pervious suggestion, it will be better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Deploying Crystal Reports Basic for Visual Studio 2008

    I have Windows Forms project using Crystal Reports Basic for Visual Studio 2008
    I can't find the merge module to include in the setup project like I used to do in Visual Studio .NET 2003
    Everyone seems to say that they don't exist for that version of Crystal Reports
    After searching for a long time I found something about a package located at
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x86.msi
    Tried it and it seems to work.
    Do I have to install this to the client computer ? Is that the only way having a "Crystal Reports Basic Runtime for Visual Studio 2008" in the program list of the client computer ?

    Hi Victor,
    We can download all the runtimes from the following link:
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    Try to search Business Objects Note regarding this from  [here|https://www.sdn.sap.com/irj/sdn/businessobjects-notes]
    More info regarding deployment can be found from DevLibrary:
    [https://boc.sdn.sap.com/node/8546]
    Regards,
    Shweta

  • Deploying crystal reports basic for visual studio 2008 for VB6

    My application has a module in .net and other in vb6.
    I have a problem on deploying crystal reports in client machines, for module in vb6.
    The vb6 application uses crystal viewer control obtained from crystal reports basic for visual studio 2008.
    What type of deployment should I use?
    Currently, I have a setup with prerequisite "crystal reports basic for visual studio 2008".
    But I think it misses the dlls crviewer.dll and craxddrt.dll, so I put them in setup and with the register COM options, and it works, but it's not working very well.
    When I open a form that uses crystal viewer, the setup (I have created) is lunched and says that have to restart machine. Then it opens the report, but the next time I use the application it does the same thing.

    Ok, thank's for the posts, they help so much.
    So I'm going to discard vb6 and move to .NET, but... there is a problem:
    Many reports have parameters that are asked before showing the report.
    The Crystal Viewer that is used in VB6 version isn't the same used in .NET.
    The viewer of VB6 asks the parameters in the way we want, however the .NET crystal viewer ask's the parameters in way that we don't like, because we have to do next -> next -> next...
    The links above show the diferences:
    VB6 ->  http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249249283702618322
    .NET -> http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249246459437178242
    There is a way to configure Crystal Viewer, so that parameters asking form will work like the vb6 away?

Maybe you are looking for

  • Half of my data disappeared off my seagate external drive

    I cannot find half on the data i had on my external hard drive, I didn't delete them accidentally nor do i have any viruses, Any idea how (if possible) I can recover these files? I can't find many data recovery software that are compatible with OS Li

  • Jsp:include not working - Please Help.

    I am trying to do a jsp:include page but I must have the syntax wrong for the declaration of the filename. There shouldn't be a problem with my included file since it only has the word "TEST" in it. Both files are in the same directory. The error I'm

  • 10.5.5 makes xterm fg/bg colors reversed

    I've had several command lines for starting xterms from the Applications menu in the X11 menu for years. On a MacBook and an iMac I had to reverse the colors for the -bg and -fg flags to get the xterms to look the same today (after 10.5.5) as they di

  • SRM: Sendo PO via mail or print it to PDF

    Hello, I'm working on SRM 7.0 and I'm really new on it and in SAP. My first task is to configure the POs to be sent to suppliers' email or, in case there is no email available, print the PO in PDF. Can you please tell me what should I take into accou

  • Is it Possible to connect oracle 10g with oracle forms 11g?

    Hi,    I have installed Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 and Oracle 11g forms and reports.... My question is Whether i can develop application using oracle forms 11g and using oracle 10g as backend connection...... If Possibl