DI Server with SQL Server 2008

Hello.
In the company where I work we develop an application that uses B1WS.
In the development environment had the following characteristics:
SAP Business One 2007 SP01, PL 09
SQL Server 2005 Developer Edition
Windows XP Professional SP 3
SAP Business One Web Services 1.0
At the time we applied to the deploying the SAP Business One version 8.8, but I had a serious problem. The test environment has the following characteristics:
SQL Server 2008 Enterprise Edition
    SAP Busines One 8.8 * PL 10
Windows Server 2008
The problem is that when trying to connect to the DI Server generates the following messages:
The TAO NT Naming Service has stopped. (WithOut DBUser and DBPassword)
Unable to access SBO-Common database Login (With DBUser and DBPassword)
I tested the connection directly to the DI Server disponbile by example in the SDK and it generates the same error. For the SAP interface is connected correctly.
DI Server allows connect with SQL Server 2008?
Messagge:
<DatabaseServer>mv-05910a0046</DatabaseServer>
<DatabaseName>Prueba</DatabaseName>
<DatabaseType>dst_MSSQL2008</DatabaseType>
<DatabaseUsername>sa</DatabaseUsername>
<DatabasePassword>12345</DatabasePassword>
<CompanyUsername>manager</CompanyUsername>
<CompanyPassword>12345</CompanyPassword>
<Language>ln_English</Language>
<LicenseServer>mv-05910a0046:30000</LicenseServer>
Thanks
Edited by: Andres Naranjo on May 14, 2010 12:47 AM
Edited by: Andres Naranjo on May 14, 2010 3:56 PM
Edited by: Andres Naranjo on May 14, 2010 3:58 PM

Had the same error
'The TAO NT Naming Service has stopped.'
Was using the external IP address for the LicenceServer - which is on the same server as SAP DIserver and B1WS.
I changed to using localhost:30000 and that solved the issue.
I suspect if I had used the internal IP it would have worked as well (ie the one you get from ipconfig) but as it works I'm not going to test that.
HTH

Similar Messages

  • Connecting BI Web Server with SQL Server Express / Visual Studio Express for Report Development

    Hi,
    My company is using the Report Builder 3.0 to build the BI Reports ( I guess based on SQL Server 2008 R2). Our software vendor has provided us the web URL to access the BI Server. I want to generate the BI Reports with SQL Server Express or  Visual
    Studio Express instead of Report Builder 3.0. Need some guidance in this regard.
    regards, BI.Developer.

    Hi,
    Based on my research, if we want to open the report from report server to Business Intelligence Development Studio, we should download the report from report manager, then add this item in Business Intelligence Development Studio. For more details, please
    see the following steps:
    Type the URL in IE browser to access the repot manager.
    Browse to the RDL file folder or location.
    Hover over the report, and click the drop-down arrow near the RDL file.
    Click on download button, the download window will pop up now. Then save the rdl file.
    Click Manage option in the drop-down list, make a note of its Data Source Connection string.
    Create a Report Server Project in Business Intelligence Development Studio.
    Right-click the Reports folder to open the Add Existing Item dialog box, navigate to the location where you saved the .rdl file for the report, and then click Add.
    Right-click the Data Source to verify the connection string is correct.
    Besides, please make sure that software vendor had assigned ‘View reports’, ’Manage reports’, ‘Manage folder’ and ‘Manage data sources’ tasks for your account, so that you can download the report and view the data source.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Installing Oracle 8i on server with SQL Server 2000

    We have One Server (HP with: 4 processors XEON, 100 GB HD Raid 5, 8GB RAM). And this server has SQL Server 2000 running with some databases. We NEED to install ORACLE 8i for a product that they use that DB. IS THERE a problem to install and use ORACLE 8i on the same server that has SQL server 2000? Do you know any issue related to this "experience"?

    You CAN run both at the same time. I have done this on a few boxes without issue. MS tells you not to, but I think it's because they don't want you running Oracle. Their comment was 'we don't recommend it.'
    Remember that you will have TCP 1521 tied up with Oracle (by default) and TCP 1433 tied up with SQL Server (by default). If you have installation issues, it's not because you are running two separate DBs. In this case you have a different issue. If you can't run both successfully, simultaneously then you have another issue altogether not related to the software. You should be fine as long as you are not sharing TCP ports.
    Several years ago I was responsible for an HP Netserver LX Pro that ran Oracle RDMBS 7.3.2 and (probably 4.2 or 6.0) SQL Server and had no issues. I have been running both RDBMSs on the same box since even though the boxes have changed - HP/DELL - didn't matter.
    Scott Yando

  • Applying Windows Server fixes to a windows server 2012 R2 server with sql server 2012 with an AG

    I need to apply windows updates and I want to understand the proper method since I have 2 nodes using an AG. I see a distinction made to the process for sql server updates versus os updates but os updates seem to point to a cross-cluster migration document.
    But that document seems to be talking about moving from windows server 2008 to windows 2012. Can't I just follow the method for sql server rolling upgrades?

    Hi David,
    According to your description, you want to apply Windows updates in availability group. I recommend you to manually apply the updates instead of using windows updates. Do you want to apply SQL Server updates or operating system-related updates?
    If you just want to update SQL Server, you can follow the rolling update process. For how to follow rolling update process to update SQL Server instance in availability group, please refer to the article:
    https://msdn.microsoft.com/en-us/library/dn178483(v=sql.110).aspx.
    However, if you want to apply operating system-related updates, please download the
    white paper and follow the instructions in it.
    Regards,
    Michelle Li

  • No suitable driver with SQL Server Driver

    Hi,
    i'm making a jsp page that it use a JDBC Connection to a SQL Server with SQL Server 2000 Driver for JDBC.
    I put in JDeveloper Project Settings, Configurations\Development\Libraries, the reference to msbase.jar, msutil.jar and mssqlserver.jar. Alse i put the reference to Oracle JDBC libraries.
    The code in jsp page to reference the driver, obtain the DataSource and get the connection is the following:
    java.sql.DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
    javax.naming.Context ic = new javax.naming.InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) ic.lookup("jdbc/SQLServerDS");
    java.sql.Connection con = ds.getConnection();
    I defined the DataSource in data-sources.xml, wich look like:
    <data-source class="com.evermind.sql.DriverManagerDataSource" location="jdbc/SQLServerCoreDS" password="<pass>" username="<user>" url="jdbc:microsoft:sqlserver://<server>:1433" xa-location="jdbc/xa/SQLServerXADS" inactivity-timeout="30" connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" name="SQLServerDS" ejb-location="jdbc/SQLServerDS">
    <property name="DatabaseName" value="Northwind"/>
    <property name="SelectMethod" value="direct"/>
    </data-source>
    This compile ok, but when i run the page appears the following error (SQLException):
    No suitable driver
    After looking so much, i don't find the cause of the problem.
    Can anyone helpme?
    Thanks
    Javier S.

    Hi Javier,
    Although I don't work with JDeveloper, as far as I know, for OC4J, I believe you need to put the relevant JAR files in the "j2ee/home/lib" subdirectory of the OC4J installation. Unfortunately, since I don't work with JDeveloper, I can't tell you where that would be -- sorry :-(
    I suggest that you try asking also in the JDeveloper forum (in case you haven't already :-)
    Hope this helps you.
    Good Luck,
    Avi.

  • Hardware Requirements for a SCCM 2012 CAS with SQL Server Remote

    The hardware requirements for a CAS server with SQL Server Enterprise locally installed are:
    16 cores (Intel Xeon L5520 or comparable CPU)
    64 GB of RAM
    1.5 TB of disk space for the operating system, Configuration Manager, SQL Server, and all database files.
    Does anyone know what the hardware requirements are if SQL Server Enterprise is remote from the CAS server?  It's not listed.  -Shane

    Even though I am going to be strung up for even saying this, I do agree there is a use for a CAS outside of 100,000 users.  If you do indeed have distinct admins managing their own images and apps in remote
    locations then I see the benefit of a CAS.  A remote ConfigMgr console connecting to a primary site would perform poorly.  Admin A at the primary site would not experience any issues but Admin B would be in for a lot of work and waiting.  Any
    time Admin B needed to add an app or image it would have to be copied up to the remote primary site and then distributed back down.  This is not the best scenario.
    There are scenarios in company merger situations (and others I am sure) where the management of both locations has not been consolidated down to one location yet and is not going to be done as part of the deployment or upgrade.  If you had a 2007 environment
    it is going to be very hard to convince the admin at the remote location that this upgrade is going to be a good thing for him/her.  There is an option for the remote admin to RDP into a server in the primary site but the image and apps still need
    to be distributed down to the remote location.  During testing this can be very time consuming. 
    I do agree that adding a CAS adds additional complexity but in some cases such as the one I described it is the right decision. 
    Thank you for the reply. And i totally agree that in some cases a design like that is a necessary evil (but not by our personal wants). 
    We had that design with 2007 (implemented before my time), and as you predicted EU admins complained about difficulty using the console RDP-ed into a box close to the primary site. The bandwidth to and from different regions is out of scope for me so I do what
    I can with what I have. We too will be moving forward with a CAS hierarchy. 
    Administratively the other IT depts in other regions operate on their own. I dont handle any of the EU computers on a day to day basis whatsoever, etc. We're not merging but our IT shops operate with near independence. 

  • Can I use Same ADF application with SQL server 2008 as well as Oracle 11g?

    Hi ,
    I have created a application in ADF(Using J-Developer). I used SQL server 2008 as Database Provider. I have same Database in Oracle 11g. I want to connect my appliction to Oracle 11g database. I changed connection and connected to Oracle. But, when I tried to save or delete any data from front end, it gave error. Any solution on this?
    Thanks

    Hi,
    I have created Entity object and View object for every page in my application. That objects created from sql server database. Application is working fine with sql server. But when connected with Oracle 11g. It is giving following errors:
    On clicking search control it gives: ORA 00923 From keyword not found where expected.
    On searching with perticular field it gives: ORA-01722: Invalid Number.
    On Clicking save buttonit gives: ORA-00933: SQL command not properly ended.
    These are error messages from IntegratedWebLogicServer-Log:
    java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <QueryCollection> <buildResultSet> [3929] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3947] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3948] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3949] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3950] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3951] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3952] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    <DCBindingContainer> <cacheException> [3953] * * * BindingContainer caching EXCEPTION:oracle.jbo.SQLStmtException
    <DCBindingContainer> <cacheException> [3954] java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
    java.lang.NullPointerException

  • Server 2008 with SQL server 2003 installation problem in SAP 8.8 in clint

    Hello Sir
    I want to install clint for SAP B1 8.8 and we have windows server 2008 with sql server 2005
    when i install the clint i got one error in DI API installation that licence server name and port number is not available.
    Please tell me the complete process to install 8.8. clint with which supporting software i have to install in clint machine.
    and what things i have to check in server for installation .
    Please kindly reply ASAP.
          Thanks
    Vaibhav Kothari

    Hi,
    every question / issue you should know, is descripted in the following manual, please read it and follow the installation instruction manual:
    https://websmp201.sap-ag.de/~sapidb/011000358700000150922010E.zip
    Regards Steffen

  • Installing Powerpivot for Sharepoint 2013 with SQL Server 2008 R2

    Hi,
    We are currently setting up a Sharepoint 2013 Enterprise farm with the backend database server being SQL Server 2008 R2 SP2 - my question is can you install  Powerpivot for Sharepoint 2013 in this configuration and if so what are the steps?
    Thanks in advance!

    Here is Microsoft's documentation to Configure Power Pivot for SharePoint 2013
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • ODBC function SQLDriverConnect() crashes with SQL Server 2008 R2

    When calling the SQLDriverConnect() function from a 64-bit process and selecting a system DSN with a SQL Server Native Client 10.0 ODBC driver with SQL Server 2008 R2 SP3, then this call crashes here:
         sqlncli10.dll!SNIMemRegion::Pop()  + 0x77 bytes    
         sqlncli10.dll!SNIPacketAllocateEx2()  + 0xa8 bytes    
         sqlncli10.dll!Np::ReadSync()  + 0x7e bytes    
         sqlncli10.dll!Ssl::HandshakeReadToken()  - 0x1b bytes    
         user32.dll!InternalDialogBox()  + 0x132 bytes    
         user32.dll!DialogBoxIndirectParamAorW()  + 0x56 bytes    
         user32.dll!DialogBoxParamW()  + 0x85 bytes    
         sqlncli10.dll!SQLDriverConnectW()  + 0x34f23 bytes    
         odbc32.dll!SQLInternalDriverConnectW()  + 0x17c bytes    
         odbc32.dll!SQLDriverConnectW()  + 0xa15b bytes
    Am I calling SQLDriverConnect() correctly (see below)? Or is this a bug in the 64-bit version of the ODBC driver?
    In the 32-bit version, everything works fine.
    Here is a test program:
    int _tmain(int argc, _TCHAR* argv[])
    SQLHENV hEnv = NULL;
    SQLHDBC hDbc = NULL;
    SQLRETURN ret = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &hEnv);
    assert(ret == SQL_SUCCESS || ret == SQL_SUCCESS_WITH_INFO);
    ret = SQLSetEnvAttr(hEnv, SQL_ATTR_ODBC_VERSION, (SQLPOINTER) SQL_OV_ODBC3, 0);
    if (ret != SQL_SUCCESS && ret != SQL_SUCCESS_WITH_INFO)
    fprintf(stderr, "SQLSetEnvAttr failed\r\n");
    return EXIT_FAILURE;
    ret = SQLAllocHandle(SQL_HANDLE_DBC, hEnv, &hDbc);
    assert(ret == SQL_SUCCESS || ret == SQL_SUCCESS_WITH_INFO);
    SQLTCHAR szConnection[2048];
    SQLSMALLINT cbChars;
    ret = SQLDriverConnect(hDbc, ::GetDesktopWindow(), (SQLTCHAR*) _T(""), SQL_NTS,
    szConnection, _countof(szConnection)-1, &cbChars, SQL_DRIVER_PROMPT);
    if (ret != SQL_SUCCESS && ret != SQL_SUCCESS_WITH_INFO && ret != SQL_NO_DATA)
    fprintf(stderr, "SQLDriverConnect failed\r\n");
    return EXIT_FAILURE;
    else
    fprintf(stdout, "Success\r\n");
    return 0;
    The stdafx.h contains the following includes:
    #include "targetver.h"
    #include <stdio.h>
    #include <tchar.h>
    #include <Windows.h>
    #include <sql.h>
    #include <sqlext.h>
    #include <assert.h>
    Steps to reproduce the crash: compile program with Visual Studio 2010 as 64-bit console application; run it and select a 64-bit SQL Server DSN.
    If the crash does not occur, try using the "AllocationPreference" registry entry set to 0x100000 (see https://msdn.microsoft.com/en-us/library/windows/hardware/Dn613975%28v=vs.85%29.aspx for details); don't forget to reboot Windows. This registry
    helps to find 64-bit portability issues.

    Hi T.holt,
    Personally, I don’t believe SQL 2008 R2 with ADMT 3.2 is supported.  From the guidelines of install the Active Directory Migration Tool (ADMT), ADMT v3.2 requires a preconfigured instance of SQL Server for its underlying data store. We
    should use SQL Server Express and install ADMT v3.2 on a member server. ADMT installation enforces the following service pack requirements:
    • SQL Server 2005 Express must be installed with Service Pack 3 (SP3) or later.
    • SQL Server 2008 Express must be installed with Service Pack 1 (SP1) or later.
    If you use full versions of SQL Server 2005 or SQL Server 2008. In this case, you need to install and run the ADMT console on a remote computer, and you can run multiple ADMT consoles on different remote computers. If
    you use a full version of SQL Server, ADMT installation does not enforce any service pack requirements.
    For more information about installing ADMT in the target domain, you can review the following article.http://technet.microsoft.com/en-us/library/cc974370(v=ws.10).aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • DeadLocks on Query Notifications with SQL Server 2008 SP3

    Hello,
    according to this article https://support.microsoft.com/kb/975090 the issue with deadlocks on query notifications should be fixed with SQL Server 2008 SP3 (10.0.5500.0). But we still get deadlocks in the following manner:
    <resource-list>
    <keylock hobtid="72057598393909248" dbid="5" objectname="MyDB.sys.query_notification_1411013420" indexname="cidx" id="lock1731c1f00" mode="RangeX-X" associatedObjectId="72057598393909248">
    <owner-list>
    <owner id="process573dc8" mode="RangeX-X"/>
    </owner-list>
    <waiter-list>
    <waiter id="process58ddc8" mode="RangeS-U" requestType="wait"/>
    </waiter-list>
    </keylock>
    <keylock hobtid="72057598372872192" dbid="5" objectname="MyDB.sys.query_notification_253437289" indexname="cidx" id="lock800c8780" mode="RangeS-U" associatedObjectId="72057598372872192">
    <owner-list>
    <owner id="process58ddc8" mode="RangeS-U"/>
    </owner-list>
    <waiter-list>
    <waiter id="process573dc8" mode="RangeS-U" requestType="wait"/>
    </waiter-list>
    </keylock>
    </resource-list>
    Is there any need to install another fix?
    Thanks in Advance!

    Hello,
    SQL Server 2008 SP4 and all cumulative updates of SP3 do not have fixes related to deadlocks.
    Maybe the following workarounds and solutions can help in your scenario.
    http://stackoverflow.com/questions/3707137/understanding-deadlocks-with-sql-server-query-notifications
    Deadlock Prevention. In case you need to lock multiple conversation groups in a transaction, you need to take the same order to lock the different conversation groups in all transactions, otherwise you will have a deadlock issues.
    Source:
    http://blogs.msdn.com/b/kangmo/archive/2008/12/17/a-brief-guide-on-sql-server-service-broker.aspx
    Try to may transactions more simple and shorter.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • SAP BOBJ connection with SQL server 2008

    HI Gurus
    I want to install bobj server on a server that already have SQL server 2008 installed on it, I have few confusions as this is my first time installation, I hope you can help me.
    1. Since SQL server is installed on the same machine where I have to install bobj, do I need to create an ODBC connection. Note that O/s is windows server 2008.
    2. What kind of other softwares or tools do I need to istall on the server to connect bobj server to sql server in order to crate universe on sql database, for example, Microsoft IIS and ASP.NET, .NET frame work etc etc or are these installed by default automatically when sql server or bobj server installed on the machine.
    3. is there any checklist I need to go through before I start with the installation of bobj server.
    4. Last but not the least but very important, does anyone has step by step guid with screen shot to thjis installation connectivity.
    I would appreciate your feedback and respoce.
    Regards.

    > what do you exactly mean my set---next next and finish, I think if eveything is setup already such as database server, app server, dev qa and prod and sizing , users etc etc then i guess installing bobj is pretty simple
    > , all i need is a odbc connection to set up, i am not sure what kind of problems should i be anticipating.
    Read the installation guide - and figure yourself if you consider it "easy".
    > Also I am not talking about admin part, universe design and report development ,its totally seperate issue, I was just concerned about installing a bobj tool on the server and to connect it to sql server.
    > Do you have any thoughts on this, would appreciate
    As said - read the installation guides
    There's a reason why they are there and why they are so big.
    All I can say that it is not as easy as doubleclicking a "setup.exe", pres "next", "next" and "finish".
    Did you check the guides?
    Markus

  • Vb6,adodb with sql server 2008

    hi for i am new to vb6 with sql server 2008. I have managed to create database named : Tuscan77 in project folder with all the necessary tables with primary and foreign keys in tables. I have done the same project in vb6 with adodb with ms access and i have
    finished it. But now based on my boss orders i have to connect vb6 with adodb with sql server 2008.
    Now below is my code in mdi parent form in vb6 which i used to connect to database in access.:
    Dim i As Integer
    Dim AccessConnect As String
    Dim dBOOL As Boolean
    Dim dMstr As String
    If (Left(App.Path, 1) = "\") Then
    dMstr = Dir(App.Path & "tuscanDB.mdb")
    Else
    dMstr = Dir(App.Path & "\tuscanDB.mdb")
    End If
    dBOOL = IIf(dMstr = "", False, True)
    If (dBOOL) Then
    AccessConnect = "Driver={Microsoft Access Driver (*.mdb)};" & _
    "Dbq=tuscanDB.mdb;" & _
    "DefaultDir=" & App.Path & ";" & _
    "Uid=Admin;Pwd=;"
    If (adoDatabase.State <> 0) Then
    adoDatabase.Close
    End If
    adoDatabase.ConnectionString = AccessConnect
    adoDatabase.Open
    Else
    Dim mPath As String
    CommonDialog1.CancelError = True
    CommonDialog1.Flags = cdlOFNHideReadOnly + cdlOFNPathMustExist + cdlOFNFileMustExist
    ' Set filters
    CommonDialog1.Filter = "All Files (*.*)|*.*|RTF (*.rtf)|*.rtf|Text Files (*.txt)|*.txt"
    ' Display the Save dialog box
    CommonDialog1.FileName = ""
    CommonDialog1.ShowOpen
    dMstr = Dir(CommonDialog1.FileName)
    mPath = Left(CommonDialog1.FileName, InStr(mPath, dMstr) - 2)
    If (CommonDialog1.CancelError = False) Then
    AccessConnect = "Driver={Microsoft Access Driver (*.mdb)};" & _
    "Dbq=" & dMstr & ";" & _
    "DefaultDir=" & mPath & ";" & _
    "Uid=Admin;Pwd=;"
    ' Connection Object Methods
    adoDatabase.ConnectionString = AccessConnect
    adoDatabase.Open
    End If
    End If
    where adoDatabase is name of my connection in vb6 with adodb with ms access.
    Now how i connect vb6,adodb with sql server 2008?
    Now my sql server 2008 details:
    Server type: Database Engine
    Server name:  NPD-4\SQLEXPRESS
    Authentication: Windows authentication
    User name: NPD-4\TUSCANO
    password:(it is left blank or not necessary)
    Database name: Tuscan77
    How to i connect my Database named Tuscan77 in vb6 and adodb.? Can anyone help me please.Any help or guidance would be greatly appreciated.

    Hi,
    It would be more appropriate to post all your vb6 related queries in the below forums.
    http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
    http://forums.codeguru.com/forumdisplay.php?4-Visual-Basic-6-0-Programming
    SRIRAM

  • Connection pooling with SQL Server 2008 and Tomcat 6.0

    Hello Everybody,
    I'm creating a web application using struts 2.0 , tomcat 6.0 and sql server 2008.
    Everything works fine but i'm unable to create connection pooling with sql server 2008.Please help me to solve this issue.
    Code for this is as foolows:
    in my META-INF/context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/spas" docBase="spas"
    debug="5" reloadable="true" crossContext="true">
    <Resource
    name="jdbc/spas_new"
    auth="Container"
    type="javax.sql.DataSource"
    maxActive="20"
    maxIdle="10"
    maxWait="-1"
    user="spas_user"
    password="spas123"
    driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
    url="jdbc:sqlserver://HGL-0053\dbo:1433;databaseName=spas_new;responseBuffering=adaptive;"/>
    </Context>
    in my web.xml
    <resource-ref>
    <description>SQL Server Datasource</description>
    <res-ref-name>jdbc/spas_new</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    and in my ConnectionThread.java file i've used:
    Context ctx = new InitialContext();
    if(ctx == null )
    throw new Exception("Sorry! No Context Exception");
    DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/spas_new");
    System.out.println("ds:"+ds);
    conn=ds.getConnection();
    Following is the exception:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user ''.)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    at login.V_SPAS_ConnectionThread.getConnection(V_SPAS_ConnectionThread.java:87)
    at org.apache.jsp.login.v_005fspas_005flogin_005fpage_jsp._jspService(v_005fspas_005flogin_005fpage_jsp.java:95)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
    at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
    at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1023)
    at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:345)
    at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at login.V_SPAS_SecurityCheckFilter.doFilter(V_SPAS_SecurityCheckFilter.java:108)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user ''.

    Hi Karthikeyan,
    This is not the issue at all. I can open the management studio by the same login id and password and also i can make the database jdbc connection from plain java file.
    It does not give me any problem by them.
    I'm unable to find the actual problem. May be i'm missing something in connection pooling.
    Please help.
    Regards
    Mina

Maybe you are looking for

  • Error message downloading photos.

    I have Photoshop Elements 8. I plug my camera memory card into a built in card reader in my Windows Vista computer. I choose Organizer to get photos. A message s ays not all of photos can be obtained from device. Only a few photos are downloaded. BUT

  • Movie proportions in Premier Pro CS 5.5

    I have been given video footage and while it is .mov format, I don't know it's native proportions or any information about it and I don't know how to find out so that I can import it properly into Premier Pro and have it scale properly. I have tried

  • User Defined Templates

    Hi, I would like to know how this can be done, Please help me out if you have any idea regarding templates. null

  • JNDI LDAP Response Parsing Problems

    Help! I am having problems dealing with LDAP responses using JNDI 1.2.2 with the LDAP SPI. It seems that the detinguished name is unparsable but as far as I can see the server output is fine. Any clues how to get around this? Have I done something wr

  • I want to upload pictures to Shutterfly. Can I do this directly from Lightroom 5?

    I want to upload pictures to a website that enables those who view the pictures to download them to their own computers. I have been using Shutterfly, but am open to using another if it's easier.  It doesn't appear I can do this directly from Lightro