.ard file not created - visual studio 2008

Hi, I'm creating addon installer for SAP B1 2007 SP1 PL05 running on Windows Server 2008 virtual machine. Visual Studio 2008 and B1DE 2.0 are installed on a Windows 7 virtual machine.
I followed the steps to create new project using SAP B1 AddOnInstaller .NET Wizard. The AddOnRegDataGen.bat ran automatically when the wizard finished, and I also manually ran the .bat file, but in the bin folder only these 4 files were created:
Installer.exe, Installer.vshost.exe, Installer.vshost.exe.manifest, Installer.xml
The .exe file is not using the name I gave to the Installation project, and .ard file is missing.
In AddonRegDataGen.bat the version is "20090901" - it only contains numbers, so this could not be the problem.
Please help!

Hi Yi,
Could you take a look at AddonRegDataGen.bat under AddOnRegDataGenFile folder?
Can you find AddOnRegDataGen.exe path as indicated in the 1st line of AddonRegDataGen.bat?
Typically it is under:
"C:\Program Files\SAP\SAP Business One SDK\Tools\AddOnRegDataGen\AddOnRegDataGen.exe"
Please be sure SDK component installed and correct the batch file with the right path of AddOnRegDataGen.exe.
Then run the batch manually. Or you can create ARD with AddOnRegDataGen.exe directly.
Kind Regards, Yatsea

Similar Messages

  • 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

  • .ard file not creating

    Hi All,
    I'm using SAP B1 2005 with B1DESetup_2005SP01_1.3_VS2005 for visual studio 2005 version. When I try to create a new addon it is not generating .ard file.
    I have installed visual studio 2005 first then installed B1DE Setup.

    That is strange,
    May be the ard is creating in some other path.. just double check all the details that u have provided in the ard creation.
    Vasu Natari.

  • *.ard file not created

    hellow
    I use SBO 2004C, patch 770017. I have problem with created install of addon. I use B1DE and since a few days I get just *.exe file but i don't get *.ard file. This problem appered just a few days. Can You help me?
    thanks
    best regards
    Krzysztof Sala

    have you tried to use AddOnRegDataGen.exe tools ? Also browse this link :
    https://www.sdn.sap.com/irj/sdn/developerareas/businessone?rid=/webcontent/uuid/a175fb62-0c01-0010-a8b5-fa58a13b1cf7 [original link is broken]
    Hope it will help you..
    Rgds,

  • How to create dll in Visual Studio 2008 in Visual C++

    Hello,
    I have insatlled Visual Studio 2008. I have to create DLL in Project
    type Visual C++.
    Which Template i have to select to reate dll, MFC DLL or Class
    Library?.
    I have to call or import this dll in Windows Forms Application. How
    can i do this. Please give details procedure to do this.

    If we look at how  AFX_CLASS_EXPORT and AFX_CLASS_IMPORT  are defined in afxv_dll.h we see the following.
    #define AFX_CLASS_EXPORT __declspec(dllexport)
    #define AFX_CLASS_IMPORT __declspec(dllimport)
    So, when exporting our classes from our DLL we want the class declarations from the DLL to look like this:-
    class __declspec(dllexport) CMyClass : public CObject
    And, when importing our C++ classes into our application we want the class declarations from the DLL to look like this:-
    class __declspec(dllimport) CMyClass : public CObject
    OK, so here's how I do things.
    In the stdafx.h file for the export DLL, include two #defines at the bottom of the file like this:-
    #define _MYLIB_DLLAPI_
    #define _MYLIB_NOAUTOLIB_
    Now, in the main header file for your DLL, say mylib.h (the main 'point of entry' header for your DLL that you will include in you application later), add the following at the top:-
    // The following will ensure that we are exporting our C++ classes when
    // building the DLL and importing the classes when build an application
    // using this DLL.
    #ifdef _MYLIB_DLLAPI_
        #define MYLIB_DLLAPI  __declspec( dllexport )
    #else
        #define MYLIB_DLLAPI  __declspec( dllimport )
    #endif
    // The following will ensure that when building an application (or another
    // DLL) using this DLL, the appropriate .LIB file will automatically be used
    // when linking.
    #ifndef _MYLIB_NOAUTOLIB_
    #ifdef _DEBUG
    #pragma comment(lib, "mylibd.lib")
    #else
    #pragma comment(lib, "mylib.lib")
    #endif
    #endif
    Now, just declare all the C++ classes you want exported from the DLL like this:-
    (Note: Any C++ classes not declared with MYLIB_DLLAPI will not be exported from the DLL)
    class MYLIB_DLLAPI CMyClass : public CObject
    regards,
    Matt John
    complete variety of quilts is availabale here!
     PR: wait...
     I: wait...
     L: wait...
     LD: wait...
     I: wait...
    wait...
     Rank: wait...
     Traffic: wait...
     Price: wait...
     C: wait...

  • New to Visual Studio 2008, not new to CR - but have  question

    Hi,
    I started a position to build reports for a small company.  They use VS 2008 and Crystal 2008 (basic).  I am not new to Crystal Reports, been using it since version 4.0.  But I am new to integrating it into Visual Studio or using it to deploy reports via a web application.
    I was able to create a dataset, connect Crystal to the Dataset in Visual Studio and design a report. 
    There are two tabs on the bottom of the Crystal Window - one is to the design side and one is to preview the main page of the report.
    So here in lies the problem - when I go to view the results - there are none.  It is random or dummy data being presented in Visual Studio 2008. 
    I have scoured MSDN and SAP forums looking for help in this.  I see other posts that elude to the same issue, but --there has to be some way to see the data in Visual Studio.
    Can someone explain to me why I don't see the real data from the dataset?   And more importantly where is the tutorials for Visual Studio 2008 and Crystal Reports 2008?
    Thanks so much for your help!

    Hi,
    I have also seen the same, that is report displays dummy data at my end however when you run the report from application you get the data that is when you pass the dataset to the report at runtime and not while previewing the report. I believe this is because when we use datasets to design a report we consider the schema of the report mainly not data.
    If you mean that you do not get any data in the report then I would suggest you to use the below mentioned code to generate an xsd file, after filling up the dataset so that the report schema and the dataset schema matches.
    datasetObject.WriteXml("c:\\temp\\myData1.xml",XmlWriteMode.WriteSchema);
    Regards,
    AG.

  • Visual Studio 2008 does not open .rptproj 2008 projects

    I have installed
    - SQL Server 2008 original version with SP1 and the Business Intelligence Development Studio
    - Visual Studio 2008 with SP1.
    I am told that Reporting Services 2008 is part of the Business Intelligence Development Studio 2008,
    however when I try to open my Reporting Services 2008 .rptproj files with Visual Studio 2008, they will not open.
    The error message is:
    'C:\vs2008\CWReportsVS2008\CWReportsVS2008\CWReportsVS2008.rptproj' cannot be opened because its project type (.rptproj) is not supported by this version of the application.
    To open it, please use a version that supports this type of project.
    My VS 2008 cofiguration is:
    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers Version 10.0.2531.0
    Microsoft Visual Studio 2008 Version 9.0.30729.4462 QFE Installed Edition: Enterprise
    Microsoft .NET Framework Version 3.5 SP1
    Microsoft Visual Basic 2008, C# 2008, C++ 2008
    Microsoft Visual Studio 2008 Team Explorer
    Microsoft Visual Studio 2008 Tools for Office
    Microsoft Visual Studio Team System 2008 Development Edition
    Microsoft Visual Web Developer 2008
    Crystal Reports Basic for Visual Studio 2008
    Microsoft Visual Studio 2008 Team Explorer - ENU Service Pack 1
    Microsoft Visual Studio Team System 2008 Development Edition - ENU Service Pack 1
    Microsoft SQL Server Analysis Services Designer
    Microsoft SQL Server Integration Services Designer
    various hot fixes
    various security updates
    various team foundation updates
    My computer configuration is:
    Windows XP, Professional, Version 2002, Service Pack 3
    My SQL Server Configuration is:
    Microsoft SQL Server Management Studio 10.0.2531.0
    Microsoft Analysis Services Client Tools 10.0.1600.22
    Microsoft Data Access Components (MDAC) 3.85.1132
    Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
    Microsoft Internet Explorer 8.0.6001.18702
    Microsoft .NET Framework 2.0.50727.3615
    Operating System 5.1.2600
    Is there something I haven't installed yet?

    Hi,
    This issue might be caused because your VS2008 did not yet install BIDS report project. So, please open the New Project dialogue to check if there is Business Intelligence Development Studio component in the Project Types pane in your vs 2008. If it
    is not there, install this component (can from the SQL server intallation client tools) so that you can open Reporting Services 2008 .rptproj files in the VS2008.
    thanks,
    Jerry

  • Create plug-in for Adobe with Visual Studio 2008

    Hi to all, I'm Italian excuse for my english,
    I see Adobe SDK Help, but I don't see something for built a plug-in with Visual Studio 2008, I see only built with Visual Studio 2005!
    my asks is : Because ? Can I create a plug-in with Visual Studio 2008? if yes WHAT did it?
    thanks

    Post your question in the 'Acrobat Developers SDK' forum.

  • What is the best process for creating, opening, editing, etc PDFs from within Visual Studio 2008?

    I am the project manager on a web-based application that will need to:
    Create, open, edit, save, etc PDFs from within a Visual Studio 2008 web application (Visual Basic).
    Populate PDFs from SQL server 2010 database.
    Allow users to use PDF editing tools from within the website.
    BTW, the application is being written in Visual Basic.
    Will the SDK allow us to do this? What licenses do we need to purchase?
    Are there 3rd party plugins that make doing these things much faster and simpler?
    Any input is GREATLY appreciated!!!
    Sincerely,
    Mike

    I don't think Acrobat, or the Acrobat SDK can help you. Acrobat cannot be run on a server.

  • 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 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.

  • Integrating Crystal Report 2008 Developer with Visual Studio 2008 Standard

    I have Crystal Reports 2008 Developer version 12.0.0.683 on my computer. I also have Visual Studio 2008 Standard. I know the standard edition of VS 2008 does not have the bundled crystal reports, but since I bought the full version of CR 2008 separately, I figure I should be able to use CR within VS 2008. The problem I am facing is integrating Crystal Reports with Visual Studio, so I can create reports from within visual studio.
    Crystal Reports was installed first and then Visual Studio. As per suggestions on this and other forums, I repaired my installation of Crystal Reports, but that did not help. I then ran Visual Studio integration manager, but when I run it, it only detects Visual Studio as the currently installed IDE, but does not detect CR 2008. I downloaded service pack 2 for CR, but have not installed it yet. I do not want to install it if it is not going to help. I would also like to avoid uninstalling my copy of CR if at all possible.
    I am a newbie at development in visual studio. Any help will be highly appreciated.
    Thanks,
    Rajib

    Don't want to go against what Jason said as it may be correct - if we go strictly by the documentation provided (sorry Jason, Dan says...). However, here is something to try;
    Uninstall CR. Look for any left overs; c:\program files\business objects\... and delete all of that.
    Look in the registry for HKLM\software\business objects and remove the business objects entry.
    Download CR 2008 from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    That is a trial version and I believe it is already at SP 1. Use your keycode to install. Once this is done, you should have the ability to use CR in .NET. I'd recommend you do apply sp 2 now also.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • 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

  • Slow first connection using Oracle 10g xe and Visual Studio 2008

    {noformat}
    Good day,
    I'm slightly unaccustomed to using forums, so bear with me.
    My initial connection to the Oracle database takes approximately 30 seconds. It seems to be waiting for a connection before timing out and trying another connection which works, as all subsequent connections work immediately. I'm unsure how other people's responses in forums can help me due to the plethora of configurations, so here's mine. My comprehension of the oracle world is still growing, you'll have to explain the terms you're using for me, Hoping you can help.
    I'm using Visual Studio 2008, set to use 32 bit debug mode, on a Windows 7 Pro platform. Also using Oracle 10g Xe, and have installed the 32 bit version of ODAC 11.2 (11.2.0.1) to aid making a connection from Visual Studio to Oracle.
    I have a database set up and a user with system admin rights. This is all local for a programming project and will never see the light of day outside of my personal machine.
    I am using code to connect, not the GUI. I wish to code this project completely without the aid of the GUI. so my connection string within Visual Studio C# is (pw/id hidden)...
    string xe = "Data Source=xe;User Id=xxxxx;Password=xxxxx;";
    OracleConnection conn = new OracleConnection(xe);
    My c:\devsuitehome\network\admin\sqlnet.ora file is this:
    # sqlnet.ora Network Configuration File: C:\DevSuiteHome\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
    And my c:\devsuitehome\network\admin\TNSNames.ora file is this:
    tnsnames.ora Network Configuration File: C:\DevSuiteHome\network\admin\tnsnames.ora
    Generated by Oracle configuration tools.
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = xe)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <machine name)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    Just for good measure, my tnsping xe shows:
    "Used paramter files:<br/>
    c:\devsuitehome\network\admin\sqlnet.ora<br/><br/>
    Used TNSNAMES adapter to resolve the alias<br/>
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = xe)))
    OK (0 msec)"
    So, how can I make that initial connection faster so I don't spend 15 years testing my application due to slow start-ups? :)
    Thank you.
    Kevin.
    {noformat}
    Edited by: 832285 on Jan 29, 2011 10:08 AM
    Edited by: 832285 on Jan 29, 2011 10:10 AM

    I have formatted my hard drive since my first post. I was running window 64 bit with a higher version of the ODAC and that proved to crash my machine with faulty error messages about memory. I have reverted to a previous version of the ODAC tools and everything works very smooth now. Still the connection time is consistently 20 seconds or longer on the first attempt.
    Just a little more information.. I am currently taking a college course with 15 other students, as you can tell by the impersonal machine name, where programming using visual studio 2008, and Oracle 10g xe is expected. All of us are using a 64 bit environment and we all have difficulties cutting down the load time of making the first connection to Oracle. Some people are longer making the connection, but none are shorter.
    One other note. After the first connection is made, taking 20 or more seconds, and is closed, all subsequent openings of the connection are instantaneous, for all of us.
    If there is ANYTHING more I can get for you, please let me know. With my environment stable as it is, I will not need to format or change any information for the foreseeable future.
    Here is the information you requested
    1 The connection method I am using, I have chosen the manual connection for you, however the delay exists if the connection is made through the GUI as well.
    Historically, I am getting slow connection speeds through adding the connection through the GUI or by a manual connection. Here is how I am doing it manually. I have the connection being created in 20 seconds, which is the best I can get.
    Imports Oracle.DataAccess.Client
    Also included project reference: oracle.dataaccess / version 2.111.6.20
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim connString As String = "Data Source=XE;User Id=abc;Password=abc;"
            Dim con As OracleConnection = New OracleConnection()
            con.ConnectionString = connString
            Try
                con.Open()
                MessageBox.Show("Connected!")
                con.Close()
                con.Dispose()
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try
        End SubMy current TNS Ping results
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-FEB-2011 01:02:36
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)2 Connection to SQL plus is instantaneous.
    I fought for weeks about the ODAC version 11.2.0.1 that you see in the previous post, and that would be a whole new thread. Suffice it to say I have a reliable environment to program in with this 10.2.0.1.0 version that I am running now, and the connection time has not changed, it is still minimum 20 seconds load time, sometimes up to 25.
    3 Ram usage in my typical environment
    I am running this laptop with 4 gigs of ram. This is a typical environment I would be running my application in.
    Physical memory
    total 4090
    cached 1753
    available 2345
    free 656
    system
    handles 27141
    threads 911
    processes 70
    commit megs 2860/8179
    kernel memory megs
    paged 201
    nonpaged 52
    4 I formatted my machine and reinstalled the Windows 7 professional operating system as of a few nights ago. The Oracle software on my machine is
    Oracle Database 10g express edition
    ODAC 11.1.0
    I amm not sure what filename you would need in addition to the product names that I have installed.
    5 The information from the SET command is
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\stepheke\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=STEKEV0908
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\stepheke
    LOCALAPPDATA=C:\Users\stepheke\AppData\Local
    LOGONSERVER=\\STEKEV0908
    NUMBER_OF_PROCESSORS=2
    oracle_sid=xe
    OS=Windows_NT
    Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Oracleapp\stepheke\product\11.1.0\client_1;C:\Oracleapp\stepheke\product\11.1.0\client_1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Windows Live\Shared
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=170a
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\stepheke\AppData\Local\Temp
    TMP=C:\Users\stepheke\AppData\Local\Temp
    USERDOMAIN=stekev0908
    USERNAME=stepheke
    USERPROFILE=C:\Users\stepheke
    VS90COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
    windir=C:\Windows

  • Visual Studio 2008 with BizTalk 2009 Missing Assembly Reference - Developing under Windows7

    I'm having a similar issue to this....> http://social.msdn.microsoft.com/Forums/en-US/2df94010-5755-4982-a02d-81f8feb51fda/visual-studio-2008-with-biztalk-2009-missing-assembly-reference?forum=biztalkgeneral
    Prior to going to Win7, I was developing on a Win-XP machine. I used to delete the generated code and have VS generate it again, but no luck. I get errors in the Build, similar to what shows in the Message Assignment shape in the orc. It's complaining about
    a missing part of a Multi-part message.  Oh, and the Multi-part message is a schema created in VS2005/BizTalk2006 R2, which was created on a separate Win-XP machine.
    Just wondering if anyone has come up with a fix to this? The previously documented entry did not seem to have a solution.
    Thanks.

    Jeff,
    Do you see your_orchestration.odx.cs ?
    If you do Can you try as following:
    1. Take backup of whole solution
    2. Delete all .cs files associated with biztalk artifacts, like odx.cs, xsd.cs, btm.cs
    3. Open orchestration and in any one of the expression shape copy all statements.
    4. Click OK to close the Expression window.
    5. Build the solution. (you should get errors)
    6. Goto expression and paste code.
    7. Build
    This has worked for me in past. May be it will work for you too.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

Maybe you are looking for