Connecting 2004 thru 2005.

Hi All,
        Im not able to connect the 2004 Application using the 2005 SDK Using DIAPI.My code is
comp.Server =  "server name";          
comp.DbUserName ="sa";
comp.DbPassword =     "sa";
comp.UserName = "manager";
comp.Password =     " manager";
int ConRet =     comp.Connect();
     Here i have used the Dbusername and password since 2005 uses the same.My requirement is to connect both 2004 and 2005A using the 2005 SDK.
What i have to do to reach this requirement.
When i connect to 2005 its working fine.But when i connect 2004 using this 2005 im getting error as "Connection to sbo common has failed".
One more question is ther any possibility to find whether the user has installed 2004 or 2005 using the SDK.please any one of u help to solve this problem.Im struggling with this.
regards,
Ranjani Sampath

Regarding your second question: 
Recently I surfed in the registry and wrote a function
that gets information about the default DIAPI installed.
I haven't deployed this widely so I can't be 100% sure
it will work in all situations.
Therefore, I would be happy to receive everyone's
comments on this.
     Public Function SBOGetDiapiVersionInfo() As String
          Dim s, s1, s2, s3 As String
          Dim strCurrentVersion As String
          Dim strFilename As String
          Dim rk As RegistryKey
          rk = Registry.ClassesRoot.OpenSubKey("SAPbobsCOM.CompanyCurVer", True)
          strCurrentVersion = CType(rk.GetValue(""), String)
          rk = Registry.ClassesRoot.OpenSubKey(strCurrentVersion & "CLSID", True)
          s = CType(rk.GetValue(""), String)
          rk = Registry.ClassesRoot.OpenSubKey("CLSID" & s & "InprocServer32", True)
          strFilename = CType(rk.GetValue(""), String)
          s1 = "DI API Version : " & System.Diagnostics.FileVersionInfo.GetVersionInfo(strFilename).ProductVersion
          s2 = "DI API Date    : " & File.GetCreationTime(strFilename)
          s3 = "DI API File    : " & strFilename
          s = s1 & vbCrLf & s2 & vbCrLf & s3
          Return (s)
     End Function

Similar Messages

  • Connecting ATV to older 2004 or 2005 Panasonic model TH-42PX20 plasma TV

    I have a 2004 or 2005 Panasonic model TH-42PX20 plasma TV that I am trying to use with Apple TV ( 2nd generation). The TV has the HDMI port but cant access the HDMI input mode. The sequence of modes accessible from the TV/VIDEO button should be TV-Component 1- Component 2 - HDMI - Video 1 - Video 2 - Video 3, but I only get TV and Component 1. Any idea how I can access the HDMI input mode to access ATV screen?

    Check your TV settings, sometimes there is a feature to bypass certain inputs.

  • Problem when connecting sql server 2005 using SQL developer

    Hi,
    I installed Sql developer and I am trying to connect sql server 2005 using windows authentication. I had previously the SSO folder problem saying the path is missing in java.library.path. I copied the SSO folder into Sqldeveloper directory. I changed the settings under computer management->services and applications->sql server configuration manager->sql server 2005 network configuration ->protocols for sqlexpress->I enabled TCP/IP.
    Now I am getting an error saying "Failure-can not open user default database.Login Failed. Login failed for user ...".
    I am able to connect thru ODBC driver using windows authentication.
    Any help on this is highly appreciated.
    Thanks in advance,
    Lakshmi

    Hi Martin,
    Your solution has solved my problem too. Thanks for posting these workaround fixes :-)
    However, there seem to be a problem with datetime fields. The query:
    select getdate()
    returns something like: oracle.datetimestamp.@1aed4
    Is there a way to get around with this? Otherwise, using SQL Developer as a client for SQL Server doesn't serve the right purpose when we cannot access simple date fields :-)

  • Unable to connect SQL server 2005 databse with JSF applications !

    Hello guys!
    Help me out to connect SQL server 2005 Databse with JSF applications using JDBC-ODBC bridge. I'm working with Netbeans 6.1 IDE.
    I tried for the basic applications but instead got this error:
    "unable to deploy jdbc drivers to the <project>domain/lib"
    Please help me out with working sample codes that connects MS SQL server 2005 DB with JSF!!
    Thank you guys!

    1) don't use the bridge driver
    2) don't do database access from JSF
    3) learn how to use your application server
    4) learn how to use your IDE

  • Possible for AIR app connecting to SQL 2005 server

    Is it possible using Flex AIR to connection to SQL 2005
    server and fetch data ?
    If YES, whats step / process we need to follow please.
    We have the DB in sql 2005 and we want to develop desktop
    client and fetch the records from DB to AIR app.

    "kamaljeetsinghsaini" <[email protected]>
    wrote in message
    news:gmsmnc$non$[email protected]..
    > As we know that AIR supports SQlite only but in our case
    we want to fetch
    > data
    > from server that is using SQL 2005 as DB. So are you
    saying we can
    > directly
    > send the HTTP service to that server and fetch data from
    it ?
    You can send the HTTPService request to whatever back end
    technology you are
    currently using to access it. For example, if you are using
    ASP.net, you
    would still use ASP.net, but you would send back something
    that Flex
    understands, such as XML, instead of the HTML that the
    browser client
    understands.

  • Trouble connecting to SQL 2005

    I'm using Flex 3, trying to connect to SQL 2005 via ASP with IIS7.
    I was following the instructions listed [url=http://livedocs.adobe.com/flex/3/html/help.html?content=data_3.html]here [/url] under the section "Generating an ASP .NET database application", I attempted to Create an Application from Database, following all the steps as listed, but Flex is failing to connet to my database.
    I specified a name for the connection profile (I assume this can be anything - maybe this is my mistake), on the next screen under server name I put in the name of my local SQL 2005 Server on my machine: DAVE-PC\SQLEXPRESS, I put in the name of the database AIS1010 and user ID: sa and password 1234 (these all match the credentials on my local SQL Server) and I clicked the button 'Test connection', I get the message unable to connect to database.
    I looked at the logs under the detail button, and I can see that Flex is failing to find "DAVE-PC\SQLEXPRESS'.  What am I doing wrong here?
    Is there something specific I need to do in IIS?
    D.

    I should add:
    The first line of the error details reads:
    java.sql.SQLException: Unknown server host name 'DAVE-PC\SQLEXPRESS'.
    but this is the correct server name in SQL 2005.
    also
    In the Projects Flex Server Properties root folder is: C:\inetpub\wwwroot\
    root URL is: http://localhost/
    these locations do 'validate' in Flex.
    IIS Server is running and I'm able to run other applications through it using some other applications, both in Flex and in Unipaas..
    D

  • BI JDBC Connection For MSSQL 2005

    Hi All,
    I am trying to establish an BI JDBC Connection with MSSQL 2005 Server. I follow the steps exactly mentioned in the guide but i was not successfull. I doubt the problem could be with the adapters and again downloaded a JAR file for MSSQL 2005 from microsoft website and proceeded with steps. But no luck this time also.
    How do i make a successfull connection. Below is the result of a test page
    ==================================================
    Details:
    com.sap.ip.bi.sdk.exception.BIConnectionFailedException: Cannot open the connection at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:238) at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getConnection(JDBCModel.java:797) at com.sap.ip.bi.sdk.trialarea.connector.servlet.model.JDBCModel.getTables(JDBCModel.java:132) at com.sap.ip.bi.sdk.trialarea.connector.servlet.controller.Control2.doPost(Control2.java:23) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot open the connection at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:123) at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnectionFactory.createManagedConnection(JdbcManagedConnectionFactory.java:119) at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320) at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189) at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcConnectionFactory.getConnectionEx(JdbcConnectionFactory.java:233) ... 19 more Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Cannot connect to JDBC data source at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:394) at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connect(Connection.java:106) at com.sap.ip.bi.sdk.dac.connector.jdbc.JdbcManagedConnection.(JdbcManagedConnection.java:118) ... 23 more Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:140) at com.sap.ip.bi.sdk.dac.connector.jdbc.impl.Connection.connectDB(Connection.java:376) ... 25 more
    ====================================================
    regards,
    Anand

    Hi Anand,
    did you check the WIKI:
    <a href="https://wiki.sdn.sap.com/wiki/display/VC/JDBCConnectionSetup">https://wiki.sdn.sap.com/wiki/display/VC/JDBCConnectionSetup</a>
    Best Regards,
    Marcel

  • Files in archive and throws error when connected it thru Import mger

    Hi all,
    File which was in archive folder i copied it to desktop and connected it thru Import manager with same port and map.
    But i could not able to import this xml file because 1 field value was not mapped in the IM as this filed was look up to some other
    table and value not existed in dat table.
    How is possible dat the file is in archive folder when 1 field value is not mapped and it shud be in Valuex folder.Please help as i
    am facing this problem in my project.
    Regards
    sharath

    Hi Ravi,
    I checked what you are saying its integer type in that edit key mapping.I think its a bug in MDM because when i tried sending the
    same file which was in archive its giving exception.
    Ex: Identifier : Look up table, fields : Code (integer) and others
    values in table :(1,2,3...)
    xml file : - <Identifier>
      <Change_Date>24:09:2011:00:31:03</Change_Date>
      <Change_User>PI</Change_User>
      *<code>CCOD</code>*
      <Value>:1008</Value>
      <Value_Norm>:1008</Value_Norm>
      </Identifier>
    Regards
    Sharath

  • How Crystal report XI connect to SQL 2005(9.0.3073)

    hi
    i am trying to connect sql server 2005 to create a new report, however, it seems Microsoft OLE DB Provider for SQL server is not working for sql server 2005
    please advise which data link i have to use for connecting sql server 2005?
    thanks

    it seems Microsoft OLE DB provide for SQL server is only working for sql 2000 and earlier version, for sql 2005, it should use sql server provide, however, it is not an option in the crystal report?
    i don't want to use ODBC to connect sql 2005, any body knows if there is other way to connect sql 2005?

  • ISCSI and MAXDB Running mySAP 2004 or 2005

    Trying to find someone who is running there production mySAP 2004 or 2005 system on an iSCSI SAN.
    We run MAXDB but I would just like to know anyones experience or comments of running iSCSI and SAP on any database.
    We are looking at buying a HDS AMS500 or AMS1000 to run our system on and need suggestion or comments on using iSCSI.
    We have about 75 concurrent users running MACDB 7.6 and mySAP ERP 2005.  Our DB is about 130GB and grow about 750MB per month.
    Regards
    Jim Collier

    Hello,
    we have a MAXDB 7.6 running with iSCSI and a Network Appliance Storage System
    Size is 1,3 Terrabyte but it is not ERP , it is the SAP Content Server
    I would recommend to you use iscsi Driver 2.0.3 from MS and two dedicated NICS for iscsi

  • AddOnRegDataGen.exe of version 2004 and 2005

    Dear Experts/Gurus,
    Are there any differences between AddOnRegDataGen.exe of version 2004 and 2005 especially for add-on developed
    by partner or customer ? if yes, what should I do to my add-on ? I just did the following steps:
    1. Recompile the add-on after put identifier string generated using add-on identifier generator in SBO 2005A
    2. Creating registration file using AddOnRegDataGen.exe of version 2005 after created installer
    3. Regiter the add-on using add-on administration
    Did I miss something beside the above steps ? because the add-on can not run in the SBO 2005. The add-on is developed using SDK SBO 2004A. I appreciate your answers. TIA
    Rgds,

    Hi Steve,
    Some new fields were added between versions 2004 and 2005. But if you open the AddOnRegDataGen.exe window you will be able to see if something is not filled in your addon.
    Where are you having problems? While installing or when trying to run your addon? What is the error message?
    The steps you did are right:
    1. Recompile addon with 2005 references
    2. Create installer.exe
    3. Create .ard
    4. Register addon in B1
    AddOnInstallAPI.dll has also changed between 2004 and 2005 versions. It should work without any changes but you better change your installer to avoid problems in following versions.
    Are you using B1DE to generate your installer? You can download B1DE tools from B1 main page, SDK tools page.
    Hope it helps
    Trinidad.

  • Limitations of upgrading from ERP 2004 to 2005

    We are evaluation completing an upgrade from ERP 2004 to 2005. However, we found a limitation in note 879335 regarding upgrading the portal.
    We have an Enterprise Portal instance that is separate from the SAP ECC J2EE add-in. The ESS components including XSS run on the J2EE add-in.
    According to this note, we cannot upgrade the XSS component on the J2EE add-in because it
    is not running on EP. Does this mean we need to undeploy the XSS components and then upgrade the J2EE and then install the XSS component? or Do we need to import the XSS component on EP and then
    upgrade?
    Why is this a limitation?

    I have isolated the issue further. In the following code fragment the event is being fired twice the first time and never again:
              If pVal.FormType = 133 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD Then
                   '// get the event sending form
                   'SBO_Application.MessageBox("Hello world")
                   oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                   oNewItem = oForm.Items.Add("Button1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
                   oNewItem.Left = 285
                   oNewItem.Top = 382
                   oNewItem.Width = 100
                   oNewItem.Height = 19
                   oNewItem.FromPane = 0
                   oNewItem.ToPane = 1
                   oButton = oNewItem.Specific
                   oButton.Caption = "New Button"
              End If
    End Sub
    The code is an adaptation of the SDK VB.NET sample ('11.SystemFormManipulation'), which is supplied with the latest version of the SDK installation.
    The big question is why is the event being fired twice.

  • SBO 2004 & SBO 2005

    Hi Guys,
    How can I run both SBO 2004 & 2005 on my development machine. I have to do this to maintain different clients on different versions. Add-Ons can be upgraded from 2004 to 2005 but then they won't work on 2004 anymore and for the interrim I need to be able to work on 2004 & 2005 simultaniously.

    Hi Barend, i think you should think of using Virtual PC or VMWare.
    FYI: Virtual PC and SBO
    HTH

  • Differences between 2004 and 2005 libraries

    Hi all,
    where can i find information on the differences between the 2004 and 2005 .dll files?  Can someone post a link or URL to it?
    Thanks

    Noor,
    If you are talking about the DI & UI Api the best place would be to look at the help files. The new objects, methods, etc. for 2005 are indicated in the help files and that way you'll know what new functionality you have.

  • 2004 model, 2005 model Mini-same software?

    Could it be I'm asking the wrong question? Can you use the same software for a 2005 model as for a 2004 model? When trying to update my friends 2004 model on my computer, something happened and now we can't reset, restore, or the computer won't recognize this Ipod. All I get now is the picture of the adapter. Could it be because of different software?

    Did you try resetting the iPod whilst it's connected to the charger? May take several attempts.

Maybe you are looking for

  • JFreeChart: Ambiguous method signatures in DefaultCategoryDataSet

    Any idea how to work around this? I understand the error since double is an instance of Number, but the source is all compiled in the .jar archive. I'm using Java5. Perhaps this code worked ok in 1.4 maybe. w3style:~/java/SunTracker d11wtq$ javac Sun

  • Pops Ups from Sitescout, how do I remove them?

    I have the latest release of Firefox, and AdBlock Plus enabled, but every time I start firefox, another window pops up, and the main bit of the URL is for sitescout. How do I stop it?

  • Dataminig task in ssis

    I  have  written the connection for datamining  query task in ssis  and my properties have gone wrong. provider:.net providers for oledb  ,Microsoft   OLEDb provider for analysis services   and it asks for server name i have given my server name and

  • All Menus in Firefox Display Incorrectly

    Every menu in Firefox displays incorrectly. All menus appear to be the entire Firefox window shrunk down into the bounds of the menu. I can even see part of the menu in the stretched version. I'm running Windows 7 Home Premium 64-Bit and I've reinsta

  • Maximizing Compatibility in PS question

    I imported a folder of images into LR and got a message saying some PSD files were not imported because they had not been Maximized for Compatibility in PS. I saved the list to a txt document and can see all the filenames. If I open a file and save i