Compiling with Visual Studio ( connection to Database )

what is the simplest way to create a new project that I can compile one of Sample source code for connection to database
(i.e. either Proc or OCI)
Appriciated your help

Hello,
Please provide details such as how are you connecting/working with data, what database is being used and any other details that can provide insight into the issue at hand.
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile but do not reply to forum questions.

Similar Messages

  • Connect to oracle database with visual studio 2005

    Hi, i have a oracle database called orcl (10.2). I am trying to connect with this database with visual studio 2005. I do this:
    In Server Explorer, right click in Data Connection and click in add connection.
    I choose oracle database and oracle provider.
    In server name I write the name of my computer, and i write the user and pass of the data base (sys or system) but it gives me this error: "ora-12514 listener doesnt know the asket for service in the description one of connection" (translated of Spanish)
    what i have to write in server name? host, host:port, LISTENER,.... what?
    Thanks

    Sometimes, you can check names using from the command line:
    $> tnsping <orcl>
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 10-ENE-20
    06 09:01:04
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=server1)(PORT=1521))
    Realizado correctamente (0 mseg)
    $>

  • SharePoint Connection not available with Visual Studio 2013

    I've installed Visual Studio 2013 in my SharePoint 2010 environment. When I try to add the existing SharePoint Connections I've used in Visual Studio 2010 there is always the same error: Remote SharePoint site connections are not supported. The SharePoint
    site is located at the same server, I'm able to access the Central Administration with Visual Studio 2013, but I can't access my development SharePoint Web Application.
    I'm sure I do have access to the configuration database, in Visual Studio 2010 I'm able to delete and add SharePoint Connections without any problems. The URL of the development SharePoint connection (like sp1.sharepoint.contoso.com) is not named like
    the URL of the Central Administration (like servername:5000). The port of my development SharePoint is 80, but I can't access with servername:80 too. My account is in the group of the local administrators, Visual Studio is started as Administrator
    and my account is a SharePoint farm administrator and additionally a site collection administrator of all site collections in my SharePoint web application.
    Any idea what's wrong with this SharePoint connections?
    Thanks in advance. Georg

    Can you try the following workaround and see if it helps? First try adding host entry for your server name and if that works change it to sp1.sharepoint.contoso.com.
    SharePoint
    2013 Visual Studio Project Error – “Cannot connect to the targeted site”
    I understand your situation is different than the one mentioned in the blog but given you seem to have all the permission so may be you try and see if the error is because of above issue. Actually if above does not work (assuming your are on your development
    environment), try adding your account to DB Owner on your site collection database as mentioned here.
    http://www.sharemuch.com/2010/03/19/resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects/
    Amit

  • Compile Plug-in with Visual Studio 2010 beta

    Hello there,
    I know that only Visual Studio 2005 is supported for the Acrobat SDK. But maybe one of you is also experimenting with visual Studio 2010 and got it to work.
    I get the following error message. Did anyone solve this problem.
    Error    105    error MSB3073: The command "if not "¬roSDKPIDir%"a == ""a if not exist "¬roSDKPIDir%" mkdir "¬roSDKPIDir%"
    if not "¬roSDKPIDir%"a == ""a copy "C:\Users\test\Documents\Visual Studio 2010\Projects\EPapers_Button\EPapers_Button\Debug\EPapers_Button.dll" "¬roSDKPIDir%"
    if not "¬roSDKPIDir%"a == ""a echo EPapers_Button copied to "¬roSDKPIDir%".
    if "¬roSDKPIDir%"a == ""a echo not performed. AcroSDKPIDir environment variable not set.
    :VCEnd" exited with code 255.
    Thanks for your help.

    this is something that i tried i set AcroSDKPIDir to
    C:\acrobatxsdk\Adobe\Acrobat 10 SDK\Version 1\PluginSupport\Samples\WeblinkDemo\win32\Debug
    and in th e post build events i did the following
    <Target Name="PostBuildEvent" Condition="'$(PostBuildEventUseInBuild)'!='false'">
        <Message Text="Description: %(PostBuildEvent.Message)" Condition="'%(PostBuildEvent.Message)' != '' and '$(AcroSDKPIDir)'"/>
        <Exec Command="%(PostBuildEvent.Command)$(BuildSuffix)" Condition="$(AcroSDKPIDir)"/>
      </Target>
    can u be plzz more specific in terms of it
    the error i got is
    Error
    84
    error MSB4100: Expected "$(AcroSDKPIDir)" to evaluate to a boolean instead of "C:\acrobatxsdk\Adobe\Acrobat 10 SDK\Version 1\PluginSupport\Samples\WeblinkDemo\win32\Debug", in condition "'%(PostBuildEvent.Message)' != '' and '$(AcroSDKPIDir)'".
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets
    112
    61
    WeblinkDemo

  • Crystal Report Dll problem with Visual Studio 2005

    I am using Crystal Reports with Visual Studio 2005. At one time there were two different version of Crystal Decision Dll in Global Assembly Cache (GAC). So I uninstalled both the versions and then only installed 10.2.3600.
    I am facing the following error when building my application in visual studio.
    The type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\arms website\301a5b02\e03ad7d9\assembly\dl3\c30f5560\00f92427_3857ca01\CrystalDecisions.CrystalReports.Engine.DLL'
    and
    'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.2.3600.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
    I have only installed it in .Net Framework. For some reason it appears in the temp folder. I cannot delete it and when I renamed it after the next compile it came back again.
    I would appreciate any help.

    Thanks for the tip.
    I installed CR XI R2 with SP2 and 2.1
    There are few reports in the system they use to run fine but now when I try to run them I get the following error:
    Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. C:\DOCUME1\SSheikh\LOCALS1\Temp\ZGA370 {71BFCD35-F652-48C8-896D-B93229A4D2C2}.rpt Details: [Database Vendor Code: 4060 ]
    I understand that these reports run ok independently and on production machine as well; however when I try to run them from my development machine I get the above error.
    I would appreciate help to resolve this. The code of the report is with report developer and I need to know what settings do I need to change where to be able to run the reports. Also I use my machine for deployment of application on the production server.
    Thanks.

  • OCI 9.2 libraries with Visual studio 2005

    I have a project which uses OCI version 9.2 to connect to the database. We are planning on upgrading the compiler from Visual Studio 2003 to Visual Studio 2005. Can we still use the same libraries or do we need new library versions compatible with the new compiler. If yes, where can I access the new libraries.
    TIA
    Bharat

    I've gotten OCI programs written in C using vs.net 2005 to work with Oracle 9i.
    However, a library written in C using vs.net 2005 fails to work from a C# 2005 program. It causes a C runtime failure. I have no idea why.
    But the same C library and C# program using vs.net 2003 works (ie. can successuflly connect to Oracle).

  • Using Crystal Reports with Visual Studio 2008

    I have bin using visual studio 2008 for a while. I have just started using Crystal Report (which came with Visual studio) . I have an Access database connected with 3 tables, the first two table has two test fields and one index field, the third table has two text fields and two index field (of which one relates too one of the other tables).
    I have generated a crystal report on one of the tables using the wizard. I have then placed the crystalreportviewer in a form (as a test). When I run the resulting form, all I get is the column heading label but no fields being displayed. There is data in the table. All I need to know is how do is make sure that the reports are accessing the data in the table, through the datasets???.

    Hi,
    [Here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]] is the specific samples for you or [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9043bbbc-ae66-2b10-ce96-b48f9e25a450]
    And [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] is the link for the dev library.
    Hope this will work!!
    Amit

  • How do I use Qt and OpenGL with Visual Studio

    Hi! I mainly want to program in C++ and I want to use Qt and OpenGL with Visual Studio.
    I am currently revising C++ and later on i am going to start reading Qt and OpenGL. I have a background of
    Embedded firmware design(C and Assembly).
    The Visual Studio Version I have is 2013 ultimate. How do I use Qt and OpenGL with Visual Studio?
    Thanks
    Alexandros

    Hi ClassicalGuitar,
    The forum supports VS setup and installation. And your issue is not about the forum. I will move the thread to off-topic forum. Thanks for your understanding.
    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.

  • Move a Excel 2010 Dokument Addin Project (Visual Studio 2012) to another devleopment machine with Visual Studio 2012 , but Office 2013

    Hi 
    we do have the following situation
    on computer A there is a Excel Document Addin development project , Visual Studio 2012, Office 2010 installed. All works fine.
    we would like to bring the project to another machine with Visual Studio 2012, but Office 2013 installed.
    Visual Studio can not build the project. It says that the application is not installed on the machine (though Excel 2013 is installed , but not Excel 2010) It seems to have a problem with the
    vbproj. 
    In other forums I found a hint that "Hostpackage = ..} needs to be set accordingly in the vbproj. I created then a "empty Excel-Addin project" under Visual Studio , looked at
    the Hostpackage entry, put that into the vbproj of "problem project. It still does not work.
    It would be great if anyone could help.
    Thomas

    Hello Eugene
    Problem is that it says that projectboard (the name of the main project) can not be loaded. All other projects in the solution can be loaded. Strange thing is , now that I try to create a empty excel Project it says that according to Excel security settings
    it can not be generated !? 
    I opened then Excel and set all Trust Center settings to "Default" - but no effect. I really have no idea what is wrong ..!? 
    Tom

  • 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

  • Crystal Report X1 compatibility with Visual Studio 2008

    We are migrating an application running on .NET 1.0 to .NET 3.5. Previously Crystal report X1 was working fine with .NET 1.0 however now when it has been migrated to .NET 3.5, we are able to generate crystal report but print and export functionality is not working.
    Please confirm if Crystal report X1 is compatible with Visual studio 2008/.NET 3.5? We even updated Release 2 SP4 patch but that didn't solve the problem.
    If crystal report X1 is not compatible with Visual studio 2008, which version is compatible so that we can buy the license for the same?

    Hello Anurag,
    CR XI R1 is not supported for VS 2008.
    but for
    u2022 Visual Studio .NET 2002
    u2022 Visual Studio .NET 2003
    CR XI R2
    u2022 Visual Studio .NET 2002
    u2022 Visual Studio .NET 2003
    u2022 Visual Studio .NET 2005
    CR XI R3
    u2022 Visual Studio 2003
    u2022 Visual Studio 2005
    CR XI R3 Service Pack 1
    Microsoft .NET Framework
    u2022 .NET 1.1
    u2022 .NET 2.0
    u2022 .NET 3.0
    u2022 .NET 3.5
    Development Platforms
    u2022  Visual Studio 2003
    u2022  Visual Studio 2005
    u2022  Visual Studio 2008
    Hope this helps
    Falk

  • How do I use infopath 2013 with visual studio 2013 to modify forms with code?

    Dear all,
    I am using sharepoint online and infopath 2013, I wonder how do I edit infopath 2013 forms with visual studio? When I try to edit form code it says  I need visual studio 2012 and some other tools, I installed them and visual studio 2013, I wonder how
    do I get rid of the message and start coding? Can someone provide a detailed procedure of doing so? I am having trouble with creating multiple items with single infopath form with repeating table on sharepoint online. Thanks.
    Timothy

    Hi,
    According to your post, my understanding is that you want to create InfoPath form with code using Visual Studio.
    More information about develop InfoPath form with Visual Studio:
    http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/aa942693.aspx  
    For the second question, I suggest you can create another post , it will be easier for others to focus on one question in one thread.
    Best regards

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

  • Crystal Reports Bundeled With Visual Studio 2008

    We are currently using the version of Crystal Reports that comes with Visual Studio 2008.  Many reports have 5-10 sub reports.
    We are running a ASP.NET application and this application passes to the reports a XSD File as the data source. It can take up to 5 minutes sometimes for a report to process.
    A couple of questions.
    1. Is there a concurrent user limit (I have read 3 or 5)
    2. Do the reports get queued up if more than 3 users are running a report?
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    3. Would upgrading to the 2008 version help us at all?
    Any other recommendations?
    Thank in advance!

    1. Is there a concurrent user limit (I have read 3 or 5)
    concurrent user limit is 3
    2. Do the reports get queued up if more than 3 users are running a report?
    + Yes. If you go to the Event viewer, you should be bale to see messages along the lines of; license not found, waiting x seconds+
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    + There are two distinct counts. Users, and print jobs. The print engine, can process 3 concurrent users. A print job, consists not only of the report, but also it's subreports. A page through is a print job. A search through the report is a print job. Print job limit is set in the registry and by default it is set to 70. The upshot of this is; if you have one report and one subreport in the detail section and the detail section has 100 records, you will run 1001 print jobs.
    4. Would upgrading to the 2008 version help us at all?
    Probably not. The same structure exists in CR 2008. Now, you say that you pass an XSD file to the report. Are you actually passing and XSD or a Dataset?_
    Finally, remember that if you have 10 subreport in a report, you are running 11 print jobs right there. If one or more of those subreports are in the detail section, the number of print jobs increases accordingly.
    For more information see the article [Crystal Reports Maximum Report Processing Jobs Limit  v2.doc|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Dec 16, 2009 10:06 AM

  • Report to find out clients with Visual Studio Deployments

    Hi,
    Can anyone write a query for getting list of clients with Visual Studio installed?

    Hi Ananya
    Please try the below one.
    If you want to exclude any of other components you can then using NOT LIKE
    Select
         sys.Netbios_Name0,
         sys.User_Domain0,
         sys.User_Name0,
         sys.Operating_System_Name_and0,
         arp.DisplayName0,
         ARP.Version0
    FROM
         v_R_System sys
         JOIN v_Add_Remove_Programs arp ON sys.ResourceID = arp.ResourceID
    WHERE
        Displayname0 like '%Visual Studio%'
        AND DisplayName0 NOT LIKE 'Hotfix for %'
        AND DisplayName0 NOT LIKE 'Security Update for %'
        AND DisplayName0 NOT LIKE 'Update %'

Maybe you are looking for

  • Amount of records loaded to dso is not same as in psa

    i performed a loading from psa to dso. i have 2 datasource under this dso, the amount of records loaded from psa for this 2 datasources to dso is not consistent. the psa for the 1st datasource having 3k records and the 2nd datasource having 5k record

  • How do I play one song at a time in Music on iPad

    First I DO NOT HAVE THE LITTLE SHUFFLE SYMBOL AND THE SHUFFLE IS NOT SELECTED in Songs on MY IPAD.  I have downloaded music from iTunes to my iPad in the Apple Music icon but all the songs seem to bunch together. I want to play one song at a time and

  • Itunes will not start after installing 10.5 Windows DEP error XP

    Have not found a definitive fix for this anywhere.. so will try posting again. Having upgraded to itunes 10.5... now Itunes will not start. Just get Data Execution Prevention error, and closes. Using Windows XP. Have tried repairing itunes, removing

  • How do I get to put a new to do or note in a specific mailbox

    There are two mailbox in use, one is MobileMe and the other a POP mailbox. All new notes and to-dos are created in the MobileMe mailbox. Is there a way to change this?

  • Thunderbolt display not working well

    I recently upgraded my MacBook Pro to Mavericks and found an issue with using it with my Apple Thunderbolt display. I normally use the Thunderbolt display as my MAIN display with the MacBook Pro closed. Normally, it would wake from sleep reliably but