Getting error in Connection with SAP 2007 with SQL 2005

Hi
I am getting the error while running the Sample code of "UsingSBObob"
Run-time error '-111
Connection to SBO-Common has failed
Please provide the solution

Hi Owen
You have to specify the SQL Server 2005 in the code so that you can connect with that. Below is the code
Private Sub ConnectToCompany()
    '// Initialize the Company Object.
    '// Create a new company object
    Set oCompany = New SAPbobsCOM.Company
    '// Set the mandatory properties for the connection to the database.
    oCompany.Server = "CTX17\SQL2005" --- Specify the SQL2005 here
    oCompany.language = ln_English
    '// Use Windows authentication for database server.
    '// True for NT server authentication,
    '// False for database server authentication.
    oCompany.UseTrusted = True
    oCompany.DbServerType = dst_MSSQL2005  -
New line to add in code
    ChooseCompany.Show vbModal, Me
End Sub
Himanshu

Similar Messages

  • Error when Connect to Access 2007 with password using OLEDB

    Hi there,
    I am seeing the below error when trying to Connect to Access 2007 with password using Crystal XI or Crystal 2008, when using the OLEDB to connection Access data.
    Logon failed
    Details: DAO Error Code: 0xd0f
    Source: DAO.Workspace
    Description: Unrecognised database format 'path to database\crs project database.aaadb
    Get though when I use Access 2007 without password setup.
    Many Thanks for any one can help.
    Daphne Li

    As a copy of this query has been posted to the CR design forum at 11:21, assuming this is indeed a design question.
    Thus setting this thread as answered.
    - Ludek

  • Runtime error while connecting from SAP to MS-SQL DB

    Hi,
    I am writing a program to send data from SAP to MS SQL DB.
    The stored procedure when run alone works fine.
    I have defined connection 'C04' in DBCO with correct attributes.
    But the 'CONNECT TO C04' statement gives me runtime error DBIF_DSQL2_CONNECTERR saying that 'Connection to Database system with the identifier C04 is not possible;.
    First of all, I am not very clear if it is a ABAP problem or BASIS problem.
    I did a lot of research but could not find a solution.
    Please help me.
    Thanks & Regards,
    Shubha.

    Hi shubha,
    1. If your application server
       is unix/aix,
       then connection to MSSQL db
       is not possible.
    (Bcos both OS are different,
      and the connector is not provided
      by sap / not available)
    2. After making an entry in DBCON Table,
       probably something may be required to
       be done on the application server,
       by the basis team.
    3. If this connection is required
       to be made to oracle server,
       then basis definitely requires
       to make a connection string
       on the application server
       (apart from the dbcon entry)
    regards,
    amit m.

  • Getting error while connecting Sharepoint WFE to another Sql Server 2008

    Hello All,
    I am trying to connect a sharepoint wfe to another Sql server 2008 and getting error. This is what I am trying to do.
    #Disconnecting present database serer
    Disconnect-SPConfigurationDatabase
    #Connecting to another database server
    Connect-SPConfigurationDatabase -DatabaseServer "ServerName" -DatabaseName "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase
    Getteing below error
    Connect-SPConfigurationDatabase : Cannot open database "SharePoint_Config_nameabcd" requested by the login. The login failed.
    Login failed for user 'domain\username'.
    At line:1 char:32
    + Connect-SPConfigurationDatabase <<<<  -DatabaseServer "ServerName" -Database
    Name "SharePoint_Config_nameabcd" -Passphrase $SecuredPassphrase  + CategoryInfo : InvalidData:(Microsoft.Share... urationDatabase:SPCmdletConnectSPConfigurationDatabase) [Connect-SPConfigurationDatabase], SqlException+ FullyQualifiedErrorId
    : Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabaffsadss FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletConnectS PConfigurationDatabase
    Please advise to resolve the error.

    Hi,
    We have not heard from you in a couple of days.
    Just checking in to see if the information was helpful. Whether your issue is solved.
    Have a great day!
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error when connecting a sap machine with another sap machine

    Hello,
    Sap machine 'A' calls the object bus2010 of sap machine 'B'. I indicate in the call the system logic and destination RFC. System logic and destination RFC are OK in both systems. When calling the system 'B' an error 'Expected error in SP client' appears.
    Best regards,
    Vanesa

    Hi Samid,
    The issue related with your host entries under /etc/hosts file .
    java.net.UnknownHostException: sapsleora: sapsleora
    The exception is really saying is that there is no known server with the name "local".As per me you're trying to connect to your local computer. Try with the hostname "localhost" instead, or perhaps 127.0.0.1/::1
    Your host file entries would be like as below:
    127.0.0.1   localhost.localdomain   localhost
    <IP-address of your server>   <hostname of your system>
    Save the host file & retry the SWPM.Hope this time you'll get the successful execution.
    Regards,
    Gaurav

  • Error while connecting MS ExchangeServer 2007 with BPEL 10g

    Hello,
    I am working on email activation and received this error while invoking
    <2012-03-26 11:41:58,632> <ERROR> <abctest.collaxa.cube.activation> <HeartBeatListenerJob::execute> Error while invoking onHeartBeat() method, exception is "no imap folder specified".
    any idea what could be wrong, I am able to telnet smtp server at port 25 however, unable to invoke an email.
    any help is appreciated.
    Thanks

    Saaj,
    Solution on oracle note 603403.1:
    Upgrade Bpel to 10.1.3.4
    Or
    Upgrade your Microsoft Exchange server to Microsoft Exchange 2000 server (I guess it is not possible :) )
    Ark

  • Getting error while connecting to DB in PL/SQL developer.

    Hi Experts,
    I am able to connect to the DB in TOAD ,
    but I am not able to connect to the DB in PL/SQL developer.
    PL/SQL developer
    Version 8.0.1.1498
    01.61091 - Unlimited user license
    Windows 7 6.1 Build 7601 (Service Pack 1)
    Oracle 11g
    I am getting the below error
    ORA-12154: TNS could not resolve the connect identifier specified.
    Please help me why I am able to connect in TOAD
    not able to connect in PL/SQL developer.
    Thanks in advance.

    973205 wrote:
    Hi Experts,
    I am able to connect to the DB in TOAD ,
    but I am not able to connect to the DB in PL/SQL developer.
    PL/SQL developer
    Version 8.0.1.1498
    01.61091 - Unlimited user license
    Windows 7 6.1 Build 7601 (Service Pack 1)
    Oracle 11g
    I am getting the below error
    ORA-12154: TNS could not resolve the connect identifier specified.
    Please help me why I am able to connect in TOAD
    not able to connect in PL/SQL developer.
    Thanks in advance.Also note that PL/SQL Developer is not an Oracle product, so this is not the place to ask for support for that product. You should go to the vendors website (http://www.allroundautomations.com/plsqldev.html)

  • Getting the error while connection to SAP Server

    Hi,
        I am getting the below mentioned error while connection to SAP Sever using SAP.Net Connector.   What could be the possible reason?
    "<i>
    <b>Connect to SAP gateway failed
    Connect_PM  GWHOST=ia2-ms.boi.hp.com, GWSERV=sapgw01, ASHOST=ia2-ms.boi.hp.com, SYSNR=01
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 15.78.80.31, service 3301)
    TIME        Fri Feb 02 11:10:35 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8716
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER</b>
    </i>"

    Hi
    The gateway monitor is used to analyze and administer the SAP Gateway from outside the SAP System.  The profile you assign to it must be the same as for the gateway. This process has different names:
    UNIX: gwmon
    Windows: gwmon.exe
    more on this.. please go thru  ..
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/9f13c24b9b11d189750000e8322d00/frameset.htm
    hope this info helps!
    with regards,
    raj.
    <i>pls, award points</i>

  • ERROR: Cannot connect to Host: [SERVER] with user name: [J2EE_ADMIN]

    Hello SAP experts
    I have started to deploy java SPS on a solution manager system, but has encountered some problems.
    I've tried both JSPM and SDM, but get the following error:
    Software Component 'ADSSAP'/ 'sap.com'/ 'SAP AG' / '1000 .7.00.16.0.20080610114809''/ '1 ':
    Caught exception mens checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Can not connect to Host: [SERVER.domain] with user name: [J2EE_ADMIN]
    Check your login information.
    Exception is:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception vid getInitialContext surgery. No server is running. [Root exception is com.sap.engine.services.
    I can not log on Visual admin, with user J2EE_ADMIN, I've checked the user is not locked in the ABAP stack. I have activated SAP * on the JAVA stack, but still can not log on, get this error:
    Error while connecting
    com.sap.engine.services.security.exceptions.BaseLoginException: Can not create new remote login context.
    I've run out of ideas, please some suggestions.

    SOLVED - Note 609603

  • ERROR:Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]

    Dear All,
    When I try to deploy WD application, it gives me this following error and doesn't deploy.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during getInitialContext operation. No server is running. [Root exception is
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.
         at com.sap.engine.services.security.remote.login.RemoteLoginContextExt.<init>(RemoteLoginContextExt.java:34)
         at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:81)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:355)
         ... 38 more
    Caused by: com.sap.engine.services.rmi_p4.P4ConnectionException: Possible problem: no available running server node. Check your running servers.
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:709)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:697)
         at com.sap.engine.services.rmi_p4.Parser.newRequest(Parser.java:180)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:427)
         ... 1 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi
    Try this
    1. Is this is the remote server?
       if yes make one entry in host file under C:\WINDOWS\system32\drivers\etc
        format   :  <server ip>  <servername>
        restart NWDS
    2.If not then put the Ip address  instead of name inside Window--preference --Sap server Check.
    3. Put some different UserId and Password who has deployment rights
    Best Regards
    Satish Kumar

  • HT1386 I keep getting error [54] when i try syncing with i tunes, what do i do?

    I keep getting error 54 when i try syncing with itunes. what do i do?

    Maybe here:
    http://att.macrumors.com/showthread.php?t=1362080
    Also try Googling for: itunes error 54

  • I keep getting error 586 in the console along with the following: 3/18/12 7:55:19 PM com.apple.launchd[1] (org.samba.smbd) Throttling respawn: Will start in 10 seconds  3/18/12 7:55:29 PM com.apple.launchd[1] (org.samba.smbd[1246]) Exited with exit code:

    I keep getting error 586 in the console along with the following:
    3/18/12 7:55:19 PM com.apple.launchd[1] (org.samba.smbd) Throttling respawn: Will start in 10 seconds  3/18/12 7:55:29 PM com.apple.launchd[1] (org.samba.smbd[1246]) Exited with exit code:
    The console shows thousands of these error messages and it's messed up many functions of my MacBook.
    I have VMFusion on my Mac because for work I need to use Windows.  Last night I tried installing Windows 7 but could not complete installation.  I got a message saying "can not locate driver".  Then I started getting the Error 586.
    Today I unistalled VMFusion hoping that would resolve the Error 586.  No such luck.
    Can anyone help me get rid of this constant error, plesase?

    I believe this has something to do with Mail. Are these frequently occurring errors? If so and you quit Mail do the errors cease?
    Google searching for "org.postfix.master" reveals quite a number of links that you might check for more information.

  • I am continually getting error -69 when syncing iPad Air with latest iOS and iTunes versions. Any suggestions?

    I am continually getting error -69 when syncing iPad Air with latest iOS and iTunes versions. Any suggestions?

    Try Googling "sync without iTunes".
    There are free alternatives and there are not so free alternatives.
    Btw, to check if AVG is causing the problem, you should uninstall AVG and not just "turn it off".
    Also, can you describe how you go about uninstalling a program? For example, how did you "delete" iTunes?

  • I am trying to send a text message from my iPad when I enter phone number I get error message phone number not registered with iMessages  from contacts

    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.

    TestnTag wrote:
    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.
    The iPad is not capable of sending an SMS message so texts, pictures, etc., must go through iMessage.  The destination device must be registered with the Apple servers by turning on iMessage.  Therefore, the user with the iPhone must enable it for iMessage.

  • B1iSN Configuration with SAP 2007 PL 13 Issue

    Hello to All,
    1.  I have installed SAP 2007 B PL 13.
    2. Now i want to configure B1iSN with SAP 2007 PL 13.
    3.for this configuration i have download three zip file from SAP Portal.
        1 .B1ISN2007CONTNTP_13-10008366
        2 .B1ISN2007SIMP_13-10008367
        3. B1ISN2007TECHP_13-10003854
        we also have installed B1iSN Server at the time of sap 2007 B installation.
        I also have Yatsea Li document release in Aug 2009 ,but i am unable to understand that what will be exact configuration for B1iSN.
    Help me on this configuratiion becouse at that time i have a new project for R/3 and B1 data integration.
    With warm regards and thanks
    Manvendra Singh Niranjan
    Edited by: Manvendra Singh Niranjan on Apr 21, 2010 10:42 PM

    Solved with my office team.

Maybe you are looking for

  • Customer &Vendor ageing Report

    HI, While executing the vendor & Customer ageing  Report, There is no way to give profit center in "dynamic selection button, but we have activated New gl accounting and document splitting , Is there any way to give profit center. Pl. give me guide l

  • How can I print 8x10 pictures on c7200 all in one series

    I seem to only be able to print 4x6 pictures on my printer. The paper compartment will not allow a bigger size paper. Any suggestions

  • Same material number Ciffing from different ECC system

    Hello Gurus,        I have APO system connected with two ECC system. If there is a material with the same name in both the system how does the APO system finds the respective system. Even if I assign BSG for the logical systems, to which system will

  • Adobe Reader X with Outlook 2010 preview pane

    Hi all, We have an Windows 2003 32bits Terminal Server with Outlook 2010 installed. We also use Adobe Reader X. But the preview pane gives us an error: We tried re-installing the reader, but that didnt helped. I know there where some issues with 64bi

  • HDR Pro Issue in CC

    HDR Pro will load layers, but then I get the message " Photoshop CC has stoped working..." and "A problem caused the program......" I have re-set CC to it's original settings, re-started PS, nothing helped. The same files work perfectly with the Nick