VS2010

We have some internal desktop processing software that is based on a registered but legacy NI Measurement Studio Components 1.0.1 and has these specific code dependencies in the form of some C/C++ headers, associated general libraries and exact library calls (extracted from the linker by temporarily NOT including any NI libs):
Source dependencies:
../MeasurementStudio/VC/Include
../MeasurementStudio\cvi\include
Library dependencies (directories and the specific libs listed separately):
../MeasurementStudio/cvi/bin
../MeasurementStudio/VC/Lib
ivi.lib
NiInterfaceD.lib
instrsup.lib
Individual function dependencies:
"public: virtual __thiscall NI::CNiNumEdit::~CNiNumEdit(void)"
"public: __thiscall NI::CNiNumEdit::CNiNumEdit(void)"
"public: double __thiscall NI::CNiNumEdit::GetValue(void)"
"public: static enum NI::MathError __cdecl NI::CNiMath::Median(class NI::CNiVector const &,double &)"
"public: void __thiscall NI::CNiNumEdit:etValue(double)"
"public: __thiscall NI::CNiVectorAccessException::CNiVectorAccessException(bool)"
"public: virtual __thiscall NI::CNiSafeArrayProxy::~CNiSafeArrayProxy(void)"
"void __cdecl NI::CreateVectorVariant(struct tagVARIANT *,unsigned short,unsigned int)"
"public: virtual __thiscall NI::CNiVector::~CNiVector(void)"
"public: virtual __thiscall NI::CNiVector::~CNiVector(void)"
"protected: __thiscall NI::CNiVector::CNiVector(void)"
"public: __thiscall NI::CNiVectorAccessException::CNiVectorAccessException(class NI::CNiVector const &,unsigned int,bool)"
"protected: void __thiscall NI::CNiDataProxy::Init(unsigned int,unsigned int)"
"public: static enum NI::MathError __cdecl NI::CNiMath:olynomialEval(class NI::CNiVector const &,class NI::CNiVector const &,class NI::CNiScalarVector<double> &)"
"public: __thiscall NI::CNiPlots::~CNiPlots(void)"
"public: void __thiscall NI::CNiPlot:lotXvsY(class NI::CNiVector const &,class NI::CNiVector const &)"
"public: class NI::CNiPlot __thiscall NI::CNiPlots::Item(long)"
"public: class NI::CNiPlots __thiscall NI::CNiGraph::GetPlots(void)"
"public: bool __thiscall NI::CNiNumEdit::GetDiscrete(void)"
"public: virtual __thiscall NI::CNiGraph3D::~CNiGraph3D(void)"
"public: __thiscall NI::CNiGraph3D::CNiGraph3D(void)"
"public: void __thiscall NI::CNiGraph3D:lot3DSimpleSurface(class NI::CNiMatrix const &)"
"public: __thiscall NI::CNiMatrixAccessException::CNiMatrixAccessException(bool)"
"protected: void __thiscall NI::CNiMatrix:etSizeExtents(unsigned int,unsigned int)"
"void __cdecl NI::CreateMatrixVariant(struct tagVARIANT *,unsigned short,unsigned int,unsigned int)"
"public: virtual __thiscall NI::CNiMatrix::~CNiMatrix(void)"
"protected: __thiscall NI::CNiMatrix::CNiMatrix(void)"
"public: virtual __thiscall NI::CNiGraph::~CNiGraph(void)"
"public: __thiscall NI::CNiGraph::CNiGraph(void)"
"public: void __thiscall NI::CNiGraph::ClearData(void)"
"public: void __thiscall NI::CNiPlot::ClearData(void)"
The questions are:
·         What is our upgrade path to Windows 7 with VS2008 or VS2010?
·         What is our upgrade path to the latest Measurement Studio 2010?
We are unable to install the 1.0.1 on Windows 7 and according to other postings, appears to be related to it being a 16-bit installer.

Thanks Sean. That confirms our path and that we should migrate to the latest MS2010.
However, one follow-up question would be what level of licence we might need given these legacy dependencies or requirements shown i.e. I understand not easy but is it possible to get any clue from the old libs and function calls below what edition we might need, for example, would this type of functionality be covered by the standard edition MS2010?
NI::CNiMatholynomialEval()
NI::CNiPlot:lotXvsY()
NI::CNiGraph::GetPlots()
NI::CNiGraph3D::CNiGraph3D()
NI::CNiGraph3Dlot3DSimpleSurface()
NI::CNiGraph::CNiGraph()
NI::CNiMatrix()
NI::CreateMatrixVariant()
A more wider reaching question is to understand how all the functionality in the old three libraries (ivi.lib, NiInterfaceD.lib, instrsup.lib) maps very approxiamately to the new license editions i.e. which edition would cover all the functionality in these three legacy libaries.
Thanks again.

Similar Messages

  • Cannot deploy vs2010 dacpac via sqlpackage.exe

    Hi Forum,
    I've got a project that must use Visual Studio 2010. I am using a data tier application project for my SQL database. Deployment of the dacpac via Visual Studio 2010 works without any problems, even pre/post scripts works correct.
    I can also manually deploy the dacpac via SSMS wizard. The dac is correctly registered and deployed. Only the pre/post scripts don't work, but if you upgrade right after deployment the scripts are executed.
    Now I want to to deploy the dacpac via sqlpackage.exe. So I can script the deployment of the dacpac that can be executed from some other guys. But I cannot deploy a Visual Studio 2010 compiled dacpac via sqlpackage.exe. I've got always the error message
    that a SQL Server 2012 project cannot be deployed on SQL Server 2008. It's totally curious, because I can deploy the same dacpac file via VS2010 or SSMS. But in Visual Studio 2010 I cannot define the SQL Server version for a data tier project. If I upgrade
    the same data tier project to Visual Studio 2012, set the target version to 2008 and recompile, then I can deploy the new dacpac file via sqlpackage.exe without any errors. But I must use Visual Studio 2010, so I need another workaround for my deployment problem.
    Hope someone knows some solution to that problem. Many thanks in advance!
    regards,
    xxxcoderxxx

    Hi ,
    You post the same question 2 times, please avoid this practice on Forum. Due to the website,
     we could not merge this thread into  following thread.
    Duplicate thread:
    http://social.msdn.microsoft.com/Forums/en-US/b19cd74c-349f-48de-a1b7-cb8d0dcd39da/cannot-deploy-vs2010-dacpac-via-sqlpackageexe?forum=ssdt
    Since the issue regards SQL Server Data tools, we post the question in the SQL Server Data tools forums. It is appropriate and more experts will assist you. Thanks for your understanding.
    In addition, as you post, in VS 2010, we could not set the target SQL Server version for a data tier project. If you use VS 2010 and deploy a higher version dacpac project on lower SQL Server version, the error will occur. I recommend you upgrade the lower
    SQL Server version for deploy dacpac. Or if you just want to move the higher SQL Server database to the lower version. We can use the Generate Scripts wizard of SQL Server Management Studio. For more information, see:
    http://www.mssqltips.com/sqlservertip/2810/how-to-migrate-a-sql-server-database-to-a-lower-version/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Crystal Reports 13 VS2010 Report does not display new data

    The project is written in VS2010 connecting to an Access 2007 DB.  It is running on a local network.  All reports work fine from the standpoint that data is displayed on the reports HOWEVER, if a data table is updated the newley entered records do not show up on the report yet when I examine the database the records have been added to the table.
    I hit refresh and the new records still do not appear.  I've closed out the session and re-started the software and the records do not appear.  It's almost as if the DB is 'frozen'.  Suggestions?

    Hey Ludek,
    Problem with that sample is it hits the MDB directly and not the ODBC DSN. The Jet engine is being deprecated by MS so the solution is to use ODBC or OLE DB to any version of Access.
    I've posted this multiple times but here it is again:
    Try using the replace connection method to update the location of the DSN:
    private void ReplaceConnection_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    rptClientDoc.DatabaseController.LogonEx("dwcb12003", "xtreme", "sb", "pw");
    //Create the logon propertybag for the connection we wish to use
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag logonDetails = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    logonDetails.Add("Auto Translate", -1);
    logonDetails.Add("Connect Timeout", 15);
    logonDetails.Add("Data Source", "dwcb12003");
    logonDetails.Add("General Timeout", 0);
    logonDetails.Add("Initial Catalog", "Orders");
    logonDetails.Add("Integrated Security", "True");
    logonDetails.Add("Locale Identifier", 1033);
    logonDetails.Add("OLE DB Services", -5);
    logonDetails.Add("Provider", "SQLOLEDB");
    logonDetails.Add("Use Encryption for Data", 0);
    logonDetails.Add("Owner", "dbo"); // schema
    //Create the QE (query engine) propertybag with the provider details and logon property bag.
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag QE_Details = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    QE_Details.Add("Database DLL", "crdb_ado.dll");
    QE_Details.Add("QE_DatabaseName", "Orders");
    QE_Details.Add("QE_DatabaseType", "OLE DB (ADO)");
    QE_Details.Add("QE_LogonProperties", logonDetails);
    QE_Details.Add("QE_ServerDescription", "dwcb12003");
    QE_Details.Add("QE_SQLDB", "True");
    QE_Details.Add("SSO Enabled", "False");
    QE_Details.Add("Owner", "dbo");
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo newConnInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo oldConnInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfos oldConnInfos;
    oldConnInfos = rcd.DatabaseController.GetConnectionInfos(null);
    for (int I = 0; I < oldConnInfos.Count; I++)
    oldConnInfo = oldConnInfos;
    newConnInfo.Attributes = QE_Details;
    newConnInfo.Kind = CrystalDecisions.ReportAppServer.DataDefModel.CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    rcd.DatabaseController.ReplaceConnection(oldConnInfo, newConnInfo, null, CrystalDecisions.ReportAppServer.DataDefModel.CrDBOptionsEnum.crDBOptionDoNotVerifyDB);
    See if that works for you. You'll have to change the info to ODBC from OLE DB. You can get the info from an app also, Ludek has a link to it, it will generate code to use RAS to set log on info...
    Don

  • Why am I getting "The Report Filename Is Empty - Using CR13 vs2010 2003sqls

    I am enhancing a vb.net app that was originally written with vs2010 vb.net, crystal reports 10 and telerik.
    It has been running for a year.
    I have made enhancements using vs2010sp1 vb.net,  cr 13,  telerik framework updated.
    The server is a 2003 server.
    The reports are  loaded into the app using vb code.
    My version creates a message the filename is empty on initial loading of the report
    which the users will find annoying as they have to enter the report request.
    This message has to be internal because I not coded for this message
    I don't get this message when testing at my workstation.  It happens when I load the
    app to the server.
    Any ideas or solutions appreciated.
    Under the gun.
    Thanks in advance
    Isaac

    Hi,
    "The report filename was empty." is not a Crystal Reports error.
    Specify what the application exactly does i.e. view report, print, export report etc.
    Take a look at below thread.
    [Preview in web using Crystal Report Viewer Message:|Preview in web using Crystal Report Viewer Message:]
    Recheck the flow of the application if everything is in place.
    Refer to the developer guide :[http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
    Apply [SP2 on CR for VS 2010|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe]
    Just as a test try a sample application without the telerik framework, see if it reproduces the issue.
    Hope this helps,
    Bhushan.
    Edited by: Bhushan Hyalij on Dec 9, 2011 8:47 PM

  • Integration of Crystal Report Viewer in VS2010 WPF

    Hello,
    I google and research and founded that the viewer control is not attached with VS2010 so, we have to install it separately. I found it form here    [http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp].
    I installed "SAP Crystal Reports, version for Visual Studio 2010".
    Now, I want to add Crystal Report Viewer on my WPF Page. how can I do this ?
    I tried to find that control to add in toolbox but I didn't find it.
    Please can someone help me int this that how can I add that control and call the report to view in that and change the sql server dynamically for that crystal report.
    Bunch of thanks in advance, this would save me a lot....Appreciated any ones help.
    Thanks

    See [this|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8] demo and search these forums too.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal Reports for VS2010 Prerequisites for ClickOnce Deployment

    I keep getting this Error when publishing my application with clickonce even though I have Crystal Reports for VS2010 installed: I want the prerequisites to be downloaded from the same location as my app. Publishing fails with the following error.
    The install location for prerequisites has not been set to 'component vendor's web site' and the file 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0.msi' in item 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' can not be located on disk.

    See KB [1534388 - CRVS2010 - Creating Click Once deployment|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333334333333383338%7D.do].
    I think typing "clickonce crvs2010" in the search box at the top right corner of this web page will also bring up the KB (just an FYI).
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal Reports for VS2010 cannot find crdb_adoplus.dll

    I installed Crystal Reports for VS2010 successfullly,   At least the report editor works without a problem and the viewer control can be placed on a form.  My problem is when I try to run it, I get the following exception:
    System.IO.FileNotFoundException was unhandled
      Message=Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
      Source=mscorlib
      FileName=file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll
      FusionLog=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].
    StackTrace:
           at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
           at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
           at System.Reflection.Assembly.LoadFrom(String assemblyFile)
           at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr arg)
      InnerException:
    I used Windows Explorer and found that crdb_adoplus.dll is present in the directory, so it must be a "related file"  Has any one seen this error before and if so, do you know how to fix it??

    See if [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533323335333433333332%7D.do] KB resolves the issue.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Report works fine in VS2010 but simply doesn't show when published

    Problem:
    Crystal Report works fine in VS 2010 but doesn't show when published to web-server, there is no error, it simply doesn't show.
    Background:
    Installed VS2010 on a freshly installed and fully updated (.net 4.0 is included in the updates) windows server 2003 box with production release Crystal Report 2010. Nothing else is on the server.  IIS 6 is running.  My web-server and VS2010 is on the same box.
    I went ahead and created a new asp.net 4.0 web project called webapplication1. Thereafter, i put a few controls (text-boxes, list-boxes and so on)  on the default.aspx page. Then i created a report.aspx page. This page will have the crystal report viewer on it. I went ahead and set the report up without much hassle (got how-to's from the internet).  I successfully tested my web app with the built-in testing server, the beautiful crystal report presented exactly what i asked it to. There was one recurring "Sys.Application is null or not an object" hiccup that occured every time during testing when i navigated from the default.aspx page to the report.aspx page (the page the report is on). Clicking ignore or continue  on the dialogue box that comes up because of the hiccup will allow testing to continue.  Here's a screen-shot of this recurring hiccup.
    http://i440.photobucket.com/albums/qq122/ricom_19/Testing-Error.jpg
    As i've shown, testing went great, except for the hiccup. I now moved to setup a publish profile. Since my web-server and VS2010 is on the same box this seemed relatively straight forward. All the files went over except the report, i.e. crystalreport1.rpt  file. I solved this by  setting the build action to 'Content' in the CrystalReport1.rpt properties. I did a republish. Now i have all my files, see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Application-Home-Directory.jpg], on the web-server.
    I proceeded to try to browse to my app from another computer on my network. This was successful until i tried to navigate to the report.aspx page that the crystal report is on. The the report.aspx page loaded but the crystal report was simply not on it. No errors, not even the hiccup from testing occured. Its as if the crystal report viewer was never on the page to begin with. Only when i right clicked on the page and 'view source'  did i see some remnants of the crystal report viewer.
    Here is the Report.aspx page when tested in VS2010:
    [http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/successful-Test.jpg]
    Here is the Report.aspx page when published to the web-server and browsed to from another computer on the network:
    [http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/Reportviewer-Disappear.jpg]
    Details of adding report to my web app:
    1) Populate my dataset then write the XML schema, reportschema.xml
    2) Added the crystal Report to the project then used the wizard to navigate to the reportschema.xml. Of course i had to create new connection in Database expert. see screen-shot:
    [http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg|http://i440.photobucket.com/albums/qq122/ricom_19/CR-Database-Expert.jpg]
    3) I formatted the report the way i wanted it
    4) Added the Crystal report viewer on the Report.aspx page
    5) In the code-behind of the Report.aspx page i bound the viewer to a report document that is loaded with CrystalReport1.rpt file
    see screenshot: [http://i440.photobucket.com/albums/qq122/ricom_19/Report-Page-Code-behind.jpg]
    That's it.  As mentioned, it tested fine in VS2010 but the viewer doesn't show when i publish to the webserver. I wrote a crystal report in .net about 8 years ago. Things have changed soooo much since then.
    I am wondering if its a license issue? Was also wondering if it had anything to do the testing hiccup, even though research is suggestion the two are unrelated.
    I've described my actions as best as i could (without getting into ridiculous detail) and have included screen-shots of relevant stages of the process. Have a look and tell me your thoughts. Thanks.

    The "Sys.Application is null or not an object" issue is known, submitted for a resolution and documented in KB #1528503. Unfortunately the KB search has been down the last couple of days...
    However, the issue is limited to compile time and does not affect a completed application.
    Re. the viewer missing. Sounds like the viewer directory did not get created or configure correctly. Before I get to that. You mention:
    "I proceeded to try to browse to my app from another computer on my network."
    This bring up the question: If you run the app right on the app server. e.g.; not a client computer, does the viewer and report come up? Is this issue isolated to client computers on the network?
    I suspect that the issue exists irrespective of which computer you try to see the report from - but that is an assumption. If the assumption is correct, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a] article on configuring the viewer. The article does not have CR4VS2010 documented, but you should be able to guide your self using the article. I think the pattern will be obvious.
    Ludek

  • Program crashes when I try to export to pdf file using CR for VS2010

    I'm using VS2010, framework 4.0. I can view, print, and export the report to excel. When I click export, select pdf, enter a file name, and click save...I get the following message:
    Value cannot be null.
    Parameter name: window
    I added Ludek's code to limit exports to pdf and excel to my JPTreportView.xaml.vb file:
    Public Class JPTReportView
            Private Sub UserControl_Loaded(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded
                reportViewer.ViewerCore.ReportSource = Me.DataContext.ReportSource
                reportViewer.ViewerCore.ToggleGroupTree = False
                reportViewer.ViewerCore.ToggleParameterPanel = False
                reportViewer.ViewerCore.ToggleSidePanel = False
                Dim exportFlags = (CrystalDecisions.Shared.ViewerExportFormats.PdfFormat Or CrystalDecisions.Shared.ViewerExportFormats.ExcelFormat)
                reportViewer.ViewerCore.AllowedExportFormats = exportFlags
            End Sub
        End Class

    My parameters are set in the code and are set to "Do not show" in the report. The pdf export did not work before I added the code to limit the export options. The code in JptReportView.xaml:
    <UserControl xmlns:my="clr-namespace:SAPBusinessObjects.WPF.Viewer;assembly=SAPBusinessObjects.WPF.Viewer"
                 x:Class="View.JPTReportView"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 mc:Ignorable="d"
                 d:DesignHeight="300" d:DesignWidth="300">
        <my:CrystalReportsViewer Name="reportViewer" ShowOpenFileButton="False" ShowToggleSidePanelButton="False"     ShowRefreshButton="False" ShowLogo="False" Focusable="True" />
    </UserControl>

  • VS2010 Error creating an application with Crystal Reports

    Hi
    I've loaded the RTM version for Crystal reports, but when I try to add a crystal reports  application as a new project I get an exception error as below.
    Error     1     Custom tool error: "Code generator 'ReportCodeGenerator' failed.  Exception stack = System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {C0D87D96-8D57-4274-AA18-D465E31F901E} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath)
       at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath, String resourceNamespace)
       at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)"     C:\Users\Neil\AppData\Local\Temporary Projects\CrystalReportWpfApplication1\CrystalReport1.rpt     1     1     CrystalReportWpfApplication1
    I've tried uninstalling and reinstalling but without any joy. I still get the same error.
    I'm running an Acer 5332 laptop (64bit), with Windows 7 home premium and 4GB of ram.
    I'd appreciate any help you give me as I'm on a tight deadline for a project.
    Rgds

    Hi'
    I tried using Process Monitor, but it hung up the PC, whilst trying to run the install. After about an hour I had to restart the PC by removing the power supply and battery. So no further forward.
    I did notice that there was check box which stated 'create log file'. Would this file give me a clue if I could look at it. Is fo what is it and where would it be created?
    Don, I create the application by going into vs2010 and taking the option to create a Crystal reports application. It is at this point that I get a warning 'The deigner cannot process the code at line 20 Me.CrystalReport1 = NewCrystalReport1, and then follows the  exception error. How do I know which NET 4.0 framework it is using?
    Thanks both for your suggestions, it is appreciated.

  • Error with Crystal Reports/VS2010

    I've got a user that is getting the following error when trying to view a report from a .NET desktop application...the type initializer for 'crystaldecisions.crystalreports.engine.reportdocument' threw an exception
    I've installed the runtime engine from here Link: [http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp] and also tried adding the merge module into the setup package for the application.  I'm still seeing the same error.  What else needs to be installed for the reports to work with VS2010?
    Thanks

    Yes I used an MSI to install the application and merge module.
    This is on a 32bit Windows 7 machine.
    Tried compiling/installing the app as x86, .Net 3.5 and also 4.0
    The error shows when trying to view the report
    The app only uses 2 reports, but errors on both
    I cannot reproduce on my dev box, it works fine for me...typical
    I haven't been able to track down another 32 bit Win7 box to test with
    A little more history...
    This same msi was used to install the app on XP boxes and the app worked fine.  At the time, Beta 2 of the runtime files was all that was available so that's what I used. 
    One user has recently switched to Win7 and after installing the app, the initial error was that crpe32.dll could not be found, even though it was in the exact directory listed in the error message.  Using Add/Remove Programs would not uninstall the runtime, so we followed the steps listed in the last post here Link: [Uninstalling Crystal for vs2010 beta;.  That uninstalled the runtime so we could install the latest version of the runtime.  Now we get the error listed in my initial post.
    thanks!

  • After installing SSMS 2014 I can no longer add a source or destination in SSIS VS2010

    I really don't know what is happening but I have been using VS2010 and SSMS 2014 for a couple of months now with no issue. Yesterday when I opened an SSIS package that I had created in VS2010 I was no longer able to add a source or destination to any of
    the data flows. I can copy an existing one and change the properties but when I try to drag it from the tool bow I get the following error -
    TITLE: Microsoft Visual Studio
    The component could not be added to the Data Flow task.
    Could not initialize the component. There is a potential problem in the ProvideComponentProperties method.
    ADDITIONAL INFORMATION:
    Error at "WORKFLOW NAME" [SSIS.Pipeline]: Component ", clsid {GUID}" could not be created and returned error code 0x80070005 "Access is denied.". Make sure that the component is registered correctly.
    Error at "WORKFLOW NAME" [ [128]]: The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "".
    Exception from HRESULT: 0xC0048021 (Microsoft.SqlServer.DTSPipelineWrap)
    Program Location:
       at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.ProvideComponentProperties()
       at Microsoft.DataTransformationServices.Design.PipelineTaskDesigner.AddNewComponent(String clsid, Boolean throwOnError, Boolean select)
    NOTE:I replaced the workflow name and the GUID because I don't think it is important for the post.
    When I search for the GUID in regedit it leads me to an entry that has the folder DTSInfo and the value of
    Microsoft.DataTransformationServices.DataFlowUI.OleDbSourceUI, Microsoft.DataTransformationServices.DataFlowUI, Version=12.0.0.0, Culture=neutral, PublicKeyToken=********** 'This was not the original value, just hiding it for the post.
    for UITypeName
    No one here could figure out what the exact issue and how to fix it so my pc was rebuilt. Everything was working just fine until I installed SSMS 2014. Now I am right back where I started.
    I really need to know what is going on because I wasted an entire day on trying to figure out this issue and I have already tried reinstalling/repairing VS2010. Removing SSMS 2014. Registering OleDbSrc.dll but get an error when trying to do that.

    Somebody on my team had this issue. If I recall correctly you need to re-install SSDT 2012
    Arthur My Blog

  • Vs2010 azure project remove instead of unload now cannot find a part of the path build error

    I know this isn't a vs online question but I wasn't sure where else to post this one...
    I have an azure project built in vs2010 with a web role and worker role project. I accidently removed the worker role project then re added through 'add existing project'. Now when I try and build I get
    Error 1   Could not find a part of the path 'C:\Users\Mat\Documents\Visual Studio 2010\Projects\MvcApplication7 - Copy (4)\CubeCloud1.Azure\WorkerRole1\'.    C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure
    Tools\1.8\Microsoft.WindowsAzure.targets    987 5   CubeCloud1.Azure
    Line 987 is the start of the  element.
    Looking at the path, the folder WorkerRole1 doesn't exist but looking at back ups of this project it doesn't exist in them either.
    I've tried adding the WorkerRole1 folder but then I get  Error 102 CloudServices38 : The entrypoint dll is not defined for worker role WorkerRole1.    C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.8\Microsoft.WindowsAzure.targets   
    987 5   CubeCloud1.Azure
    I'm not sure going down the path of adding this folder anyway is the correct solution (I could be wrong of course).
    thanks,

    I don't know why this worked but I made a copy of the solution. When I opened the solution it had lost a reference to one dll (Windows Storage I think). I added that, then it builds ok now.

  • Buffer too small for string - Crystal Report for Vs2010

    Hello,
        I have recently upgrade my VS2010 project to Crystal Report for Visual Studion 2010.
        I have some reports that contains more than 512 characters in the Report Comments section.
        When I try to do a RptDoc.SaveAs(vPath, false) the following error is raised:
    Buffer too small for string or missing null byte.
          at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.SaveAs in :line 0
          at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.SaveAs in :line 0
          at CrystalDecisions.CrystalReports.Engine.ReportDocument.SaveAs in :line 0
        This line SaveAs was working has expected with Crystal Report 2008. Any idea on why it is not working anymore.
    Thank you.
    Charles

    Hello Don,
        I have start a little project to retest the behavior.
       I have create a new report in Crystal Report 2008 just by clicking New, Finish and Save.
       In a new Windows Application in Vs2010 ,I have added the following Crystal Report Reference.
        CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0
       CrystalDecisions.Shared, Version=13.0.2000.0
    I have then try the following code and found out the limit of ReportComment is 511 but in the Crystal Report 2008 designer and runtime the limit did not apply.
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
          Dim objRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
          Dim i As Integer = 0
          Try
             objRpt.Load("c:\temp\empty.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByTempCopy)
             Do
                i += 1
                objRpt.SummaryInfo.ReportComments = New String("X", i)
             Loop
             objRpt.SaveAs("c:\temp\dfh_save.rpt", False)
          Catch ex As Exception
             MsgBox("i: " & i)
             MsgBox(ex.Message)
          End Try
    End Sub
         I am able to put has many characters if I insert the report in the Vs2010 Solution.
         If you prefer I can send you my little project.
    Thank you.
    Charles
    <code> should be
    Edited by: Don Williams on Feb 4, 2011 12:47 PM

  • Crystal Reports for VS2010 using a custom SAP ABAP function module data source

    I recently worked with Crystal Reports 2011 and was able to connect and retrieve data from our R/3 system via an ABAP function module. While researching other features, I found this version that can be installed into Visual Studio 2010. The parameters are not very user friendly in Crystal Reports so I was hoping to create a custom dialog to collect my report parameters.
    Does anyone know if I were to install Crystal Reports for Visual Studio 2010, would I be able to design a front-end selection screen in a Visual Basic form and then pass the input to through the Crystal Reports connection to my ABAP function module to retrieve the data filtered on the back-end by the selection screen parameters and return the results to be reported in the Crystal Reports output?
    I am using Visual Studio 2010 Professional Visual Basic with the .NET Framework 4.0 on 32-bit Windows 7. I was able to connect to our R/3 system in Crystal Reports 2011, so if I were to install Crystal Reports for VS2010, would there be a similar way of connecting to SAP?
    Any assistance or direction would be greatly appreciated.
    Thanks,
    Bryan

    Hello Bryan
    I don't know for sure, but I doubt this will work in CRVS2010. Only hope is that the utility available for download in this KBA will point you in the right direction.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • VS2010 Crystal Report Crashes System when using 'Set DataSource Location..'

    Runtime ASP.NET 3.5
    VS 2010
    Under Database Fields (rt click) try Set DataSource Location... causes VS2010 to crash.
    This is on an imported report from VS2008.  VS2008 has no problem with the report.
    Since this is a ASP.NET 3.5 program the internal property field
    <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture>
    has been set in the project in order to allow the code to compile w/out errors.
    What is solution for Crystal Report Set DataSource Location?

    Hi Ken,
    Here's one link on the issue: CRVS2010 RTM: Database Expert / External Component has thrown an exception
    The reason is Old OS's used c:\temp as the default, now you are require to use %user%\temp as your temp folder as well as using the AppData folder for your app. If CR finds c:\temp it uses it and depending on what is in there it can cause Cr to crash, XML files have been know to do this.
    Following MS's new rules on users temp folder should make your app Windows Compliant.
    Thanks again
    Don

Maybe you are looking for

  • Unable to update Apple TV software

    Over the last two days I have tried unsuccesfully many time to update my Apple TV software. I purchased the product in 2012 so either have version 2 or 3. Any help would be appreciated.

  • Reg: IS Retail Promotions Confguration

    Hi Gurus,            Could anyone provide useful links for IS- Retail Promotions Configuration apart from SAP Help Library links ? I need documents for Configuring Retail Promotions Coupons,Bonus Buy and Free Goods  for my Client. Thanks and Regards,

  • Calling stored procedure from a column in report

    Hi All, I am new to APEX. I did a search on this forum but couldnt get an exact answer. I know how to call or execute a stored procedure from a button. like create a PL/SQL anonymous bloack and asssociate it with the button. my issue is a bit differe

  • Help Me soon please deadline for school

    So I found out my mac book even with its price tag cant burn dvds but my girlfriends 300$ toshiba does just fine aint that nice. well any way because idvd is so cool can i just edit and make my movies and then save them to a removable 2gig flash driv

  • PHP, MySQL, Apache and MAMP

    Could someone tell me if there will be any problem if I first downloaded PHP then MySQL and after I enabled all these things I installed MAMP? Is it possible to delete all those things that I have donloaded before MAMP? If so, then how to do it?