Unable to connect on premises build controller to Visual Studio Online account

I've been looking into VSO for our build process, but I'm having some difficulty on the basic set up.
We use Unity3D and would require an on premises build controller. I've created a VM and attempted to set up a build controller using this article for details:
http://msdn.microsoft.com/en-us/library/ms181712.aspx
I'm able to open the build service configuration wizard and I get to the "Connect to Team Project Collection" window. However, when I attempt to add my server, using my username and password (which is also the global admin), I get a TF31003 error.
I've verified that I have build permissions, but I keep getting this error everytime I attempt to connect the controller to VSO.
I also attempted to use a custom build account, which had Build Service and Build Administrator membership. It also got the same error.
What could be causing this issue?

Hi Jason,  
Thanks for your post.
Please follow the detailed steps in this
article to configure and connect On-premise Build Service for your VSO account, if still receive the same issue, please share you received the error under which detailed step.
When connecting to VSO account in Build Service, you need provide the user which added in your VSO account. 
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.

Similar Messages

  • Problem with "View project-level information" permission when accessing build definition in Visual Studio Online

    Hi, 
    from some time all our team members are experiancing problems when acsessing list of builds on Visual Studio Online or when trying to edit build definition in Visual Studio. Error message suggests problem with missing View project-level information permission:
    "TF50309: The following account does not have sufficient permissions to complete the operation: XXXXXXXX. The following permissions are needed to perform this operation: View project-level information."
    I've checked permissions of my User account and Group. "View project-level information" is set to Allow on both levels. We didn't make any changes in security configuration recently. Does anyone faced similar problem?
    Short term solution was to add all users, to Project Collection Administrators Group, but it is not what we would like to live with.

    It seems that the problem was fixed and Project Collection Administrators permissions are no longer required. Great :-)

  • New MVC 5 project build fails in Visual Studio Online using TFS

    Here are some of the errors I'm getting.
     Controllers\AccountController.cs (44): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (2): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (3): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (4): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (5): The type or namespace name 'Owin' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\IdentityConfig.cs (12): The type or namespace name 'UserManager' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\IdentityConfig.cs (59): The type or namespace name 'IIdentityMessageService' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\IdentityConfig.cs (68): The type or namespace name 'IIdentityMessageService' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\RouteConfig.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\Startup.Auth.cs (1): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
     App_Start\Startup.Auth.cs (2): The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
    The project builds fine in VS 2013 (since its a new project).
    It seems that it is not recognizing all the packages. How do I fix this problem?

    It doesn't work for me either. It's an MVC 5.2.2.0 project straight out of the Wizard. It's part of a solution with other projects which appear to be working. I tried configuring NuGet to download missing assemblies on the build machine as it suggested on
    some other sites. That didn't help. According to the list of installed software on the Hosted Build Controller, I don't see MVC explicitly listed. (getting-started/hosted-build-controller-..) page in the TFS project site.
    It definitely doesn't work. I'm trying out Visual Studio Premium 2013 and Team Foundation Service on the 90 day trial offer. I can't find any mention of an MVC restriction. I don't want to have to include the package binaries in source control.
    Edit: I tried a standalone MVC 5 project and it worked fine on the Hosted Build Controller. If you add an MVC 5 project using the wizard to an existing solution with other projects, you get the errors below. So it isn't the Hosted Build Controller.
    Strange.
    App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Controllers\AccountController.cs (200): The type or namespace name 'ValidateAntiForgeryToken' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (200): The type or namespace name 'ValidateAntiForgeryTokenAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (226): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (226): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (234): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (234): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (242): The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (242): The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (243): The type or namespace name 'AllowAnonymous' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (243): The type or namespace name 'AllowAnonymousAttribute' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\AccountController.cs (244): The type or namespace name 'ValidateAntiForgeryToken' could not be found (are you missing a using directive or an assembly reference?)
    It seems that my working stand alone project has the dlls in the packages folder tree added to source control. Whereas in the composite project, only the corresponding .xml files are added to source control. So with the standalone project, the build server
    is locating these dlls and using them.

  • Can't connect to visual studio online source control from vs 2010 ice starting today 1-23-2015

    apparently there has been a breaking change and I can no longer connect to my visual studio online account anymore through vs 2010 ice - i get this message when i try to connect to it in the ide
    Microsoft Visual Studio
    Error
    Team Foundation Server https://xxxxx.visualstudio.com/defaultcollection does not exist or is not accessible at this time.
    Technical information (for administrator):
      TF30064: You are not authorized to access the server.
    OK   
    I can log in manually with a web browser but I need to check in items from the ide - it worked this morning but stopped working this afternoon
    when i try to debug the webpage that comes up in ide to connect it says line 4 char 16405 error object doesn't support this property or method - code
    0  url https://apps.vssps.visualstudio.com/_status/tfs/20150123T002517/_scripts/TFS/Laoder.min.js do you want to continue running scripts on this page?

    Hi diakoniaus,
    For the situation, you can check if you have the need permissions to access the team project in Visual Studio Online.
    To make sure the permission of your credential, we can run tfssecurity command in VS command line to have a check. Please execute
    tfssecurity /imx “MS account” /collection:url, for more information about tfssecurity /imx, please refer to:
    http://msdn.microsoft.com/en-us/library/ms400806.aspx 
    If you have the corresponding, you can also have a try on other machines to see if it works for you. Or you can clean team foundation cache, delete cookies in browser and delete the credentials that saved in credential manager. Then reconnect to the team
    project via VS 2010. You can check the troubleshooting details in this
    thread.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • We are unable to connect to Integration builder through VPN.

    Hi,
    We are unable to connect to Integration builder through VPN.
    Below are the errors we get:
    a. In two of the PI 7.0 Systems  we get:
         i. Cannot open connection on host x and port y.
         ii.com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: x and port:y
         iii. java.net.SocketException: Malformed reply from SOCKS server
    b. In the other two PI 7.1 systems we get:
         i. MESSAGE ID: com.sap.aii.ib.core.ejbutil.rb_all.SERVER_NOT_AVAILABLE
         ii. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
    uvw.xyz.abc.net:51504 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: x and port:y]
         iii. com.sap.engine.interfaces.cross.DestinationException: cannot establish connection with any of the available instances:
    uvw.xyz.abc.net:51504 Reason: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection to host: x and port: y
    The hosts and ports are accessible. (Telnets and tracerts work fine for all the systems)
    We are able to access the SLD and Runtime workbench on all the environments. However, Integration Builder tools are not accessible.
    Any clue on what the problem might be?
    Thank you,
    Siva.

    Hi Siva,
    When you execute SXMB_IFR from PI, do you get  Integration Builder page?
    Are you trying to directly access the PI server by the known URLs?
    Also, Following links may be of your use:
    Integration Builder -Configuration is not openning?
    Re: unable to logon to Enterprise Services Builder or Integration Builder
    Regards,
    Nipun

  • Visual Studio Online Build Failure - Unable to copy file, access to directory is denied

    Hi,
    I have an ASP.Net Web Site that compiles and builds with no errors on my local machine.
    However when I attempt to build the site using default build definitions/configurations within Visual Studio Online and deploy to an Azure Website / App Service I receive the following errors:
    C:\a\src\House of Canine\HouseOfCanine_1_.metaproj: Unable to copy file "C:\a\src\House of Canine\HouseOfCanine\Bin\AjaxControlToolkit.dll" to "HouseOfCanine\\Bin\AjaxControlToolkit.dll". Access to the path 'HouseOfCanine\\Bin\AjaxControlToolkit.dll' is denied.
    Where, I assume, the directory "C:\a\src\House of Canine..." refers to the Visual Studio Online Directory and the directory "HouseOfCanine\\Bin\Ajax..." refers to the Azure Website directory. 
    This error is repeated for a number of other .dll files in the Bin folder and if I look at the diagnostics tab for the failed build on VSO, I can see that it is where it attempts to copy the binaries to the "drop" where the error fails.
    Any advice much appreciated,
    Ross
    Update
    MSBuild Error Code: MSB3021
    It seems the permissions are not set correctly for the DLLs in the Bin folder however I cannot change the permissions of the files on Visual Studio Online. Any ideas?

    Hi Ross,
    Since this thread is more related to Visual Studio Online, I will move it to the right forum for a better response. Thanks for your understanding.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Jenkins can not connect Visual Studio Online(not git repository)

    I have seen some techinical document and tried some scenario.
    1. Alternative Authentication on my profile
        Usename(primary) is my company email address.
        Username(secondary) is none.
    2. set jenkins setup for TFS plug-in
         Tema Foundation Server is https://xxxxxxxx.visualstudio.com
         Project path is $Benchmark/BuildProcessTempletes
         Login name is my compalny email address
         Password is NO1 specified.
    3. execute build at jenkins and some error outputed.
         TF30063: You are not authorized to access https://xxxxxxxx.visualstudio.com
         FATAL: Executable returned an unexpected result code 100
         ERROR: null
    off courese i can login the VSO with VS or browser.
    How can i authorize Visual Studio Online from Jenkins?
    

    this link give me a solution.
    Basically, tf.exe which is bundled at Visual studio can not use VSO. Use Team Explore Anywhere.

  • Mail: unable to connect to my SMPT server? Also new Mail Account defaults to iMap and won't let me change to Pop?

    Dear All,
    I've been with the same UK internet and email provider for years and they've given me solid and reliable service. I've worked my way through the Apple Knowledgebase checklist and tests and proved that my isp/esp is working normally so the problem has to be with Mail.
    I fiddled about trying to create a Mail Account on my late 2011 but-new-to-me MacBook Pro a couple of days ago and, it might be completely unrelated and simply a coincidence, but since then none of my devices, Iphone 4S, Powerbook G4, iPhone 3G, the MBPro can send email using Mail.
    Whenever I try I get prompted for my password but when I enter it says it's wrong but it definitely isn't because I even changed it this morning through my isp/esp and it worked and I then changed it back again to my correct password and it works also to get into webmail that is, not via Mail.
    When I run Mail\Window\Connection Doctor and check the status it shows Mail is unable to connect to server but that it can connect to the internet. I get the following message: Trying to log in to SMPT account failed.  Try to verify that username and password are correct.
    Now, whenever I try to create a new email account on MacBook Pro Mail keeps defaulting to iMap and wont let me change it to Pop which is what I need.
    Does anyone have any ideas?

    Dear All,
    I'll finish off this thread in case it's of use to anyone else in the future.
    I couldn't get the email pop account to recognise my sign-in even though I've been using it continually and without problem for the last several years. It's always been BT and Yahoo so it's more likely to be the fiddle about I did on my temporary, pre migration user account that caused the hiccup.
    In th end I had to create another pop account which I was able to once I'd migrated my settings from my PB G4 to the MB Pro.  Unfortunately this didn't merge the numerous email folders that I'd created previously in Mail but I still have them on the PB and I believe they can be transferred manually which is what I will do.
    Thanks for everyone that took the time to help.
    K

  • Cannot connect to the targeted site in Visual Studio 2012

    Hi,
    I am trying to access SharePoint 2013 "qa" sites from development server. When I try to build Visual studio projects,  I am keep getting this below error.
    "Cannot connect to the targeted site. This error can occur if the specified site is not hosted on the local system. SharePoint solutions work only with locally-installed versions of SharePoint Foundation or SharePoint Server. Remote development is supported
    only for apps for SharePoint 2013."
    I tried to change the host file, with the current machine IP address and all. Not successful on that.
    Highly appreciated, for any helpful points here.
    Cheers, R.

    Try the following 2 options:
    Option 1:
    You can use the following command:
    %STSADM% -o deploysolution -name testSharepointSolution.wsp -local -force
    %STSADM% -o deploysolution -name testSharepointSolution.wsp -local -force
    You cannot use -url parameter if your solution package does not have an assembly or feature specific elements(elements.xml).
    You may ask why we need to provide the -url as a parameter? the reason is sharepoint needs to know which web application web.config it needs to add <SafeControl> attribute.
    Option 2:
    Check your scope of your WSP (Farm, Site etc.). Try to use the powershell command :
    Add-SPSolution -identity [drive-path]\yoursolutionname.wsp
    Install-SPSolution -identity yoursolutionname.wsp -webApplication http://siteaddress -GacDeployment
    Even then, if you get the error, try changing the scope of your WSP to farm if you want your resources to be globally available. If not, change the scope of it to specific web application.

  • Oracle 11 g connection with asp dot net in visual studio 2008

    Hi to all,
                  My application is using oracle 11 g as database in an asp dot net project . this was basically a project in asp dot net with sql server as a database . but now this need oracle 11 g as database . I have complete the db work, but i m getting the connection problem in visual studio (2008) with oracle 11 g .
    I know for this it need a driver oracle.data.access  ,, i do nt know which version it need ?
    I have this dll . but version of it may be  earlier. thats why it is not working properly
    i have 11 g installed on the server computer , and we can only use it only on browser , I have a global.asax as a file in my dot net project in which connection string is written but i m getting error , something like ora10cc .
    first i do not know , which odac version i have to download i have  a link for this ,
    http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html
    but which version exactly , this page is so confusing, for oracle 11 g, and visual studio 2008 which version will be perfect
    and then where the dll will be there. after getting  the setup, Is  i need to install that setup?
    one more confusion , where i have to install that odac , on my computer system . or on the server side system , I just need that dll file ,,
    One more thing , Is there any error in my connection string ,,
    my connection is as  follows
    "Persist Security Info=False; User ID= system; Initial Catalog=LabTrack;Server=Comp-34;Data Source=192.168.1.61\oracle11g;Password=abcd1234; DBA Privilege=normal;"
    192.168.1.61 is ip addres of system, where my oracle 11 g is install ,
    and comp-32 is my user name
    labtrack is my db  name
    Is there any need of provider name ?
    sumbody pls help me
    i m getting problem in at from 3 days
    If u can then contact me , on [email protected] , otherwise reply me here
    thanks in advance
    regards Nimish Goel

    The file at the top of that link should work fine with Oracle 11g.
    I would start trying to get the client to work outside of Visual Studio, first.  That way you can localize your issues.
    Once you get the Oracle client connected to the Oracle server, then uou can start working on Visual Studio.
    As for where to install it, I'd say start with your computer.  I'm not sure how you do your development, but that would probably be a good place to start.
    You may want a different download for the web server as I assume you wouldn't need the special Visual Studio tools on it.  But yes, it will need whichever Oracle provider you choose installed on it as well.

  • Cannot Connect to Azure SQL Database in Visual Studio 2013

    Beyond Frustrated here.
    I am trying to connect to an Azure SQL database - it has been created, has tables etc. I am trying to create a new Data Connection from within Visual Studio 2013, latest release for VS and Azure. I continue to receive the following error:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
    (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
    I have ensured that TCP is allowed and above Named Pipes in the Configuration Manager. The associated IP address is allowed on Azure Firewall. Certificate has been added to VS etc. But still no connection. I can see the database in the Azure section in Server
    Explorer, but cannot add a Data Connection. What is equally as frustrating is I have a MacBook Pro running Win 7 sitting right next to my office computer and it can access Azure fine, not problems.
    If anyone has any other ideas on how I might be able to solve this I would love to hear them. Thanks in advance.
    Jeff

    Hi,
     The Error message "   A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is
    configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) "
    The issue comes up mainly because the application is not able to connect to the server.
    To resolve this issue, try the following steps (in that order):
     Make sure that TCP IP is enabled as a client protocol on the application server. For more information on how to do this, see
    Configure client protocols. On application servers where you do not have SQL Server tools installed, you can check this by running cliconfg.exe (SQL Server Client Network Utility).              
     2.  Check the application’s connection string to make sure that it is correctly configured. For example, make sure that the connection string specifies the correct port (1433) and the fully qualified server name.                
    Note You can follow these steps to obtain the connection string from the Azure Management Portal:                  
                          Log on to the
    Azure Management Portal.                    
                          In the left navigation pane, click
    SQL Databases.                    
                          Select your Azure SQL Database server.                    
                          Click
    Dashboard.                    
                          On the right side, go to the
    quick glance section, and then click Show connection strings.                    
    Test the connectivity between the application server and the Azure SQL database by using a UDL file, ping, and telnet. For more information about how to do this, see
    Azure SQL Database connectivity troubleshooting guide and
    Troubleshooting SQL Server connectivity issues.                
    Note As a troubleshooting step, you can also try to test the connectivity on a different client computer.                
    Try increasing the connection timeout. Microsoft recommends using a connection timeout of at least 30 seconds.              
    As a best practice ensure retry logic is in place. For more information about the retry logic, see
    Azure SQL Database best practices to prevent request denials or connection termination.              
          If these  steps do not resolve your problem, follow the below steps to collect more data and contact support:              
       If your application is a cloud service, enable the logging. This step returns a UTC time stamp of the failure. Additionally, SQL Azure returns the tracing ID.
    Microsoft Customer Support Services can use this information.                   
       For more information about how to enable the logging, see
    how to enable diagnostic logging for Azure Web sites and Developing SQL Database Applications section in
    Azure SQL Database Development Considerations.                
      Check out
    the list of best practices for Connecting to Windows Azure SQL Database.
    Regards,
    Shirisha Paderu.

  • XQilla problem while building dbxml for Visual Studio 6

    I am simply trying to build dbxml 2.4.16 in Visual Studio 6 on XP Pro. I am following the instructions. It fails to to link when it gets to xqilla. It seems to compiile ok then fails while linking saying it cannot open file xqilla21d.lib.
    The only departure from the instructions was after it says the XercesLib.dsp makefile could not be generated by developer Studio and wraps the makefile for XercesLib.dsp and I save that as XercesLib1.dsp. The instructions say to build the XercesLib now, but the next thing that happens after I save XercesLib1.dsp is that it says it couldn't generate the makefile for xqillla and it asks about wrapping the xqulla makefile. The instructions didn't say anything about that. I said yes and it saved xqilla1.dsp then brings up all the classes in the classview. I can build the XercesLib1.exe fine. But then as I go to build all it eventually chokes giving the link error.
    Can anyone offer any help?
    Thanks,
    Curt

    George,
    Thanks for taking the time to reply, though it was pretty discouraging. We have a legacy application that would cost too much to move out of Visual Studio 6. The compile and link process was almost at the end and it seemed only xqilla remained. We only need use dbxml under Visual Studio 6 in order to put xml documents into a database, but we have a stiff requirement for speed so we cant' afford the speed penalty that would come from including a layer like .NET or something. If you think that it won't build under VS 6 anymore I'll try to deal with that. If you think that there is a way to get it to build and then do the minimal function of putting documents into a database, from Visual C++ I'd appreciate to hear any thing else you may have to say.
    Otherwise I'll just see if I can install VS 2003 .NET but not use the .NET and try that, or try Visual Studio 2005, again not using .NET.
    Thanks,
    Curt

  • Where can I download WINCE 6.0 Platform Builder plugin for Visual Studio 2005?

    I am supporting an older product that runs WINCE 6.0. I need to build a development environment. I understand the tool chain is based on Visual Studio 2005 SP1, which I have. I also have the Windows Embedded CE 6.0 Platform Builder Service Pack 1, but
    what I can't seem to find anywhere on MSDN is the base Windows Embedded CE 6.0 Platform Builder.
    FWIW, I have an MSDN Universal Subscription. 
    [EDIT] OK, I found it. The download is named simply Windows Embedded CE 6.0.  There is no "Platform Builder" in the title.
    Here is the link:  https://msdn.microsoft.com/en-us/subscriptions/downloads/#FileId=10961

    Thanks Henrik. My question is for the same customer that Alex K. was asking about.
    The customer has pointed out that 6.5 != 6.0 , so according to the wording in the documentation, the "all later releases of 6.0" would not apply to 6.5 releases. So the customer would need a precise statement from JRockit product management stating that 6.5 releases are indeed to be included wherever there is a reference to "all later releases of 6.0".
    I did spend some time yesterday in MetaLink. Search Knowledge base -> Oracle JRockit for download gives 38 hits. I did find older versions of WebLogic Server in 763603.1, but nothing for JRockit. If there is another DocId with the JRockit downloads, what is it? Will I find JRockit 64 bit for Solaris 27.6.0 bundled in the WebLogic Server downloads? Guessing from the size of the downloads for Solaris 64bit (they are hundreds of MB smaller than other downloads) - it seems possible that the JVM is not included (I do not have a Solaris machine to install and check). Previously I had assumed the JVM was included, but then the customer wouldn't be asking where they can download from (unless they never bother to look what they installed).
    Michael.Reiche

  • 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 ONLINE Unable to read data from the transport connection: The connection was closed.

    Can anyone explain why I've suddenly started getting this error on one file in my projects?
    Visual Studio is 2013 Premium Update 4 
    The file that's failing ins 14,140KB in size.

    Hi s6521d,
    For this problem, you can try the following methods to check if the issue can be resolved. And elaborate more details if the issue still exist.
    1. Do a get latest and then have a check if your team project works fine
    2. Clean team foundation cache and sign out your credentials then reconnect to the team project
    3. Have a try on other machines to see if it only occurs on your environment
    4. Confrm whether the workspace you're using is server workspace and the file is locked. If yes, unlock the file. If the file was changed, you can also revert to a former changeset to check if the error still exist
    5. Check event logs to see if there any useful information
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Voice Memos will not start recording.

    I can pull up the application, but when I tap the record button, nothing happens. The little dial that says "VU" doesn't move, the red recording circle symbol doesn't change to a pause or stop button. Is this an application error? Any suggestions?

  • PASSWORD KEEPER?? HOW TO USE IT??

    Can one of you smart guys explain to me how to use the Password Keeper?  How do you access it and what exactly is it for?  I have an 8310 on 4.2.2 with ATT. Thanks for your assistance! -Ken Solved! Go to Solution.

  • Orders, deliv. and conRel fields in MD04 transaction code

    Hi All, I want to know the database tables and fields for Orders, deliveries and conrel fields in MD04 transaction code. In MD04 if you give material and plant as input details and say continue, we are getting the Stock requirement list. In that MRP

  • Closed PO still showing intransit qty

    Hi all : I have a closed PO with 1 item that was already received, but the supplier created an ASBN and it ones still pending for receive. The PO line is already closed and the item received already, but still as expected in receiving and supply/dema

  • NOkia 101 rm 769 brought to canada not working wit...

    Hi, When I was in Asia, i got a Nokia 101 RM 769. I took it with me to Canada to replace my stolen Nokia, but it is not working with my provider's SIM card (CHATR). How come?? What should I do? There is not information on the website, no way to talk