Connecting to SAP Oracle DB from External Oracle system

Dear DB Gurus
I have to connect the Oracle server on my desktop system to the Oracle Database of my SAP DEV System. Both the Oracle versions are Oracle 9i. However hard I try, I end up with either Oracle error ORA 12541 - No Listener or ORA 12154 : TNS could not resolve service name. I have checked and listener is running on both the servers. Even have started it through lsnrctl start.
For reference, I am enclosing the respective file entries of bbot my server & SAP server.
tnsnames.ora file at my server
DEV.PIIL.COM =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.XXX.X.XX)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = DEV.WORLD)
I presume that there might a problem with the domain name understanding as my machine is in domain A and the SAP Servers are out of domain or domain WORLD.
The tnsnames.ora file of the SAP server says
DEV.WORLD=
  (DESCRIPTION =
    (SDU = <sdu no.>)
    (ADDRESS_LIST =
        (ADDRESS =
          (COMMUNITY = SAP.WORLD)
          (PROTOCOL = TCP)
          (HOST = <hostname>)
          (PORT = <port>)
    (CONNECT_DATA =
       (SID = DEV)
       (GLOBAL_NAME = DEV.WORLD)
sqlnet. ora files  - at my server
NAMES.DEFAULT_DOMAIN = piil.com
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
sqlnet. ora files  - at SAP server
AUTOMATIC_IPC = ON
TRACE_LEVEL_CLIENT = OFF
NAMES.DEFAULT_DOMAIN = WORLD
NAME.DEFAULT_ZONE = WORLD
SQLNET.EXPIRE_TIME = 0
TCP.NODELAY=YES
listener.ora file at my server
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = lokeshsvr)(PORT = 1521))
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = D:\oracle\ora92)
      (PROGRAM = extproc)
    (SID_DESC =
      (GLOBAL_DBNAME = OLG)
      (ORACLE_HOME = D:\oracle\ora92)
      (SID_NAME = OLG)
listener.ora file at SAP server
LISTENER =
  (ADDRESS_LIST =
        (ADDRESS =
          (PROTOCOL = IPC)
          (KEY = DEV.WORLD)
        (ADDRESS=
          (PROTOCOL = IPC)
          (KEY = DEV)
        (ADDRESS =
          (COMMUNITY = SAP.WORLD)
          (PROTOCOL = TCP)
          (HOST = <hostname>)
          (PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SDU = <sduno>)
      (SID_NAME = DEV)
      (ORACLE_HOME = /oracle/DEV/920_64)
Any kind of help would be appreciable
Regards
Lokesh Gupta

The port number configuration was mismatched between my server and SAP Server due to which listener was not able to setup the connection.

Similar Messages

  • Connect Non SAP Oracle DB and MSSQL DB to SAP BW 7.0 Orace 10g system

    Hi All,
    Well I have a scenario, where I have to connect Non SAP Oracle 9i DB and MSSQL DB (2000, 2005) to SAP BW 7.0 Orace 10g system.
    There are all together 4 Non SAP systems to be connected.
    Up till now I have understood that in order to have to integrate Oracle 9i to BW system - TSNNames.ora has to be updated, then create new Logical system, then Create Source system in RSA1 with all the required information, Create user at Oracle 9i end.
    As far as MSSQL Server is concerned - Client Software + DB Shared  Library has to be installed in BW server.
    Could anybody please guide me in the complete Basis Activities including above to complete the process.
    I tried to create Source System, the initial screen has fields - Logical System, Source System & Type and Release.
    I have created the Logical system through Tcode SALE
    How to create Type and Release - for DB Oracle 9i & MSSQL 2000/2005.
    Does OS version of DB & BW also matters ? Do we need to have that information as well.
    Thanks & Regards
    Rupali S

    Hi,
    I am getting following error when I try to do TNSping
    C:\Documents and Settings\bitadm>tnsping HRPRN815
    TNS Ping Utility for 64-bit Windows: Version 10.2.0.2.0 - Production on 06-AUG-2
    008 16:40:58
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    E:\usr\sap\BIT\SYS\profile\oracle\sqlnet.ora
    TNS-03505: Failed to resolve name
    This is my TNSnames.ora file content
    BIT.WORLD=
      (DESCRIPTION =
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = poinmssapdev)
              (PORT = 1527)
        (CONNECT_DATA =
           (SID = BIT)
           (GLOBAL_NAME = BIT.WORLD)
    HRPRN815.VSHODC.LNTINFOTECH.COM =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 172.25.8.79)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = HRPRN815)
    Do we need to manually update Listener.ora as well so as to function.
    All this is not letting me create Source system.
    Gives me following errors
    TNS-12514 TNS:listener could not resolve SERVICE_NAME given in connect
    descriptor
    Cause: The SERVICE_NAME in the CONNECT_DATA was not found in the
    listener's tables.
    Action: Check to make sure that the SERVICE_NAME specified is correct.
    TNS-12541 TNS:no listener
    Cause: The connection request could not be completed because the listener is
    not running.
    Action: Ensure that the supplied destination address matches one of the
    addresses used by the listener. Compare the TNSNAMES.ORA entry with the
    appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to go by
    way of an Interchange). Start the listener on the remote machine.
    Thanks & Regards
    Rupali S

  • How to merge key field from external source system with SAP R/3 master

    Hi,
    In SAP BW 7.0 system, our scenario is Master Data for 0GL_ACCOUNT is coming from SAP R/3 alongwith the Transactional data records for standard FI cubes. Then, one more set of transaction data is coming from external source system, a flat file, into another custom DSO(ZDSO_FI), which also has this GL Account field.
    This flat file's GL account, GL_file, has to be basically mapped/merged with the standard 0GL_ACCOUNT field so that at the time of loading the transactional data for custom DSO, ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), system automatically refers to the 0GL_ACCOUNT master data to load these incoming transactional values, from the external flat file system. How can this be done?
    To illustrate the scenario, say I have 5 records in 0GL_ACCOUNT, loaded from SAP R/3 into SAP BW-
    0GL_ACCOUNT      Short Description     Source System
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    Now suppose if my flat file has following sample transactional data, to be uploaded in SAP BW  ZDSO_FI-
    GL_file      Key Figure1
    400          789
    200          567
    Then after uploading this transactional data in ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), the 0GL_ACCOUNT data becomes as below-
    0GL_ACCOUNT      Short Description     Source System
    400
    200
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    So note that the system did not refer the incoming GL's from flat file, although the field is mapped to 0GL_ACCOUNT in transformation, to the already available master data. Rather created 2 new data rows for the GL accounts coming from external system. Because of this I am not able to perform the calculations common from standard FI cube and ZDSO_FI, with GL account as key field. I need to synchronise these data values based on GL Account to proceed with further calculation and am badly stuck.
    Request if anyone can please throw some light on how to achieve this seemingly simple requirement?
    Thanks in advance.
    Nirmit

    Better post this thread is in the [Enterprise Data Warehousing|Data Warehousing; forum.

  • What is the best way/quality of connecting my Mac Mini to an external HiFi system?

    Hello,
    I am using my Mac Mini for storing and playing music using iTunes.
    In terms of audio quality, what would be the best option for connecting the Mac Mini to my external HiFi system?
    1) Using an optical cable?
    2) Using a analog cable?
    3) Using a USB connected DAC? (maybe the best option but surely the most expensive)
    If the option 3 is only the good one, would suggest a DAC product?
    Thx for your help
    Best Regards,
    -- Jean-Baptiste

    The optical output is capable of doing 5.1 surround sound (as well as 2.1 or basic stereo) and is therefore more than capable of fully supporting lossless audio formats like AIFF, WAV, FLAC, Apple Lossless as well as all DVD audio formats. The optical (TOS-Link) interface is not capable of fully supporting the higher end audio standards supported by Blu-Ray discs.
    For full Blu-Ray support you would have to use a HDMI interface.
    So with regards to purely CD sourced material and even potentially DVD-A (DVD Audio discs), and SACD (Super Audio CD) it should be fine.
    Some anally retentive audio fanatics will say that potentially some of the signal can be lost over a TOS-Link optical connection and they would insist on having an audio interface to act as a dedicated DAC (Digital Audio Convertor) with direct links to the speakers. I would say ordinary humans will be more than happy with a lossless audio format being sent over an optical link which will definately be superior to AAC over a copper wired link.

  • Connect Non-SAP Oracle db (32bit) in sql 2005 (64 bit) using linked server

    Hi,
    I am connecting Oracle 10g database from SQL 2005 using linked server, in which i get the error
    "Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "L2ORACLE".
    OLE DB provider "MSDAORA" for linked server "L2ORACLE" returned message "Oracle client and networking components
    were not found. " (Microsoft SQL Server, Error: 7303)
    SAP Server with sql 2005 db is in 64 bit server / Windows 2003
    Non-SAP Oracle 10g is in 32 bit windows 2003 server.
    i have installed Oracle 64 bit client in the SAP Server and also copied the 64 bit version of dboraslib.dll to the DIR_LIBRARY path. I am able to view the oracle tables in the oracle client.
    But, when i create the linked server, it gives the above error.
    If i install 32 bit version of Oracle client in the SAP Server, i am able to create the linked server in the db level, but, it says "Work Process restarted, session terminated" message in the Z program in SAP.
    The same works in the test environment where both are 32 bit servers. problem is when SAP server is in 64 bit and non sap is in 32 bit.
    Please suggest.
    Thanks and Regards,
    Nagu

    "Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "L2ORACLE".
    OLE DB provider "MSDAORA" for linked server "L2ORACLE" returned message "Oracle client and networking components
    were not found. " (Microsoft SQL Server, Error: 7303)
    check the workprocess traces for errors (and/or SM21). It seems that the system is "not aware" that an Oracle client is installed.
    64bit programs can´t load 32bit libraries/DLLs that´s why the workprocess dumps when you use the 32bit client.
    Markus

  • I have 2 yr old Iphone 4 and have not backed up or connected to Itunes or backed up for 1 yr. I have new computer and want to connect and copy Itunes folder from external HD to new computer and install Itunes. What steps should I take and what precautions

    I have a 2 yr old Iphone 4 and have not backed up or connected to Itunes up for 1 yr. I have new Windows 7 computer and want to connect and copy Itunes backed up folder from external HD (a year ago) to new computer and install new Itunes and new IOS. What steps should I take and what precautions? I don't want to lose any data on my phone such as music, photos, contacts, notes, texts etc, nor lose music from prior backed up Itune folder. Apps should be OK from app store? Thanks for any help.

    Hello CosK,
    The following guide can step you through the process of using a backup of your iPhone 5 to transfer your content to your iPhone 5s.
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Should one or both of your phones fail to appear in iTunes, the following article provides troublesooting steps that can assist.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    Allen

  • Unable to connect to p2p multicast stream from external access

    Hi
    I have been tasked with creating a stream using p2p multicast.
    I have been able to create and connect to the stream locally, however when I try to connect from a external connection I get a message from flash player
    "We are unable to connect to the network. We apologize for the inconvenience"
    On looking at the logs for the external connection I find that the session is pending, where as on when I connect locally the session is pending then connect session and streams.
    I have looked at some of the posting here and not found the answer.
    Host machine server 2003 is on host.domain.local
    External ip address has a domain name pointing to it
    Delivery html page
    Local server is in DMZ for debugging, this should rule out any firewall issues
    Flash Player 10.3
    I have set connections to allow all on FMS and Apache and have no problems accessing web server, FMS admin and I can stream vod's without any problems.
    In order to deliver stream I am using a html page, which is setup using flashplayer setup this generates the stream information to be pasted into the html and works locally. When I setup using external domain name I get the above message.
    Multicast Config Tool is set to external domain name
    On searching for an answer I have come across cross domains, could this be what the issue is, if not any suggestions?

    No, the files are not on windows or on HD. I moved the files i.e. cut and paste from the HD connected on Win and directly copied them to MAC as the HD was not readable on MAC.
    I notice that the files and folders were there but they were grayed out, but when I copied them to new folder on MAC and did UNDO they disappeared.
    I assume they are somewhere on the MAC drive as I haven't moved anything to Trash and not yet emptied the trash once since I got this MAC.

  • Error from External Tax system in CRM Quotation

    Hi,
    We have a Quotation in CRM, as soon as we click on 'Edit' button in WebUI, We get error "External Tax System: An error occurred while calculating tax. This may be an incorrect use of the calculation engine. Please contact your software vendor. Error trying to calculate tax on transaction."
    Ship-to Party is from Bermuda and the Sales Org in Quotation is having country USA. We checked with the team working on VERTEX server (Tax system for USA) as per them the error log getting generated in VERTEX is because country key for Ship-to is not getting passed to VERTEX and the error is sent back to CRM.
    While investigating we found that the error is coming into CRM (lt_messages) via
    FM call CALL FUNCTION 'SPC_GET_PROTOCOL' DESTINATION gv_vmc which is a call to IPC (path: Function Module: PRC_PD_ITEM_SHOW > PRC_INT_ITEM_SHOW > PERFORM get_pricing_document_info > perform get_protocol > CALL FUNCTION 'SPC_GET_PROTOCOL' DESTINATION gv_vmc)
    We are unable to trace how the error is coming from this FM. Can anyone help us to find out.
    Regards,
    Sameer

    Hi Christophe,
    Thank you for your reply.
    We have Quotations in which Tax is working properly. RFC settings are maintained properly.
    In fact we have a case where Sales Org in Quotation is having country US and Ship-to Party having country Thailand which hasn't given any error and ERP Order is also created from it and now we have another Quote with similar scenario which is also not having the tax error, but to proceed with Order creation when we click on Edit, we get that Tax error I mentioned above.
    I'm not sure if any changes at IPC is causing this bacause when I tried to Edit both the Quotes, the same FM SPC_GET_PROTOCOL receives error in one case but not in other. Behavior of CRM_COND_COM_BADI impl. is also similar in both the cases.
    Regards,
    Sameer

  • Need connectivity of SAP Oracle with Third Party tool with dsn

    Hi Friends,
    We need to access SAP's Oracle database with third party tool with the help of dsn creation. For that we need to create 2 staging tables and need a new segment for these tables. Our data will move from SAP transactions to these 2 tables and we want to fetch this data via dsn into another third party S/W.
    I am unaware of such kind of working, can you please help me how to create new segment and how to create dsn for accessing tables in this segment.
    Our requirement is as follow.
    The staging tables are required in the SAP database with user name and password. The user should have all access to the staging table only.
    Requesting your kind help on this issue. Please suggest for further processing of activity.
    Rgds, Krishan Raheja.

    Hi,
    Common way to integrate SAP (database) with third party Application is to use and implement SAP Connector (Java or .Net).
    Using this, you can fetch the data from SAP database to use it in Third party application.
    As per my understanding the method you mentioned, will void the SAP database license term.
    So Please check before doing such configuraiton. Also that method is NOT recommended..
    Regards.
    Rajesh Narkhede

  • How to connect to remote oracle system from webDynpro

    HI Experts,
       i am trying to call some remote oracle stored procedures in webdynpro using jdbc.
    i am using "jdbc:oracle:thin" driver for connecting to
    oracle database.when i am running this one as java standalone application it is working fine.but when i am
    using this in webdynpro server is getting restarted.
    what might be the problem
    or is there is another way for this.
    thanks in advance
    With Regds
    Naidu

    Hi,
    It seems the flwg thread has the solution for you:
    Oracle as Back-end with Web Dynpro
    Regards
    Srinivasan T

  • Connect to SAP StreamWork directly from SDN

    If you're logged in to SDN, you can now easily go to SAP StreamWork with no additional login required. Use SAP StreamWork and its built-in catalog of coordination, decision, and analysis tools whenever you want to invite other SDN users to a goal-focused activity, like making a decision or planning a project or event.
    [Go to SAP StreamWork now|https://streamwork.com/?saml_idp_id=accounts.sap.com]

    Thank you, Keith, for your reply.
    What params should I insert into URL?
    In install guide of SAP Content Server I found only one test URL (http://MyHost:MyPort/ContentServer/ContentServer.dll?serverInfo)
    but it returns only server info.

  • IDOC with extension from external ECC system

    Hello experts.
    I have a scenario where I need to receive an IDOC with extenstion from an external system.
    how can I define the xsd of that IDOC in my PI system?
    will I need to receive an xsd file from the external system and import it as an external defenition?
    how is it done? (this 3rd party doesn't have a PI system, so they can't export XSD like me)
    another option is to build a similar IDOC with extenstion in our SLD, and import it into the PI system... but it seems  a bit problematic.
    I'll be happy to hear suggestions from people who had to implement a similar scenario.
    thanks,
    Imanuel Rahamim.

    Hi,
    Three questions:
    1. how your external system will send to you the data: by an Idoc-XML file ? or by directly an IDoc (so with an ALE config) ?
    if it's ALE config, then you should have also a connexion to this Ext. ECC system, for instance to return back an acknowledgment. And so, if you have a connexion, you can import this IDoc into PI.
    If it's a file, they have to provide to you an XSD file, that you can use as External Def, and create a Service Interface. So it will be not really like an IDoc, but like all other message which look like an idoc.
    2.  with this ext. ECC system, do you have a logon connexion ?
    if yes, you can import this IDoc into PI.
    3. Do you have to send the same IDoc to your own ECC system ?
    if yes, that means the extension has to be developped in also in your own ECC. In that case, you will be able to import it PI and use it for source and target.
    > how is it done? (this 3rd party doesn't have a PI system, so they can't export XSD like me)
    you can find on SDN, some program to generate an XSD from a DDIC table/structure, but for complete IDoc, I don't know.
    Anyway, if it's really an ECC system, the better way to exchange data, it's to do an ALE config from their system to your PI, and no issue to import the IDoc def in PI.
    regards.
    Mickael

  • Connecting to an Solaris machine from our local system [windows]

    Unable to connect using the below program - can any one please help me
    public class J2SSHExample
         public static void main(String[] args)
              try
              PasswordAuthenticationClient pwd = new PasswordAuthenticationClient();
              SshConnectionProperties properties = new SshConnectionProperties();
              BufferedReader bin = new BufferedReader(new InputStreamReader(System.in));
              AuthenticationProtocolClient authentication = new AuthenticationProtocolClient();
              ConnectionProtocol connection = new ConnectionProtocol();
              SshClient ssh = new SshClient();
              System.out.print("Host to connect: ");
              String hostname = bin.readLine();
              ssh.connect(hostname);
              System.out.print("Username: ");
    String username = bin.readLine();
    pwd.setUsername(username);
         System.out.print("Password: ");
    String password = bin.readLine();
    pwd.setPassword(password);
    int result = ssh.authenticate(pwd);
              if(result==AuthenticationProtocolState.COMPLETE)
    System.out.println("The authentication is complete");
              if(result==AuthenticationProtocolState.FAILED)
                        System.out.println("The authentication failed");
    if(result==AuthenticationProtocolState.PARTIAL)
                   System.out.println("The authentication succeeded but another"+ "authentication is required");
                   if (authentication != null)
    List l= authentication.getAvailableAuths(username,connection.getServiceName());
              catch (Exception e)
                   System.out.println(e);
    output:
    The authentication failed

    I was able to connect using the below program - problem is this is an sshfactory is an licensed version
    import com.jscape.inet.ssh.*;
    import java.io.*;
    public class SshExample implements SshListener {
    // state of SSH connection
    private boolean connected = false;
    * Creates a new SshExample instance.
    public SshExample() {
    String hostname = null;
    String username = null;
    String password = null;
    Ssh ssh = null;
    try {
    BufferedReader bin =
    new BufferedReader(new InputStreamReader(System.in));
    System.out.print("Enter SSH hostname: ");
    hostname = bin.readLine();
    System.out.print("Enter SSH username: ");
    username = bin.readLine();
    System.out.print("Enter SSH password: ");
    password = bin.readLine();
    // create new Ssh instance
    ssh = new Ssh(hostname, username, password);
    // register to capture events
    ssh.addSshListener(this);
    System.out.println("Connecting please wait...");

  • Connection to SAP R/3 or to particular module..n how??

    i m new to Enterprise Portal and m bit confused..  i knw that EP is used to connect to SAP system thru Single Sign ON....
    for my project we will be using ESS and MSS buisness package.
    Thus we need to connect our Portal to nly  SAP R/3 sytem...or v connect to particular module...considering my project i need to connect to SAP HR module.. so how do i configure my portal to only SAP HR module..or creating only SAP R/3 system..i.e the way we normally connect to SAP R/3 from Portal content studio will do..??
    ...if any one could explain it conceptually will surely b awarded POINTS..
    Edited by: jigar oza on Jul 29, 2008 10:46 AM

    Hi Jigar,
    as you know about SSO it is nice, SSO is used to connect to backend (System) you can say R/3. Where as system contains many modules.
    Create one system in portal which will connect to your desired backend using SSO. Once it succeeds.
    Then create an SAP transaction iview from iview template which will point to this created sytem.
    You must be having some t-code to directly access your module in the R/3.
    You have to enter this t-code in the Transaction code property of the iview. After creating this iview and proper SSO settings, when you pre-view this iView it will directly open the first screen of your module/application in the backend system.
    let me know if you face any issues in this.
    also see my postings in following threads:-
    Re: How to Connect Backend R/3 system to EP 2004S
    Re: How to configure SAP R3 system to Portal
    Regards,
    Yogesh...

  • Unable to connect to SAP business one through web service

    Hi
    I'm facing some problem with my web service. I tried to connect to SAP but it gave me an "System.Exception"
    Public Function ConnectedToDatabase() As Boolean
    Try
    Dim oCompany as SAPbobsCOM.Company
    oCompany = New SAPbobsCOM.Company
    Dim lRetCode, lErrCode As Long
    Dim sErrMsg As String
    sErrMsg = ""
    Session("g_server") = System.Configuration.ConfigurationManager.AppSettings("Server")
    Session("g_companyDB") = System.Configuration.ConfigurationManager.AppSettings("CompanyDB")
    Session("g_DBUserName") = System.Configuration.ConfigurationManager.AppSettings("DbUsername")
    Session("g_DBPassword") = System.Configuration.ConfigurationManager.AppSettings("DbPassword")
    Session("g_Username") = System.Configuration.ConfigurationManager.AppSettings("Username")
    Session("g_Password") = System.Configuration.ConfigurationManager.AppSettings("Password")
    oCompany.Server = Session("g_server")
    oCompany.CompanyDB = Session("g_companyDB")
    oCompany.DbUserName = Session("g_DBUSerName")
    oCompany.DbPassword = Session("g_DBPassword")
    oCompany.UserName = Session("g_Username")
    oCompany.Password = Session("g_Password")
    oCompany.language = SAPbobsCOM.BoSuppLangs.ln_English
    lRetCode = oCompany.Connect()
    When the codes runs to the line IRetCode = oCompany.Connect(), it will return an error code -8006. Those session got the correct information from the web.config. Then exception is throw in.
    I try restarting my com and restarting my suite manager. Usually this will solve the problem. However, it won't for this time. I hope will receive some solutions for my problem. Thanks for your time.

    Hi,
    Try To Set the db server type to MS SQL 2005 (value 4)
    oCompany.DbServerType = BoDataServerTypes.dst_MSSQL2005
    or
    oCompany.DbServerType = 4
    and
    oCompany.UseTrusted = False
    Regards,
    János

Maybe you are looking for