Sql server migration from 2005 to 2012 (110)

hi, experts, 
the database of  .net web form application (Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1025  ) that I am responsible will be migrated to sql server 2012 (110). 
the .net webform use the functions from System.Data.SqlClient. should be ado.net
e.g.
public static DataSet LoadByID(int id)
SqlConnection conn = new SqlConnection();
DataSet ds = new DataSet();
try
conn.ConnectionString = ConfigurationManager.ConnectionStrings["connection_string"].ToString();
conn.Open();
SqlParameter[] aryParams = new SqlParameter[1];
aryParams[0] = new SqlParameter("@ID", SqlDbType.Int);
aryParams[0].Value = id;
SqlCommand cmd = new SqlCommand("a_store_procedure_name", conn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddRange(aryParams);
SqlDataAdapter sqlAdapter = new SqlDataAdapter(cmd);
sqlAdapter.Fill(ds);
catch (Exception ex)
throw ex;
finally
if (conn.State == ConnectionState.Open)
conn.Close();
return ds;
I cloned the database from 2005, restore into 2012 and change the compatibility level to 110 of cloned database.
I am doing tests on the sql server 2012 from the web application user interface. (changed connection string to new 2012 db)
I found that I always hit this error 
any configuration for whole web form application?
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Source Error:
delaynomore.

Hi delaynomore,
According to your description, you fail to execute the function with timeout error after migration to SQL Server 2012. Based on my research, the issue could be due to the long running tasks or uncommitted transactions.
To troubleshoot the issue, besides Olaf's suggestion to check the connection to SQL Server 2012 instance and the stored procedure using SQL Server Management Studio(SSMS) manually, you could also follow the methods below.
1. Execute that procedure manually using SSMS and check if it takes a very long time to execute and return. For example, there could be millions of rows being updated. If it takes a long time, you can adjust the CommandTimeout accordingly.
2. Execute the following statement in SSMS to check if there are any uncommitted transactions: dbcc opentran ('yourDatabaseName'). If there are any uncommitted transactions, please change the  stored procedure accordingly to commit the transactions.
For more information about the process, please refer to the article:
http://blogs.msdn.com/b/spike/archive/2008/07/31/timeout-expired-the-timeout-period-elapsed-prior-to-completion-of-the-operation-or-the-server-is-not-responding.aspx
Regards,
Michelle Li

Similar Messages

  • When migrating ssis packages from 2005 to 2012 Activex Script Task component doesn't exist in 2012 version

    Hello,
    We are migrating the ssis packages from 2005 to 2012.
    I'm unable to convert Activex Script Task from 2005 vesrsion to 2012 because in 2012 version Activex Script Task doesn't exist.
    Can anyone please let me know what is the alternative way to convert Activex Script Task from 2005 vesrsion to 2012?

    Hi Vinay9738,
    Have you tried to upgrade the SSIS 2005 packages to SSIS 2012 packages by using the SSIS Package Upgrade wizard? In certain cases, ActiveX script in SSIS won’t work and we need to either modify the script or replace the ActiveX Script with stock SSIS
    tasks. You can find the mapping between some most common patterns used in DTS ActiveX Script and SSIS native tasks from the following link:
    http://help.pragmaticworks.com/dtsxchange/scr/ActiveX%20Script%20Task.htm
    Here is also a useful link about how to convert ADODB object of ActiveX Script to SSIS tasks:
    http://help.pragmaticworks.com/dtsxchange/scr/FAQ%20-%20How%20to%20convert%20ADODB%20object%20of%20ActiveX%20Script%20to%20native%20SSIS%20Task.htm
    Regards,
    Mike Yin
    TechNet Community Support

  • SSIS package Upgrade from 2005 to 2012

    Hi,
    We have a Solution file with 8 projects for SSIS packages. All of them are in VSS. They all have been created in 2005. Now we installed VS 2012 and SSDT on our local machines. I got latest of solution and projects from VSS on new machine. I tried to open
    solution file which took me SSIS package Upgrade wizard. I followed the steps and in the last step of conversion, it displayed that it had errors. The errors are:
    Error 0xc001f429: Package Upgrade: The file, "C:\SSIS\compay\hello.dtsx", could not be opened for writing. The file could be read-only, or you do not have the correct permissions.
    and for some packages, it is like this:
    Messages
     * Information 0x40019316: : The provider name for the connection manager "OLEDBConnection" has been changed from "SQLNCLI.1" to "SQLNCLI10".
     * Information 0x40019316: : The provider name for the connection manager "OLEDBConnection" has been changed from "SQLNCLI10" to "SQLNCLI11".
     * Information 0x40016019: : The package format was migrated from version 2 to version 6. It must be saved to retain migration changes.
     * Warning: PackageName: Found SQL Server Integration Services 2005 Script Task "ScriptTask_49664f73e0f440bbb0e7d44f01036bff" that requires migration!
     * Information 0x4001601a:PackageName: The Script Task "ScriptTask_49664f73e0f440bbb0e7d44f01036bff" has been migrated. The package must be saved to retain migration changes.
     * Error 0xc001f429: Package Upgrade: The file, "C:\SSIS\company\Hi.dtsx", could not be opened for writing. The file could be read-only, or you do not have the correct permissions.
    But solution and all projects and packages show that they are checked out. I checked properties also. Read only checkbox is not checked. 
    Please suggest what to do. I appreciate your response.
    Thanks,

    Why didnt you check it out directly from VSS rather than going this long route?  How would VSS now that file is in checked out status if you go and manually change readwrite property? I think it may be that its getting confused when you tried to save
    it into its working folder as it still has status as checked in and not locked by anyone.
    Can you try saving packages copies to different folder and then do the upgrade by including them onto a IS project?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SSIS migrated from 2005 to 2008

    Hi,
    SSIS migrated from 2005 to 2008. The job ended successfully and text reports were created. However, in job history indicates the step still running. What did I miss during migrating SSIS process? Thanks.
    Chris

    Click on Refresh button changed nothing?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Unable to install SQL server 2000 and 2005 on Satellite A205-s5831

    Hello everyone.
    I Needs some helps from all of you.
    I have Toshiba Laptop Satellite A205-S5831.
    Its Have Windows Vista Home Premium.
    And I am unable to install SQL server 2000 and 2005.
    I also Unable to Install Windows XP SP2.
    Problem is SATA driver.
    Plz Help me ...!
    Response me

    Hi
    The Windows XP needs a SATA driver if you want to install it on the notebook with SATA HDD controller.
    The SATA driver can be found in the Intel Storage Manager.
    I would recommend using the nLite program to include a SATA driver into the new Windows XP CD and then to boot from the new created XP CD.
    Here you will find all details regarding the nLite:
    http://www.nliteos.com/
    Regarding SQL server issue;
    Maybe you will be able to install in on Windows XP. Possibly there is a compatibility issue between the Vista and the SQL server software

  • Error while Viewing SQL Server data from Oracle

    Dear Friends,
    I am using Oracle10g XE.
    I have made a connection to view or insert data in SQL Server Database from Oracle.
    I  have done all the things with the help of below link.
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    Everything worked fine. but when i run below query
    select "EmployeeNo" from hrtattendance@mysqlserverdsn
    it gives an error which is mentioned below
    ERROR at line 1:
    ora-28545: error diagnosed by Net8 when connecting to an agent
    Unable to reteieve text of  NETWORK/NCR MESSAGE 65535
    ORA-02063: preceding 2 lines from MYSQLSERVERDSN
    Please help. I will be thankful.
    Regards,

    Dear Klaus,
    Here u go.
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\hsodbc
    Oracle Corporation --- TUESDAY   JUN 24 2014 16:28:20.146
    Heterogeneous Agent Release 10.2.0.1.0 - Production  Built with
       Driver for ODBC
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\tnsping MYSQLSERVERDSN
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-JUN-2
    014 16:28:33
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT
    =1522)) (CONNECT_DATA=(SID=MYSQLSERVERDSN)) (HS=OK))
    TNS-12541: TNS:no listener
    C:\>C:\oraclexe\app\oracle\product\10.2.0\server\bin\lsnrctl status LISTENERMYSQLSERVERDSN
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-JUN-2014 16:28
    :48
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    C:\>
    Regards,

  • Read SQL Server table from Oracle

    Hi,
    Oracle 11.2.0.1
    Windows XP Prof Edition
    After creating DSN name opd when I tried to connect sql server Enterprise Edition 2005 database on the same PC, I failed to establish connectivity.
    Here it is what I have and done :
    C:\Documents and Settings\Administrator>type %oracle_home%\network\admin\listener.ora
    # listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
          (PROGRAM=extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")
        (SID_DESC=
          (SID_NAME = opd)
          (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
          (PROGRAM = dg4odbc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = newserver4)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\Administrator
    C:\Documents and Settings\Administrator>type %oracle_home%\network\admin\tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = newserver4)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    opd =
      (DESCRIPTION=
        (ADDRESS_LIST=
          (ADDRESS=
            (PROTOCOL=TCP)
            (HOST=newserver4)
            (PORT=1521)
        (CONNECT_DATA=(SID=opd))
        (HS=OK)
    C:\Documents and Settings\Administrator>type %oracle_home%\network\admin\sqlnet.ora
    # sqlnet.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    C:\Documents and Settings\Administrator>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 31-DEC-2013 18:26:13
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                31-DEC-2013 18:05:31
    Uptime                    0 days 0 hr. 20 min. 43 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\administrator\diag\tnslsnr\newserver4\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=newserver4)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "opd" has 1 instance(s).
      Instance "opd", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\Administrator>tnsping opd
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 31-DEC-2013 18:26:29
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS_LIST= (ADDRESS= (PROTOCOL=TCP) (HOST=newserver4) (PORT=1521))) (CONNECT_DATA=(SID=opd)) (HS=OK))
    OK (40 msec)
    C:\Documents and Settings\Administrator>type %oracle_home%\hs\admin\initopd.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = opd
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    C:\Documents and Settings\Administrator>sqlplus scott/tiger
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 31 18:27:18 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> drop database link opd;
    Database link dropped.
    SQL> create database link opd connect to "sa" identified by "girish" using 'opd';
    Database link created.
    SQL> select count(*) from ny@opd;
    select count(*) from ny@opd
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Driver Manager] Data source name not found and no default
    driver specified {IM002}
    ORA-02063: preceding 2 lines from OPD
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Documents and Settings\Administrator>
    PS : I don't know why I am not able to see my above question on Heterogeneous Connectivity forum, while the thread has been generated :https://community.oracle.com/thread/2616787
    Thanks and Regards
    Girish Sharma

    Thanks Sb.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> drop database link opd;
    Database link dropped.
    SQL> create database link opd connect to "SA" identified by "girish" using 'opd';
    Database link created.
    SQL> select count(*) from ny@opd;
    select count(*) from ny@opd
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Driver Manager] Data source name not found and no default
    driver specified {IM002}
    ORA-02063: preceding 2 lines from OPD
    Regards
    Girish Sharma

  • SQL Server Migration Assistant Error

    I am trying to convert my access database to SQL Server 2008. I am running Access 2003 and am using the SQL Server Migration Assistant 2008. As soon as I try to import the current Access database I get the following error:
    Access Object Collector error: Database
         Unable to cast COM object of type 'Microsoft.Office.Interop.Access.Dao.DBEngineClass' to interface type 'Microsoft.Office.Interop.Access.Dao._DBEngine'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00000021-0000-0010-8000-00AA006D2EA4}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
         An error occurred while loading database content.
    I am not really sure how to get past this. I found the DAO360.ddl file in program files/common files and in windows/servicepack files. I have reinstalled Access and also tried the other version of the migration assistant. At this point I am stuck. Any suggestions how to get beyond this barrier?
    Thanks!

    Hello Alberto,
    I'm having the same problem. I registered the Dao360.dll as you suggested in your previous post.
    There were several entries in the registry for this file.
    C:\Program Files\Common Files\Microsoft Shared\DAO\ is in the system path variable.
    Vijay Patil from the SSMA Team has been looking at this issue for me and here is her last email.
    I’m running XP PRO SP3, Access 2000 and SQL Server 2008 Enterprise Edition.
    (From Vijay)
    Hi Howard,
    We have tried to migrate the .mdb which you have shared with Access 2000 and the migration was successful.
    We are unable to replicate the same error at our end. There could be issue with the DAO file and so is the error which you have mentioned.
    This could be one reason for the issue which you are facing.
    Please check this below link for information on DAO
    http://social.msdn.microsoft.com/Forums/en/sqlsetupandupgrade/thread/65892da4-4c1e-4578-9667-22faf87f2ac8
    Thanks,
    SSMA Team
    I’ve included the entries from the log for your review. Any and all suggestion would be greatly appreciated.
    I will supply any additional information you may require. Thank you for your time with this matter.
    Best Regards
    Howard
    [Gui: Info] [3172/1] [2010-03-30 15:17:58]: Starting user interface initialization.
    [Gui: Info] [3172/1] [2010-03-30 15:17:59]: User interface initialization finished.
    [Generic: Mandatory] [3172/1] [2010-03-30 15:17:59]: SQL Server Migration Assistant 2008 for Access v4.0.1336
    [Gui: Info] [3172/1] [2010-03-30 15:18:02]: MainMenu: press button - text:File, name:File
    [Gui: Info] [3172/1] [2010-03-30 15:18:09]: MainMenu: press button - text:New Project..., name:newProject
    [Gui: Info] [3172/1] [2010-03-30 15:18:16]: MainMenu: press button - text:Tools, name:Tools
    [Gui: Info] [3172/1] [2010-03-30 15:18:17]: MainMenu: press button - text:Global Settings, name:GlobalSettings
    [Gui: Info] [3172/1] [2010-03-30 15:18:41]: MainMenu: press button - text:File, name:File
    [Gui: Info] [3172/1] [2010-03-30 15:18:44]: MainMenu: press button - text:Add Databases, name:connectToSource
    [Collector: Error] [3172/5] [2010-03-30 15:18:55]: Access Object Collector: An error occurred while loading database content.
    [Collector: Error] [3172/5] [2010-03-30 15:18:55]: Exception: Retrieving the COM class factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following error: 80040154.
     site: Microsoft.SSMA.Framework.Access.DaoUtils.DaoMdbConnection ConnectToDatabaseImpl(System.String, Boolean, System.String, System.Nullable`1[Microsoft.SSMA.Framework.Access.DaoUtils.WorkgroupPolicySettings])
     source: Microsoft.SSMA.Framework.Access.DaoUtils
     error code: -2147221164
       at Microsoft.SSMA.Framework.Access.DaoUtils.DaoUtilities.ConnectToDatabaseImpl(String fileName, Boolean readOnly, String password, Nullable`1 workgroupPolicySettings)
       at Microsoft.SSMA.Framework.Access.DaoUtils.DaoUtilities.TryConnectToDatabase(String fileName, Boolean readOnly, String& password, PasswordAsker passwordAsker, Nullable`1& workgroupPolicySettings, WorkgroupPolicyAsker workgroupPolicyAsker)
       at Microsoft.SSMA.Framework.Access.DaoUtils.DaoUtilities.ConnectToDatabase(String fileName, Boolean readOnly, String& password, PasswordAsker passwordAsker, Nullable`1& workgroupPolicySettings, WorkgroupPolicyAsker workgroupPolicyAsker)
       at Microsoft.SSMA.Framework.Access.Generic.AccessConnectionUtilities.ConnectToMdbFile(XNode xMdbFile, Boolean readOnly, IUIAskPasswordProvider askPasswordProvider, IUIWorkgroupPolicyProvider workgroupPolicyProvider)
       at Microsoft.SSMA.Framework.Access.Collector.Loaders.MDBFileLoader.LoadChildren(XNode xNode)
    [Gui: Info] [3172/1] [2010-03-30 15:18:56]: Access Object Collector error: Database
         Retrieving the COM class factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following error: 80040154.
         An error occurred while loading database content.
    [Gui: Info] [3172/1] [2010-03-30 15:19:01]: MainMenu: press button - text:File, name:File
    [Gui: Info] [3172/1] [2010-03-30 15:19:05]: MainMenu: press

  • Difference in behavior of sql and pl/sql after migrating from 9i to 11g

    after migrating our database from oracle 9i to oracle11g, the developpers are worry that the behavior of the queries and pl/sql procedures/functions will change
    example :
    in 9i, select salary,count(*) from emp group by salary, it will display the rows sorted by salary
    in 11gi, select salary,count(*) from emp group by salary, it will display the rows not sorted by default, we have to add the clause order by salary.
    somebody could give the list of other difference in behavior (SQL and PL/SQL) agter migrating from 9i to 11g
    Thanks a lot.

    Tell your developers: garbage in - garbage out. In relational databases only ORDER BY ensures row order. If your developers relied on GROUP BY implemented by SORT and therefore returning ordered rows they had to realize code they wrote is Oracle release dependent and sooner or later code would require changes. And that "sooner or later" is now reality. In newer versions ORACLE can do GROUP BY via SORT or via HASH. And if it is done via HASH - don't expect ordered results. So tell your developers "payback time".
    SY.

  • How to create a .mdf SQL Server database from a Data-Tier Application file that has data?

    This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013.  The development environment is found below at [A].  I am trying to make a clone of a SQL Server 2008 R2
    database (.mdf)  that exists online.  I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file.  Somewhere in my notes I have a way of creating a local copy from
    an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems).  So I'm looking for another way.  What I did was create
    (or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
    is the format it seems).  It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
    So my question is:
    1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data?  What tool do I use?  I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx 
    and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
    2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio?  I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
    to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
    3) same question as 2), but for Visual Studio 2013?  I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework.  Using EF I can of course do anything I want with the online database
    (CRUD), but it remains online.  Maybe there's a switch to make a local copy?  I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
    my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
    Any advice on any of the above questions is appreciated.
    Thank you,
    Paul
    [A] Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    Microsoft Web Developer Tools 2013   2.0.40926.0
    SQL Server Data Tools   12.0.30919.1
    Microsoft SQL Server Data Tools
    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools

    Thanks but these links are too general to help.
    "2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of.  I can access my database using SQL Server Authentication, but nothing more.
    Paul
    What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
    May be this will help you to understand better
    http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Unable to connect to SQL Server 2008 from OBIEE 11G(on 64 bit Linux box)

    We are unable to connect to connect to SQL Server 2008 from OBIEE 11G which is on 64 bit Red Hat Enterprise Linux.
    Infrastructure: OBIEE 11.1.1.5 64bit, on 64 bit Red Hat Linux Enterprise Linux 5.6 , MS SQL Server 2008 on 64 bit Microsoft Windows Server
    Issue Description: Unable to connect to SQL Server 2008 from OBIEE11G RPD
    Details: We are unable to connect to SQL Server 2008 from OBIEE which is on a 64 bit Linux box. We created the ODBC connection on Linux box to the SQL server. Whenever we try to import metadata it throws an error that says ‘Connection Failed’.
    Here are the steps we followed to setup the ODBC connection on Linux box.
    1) We updated the user.sh file with the LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 values that point to $ORACLE_HOME/bifoundation/odbc/lib
    This is where we found the driver for SQL server SEmsss23.so.
    2) We updated the odbc.ini file with the entry for SQL server with the connection details
    SI_SQL_Server_DEV = SQL Server
    [SI_SQL_Server_DEV]
    Driver=/u001_OAS/Oracle/Middleware/Oracle_BI1/bifoundation/odbc/lib/SEmsss23.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=10.230.216.52,54970
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=SVBDW_NEW
    LoadBalancing=0
    LogonID=SIDatavalidation
    Password=~~~Password123
    QuoteID=No
    ReportCodePageConversionErrors=0
    3) We updated the IDENTIFIER_QUOTE_CHAR with single quotes instead of double quotes in the DB features of the RPD
    4) We updated the bash_profile file to point the ODBCINI variable to the path where the OBIEE odbc.ini file is present.
    Export ODBCINI=/u001_OAS/Oracle/Middleware/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/odbc.ini
    The error in nqsserver.log file says “[nQSError: 16001] ODBC error state: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified.”

    Hi,
    Make sure SQL Configuration Manager make sure the TCP/IP enabled. please try below method
    Method 1
    Re Create a new ODBC & Oracle Bi Server DSN Configuration test it and use it in the connection pools.
    define your ODBC data source in your server where the BI Server is installed. Check your DB connections in your physical layer and make they are defined on your BI Server as well.
    Method 2:
    try using the complete TNS in below format in the datasource name section:
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST =DB IP)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORCL) ) and provide the credentials.
    Method 3:
    To use the OCI call interface you need to have oracle client DB to be installed so that you can establish a connection using that DB credentials and connect to the remote dB and then import the tables.....this is the rule of thumb.
    hope helps you.
    Thanks
    Deva

  • Connect SQL server source from OWB

    Hi,
    I have to connect to SQL Server source from OWB.
    I am using OWB 10.2 version and Owb is installed on UNIX platform.
    I have created system DSN, made respective entries in hs/admin and edited listener.ora file.
    In OWB Non-Oracle sorces trying to connect with ODBC connection to SQL server source.
    It is throwing erorr 'ORA-28545:error diagonised by Net8 agent when connecting to an agent Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB-2339'
    How to check System DSN is setup properly on UNIX or not.
    Could anyone help out on this.

    Hi David,
    I have created db link and queried with select statement.
    It has thrown following error.
    " ORA-12537: TNS:connection closed".
    And, I don't know how to use "trace level gateway service configuration property in the service .ora file".
    I want to start from the first.
    Could you please give me the guidelines on, how to connect to a Sql server source(Which is on Remote Server) from OWB.
    What are the prerequisites and steps.
    Thanks for your help,
    Shaik.

  • Creating OLAP report with Crystal Reports and SQL Server Analysis Services 2005

    Post Author: orahc_mao
    CA Forum: Data Connectivity and SQL
    Hi!
    I am currently using the trial version of the Crystal Reports XI and I wanted to do an OLAP report. The problem is I cannot select a cube using "OLAP Connection Browser" (the popup window). I already selected Microsoft OLE DB Provider and entered the server name but still can't connect.
    I don't think the problem is with SQL Server Analysis Services (2005) since Microsoft Excel - Import Data can detect the server as well as the cube I have created.
    I also tried the "Database Expert" of Crystal Reports, created an OLE DB (ADO) connection with "OLE DB Provider for OLAP Services 8.0" driver, entered the server name, checked the integrated security and then I can readily select the database created at SQL Server Analysis Services. However, I still need the OLAP grid create the report but it goes back to my original problem... selecting a cube.
    I hope somebody would help me with this issue.
    Thanks a lot!
    orahc_mao

    Hello,
    I don't recognize those variables as CR ones so it's likely something the original developer is setting in code.
    You'll have to discuss with that person.
    If your have SDK issues then post your question to one of the .NET or Java SDK forums.
    Thank you
    Don

  • I want to query sql server database from oracle

    i want to query sql server database from oracle
    can anyone help me in this regard

    First of all - you are in the wrong forum.
    Look either for the Database general or search for Transparant / Heterogenous Gateways.
    cu
    Andreas

  • Access SQL-Server Data from Oracle 10gXE

    Hello,
    I want to access sql-server data from oracle 10g XE. I need the same functionality provided by Sql-server by Linked Servers, by which we can query on any data source(oracle, Excel, Access).
    do, Oracle 10gXE provide us with same functionality ???
    any pointers ???

    Yes, it does work with Express Edition.
    Here is a thread from the XE forum with examples.
    Re: Database Link to MS Access
    They refer to a MS Access database, but the procedure is the same.
    Doug

Maybe you are looking for

  • Help with compiling error

    Okay, so I've been making a cash register app, and the thing isn't compiling for me. I keep looking over this and I'm not sure why it isn't working, so I was hoping someone could point out what I've done wrong here. public class Receipt         publi

  • Audition CS6 Time Expansion / Compression

    I work in a broadcast environment (radio). We use Audition CS6 in all of our production studios. All output from Audition must be either MP3 with a sample rate of 44100 Hz, stereo 16-bit or WAV files. Promos and underwriting announcements are typical

  • Jmap histogram and [C [B [D [F [I and [J

    I've been using jmap to create the memory histogram for an application and I get output that lists [C, [B, [D, [F, [I and [J for some of the class names.  I know that these are arrays of some type, possibly of primitives.  Is there some explanation s

  • No Wi-fi Connection. Applications

    Hello, I'm thinking of buying an ipod touch. I do not however have wi-fi. I am told or believe that I will not be able to buy applications from the i store and transfer them via the usb sync cable to the itouch. Crucially I want one for spreadsheets

  • TS3999 Colours in iCal

    Up until now, the colours I use for the 3 calendards I use have remained as I set them.ICal has recently decided to force its own choice of colours for the 3 calendars I run. I change the colours back to my prefered values but iCal resets them. Why i