Connection failed SQL Server 2008 R2 with Instance Name but with IP connect

Hello,
We have a server where SQL Server 2008 R2 is installed. Now from our local pc we connect to that database. I try to connect that database using instance name but cannot. If I put IP Address in the server name field, then it connect. my other colleague, they
can connect using instance name but I cannot.
How can I resolve this problem? How can I connect using Instance Name?
Please help.

Faisal there are a couple of possibilities for you. Some have been mentioned already. For us to help if you can provide some further information this would be appreciated. In the mean time some things that you can check
If you are able to connect to the instance via Server IP Address then the instance is configured for remote connections and the firewall does allow for remote connections to come through. You can check the SQL Server Configuration Manager on the server to
check what protocols (Named Pipes & TCP/IP are enabled). You can also check that the Browser is running.
What error message do you receive when trying to connect via the ServerName or ServerName\InstanceName remotely?
You could look at creating an entry in your host file with the server name and IP address on you workstation and test this. I am thinking that if a colleague is able to connect remotely via ServerName or ServerName\InstanceName that you potentially have
a caching issue or a DNS issue. Are you able to ping the servername from your workstation and get a valid response from the correct IP address?
I hope this helps.
Thanks
Warwick Rudd (MCM - SQL 2008 | MCT)
(SQL Masters Consulting |
My SQL Server Blog | Twitter)

Similar Messages

  • Is DTS supported in SQL server 2008 R2 with Compatibility level 100?

    We have a DTS package which executes one stored procedure.
    We have recently switched SQL server compatibility level from 80 to 100. 
    On Compatibility level 80 it was working fine.
    When i switched the level to 100, and executes DTS it shows successfully executed but stored procedure doenot really executed.
    When i execute stored procedure in query analyzer it executed successfully and results were as expected.
    Please let me know Is DTS supported in SQL server 2008 R2 with Compatibility level 100?

    We have just implemented DTS packages on SQL2008R2 using the Backward Compatibility Tools (serarch for SQLServer2005_BC.msi)
    You need the files:
    SQLServer2005_BC.msi or SQLServer2005_BC_x64.msi
    and SQLServer2005_DTS.msi
    After you install these, perform the following -
    1) To integrate DTS Designer with SSMS:
    Copy the files SEMSFC.DLL, SQLGUI.DLL, and SQLSVC.DLL
    from %ProgramFiles%\Microsoft SQL Server\80\Tools\Binn
    to %ProgramFiles%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE
    Copy the files SEMSFC.RLL, SQLGUI.RLL, and SQLSVC.RLL
    from %ProgramFiles%\Microsoft SQL Server\80\Tools\Binn\Resources\1033
    to %ProgramFiles%\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Resources\1033
    2) To integrate DTS Designer with BIDS:
    Copy the files SEMSFC.DLL, SQLGUI.DLL, and SQLSVC.DLL
    from %ProgramFiles%\Microsoft SQL Server\80\Tools\Binn
    to %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE
    Copy the files SEMSFC.RLL, SQLGUI.RLL, and SQLSVC.RLL
    from %ProgramFiles%\Microsoft SQL Server\80\Tools\Binn\Resources\1033
    to %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\Resources\1033
    T

  • Upgrade fails: "SQL Server 2008 R2 Feature Upgrade"

    Shouldn't I be able to upgrade to 2008 R2?
    Current version:
    Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64)   Mar 29 2009 10:11:52   Copyright (c) 1988-2008 Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: )

    I've the same problem as described above.
    My Version is: 10.0.2531.0 SP1
    Standard Edition (64-bit), on Windows Server 2003
    Additionally, I have SQL Server 2005 Developer installed on the same machine.
    I choosed SQL Server 2008 to upgrade to R2.
    In the log I found:
     2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' looking for previous version upgrade data for feature package 'sql_as_Cpu64'.
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' feature package 'sql_as_Cpu64' found no upgrade features.
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' looking for previous version upgrade data for feature package 'sql_engine_core_inst_Cpu64'.
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Found feature package  'sql_engine_core_inst_ctp6_Cpu64' with SkuValue=STANDARD ProductVersion=10.0.1600.22
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' found sourceVersion 10.0 and edition STANDARD for feature package 'sql_engine_core_inst_Cpu64'.
    2010-10-01 17:54:31 Slp: -- SkuPublicConfigObject : ValidateSkuMatrix checking sku matrix for sourceVersion=10.0 sourceEdition=STANDARD sourceArchitecture=X64 targetEdition=STANDARD targetArchitecture=X64
    2010-10-01 17:54:31 Slp: -- SkuPublicConfigObject : ValidateSkuMatrix source and target architecture match.
    2010-10-01 17:54:31 Slp: -- SkuPublicConfigObject : ValidateSkuMatrix found match in sku matrix.
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' feature package 'sql_engine_core_inst_Cpu64' permits upgrade.
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' looking for previous version upgrade data for feature package 'sql_is_Cpu64'.
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Found feature package  'IS2005_Cpu64' with SkuValue=DEVELOPER ProductVersion=9.3.4035.00
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' found sourceVersion 9.0 and edition DEVELOPER for feature package 'sql_is_Cpu64'.
    2010-10-01 17:54:31 Slp: -- SkuPublicConfigObject : ValidateSkuMatrix checking sku matrix for sourceVersion=9.0 sourceEdition=DEVELOPER sourceArchitecture=X64 targetEdition=STANDARD targetArchitecture=X64
    2010-10-01 17:54:31 Slp: -- SkuPublicConfigObject : ValidateSkuMatrix source and target architecture match.
    2010-10-01 17:54:31 Slp: -- SkuPublicConfigObject : ValidateSkuMatrix did not find a match in sku matrix .
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' feature package 'sql_is_Cpu64' is blocking upgrade.
    2010-10-01 17:54:31 Slp: -- SkuUpgradeRule : Rule 'FeatureUpgradeMatrixCheck' detection result: IsValidFeatureUpgrade=False
    2010-10-01 17:54:31 Slp: Evaluating rule        : FeatureUpgradeMatrixCheck
    2010-10-01 17:54:31 Slp: Rule running on machine: <skipped>
    2010-10-01 17:54:31 Slp: Rule evaluation done   : Failed
    2010-10-01 17:54:31 Slp: Rule evaluation message: The specified edition upgrade is not supported. For information about supported upgrade paths, see the SQL Server 2008 R2 version and edition upgrade matrix in Books Online.
    Thanks,
    Patrik

  • SQL Server 2008 R2 with Tools Evaluation Copy

    Hello,
    Is the SQL Server 2008 R2 software (SSMS, BIDS) still available for evaluation download?  I was only able to find the Express edition, but I cannot open my solutions using Express.  I tried to upgrade Express to Evaluation, but I get the below
    error.
    Rule Check Result
    Rule "SQL Server 2008 R2 edition upgrade" failed.
    The selected SQL Server instance does not meet upgrade matrix requirements.
    OK   
    Thank you - Brett

    Hello,
    SQL Server 2008 R2 Evaluation Edition seems no longer available on Microsoft Download as you can see on the following link:
    http://www.microsoft.com/en-us/download/details.aspx?id=8158
    However, if you are a MSDN subscriber you can download the full media of any paid edition of SQL Server 2008 R2, run SQL Server setup and choose Evaluation Edition
    on the “Product Key” page of SQL Server setup.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Server 2008 compatibility with SAP PI 7.0

    Hi All
    Scenario is like this:
    XI is fetching data from SQL Server.
    Previously we were using SQL Server 2005 and XI was successfully fetching data from it.
    Communication channel setting:
    JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection : jdbc:sqlserver://10.10.100.180;user=abc;password=xyz;database=CUSTOMER
    Two days back SQL team uninstalled SQL Server 2005 and installed SQL Server 2008
    After doing this XI stopped fetching data from SQL and error is "Error during database connection to the database URL 'jdbc:sqlserver://10.10.100.184;user=sqluser;password=india123;database=CUST_HO' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://10.10.100.184;user=sqluser;password=india123;database=CUST_HO': com.microsoft.sqlserver.jdbc.SQLServerException: The server version is not supported. The target server must be SQL Server 2000 or later."
    Please help me how to solve this problem.
    Regards
    Dheeraj Kumar

    Hi Prateek
    As far as i know if i will load JDK5 then netweaver will not work. i asked to basis person too he also told me the same thing.
    We even tried to load another driver got from microsoft website - sqljdbc_2.0.1803.100_enu.exe
    after updating this driver i got error - "Error during database connection to the database URL 'jdbc:sqlserver://10.10.100.184;user=sqluser;password=india123;database=CUST_HO' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://10.10.100.184;user=sqluser;password=india123;database=CUST_HO': UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 50.0)'"
    Regards
    Dheeraj kumar

  • Configuration manager requires microsoft sql server 2008 sp2 with cumulative update 9 or higher

    Hi,
    I have this error during setup of SCCM 2012 R2 to a sql server. Patch level is higher then what is mentioned in popup.
    Please advise.
    Note: build of SQL is 10.50.4000
    J.
    Jan Hoedt

    Thanks. There is no c:\configmgrprereq.log but there is a configmgrsetup.log:
    INFO: setupdl.exe: Finish  $$<Configuration Manager Setup><12-16-2013 13:33:10.799-60><thread=1660 (0x67C)>
    CWmiRegistry::GetStr: Failed to get string value MSSQLSERVER  $$<Configuration Manager Setup><12-16-2013 13:34:56.756-60><thread=3068 (0xBFC)>
    Failed to retrieve SQL Server instance name[MSSQLSERVER].  $$<Configuration Manager Setup><12-16-2013 13:34:56.761-60><thread=3068 (0xBFC)>
    WARNING: failed to retrieve port number for SQL.ourcompany.com.  $$<Configuration Manager Setup><12-16-2013 13:34:56.763-60><thread=3068 (0xBFC)>
    WARNING: failed to retrieve port number for SQL.ourcompany.com.  $$<Configuration Manager Setup><12-16-2013 13:34:56.763-60><thread=3068 (0xBFC)>
    INFO: Registered type SQL.ourcompany.com MASTER for SQL.ourcompany.com master  $$<Configuration Manager Setup><12-16-2013 13:34:56.763-60><thread=3068 (0xBFC)>
    INFO: Registered type SMS Master for SQL.ourcompany.com master  $$<Configuration Manager Setup><12-16-2013 13:34:56.764-60><thread=3068 (0xBFC)>
    INFO: Registered type SQL.ourcompany.com SCCM2012R2 for SQL.ourcompany.com SCCM2012R2 $$<Configuration Manager Setup><12-16-2013 13:34:56.764-60><thread=3068 (0xBFC)>
    INFO: Registered type SMS ACCESS for SQL.ourcompany.com SCCM2012R2 $$<Configuration Manager Setup><12-16-2013 13:34:56.764-60><thread=3068 (0xBFC)>
    *** [08001][14][Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid connection.  $$<Configuration Manager Setup><12-16-2013 13:35:57.478-60><thread=3068 (0xBFC)>
    *** [01000][14][Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid Instance()).  $$<Configuration Manager Setup><12-16-2013 13:35:57.478-60><thread=3068 (0xBFC)>
    *** Failed to connect to the SQL Server, connection type: SQL.ourcompany.com MASTER.  $$<Configuration Manager Setup><12-16-2013 13:35:57.479-60><thread=3068 (0xBFC)>
    *** [08001][14][Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid connection.  $$<Configuration Manager Setup><12-16-2013 13:36:58.135-60><thread=3068 (0xBFC)>
    *** [01000][14][Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid Instance()).  $$<Configuration Manager Setup><12-16-2013 13:36:58.135-60><thread=3068 (0xBFC)>
    *** Failed to connect to the SQL Server, connection type: SQL.ourcompany.com MASTER.  $$<Configuration Manager Setup><12-16-2013 13:36:58.136-60><thread=3068 (0xBFC)>
    Could the error be related to other prereqs not met?
    Jan Hoedt

  • Can I recover a damaged SQL Server 2008 database with the undamaged .mdb and .ldf files?

    Their original SQL Server was 2008, with SP unknown, but installed on D: and C: drives.  The power spike corrupted their O/S on the C:
    drive and someone reinstalled both the O/S and the SQL Server, which is now SQL 2008, SP4.  They have intact files for all system databases, both .mdb and .ldf.  Is there some way they can reconnect with the user databases using the intact copies
    of the previous system databases? I have heard that if the SQL Server is stopped, previous Master and Msdb .mdb and .ldf files moved into place and the server restarted, that any previous user database .mdb and .ldf files can be accessed by the SQL server.
    Is this the case, or are there details missing?

    Hello! try this steps
     1 Open your SQL Server Management Studio console. This application shortcut is available in the SQL Server directory in the Windows Start button.
    2  Enter the system administrator user name and password. SQL Server's administrator user name is "sa." This account is required for privileges to restore the database. If your restoring on a host provider server, use the administrator user name
    and password they supplied for your account.
     3 Right-click your database name and select "Attach." In the new window that opens, click the "Add" button to open a dialog box.
     4 Select your MDF file and press the "Ok" button. It may take several minutes to restore the database if it is a large file. Once the process is finished, browse your tables to verify the data. The database is now restored.
    If nothing helped try to use: 
    https://www.youtube.com/watch?v=1cbOYdvBW2c

  • Installed SQL Server 2008 R2 with all features and can't find SQL Server Business Intelligence Development Studio

    I went to install additional items and found that the installation process has that product greyed out meaning it has been already installed. Where can I find it?
    Thank you,
    Oscar Osorio

    I went to install additional items and found that the installation process has that product greyed out meaning it has been already installed. Where can I find it?
    If its greyed out it means its already installed and what do you mean by additional items can you be specific what you require. To give better look at what is installed on you system please run
    Discovery report and post output here
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • SQL server management studio - actual instance name ?

    Hello,
    I work at the environment, where one server has 2 instances. One is productive ,second is used for development. Development instance is sample copy of productive one. Same structure, same tables, views, procedures, only data are valid for actual 3 months
    and whole history is only in production.
    I dont know to which instance I am connected when typing TSQL queriwes in management studio. Is there any way how to have all the time on my eyes name of instance i am connected on in my query windows ? Or is it possible to set up query windows background
    color for specific instance ?
    It is confusing, list of DB is same, so mistake will come soon.
    Thanks

    You might find
    this interesting.
    You can colour code the status bar at the bottom of your query window depending on which instance it is running. Such as
    RED for live and BLUE for backup. 
    I've used this in the past for training/study.
    To set a server status color in Object Explorer
    In Object Explorer, select the Connect button and then select Database
    Engine….
    On the Connect to Server dialog, select Options >>.
    Select the Use custom color check box.
    To select the color, select the Select… button.
    Select either a basic or custom color, then select OK.
    Fill in the rest of the connection information, and then select the Connect button.
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • 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

  • SQL Server 2008 Express Installation with command line options , FAILED.

    HI,
    I Have SQL Server 2005 Express instances on my PC. Now i am trying to install 2008 Express edition with Advance Services(Reporting.)
    I am trying to install the SQL Server 2008 Express with command line Options.
    /qs /Action=Install /Hideconsole /SecurityMode=SQL /Features=SQL,Tools,RS /InstanceName=XXXXXX /SAPWD="StrongPassword" /SQLSYSADMINACCOUNTS="Builtin\Administrators" /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /RSSVCACCOUNT="NT
    AUTHORITY\SYSTEM" /BROWSERSVCSTARTUPTYPE=Automatic /TCPENABLED=1 /NPENABLED=1
    But installation exits. It says the previous version 2005 tool are already exists, Remove them to Continue the 2008 Server Installation.
    please suggest me how to avoid that check and continue installation by replacing the older tool with 2008 automatically.
    regards 
    Pratap M:)

    Have you found any error in event logs?
    In my case even after uninstalling all 2005 related components it didn't worked. I had to resort to a brute force way and
    remove following registry keys
    32 Bit OS: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\90
    64 Bit OS: HKLM\Software\Wow6432Node\Microsoft\Microsoft SQL Server\90
    Check below threads
    http://stackoverflow.com/questions/175881/sql-server-express-2008-install-side-by-side-w-sql-2005-express-fails
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5fc58507-9f40-4213-acbd-32a57c8822d7/cant-uninstall-sql-server-2005-express-tools?forum=sqlsetupandupgrade
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • Unable to Load CSV file with comma inside the column(Sql Server 2008)

    Hi,
    I am not able load an CSV file with Comma inside a column. 
    Here is sample File:(First row contain the column names)
    _id,qp,c
    "1","[ ""0"", ""0"", ""0"" ]","helloworld"
    "1","[ ""0"", ""0"", ""0"" ]","helloworld"
    When i specify the Text Qualifier as "(Double quotes) it work in SQL Server 2012, where as fail in the SQL Server 2008, complaining with error:
    TITLE: Microsoft Visual Studio
    The preview sample contains embedded text qualifiers ("). The flat file parser does not support embedding text qualifiers in data. Parsing columns that contain data with text qualifiers will fail at run time.
    BUTTONS:
    OK
    I need to do this in sql server 2008 R2 with Service pack 2, my build version is 10.50.1600.1.
    Can someone let me know it is possible in do the same way it is handle in SQL Server 2012?
    Or
    It got resolved in any successive Cumulative update after 10.50.1600.1?
    Regards Harsh

    Hello,
    If you have CSV with double quotes inside double quotes and with SSIS 2008, I suggest:
    in your data flow you use a script transformation component as Source, then define the ouput columns id signed int, Gp unicode string and C unicode string. e.g. Ouput 0 output colmuns
    Id - four-byte signed
    gp - unicode string
    cc - unicode string
    Do not use a flat file connection, but use a user variable in which you store the name of the flat file (this could be inside a for each file loop).
    The user variable is supplied as a a readonly variable argument to the script component in your dataflow.
    In the script component inMain.CreateNewOutputRows use a System.IO.Streamreader with the user variable name to read the file and use the outputbuffer addrow method to add each line to the output of the script component.
    Between the ReadLine instraction and the addrow instruction you have to add your code to extract the 3 column values.
    public override void CreateNewOutputRows()
    Add rows by calling the AddRow method on the member variable named "<Output Name>Buffer".
    For example, call MyOutputBuffer.AddRow() if your output was named "MyOutput".
    string line;
    System.IO.StreamReader file = new System.IO.StreamReader( Variables.CsvFilename);
    while ((line = file.ReadLine()) != null)
    System.Windows.Forms.MessageBox.Show(line);
    if (line.StartsWith("_id,qp,c") != true) //skip header line
    Output0Buffer.AddRow();
    string[] mydata = Yourlineconversionher(line);
    Output0Buffer.Id = Convert.ToInt32(mydata[0]);
    Output0Buffer.gp = mydata[1];
    Output0Buffer.cc = mydata[2];
    file.Close();
    Jan D'Hondt - SQL server BI development

  • How to change the name of the named instance in MS sql server 2008 R2

    Hi Gurus
    I have installed a  SAP ECC 6 ehp4 on MS sql server 2008 R2 with MS windows 2008 R2 OS.  While installing sql server i have selected  named instance from  window(default instance, named instance).   and given name  QAS.
    and installed ECC6 ehp4 ABAP engine successfully. now i want to change the name of mssql server's named instance name to DEV.
    kindly let me know
    which one is the best and easy solution
    1. changing the name of named istance at database level and SAP.
    2. or uninstalling  the existing SAP, DB and start from scratch.
    if first is the best, what would be the steps
    Thanks in advance
    balaji

    Hello,
    Please check this note:
    11692 - Renaming the system ID
    regards,
    John Feely

  • Upgrating SQL Server 2008 R2 SP2 to SQL Server 2014 Standard "UpgradeFeatureSpecificRules: KJRTMUpgradeBlockRule"

    I've been searching for HOURS how to resolve this issue:
    I am trying to upgrade SQL Server 2008 R2 (Express Edition with advanced services) to SQL SERVER 2014 Standard edition, my first issue was to update the 2008 R2 to Service pack 2 on the first FEATURE RULE TEST, at this time on it's keep saying this:
    ======================================================================================
    Rule Check Result
    Rule "SQL Server 2008 R2 Service pack 2 or later is requered for upgrade.: failed.
    This SQL Server 2008 R2 features that have been selected to be upgraded to SQL Server 2014 are not at the require service pack. To continue with this upgrade, install SQL Server 2008 Service Pack 2 or lager to the selected instance and the shared features.
    =====================================================================================
    This is the Configuration Report issue:
    Microsoft SQL Server 2014 - System Configuration Check Report
    UpgradeFeatureSpecificRules: SQL Server 2014 Setup configuration checks for rules group 'UpgradeFeatureSpecificRules'
        KJRTMUpgradeBlockRule     
    Checks if the currently selected SQL Server 2008 R2 features to upgrade are at the supported service pack.     Failed     The SQL Server 2008 R2 features that have been selected to be upgraded to SQL Server 2014 are not at the
    required service pack. To continue with this upgrade, install SQL Server 2008 Service Pack 2 or later to the selected instance and the shared features.
    ====================================================================================
    I try after hours and finally did install the Upgrade Advisor and got not issues, the last choice I was to uninstall the Management Studio because in other upgrade express versions got blocked, but in this new version of SQL Server 2014 I don't see any way
    out!!!
    Thanks.

    Hi again
    This is the scenario:
    -I have installed the SQL SERVER 2008 R2 With Advanced services (version 10.50.1600.1), and now my guest decide to upgrade to an STARNDARD version which nowadays Microsoft is offering the 2014 version.
    -As all IT Support and DBA I try to upgrade to SQL 2014 to check and see with requirements were missing or updates. The first check report only ask to upgrade to SQL SERVER 2008 R2 SP2 (version 10.51.2500.0) which I found in the optional update list and
    resolved immediately with the Windows Update service.
    -Finally, I realise doing the discovery report (suggested in the last post) is that Windows update only download the service pack 2 for SQL Server 2008 instead of the 2008 R2 (I downloaded manually) then the version was upgrade to 10.52.4000.0
    Next time I might download the updates manually and not loosing a lot hours with Windows Update, another point very important is that when SQL Server 2008 R2 is installed, create the Microsoft SQL Server 2008 folder at all programas in the Startup menu:
    with the SQL Server Installation Center, but there is not one R2, when you execute this one just show the 2008 installed features.
    Now we are on 12.0.2000.8
    Thanks anyway and all of you for your interest!!!

  • SSIS Package developed in SQL Server 2008 R2 Using BIDS 2008 is not working in SQL Server 2012

    I am working in a Product based company.
    We have given a Pre-requisites to our customers like SQL Server version should be 2008 or later.
    I have developed and deployed my SSIS package in SQL Server 2008 R2 with BIDS 2008.
    I have used "Script Component" in my package.
    We will take only DTSX package file to the customer places and run using SQL Agent Job daily. 
    Who are all(Customer Environments) using SQL 2008 or R2 my package is running fine.
    Who are all(Customer Environments) using SQL 2012, I am facing the below issue 
    The component metadata for “Script Component, clsid {874F7595-FB5F-4OFF-9BAF-FBFF825OE3EF}” could not be upgraded to the newer version of the component. The PerformUpgrade method failed.
    Still the same package is running fine for some of the customers having SQL 2012.
    I am getting the above error only for few customers.
    Can someone please guide me how to proceed on this. Is there any solution to go without upgrading the package to SQL 2012. Because we need to maintain only one package for all customers

    Hi Katherine,
    I am just using the script component only for generating Identity column purpose. I will get the maximum count from the table and using this count value as Input (JurisCount in my below code) for script component and increment the counter for new records.
    Finally I am mapping the Script component output value (JurisKey in my below code) to Key column of the table. That's all I am doing with Script Component.
    Here is my Simple .net code
    /* Microsoft SQL Server Integration Services Script Component
    *  Write scripts using Microsoft Visual C# 2008.
    *  ScriptMain is the entry point class of the script.*/
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
        public override void PreExecute()
            base.PreExecute();
              Add your code here for preprocessing or remove if not needed
        public override void PostExecute()
            base.PostExecute();
              Add your code here for postprocessing or remove if not needed
              You can set read/write variables here, for example:
              Variables.MyIntVar = 100
        int counter = 0;
        public override void Input0_ProcessInputRow(Input0Buffer Row)
            if (counter == 0)
                counter = Convert.ToInt32(Row.JurisCount);
            Row.JurisKey = counter;
            counter = counter + 1;
    PAVAN MSBI

Maybe you are looking for