Using DI API, getting error when connecting to database:
The server is 2003. The sqlserver is 2005.
We have a button that calles the DIapi function Connect(). He gets the following error: [Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'N' to data type int.
We then tried to connect into another database in SAP we got the following error:
1).[Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting the nvarchar value 'UDOXX_Contract to data type int.
There is a user-defined object called 'UDOXX_Contract', but our Add-On does not use any user-defined data object, so that must be from another add-on. I really dont know anything about these user-defined objects. Anyone have any idea what can be causing this problem, or what i can look at concerning this?
thanks
Bill
Hi Bill,
I am not sure why it is giving you the error messages and I have never seen these errors before. What you can possibly try is to see what SQL statements it is trying to execute. You can accomplish this with the SQL Profiler.
Are you sure you're connecting correctly? Please post your code for the connection here.
Hope it helps,
Adele
Similar Messages
-
I getting error when connecting my new iPod in my car. Getting error that usb is not recognized.
Not all car systems are compatible with the iPod touch. Does the documentation/website for the car system say it is compatible with an iPod with iOS 5?
-
Show error when connect Company Database by DI API in 2004B
Hi
I use the DI API to connect company database in 2004B. I can get the company lists by SAPbobsCOM.CompanyClass.GetCompanyList().
I write a program to testing the connection that show two different result in client and server side.
- It show the error -2147221164 (Class not registered), when connect company database in client PC.
- The same program run in server, it connected.
I already checked my config as below
- SAP 2004B is installed 7.20.145 SP:00 PL:25
- SAPbobsCOM67.dll is 6.70.188.0 version, and "Special Build Description" is 21.
The client and server side are same config.
Any ideas how I should handle this?
Thanks
Winsonsorry! it is wrong posted in here!!
-
Get error when connecting SQL 2012 Management studio to SQL Server 2012 database
I got this error message when I tried to connect to SQL Server 2012 using Management studio 2012.
Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)Did this get this resolved?
My SSMS 2012 was running without issue for several months until I installed VS2012. After the VS2012 I started getting "Service 'Microsoft.SqlServer.Management.IRegistrationService' not found" when connecting to database in SSMS 2012. I uninstalled VS2012
and SSMS 2012 started working again. Installed VS2012 and SSMS 2012 is broken again.
I tried the above suggestions without success. Here are the error details. Any help is greatly appreciated.
===================================
Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)
Program Location:
at Microsoft.SqlServer.Management.ServiceProvider.GetService[T](IServiceProvider serviceProvider, Boolean throwIfNotFound)
at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.Initialize()
at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.GetView(String urnPath)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.<GetColumnsFromNavigationService>d__11.MoveNext()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.AddFields(List`1 list, IEnumerable`1 fields, IDictionary`2 allValidFields, AddFieldsFlags flags)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.GetParentFields(INodeInformation source, Dictionary`2& allValidColumns)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent) -
Get error when CONNECT BY PRIOR used by where
Hi
I get "No more data to read from socket" error when the result of CONNECT BY PRIOR used after where, is there anybody encounter this error?
example SQL:
select
from table_A
where exists
(select 1 from table_b
START WITH table_b.col1 = 'value'
CONNECT BY PRIOR table_b.col1 = table_b.col2)
The sql select 1 from table_b START WITH table_b.col1 = 'value' CONNECT BY PRIOR table_b.col1 = table_b.col2 can return 2 row correct, but the whole sql does not work.Hi! Rahul,
Thank you for your reply first. Your method doesn't work in my case. Can you tell me the steps of creating a new layout for added records and draft documents. I have created a quotation layout which work with added records only, the steps has been show below and please comments, thanks.
1. In Crystal Report > new blank report > create new connection > Choose "SAP Business One" > Select OQUT under "B1 Tables".
2. Insert "CardName" field to report > Create DocKey@ parameter and set it equal to DocEntry in select expert record function
3. Click Add-ins > SAP Business One > Save > Choose company database and input manager password.
Regards,
Ivan -
Getting error when connecting a third pary applicatio​n to a server in my LAN
Hi
I am getting error
javax.microedition.io.ConnectionNotFoundException: Protocol not found: net.rim.device.cldc.io.http.Protocol
when trying to connect a third pary application from Blackberry to a server in my LANHi Mudessir,
With the help of ABAP'er try the following.
1. open the program 'LCLSCF2G' from SE38.
2. Keep a break point at line no: 131.
There is 'END SELECT' statement which is getting failed at line no 131 in the program.
Try to analyse the SY-SUBRC at that point.
If your technical consultant can't solve this, write to SAP OSS (service.sap.com).
I have searched SAP OSS, there are other situations, but your case is not there. So write to SAP if technical consultant can't solve it by debugging the program.
Regards,
Madhu. -
Getting error when connecting to url via https
I am connecting to a url via https. Everything seems to work when I open the connnect as follows.
conn = (HttpsURLConnection)theURL.openConnection();
//Set the proper connections properties
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
conn.setDoOutput(true);
conn.setDoInput(true);
But when I try to send data with the following code:
StringBuffer sendThis = new StringBuffer();
sendThis.append( URLEncoder.encode("uid=", "UTF-8") );
sendThis.append( URLEncoder.encode("This is the UID", "UTF-8") );
/* PrintWriter pout = new PrintWriter( new OutputStreamWriter( conn.getOutputStream(), "8859_1"), true);
pout.print (sendThis.toString());
pout.flush();
I get an error that says "could not find trusted certificate"
Could not find trusted certificate
javax.net.ssl.SSLHandshakeException: Could not find trusted certificate
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA62
75)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at java.io.OutputStream.write(OutputStream.java:58)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)
at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(DashoA6275)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:562)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Dash
oA6275)
What am I missing ?
thanks in advance.
kris.You have to make sure that the cert for the CA which signed the server's
certificate is in your keystore (cacerts) file.
Check out 'keytool' and the JSSE readme.
Cheers,
Billy. -
PayPal transaction completing but getting error when connecting back to site.
Hi there,
I'm using PayPal standard to accept payment via my site. The transactions are being completed but it then fails to redirect properly to my site. Im getting an error message of,
An Error Occurred
Please go back in your browser and try again.
The domain seems to be correct.
'https://ddfitness.worldsecuresystems.com/PaymentProcess.aspx?tx=3L296556310289342&st=Compl eted&amt=4%2e00&cc=GBP&cm=&item_number=101
Any ideas?Thanks Liam.
I'm using the paypal buttons rather than a web form.
Yes I'm using paypal standard to sell access to a secure zone on an eCommerce package. -
Error when connecting to database in windows2000 professionnel
i have a database in unix and another database in windows 2000 professionnel when i want to connect using sqlplus to database in windows 2000 professionel from database in unix the message error will appear memory fault(coredump)
yes, when we install oracle 8i in windows professionel we have this problem, before installing 8i we connected to the database without problem
thank you -
Getting error while connecting to database
while i try to connect to the database i'm getting the foollowing error
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
the part of my code which is used to connect to the database is as follows
<applet code="Part1" width=500 height=500>
</applet>
public class Part1 extends Applet implements ActionListener
public void init()
try
//Class.forName ("oracle.jdbc.driver.OracleDriver");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
catch(ClassNotFoundException e)
System.out.println("EXCEPTION--"+e.getMessage());
System.out.println("DRIVER NOT FOUND");
Connection conn=null;
try
//Making the database connection
conn= DriverManager.getConnection("jdbc:odbc:xyz");
catch(Exception e)
System.out.println("EXCEPTION IN CONNECTION::"+e.getMessage());
System.exit(-1);
}public class Applet1 extends JApplet {
private JButton DbConnect = new JButton();
private JTextArea empValues = new JTextArea();
private Connection con;
private JLabel jLabel1 = new JLabel();
public Applet1() {
public void init() {
try {
jbInit();
} catch(Exception e) {
e.printStackTrace();
private void jbInit() throws Exception {
this.getContentPane().setLayout(null);
DbConnect.setText("Click to Connect to DB");
DbConnect.setBounds(new Rectangle(90, 225, 175, 40));
DbConnect.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
connectToDB(e);
empValues.setBounds(new Rectangle(40, 50, 310, 150));
jLabel1.setText("Emp Records :");
jLabel1.setBounds(new Rectangle(45, 20, 155, 20));
this.getContentPane().add(jLabel1, null);
this.getContentPane().add(empValues, null);
this.getContentPane().add(DbConnect, null);
private void connectToDB(ActionEvent e) {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
con = DriverManager.getConnection
("jdbc:oracle:thin:@localhost:1521:ora9202","scott","tiger");
empValues.setText("Connected to the Database.
Fetching Values from DEPT Tables.\n");
fetchValues();
} catch (SQLException ex) {
System.out.println("Connection Error = " + ex.toString());
} -
Broken Pipe error when connecting to database
Hi
I have installed ODI and Oracle 10g database on my machine.
But getting a Broken Pipe error while creating an entity in Oracle Data Profiling and Quality tool
Or I can say while connecting database.
It’s a runtime error.
Server terminated the application in an unusual way.
Any inputs are much appreciated.
Thanks
KSKHello KSK.
Did you receive or did you find any answer about this question?
Please, let me know if yes or no. I have a workmate with the same problem and we didn't find any clue about the problem.
Best regards.
Ponte -
Error when connecting to database from connection manager
New installation of JDeveloper 11r2.
java.lang.NullPointerException
at oracle.dms.context.DMSContextManager.getContext(DMSContextManager.java:437)
at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:445)
at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:492)
at oracle.dms.instrument.Noun.<init>(Noun.java:188)
at oracle.dms.instrument.Noun.create(Noun.java:275)
at oracle.dms.instrument.NounFactory.create(NounFactory.java:66)
at oracle.jdbc.driver.DMSFactory.createNoun(DMSFactory.java:69)
at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:2253)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:617)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:54)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:117)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:174)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:143)
at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:44)
at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:352)
at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:148)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:504)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:440)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1051)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:156)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:612)
at java.lang.Thread.run(Thread.java:595)
Occurs with both thin and oci8 connections.
Any ideas?
Conection name: tryit
Connection type: Oracle (JDBC)
username: me
password: mine
save password: ticked
Driver: thin (also tried oci8)
Host Name: myhost
SID: my10gdb (also tried service name).yes, when we install oracle 8i in windows professionel we have this problem, before installing 8i we connected to the database without problem
thank you -
Trying to set up Apple TV with ATT Uverse. I get errors when trying to enter my WiFi password. One site says that Apple TV doesn't work with Uverse because it uses WPA for encryption. If true, does that mean Uverse subscribers cannot use Apple TV?
Spurs63 wrote:
does that mean Uverse subscribers cannot use Apple TV?
No, that's a rather silly conclusion.
There are two options:
stop using the crappy router provided by the ISP.
Physically connect the ATV to the router via Ethernet. -
I keep getting the same error when connecting to itune for either update or download. error is we could not complete your itunes store request error 0x800B0101.
My OS is Windows Vista and using Internet ExplorerI keep getting the same error when connecting to itune for either update or download. error is we could not complete your itunes store request error 0x800B0101.
My OS is Windows Vista and using Internet Explorer -
I am getting error while connecting to sqlplus by using apps account in 11i
i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
[applmgr@appsc05t01 admin]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Raoyes.
login as: gorantla
[email protected]'s password:
Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
[gorantla@appsc05t01 ~]$ sudo su - applmgr
[applmgr@appsc05t01 ~]$ ora_setup
Available databases:
x = ATUXX
y = ATUYY
z = ATUZZ
Select database: \c
y
ORACLE_SID=ATUYY
IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
APPL_TOP=/apps/ATUYY/atuyyappl
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$
[applmgr@appsc05t01 ~]$ tnsping ATUYY
TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
OK (0 msec)
[applmgr@appsc05t01 ~]$ sqlplus
SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter user-name: apps
ERROR:
ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
Enter user-name:
Thanks
Rao
Maybe you are looking for
-
Why is connection to iTunes stores so temperamental? For the past 3 days I have been unable to download my newspaper subscription or use my iTunes account as the blue icon pops up and says there is no access and one just has to press OK. I took the i
-
"why siri" doesn't seem to work unless we are charging the phone
"why Siri" doesn't work unless we are charging our phones, why?
-
Is there a Jack-n-box source AE animation or video clip?
Working in CS3 PPRO, AE and Encore and looking for a Jack-n-box animation or vidoe file as an intro to a project. I don't see a AE preset with expression for Jack-n-box. Google search has not produced an AE file or even a good Photoshop file of J-n-
-
Locking and unlocking users in apex
Hi, I have a table with users. I want to lock users after 3 invalid attempts of typing password. And then later unlock these users. Does anyone have any idea how i can do this? -Diana-
-
Deleting and recovering e-mail on iPad and Windows PC
We have @cox.net e-mail accounts and @jameke.com e-mail accounts. We have an iPad 4 using Mail and a Windows PC using Outlook. When a message is sent from another computer, it correctly appears in the Inbox in both the iPad and the Windows PC. When a