Database Connection Problem-SQL SERVER 2005
Dear all,
I have been struggling with this database connection.I have installed sql server 2005 in my PC and i am trying to connect to the Database Adventity.But it is showing port 1432 invalid.I have placed sqljdbc jar in my lib folder.If i dont specify Database name then it will print hi Message..if i specify Database name then the error will come.
MY CODE is::
<%@page import="java.sql.*,java.io.*,java.lang.*,java.util.*,java.util.Vector,bean.*" %>
<%
Connection con;
Statement stmt;
String url= "jdbc:sqlserver://156.0.11.140:1433/Adventity";
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con = DriverManager.getConnection(url,"sa","hcl@123");
stmt = con.createStatement();
out.println("hi");
%>
THE ERROR IS:
javax.servlet.ServletException: The port number 1433/Adventity is not valid.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.adv1_jsp._jspService(adv1_jsp.java:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
PLEASE HELP ME TO GET RID OUT FROM THIS PROBLEM.
THANKS IN ADVANCE.
hi
i have given what u said and it is not working but it displays blank page.even i tried to getdate..
pls help me
<%@page import="java.sql.*,java.io.*,java.lang.*,java.util.*,java.util.Vector,bean.*" %>
<%
Connection con;
Statement stmt;
try
String url= "jdbc:sqlserver://156.0.11.140:1433;databaseName=test";
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con = DriverManager.getConnection(url,"sa","hcl@123");
stmt = con.createStatement();
String user="select getdate();"
System.out.println(user);
catch (Exception e) {
out.println(e.toString());
} finally {
try {
} catch (Exception e) {
e.printStackTrace() ;
%>
Similar Messages
-
I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g dat
I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g database. So, i have installed both databases on different pc's on windows platform. MS SQL Server 2005 on windows XP and Oracle 10g on windows 2003.
I have configure Golden Gate step by step by following oracle guideline:
http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
When i run following command on target (oracle 10g):
replicat paramfile dirprm/inload.prm
I encounterd following error:
2012-05-21 20:27:06 ERROR OGG-00014 Unrecognized parameter: USERID. Paramete
r could be misspelled or unsupported.
2012-05-21 20:27:06 ERROR OGG-01668 PROCESS ABENDING.
My INLOAD FILE Content are:
SPECIALRUN
END RUNTIME
USERID gg_user, PASSWORD welcome1
EXTFILE D:\oracle\gg\dirdat\ex
SOURCEDEFS D:\oracle\gg\dirdef\emp.def
MAP hrschema.emp, TARGET gg_user.emp;
Can you plz suggest me that where i am wrong?
Thanks advance to all experts.amardeep.sidhu wrote:
That should work, just in case try adding DBLOGIN before USERID
DBLOGIN USERID x..No needed in the param file i think.its not needed at all you are right, but what else could it be? Besides any special unseen character :P -
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
error: 40 - Could not open a connection to SQL Server)An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Hello,
Make sure your SQL Server service is started.
Make sure TCP\IP and names pipes protocol is enabled
Make sure you have made an exception in firewall for SQL Server connection
Make sure SQL Server browser service is enabled
Make sure you connect with correct name hostname\instance name for named instance,MSSQLSERVER for default instance and Hotname\SQLEXPRESS for express edition.
Please make sure you use port no when connecting to SQL server listeing on different port (hostname\instance ,portno)
http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Migrate oracle database to Microsoft sql server 2005
Hi All,
I have to migrate production oracle database to Microsoft sql server 2005. Below are the details:
Oracle database version: 8.1.7.4
Platform : Aix
Kindly help me outWell, the traditional way would be to dump out all your data from Oracle tables as comma delimited flat files and import into SQL server. Plenty of examples online, like this is one by Mark Powell: http://www.jlcomp.demon.co.uk/faq/flatfile.html
Or if you have the budget you could think about buying a data mapping tool like File-Aid
As mentioned by another poster, you will still need to figure out how to replace all your triggers, stored procedures, etc on your new platform of course. -
Steps to change universe database connection from SQL server to Oracle 10
Hi,
we are moving from sql server to Oracle 10.Please let me know the steps and various parameters I should consider while changing universe database connection from SQL server to Oracle 10.
Following are the steps which I assumed :
1. create a new Oracle database connection or edit the existing connection to point to Oracle server
2. Need to check sql for each object, having integrity check for universe will solve the purpose of parsing each object
3. Exporting the universe after integrity check
4. Report data testing
Let me know if I miss on any steps.Also what all factors I need to consider while moving to Oracle for eg: what @ custom sql,what @ table names,what @ LOV etc.
Kindly replyThanks Abhijeet and Shreyash,
I will follow the steps you have suggested.
Actually I was searching for this on net and got to know that with Oracle database connection,theres lot of stuff needs to take care of in terms of custom sql and LOV and in our case,we have lot of custom sql for each object in the universe so just wanted to confirm.
I will do the changes and let you guys know in case theres any isuue specifically to Oracle. -
How Crystal Report XI connect o sql server 2005
hi
i am tring to create a report connecting to sql server 2005, however, i could not find a proper provider to connect sql server 2005, and i found Microsoft OLE DB provider for sql is only suited for sql server 2000 and earlier version, and i dont want to use ODBC connecting, so my question if there is other way to connect sql 2005 in the Crystal report XI?Hi
Due to timing of product release dates, Crystal Reports XI was not tested with Microsoft SQL Server 2005. The changes made to connectivity drivers for MS SQL Server 2005 are significant and have been addressed in Crystal Reports XI Release 2.
As per Supported platforms document of CR XI only the below SQL servers are supported:
Microsoft SQLServer 2000 SP3 with
- ODBC MDAC 2.8
-JDBC SQLServer 2000
- OLEDB MDAC 2.8
Microsoft SQLServer 7.0 SP4 with
-ODBC MDAC 2.7
-OLEDB MDAC 2.7
However MS SQL Server 2005 is mentioned as supported in CRXIR2 as below:
MS SQL Server 2005 with
- Microsoft ODBC MDAC 2.8
-Microsoft ODBC SNAC (Native Client)
-Microsoft OLEDB MDAC 2.8
-Microsoft OLEDB SNAC (Native Client)
Contact your sales representative to obtain a copy of Crystal Reports XI Release 2. A minor product update is required for CR XI Release 2 to enable reporting off MS SQL Server 2005.
For more information regarding changes in CRXI and CRXIR2 please refer to the documentations in the link provided by Amit.
Hope this helps!!
Regards
Sourashree -
Problem: Database Migraton from Sql Server 2005 to Oracle 10g
Hi all
i am trying to migrate sql server 2005 Database to Oracle 10g, Using Oracle Sql developer 3.0.04
Whole Daabase including Schemas,user-passwordTables,Views,Indexes,Functions,Procedures etc. migrated sucesfuly
But All Procedures are not correctly migrated
many of procedures showing errors...
how to migrate procedures correctly?
SO.....
How To Resolve thios issue?
please help me out
thanks
Edited by: user10226917 on Jun 8, 2011 1:42 AMHi,
I have tested using the following -
SQL*Developer Version 3.0.04 Build MAIN-04.34
and did the following -
Tools - Migration - Translation Scratch Editor
- made sure I was using the 'Microsoft SQL Server T-SQL to PL/SQL ' option in the 'Translateor' tab.
Then in the worksheet put in your entry -
PRINT '@HID=' + CAST(@HID AS VARCHAR(100))
This is then translated to the following -
BEGIN
DBMS_OUTPUT.PUT_LINE('@HID=' || CAST(v_HID AS VARCHAR2(100)));
END;
Is this what you did and the entry you typed into the scratch pad ?
If not, can you give the full code that gave the error -
DBMS_OUTPUT.PUT_LINE('@HierID=' || CAST(v_HierID AS VARCHAR2(100)));
DBMS_OUTPUT.PUT_LINE('@NodeType=' || CAST(v_NodeType AS VARCHAR2(100)));
DBMS_OUTPUT.PUT_LINE('@NodeTypeReqd=' || CAST(v_NodeTypeReqd AS VARCHAR2(100)));
Error(36,64): PLS-00103: Encountered the symbol "(" when expecting one of the following: . ) @ % The symbol ")" was substituted for "(" to continue. gives error in compiling error
Regards,
Mike -
Connect to SQL server 2005 in web dynpro java
Hi,
I am new to web dynpro. I want to coonect to SQL server 2005 server from my simple application.
For that what and all the prerequisetion and what and all the steps to follow.
I have created a database and the table too. I have created the application too. But i am not able to connect to sql. what might be the problem. I tried to create the data source in visual administration. and written code in the view like this.
try {
String userName = "jktuser";
String password = "jkt12345";
String url ="jdbc:microsoft:sqlserver://jktr3:50000;database=student";
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver ").newInstance();
Connection con =DriverManager.getConnection(url, userName, password);
System.out.println("Database connection established");
Statement st = con.createStatement();
String str = "select * from studentdata";
ResultSet rs = st.executeQuery(str);
while (rs.next()) {
String str1 = rs.getString(1);
wdComponentAPI.getMessageManager().reportSuccess(str1);
String str2 = rs.getString(2);
wdComponentAPI.getMessageManager().reportSuccess(str2);
wdComponentAPI.getMessageManager().reportSuccess("sukces");
} catch (Exception e) {
wdComponentAPI.getMessageManager().reportWarning(e.toString());
And i am getting this error
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]End of stream was detected on a read.
Plz any one help me in this.
Regards,
H.V.Swathi
Edited by: H.V Swathi on Nov 21, 2008 6:46 AM
Edited by: H.V Swathi on Nov 21, 2008 7:16 AM
Edited by: H.V Swathi on Nov 21, 2008 7:17 AMHi,
I have tried all the steps to configure the remote connection but it is giving an error that says,
"Computer localhost does not exist on the network, or the computer cannot be configured remotely. Verify that the remote computer has the required Windows Management Instrumentation components and then try again. (SQLSAC)
ADDITIONAL INFORMATION:
An exception occurred in SMO while trying to manage a service. (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.InnerWmiException&LinkId=20476
Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)
For help, click: http://go.microsoft.com/fwlink?ProdName=MicrosoftSQLServer&LinkId=20476
The operation could not be completed. (WinMgmt)
BUTTONS:
OK
Please i welcome your valuable inputs.
Thanks & Regards
Swathi -
ODBC connect to SQL Server 2005 from Oracle 10.2.0.3 32bit Linux
I’m unable to establish a connection from Oracle 10.2.0.3 32bit Linux to SQL Server 2005.
The ODBC driver is the 32bit DataDirect 5.3 drivers and when I do a status on the listener it does have a handler for SQLDB
Any help is appreciated.
Received the following error:
SQL> select count(*) from columns@SQLDB;
select count(*) from columns@SQLDB
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
Could not find symbol 'SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
'/app/DataDirect/lib/libodbc.so'
ORA-02063: preceding 3 lines from SQLDB
-----Contents of trace file------------------
Oracle Corporation --- THURSDAY JUL 10 2008 10:17:16.251
Version 10.2.0.3.0
hoagprd (2): ; hoagprd Entered.
HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.8.2.0.0080
HOACONN.C (288): ; Class version: 250
hoagprd (2): ; hoagprd Exited with retcode = 0.
hoainit (3): ; hoainit Entered.
(0): ; connect string is: defTdpName=SQLDB;SYNTAX=(ORACLE8_HOA, BASED_ON=
ORACLE8, IDENTIFIER_QUOTE_CHAR="", CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);
BINDING=<navobj><binding><datasources><datasource name='SQLDB' type='GENERIC_
ODBC_FOR_HS' connect='SQLDB'><driverProperties/></datasource></datasources><
remoteMachines/><environment><optimizer noFlattener='true'/><misc
year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor
parserDepth='2000' tokenSize='1000' noInsertParameterization='true'
noThreadedReadAhead='true' noCommandReuse='true'/><debug driverTrace='true'
generalTrace='true'/></environment></binding></navobj>
ORACLE GENERIC GATEWAY Log File Started at 2008-07-10T10:17:16
hoainit (3): ; hoainit Exited with retcode = 0.
hoalgon (7): ; hoalgon Entered. name = dbuser.
sysbase.c (677): ; libodbcinst.so: cannot open shared object file: No such
file or directory
DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol 'SQLAllocConnect' in
dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
DataDirect/lib/libodbc.so'
DB_ODBC_INTERFACE (727): ; [C077] Could not find symbol 'SQLAllocConnect' in
dynamic library
DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077] Could not find symbol '
SQLAllocConnect' in dynamic library
DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library '/app/
DataDirect/lib/libodbc.so'
nvRETURN (./drv_bind.c 230): -2220
nvRETURN (./nav_bind.c 298): -2220
hoalgon (7): ; hoalgon Exited with retcode = 28500.
hoaexit (6): ; hoaexit Entered.
hoaexit (6): ; hoaexit Exited with retcode = 0.
(0): ; Closing log file at THU JUL 10 10:17:16 2008.
--------------end of trace file ---------------
--------TNS entry ----------
SQLDB=
(DESCRIPTION =
(ADDRESS =(PROTOCOL = TCP)
(Host = oracledbhost)
(Port = 1521)
(CONNECT_DATA = (SID =SQLDB)
(HS=OK)
-------Listener.ora entry----------
(SID_DESC=
(SID_NAME=SQLDB)
(ORACLE_HOME=/app/oracle10g/product/10.2)
(PROGRAM=hsodbc)
-------initSQLDB.ora----------
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = SQLDB
HS_FDS_TRACE_LEVEL = 4
HS_FDS_TRACE_FILE_NAME=/app/DataDirect/SQLDB.trc
HS_FDS_SHAREABLE_NAME=/app/DataDirect/lib/libodbc.so
# ODBC specific environment variables
set ODBCINI=/app/DataDirect/odbc.ini
------odbc.ini entry------------
[SQLDB]
Driver=/app/DataDirect/lib/ivmsss23.so
Description=DataDirect 5.2 SQL Server Wire Protocol
Address=SQLServerhost,1401
AlternateServers=
AnsiNPW=Yes
ConnectionRetryCount=0
ConnectionRetryDelay=3
Database=SQLServerDB
LoadBalancing=0
LogonID=
Password=
QuotedId=No
SnapshotSerializable=0The error message is indicating problems loading the driver manager.
A common issue on Linux (especially on Suse Linux) is related to library caching. First of all make sure you add the LD_LIBRARY_PATH to your listener.ora file to guarantee the correct libraries will be loaded. Your SID section will then look like:
(SID_DESC=
(SID_NAME=SQLDB)
(ORACLE_HOME=/app/oracle10g/product/10.2)
(ENVS=LD_LIBRARY_PATH=/app/oracle10g/product/10.2/lib:/app/DataDirect/lib)
(PROGRAM=hsodbc)
After changing the listener.ora file stop and start the listener.
Details about the set up can be found in Metalink note:
Note.264567.1 P216. How To Setup Generic Connectivity - HSODBC - on Linux
If this does not help enable strace and check out from which location libodbc.so is being loaded.
Please be also aware HSODBC has been desupported 15th of March. As you start a new project you should proceed with the follow up product DG4ODBC. -
Error connecting to SQL server 2005 from Dreamweaver 8
Hi I have a database in SQL server 2005.I just started using
dreamweaver's server behaviours.When I use the "log in" behaviour I
get the following error.
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/MyBlog/Connections/connBlog.asp, line 9, column 38
MM_connBlog_STRING = Provider=SQLOLEDB;workstation
id="FAZ-F6EE655890B";integrated security=SSPI;data
source="FAZ-F6EE655890B\SQLEXPRESS";persist security
info=False;initial catalog=MyBlog;
-------------------------------------^
First thing that came to my mind was obviously my database
conn isnot right but when I define a conn using the built in
dreamweaver's dialogue and test it, it says that the test
succeeded.Also in the dialogue for the "login page" it shows the
values of fields from the database, so it is definitely connecting
to the database.So I don't know why am i getting this error.Please
someone help!See if this TechNote helps:
ASP error "VBScript compilation error '800a0401' "
http://www.adobe.com/go/15717
Are you using the ASP VBScript server model?
Try creating a simple recordset that displays all records
from a table and
see if you can get that to work. It's less complex code than
the user
authentication server behavior and might help to isolate the
problem.
David Alcala
Adobe Product Support -
Using INET and DATADIRECT JDBC Drivers to connect MS SQL Server 2005
Hi,
I have reqmt to connect SQL server 2005 from ODI using INET and DATADIRECT JDBC drivers to test Local characters Encoding.
In my case, Oracle is the Source and SQL Server 2005 is the Target. I have problem while interfacing Local Characters to SQL Server 2005 using com.microsoft.sqlserver.jdbc.SQLServerDriver driver( which is default driver provided by ODI). To fix local charatcters issue, I want to try using INET or DATADIRECT JDBC drivers. Please provide me the below of any one has used these Drivers to connect SQL Server 2005 from ODI.
We are trying to connect to MS SQL Server 2005 from ODI Topology Mgr using INET and DATADIRECT JDBC Drivers. We need the following info to connect to the same,
--> What are list of the drivers need to be placed in OraHome_1\oracledi\drivers path?
--> Where can i get the latest driver versions.
--> What are the JDBC DRIVER and URL formats.
--> Any other additional configurations?
--> Does these drivers support interfacing of Local character data.
Please respond...
Regards,
AnilCheck this article [HOW TO: SQL & JAVA|http://www.shahriarnk.com/Shahriar-N-K-Research-Embedding-SQL-in-C-Sharp-Java.html] for details on how to connect to SQL Server database from C#.NET database applications as well as Java database applications. It also describes how to pass embedded SQL queries (SELECT, INSERT, UPDATE, DELETE), calling stored procedures, pass parameters etc.
-
Database Connection in SQL Server 2000
Hi All!
I would like to ask your expertise regarding JDBC-MS SQL Server 2000.
I have here a sample code in connecting to SQL Server 2000, AgriMrpPrd Database using the account "sa" and the password "092802". I have tried running the code in my local server at home and It successfully runs, but when I tried running it on my local server in the office, I was not able to create a connection object though I already have changed the HOST, PORT, DATABASE, USERNAME, and PASSWORD values.
I have tried logging in using my local account, removed the LAN connection, start my local server and tried connecting to it but still it does not work.
I have tried turning the firewall OFF and try reconnecting but it there was no improvement.
I do not know if there is a difference if there is my computer is on a DOMAIN (althought I am only connecting to my local server).
Source Code:
import javax.swing.*;
import java.sql.*;
import com.microsoft.jdbc.sqlserver.*;
public class SQLServerConnection{
public String un, pw, db, host, port, url, driver;
public Connection conn=null;
public void connectDB(){
String msg="",title="MS SQL Server - JDBC:ODBC Connection";
int msgType=0;
driver="com.microsoft.jdbc.sqlserver.SQLServerDriver";
host="206.101.216.95";
port="1433";
un="sa";
pw="092803";
db="AgriMrpPrd";
url="jdbc:microsoft:sqlserver://" + host + ":" + port + ";DatabaseName=" + db;
try{
Class.forName(driver);
conn=DriverManager.getConnection(url,un,pw);
System.out.println("Connected to Database!");
}catch(Exception ex){
msg="Unable to connect to MS SQL Server!";
msgType=JOptionPane.ERROR_MESSAGE;
JOptionPane.showMessageDialog(null,msg,title,msgType);
System.exit(0);
public static void main(String args[]){
SQLServerConnection ssc=new SQLServerConnection();
ssc.connectDB();
Please give me wisdom in handling this problem...
Take care always and God blesss
MADzHi All!
I would like to ask your expertise regarding JDBC-MS
SQL Server 2000.
I have here a sample code in connecting to SQL Server
2000, AgriMrpPrd Database using the account "sa" and
the password "092802". I have tried running the code
in my local server at home and It successfully runs,
but when I tried running it on my local server in the
office, I was not able to create a connection object
though I already have changed the HOST, PORT,
DATABASE, USERNAME, and PASSWORD values.If the code runs in one place and not the other, it's got to be a problem with seeing the host.
I have tried logging in using my local account,
removed the LAN connection, start my local server and
tried connecting to it but still it does not work.
I have tried turning the firewall OFF and try
reconnecting but it there was no improvement.
I do not know if there is a difference if there is my
computer is on a DOMAIN (althought I am only
connecting to my local server).I have no idea how to fix your problem, but there are several things to comment on about your code:
(1) You don't have to import the microsoft package. It's actually a bad idea.
(2) I'd name this class DbConnection, because if you wrote it properly it might have a chance of being useful wih other databases, too.
(3) You hardwire all the connection information. Better to pass it in so changing the database doesn't require a recompile.
(4) It's bad to mingle Swing and database code. Take those JOptionPane calls out.
(5) Print the stack trace out when you catch an exception. You're losing a lot of information by handling it that way.
% -
DataBase Migration from SQL server 2005 to SQL server 2012
What are the challenges and steps to be taken care for proper migration of the Database.
Applications are using the Visual Studio 2012.
saikalyanFew things that I can think of -
Verify all logins and users are migrated correctly.
Some of the SQL Server 2005 features/code could be deprecated in SQL Server 2012. Changes could be required before or after migration.
Some of the queries could have different performance (better or worse) on 2012 due to changes in query optimizer.
The applications/SSIS/DTS config files are updated to use the new server/instance name.
DNS alias names from the old servers (if used) are moved to the new server to have minimal impact on connection strings.
Plan for downtime of applications and batch processes.
Notify developers about the migration and the new server name(s)
- Aalam | (Blog) -
JDBC Connectivity for SQL Server 2005 Windows Authentication Mode
Hi Everyone,
In my Scenario we are using SQL Server 2005 with Mixed Mode Authentication. Now we are planning to move only with Windows Authentication Mode.
We have configured DB with Window authentication mode & user id have been configured in PI channels however we are getting error. We checked microsoft site, which says Windows Authentication mode DB can not be connected using JDBC drivers.
http://support.microsoft.com/kb/313100
In this above link see Basic Connectivity Troubleshooting Section.
Please let me know if someone confirued JDBC Channel Successfuly with Windows Authentication Mode.
Thanks In Advance
Regards,
Bharathi.I think this issue is related to the way that Vista, Windows 7 and Windows 2008 / 2008 R2 treat users who are logged on to the system with an account that is a member of the local administrators group when SQL is running locally.
If your SQL setup has left you with BUILTIN\Administrators being a member of the sysadmin server role and you start up SQL Management Studio you'd expect to be mapped to the sysadmin role if your user account is in the local administrators group, however
these OS disable this ability and when you try to connect to the database engine SQL server doesn't know you are a member of the local administrators group.
To get round this, close all your open SQL management studio windows and then start a new window by right clicking the icon in the start menu and chosing to run as administrator. This time when you try to connect to the SQL database engine, windows doesn't
"hide" the fact that you are an administrator. If you need to do this a lot you can go to the compatibility tab on the properties of the shortcut and set it to always run as administrator.
Alternatively you can install the admin tools remotely and you don't get this effect.
Tim -
SAP and Database Encrption on SQL Server 2005 or 2008
Hi. I searched as best I could for any existing threads on this topic, and could not find any, so I hope it's OK to raise a new one.
We're running SAP ECC 6.0 on a SQL 2005 database. Database size is around 3.3 TB, with Trans Log of about 550GB, storage is HP EVA.
I've been asked to report on how Database Encryption would impact our systems, both from the perspective of enabling it initially and then how it would affect performance going forward.
I've read a few White Papers, for example:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4ab89e84-0d01-0010-cda2-82ddc3548c65?QuickLink=index&overridelayout=true
.. and from what I'm reading, it looks like I would want to be moving to SQL Server 2008 as a first step. Does anyone have any experience of implementing SQL encryption for a SAP database, either in 2K5 or 2K8?
All comments or help will be welcomed.
Thanks
Steven ClarkHello Steven,
You can also check the following websites:
http://blogs.msdn.com/b/saponsqlserver/archive/2011/09/05/decreased-disk-space-requirement-for-sap-unicode-systems.aspx
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50c5de8f-282a-2e10-cb8a-a5859a0994a4&overridelayout=true
And, SAP notes:
[1581700 PAGE compression support for DDIC & Hom./Het. System Copy|http://service.sap.com/sap/support/notes/1581700]
[1488135 Database compression for SQL Server|http://service.sap.com/sap/support/notes/1488135]
Regards,
Eduardo Rezende
Maybe you are looking for
-
Java.lang.NullPointerException when connect to the J2EE engine
I want to connect to the J2EE engine ,but the error message "java.lang.NullPointerException" is displayed in the console. Please help me ! Thank you !! The full error exception like this: java.lang.NullPointerException at com.sap.engine.ser
-
Deleted Pricing Cond rec in MEK2 and added a new one, now no pricing in PO!
Hello, we had a bad pricing Condition record for Stock Transport Order PO's that had to be deleted and we needed to add a new pricing condition record. We used MEK2 to delete the bad record (Purch. Info Rec Category was equal to a "space"), and the
-
Function Module to delete System History
Hello All Is there any function module available to delete the system History? The necessity of this is ... 1. Enter MIRO transaction 2. First screen asks for the Company Code 3. Second screen will ask for the details like Invoice date , reference an
-
If I want to make a small change to a legacy project of years ago, I want to limit my risk by using the exact same versions of LabVIEW, NI-RIO etc. So I check out the project from the repo, but I don't know how to check what versions were used when
-
Dblink poor performance with varchar(4000) after upgrade 11g
Hi Since a long time we connected from a 10g database via dblink to another 10g database to copy a simple table with four columns. Tablesize at about 500MB column1 (varchar(100)) column2/3/4 (varchar(4000)). After the upgrade of the source database t