Inserting data to a . SDF database (SQL Server Compact Edition connection)

Hi, all.
I'm working on a project that worked fine while connecting to SQL Server 2008. I used a connection string like this:
Driver={SQL Server Native Client 10.0};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
Now, I've replaced all database connections in my project to work with SQL Server Compact Edition, and my connection string is something like this:
Provider=Microsoft.SQLSERVER.CE.OLEDB.3.5;Data Source=myDir\myDataBase.sdf; 
After changing the type of connection, I'm getting an error on "DB Tools Insert Data.vi". This is what I get:
Error -2147217872 occurred at NI_Database_API.lvlib:Cmd Execute.vi->NI_Database_API.lvlib: DB Tools Insert Data.vi->Main.vi
Possible reason(s):ADO Error: 0x80040E30 Exception occured in Microsoft SQL Server Compact OLE DB Provider: The given type name was unrecognized. [,,,,,] in NI_Database_API.lvlib:Rec Create - Command.vi->NI_Database_API.lvlib:Cmd Execute.vi->NI_Database_API.lvlib: DB Tools Insert Data.vi->Main.vi
This is a simplified block diagram (as I said, it worked perfectly while using SQL Server 2008 connection):
Could you please help me?
Thanks in advance,
Francisco

Hi, Steve. Thanks for your answers.
I worked around this problem by using directly a SQL query instead of this function (you were right, using DBTools Execute Query VI). But now I'm getting problems with other functions, when inserting data into the DB including NULL values.
I make a SQL query like this using DBTools Execute Query VI:
INSERT INTO Table1 (Column1, Column2, Column3, Column4, Column5, Column6) VALUES ('Value1', 'Value2', 'Value3', 'NULL', 'Value5', 'Value6') 
and get the following error:
ADO Error: 0x80040E07Exception occured in Microsoft SQL Server Compact OLE DB Provider: A literal value in the command could not be converted to the correct type due to a reason other than data overflow. [,,,,,] in NI_Database_API.lvlib:Conn Execute.vi->INSERT (new) restricción (DBCT).vi->Restricciones a Base de Datos (DBCT).vi->Definir - editar restricciones.vi->Main.vi
The same SQL query worked perfectly when using the SQL Server 2008 connection, so it's not a database structure issue.
Could somebody please help me?
Regards,
Francisco

Similar Messages

  • JDBC driver for SQL Server Compact Edition

    Hi,
    I'm trying to run pc java application on Pocket Pc (Mobile 5.0) with SQL Server Compact edition.
    The error message is:
    java.lang.UnsatisfiedLinkError: java/sql/DriverManager.getCallerClassLoader()Ljava/lang/ClassLoader;
    at java.sql.DriverManager.getConnection(Unknown Source)...
    Should I use a special jdbc driver for SQL Server Compact Edition? Is there one?
    Mixxo

    Hi,
    I got an answer from msdn forum:
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2307542&SiteID=1.
    There is no jdbc driver for SQL Server Compact Edition. OleDB and ADO.net are available. Now I need to know how to use them (in Java)...
    Thanks, Mixxo

  • SQL Server Compact Edition 3.5 C++ Sample

    Hi,
    I am looking for C++ example using SQL Server Compact Edition 3.5.
    I managed to compile and run the "northwindoledb" c++ example, but still, I am looking for source code to 3.5 (And not 3.1).

    Hi,
        Someone on this post asked about sample code. I am here, posting sample code to talk to SQL Compact 3.5.
        CoCreateInstance(CLSID_SQLSERVERCE, NULL, CLSCTX_INPROC_SERVER, IID_IUnknown, (void **)&pDSO);
        pDSO->QueryInterface(IID_IDBProperties, (void**)&pIDBProp);
        hr = pIDBProp->SetProperties(cPropSets, pDbPropSet);
        pDSO->QueryInterface(IID_IDBInitialize, (void**)&pIDBInit);
        hr = pIDBInit->Initialize();
        pIDBInit->QueryInterface(IID_IDBCreateSession, (void **) &pIDBCSession);
        pIDBCSession->CreateSession(NULL, IID_IUnknown, (LPUNKNOWN *) &pDBSession);
        pDBSession->QueryInterface(IID_IDBCreateCommand, (void **)&pIDBCreateCommand);
        pIDBCreateCommand->CreateCommand(NULL, IID_IUnknown, (IUnknown **)&pCommand);
        hr = pCommand->QueryInterface(IID_ICommandText, (void **)&pICommandText);
        hr = pICommandText->SetCommandText(DBGUID_DBSQL, (LPCOLESTR)pszSQL);
        hr = pCommand->QueryInterface(IID_ICommand, (void **)&pICommand);
        hr = pICommand->Execute(NULL, IID_NULL, NULL, NULL, NULL);
    and CLSID_SQLSERVERCE for 3.5 is (As you might already know)
    GUID CLSID_SQLSERVERCE = {0xf49c559d, 0xe9e5, 0x467c, {0x8c, 0x18, 0x33, 0x26, 0xaa, 0xe4, 0xeb, 0xcc}};
    Thanks
    Udaya

  • Inserting date from a jsp into sql server 2005 database

    Dear Friends.,
    i have a jsp page, in that there is a form with various user input fields. in that one field is date field. i tried to insert the date field into the sql server 2005 database. but it is not getting inserted into the database.
    when i tried by inserting one field to database, it is getting inserted. for all the fields its works fine, except the date field.
    i need hint or code to insert the date get from the jsp page to database.
    i am using a servlet to do all database related things. i.e making connections, executing prepared statement queries
    thanks
    sekar.

    The variable needs to be outside of the string to be recognized as a variable. You need to remove the variable from the string, then concatinate it onto the string (and concatinate any remaining string parts - the closing paren). For example:
    stmt.executeUpdate("INSERT INTO table VALUES ('test', " + companyID + ")");
    Hope that's clear enough and helps. Good luck on your thesis!
    jim

  • Insert data into oracle based on sql server data(here sql server acting as source to oracle and destination to oracle)

    Source is Oralce. Destination is SQL Server.
    Requirement - I have to fetch sql server server data (empid's) based emp table  and send this as input data to oracle to fetch and empid's are common.
    I cannot use merge or loopkup or for each as oracle have too many records.
    For example - In MS SQL - i have empid=1,2..Only these records, I have to fetch from oracle source into sql server destination. For this, I have adopted the below approaches...The major problem I face, when i build a empid's as a string, it is taking only
    4000 chars. My string lenght is 10000. How do I breakup this string lengh and send to data flow task till all broken strings length passed to DFT.
    Approach-1
    created two variables - oraquery string, empid string
    step1 - ms sql database - created sql task - declare @empid varchar(max)
    SELECT @empid=
    Stuff((SELECT ',' + empid
            FROM  
            (SELECT  DISTINCT  convert(varchar(10),empid ) empid FROM emp
             ) x
            For XML PATH ('')),1,1,'')
    select @empid =    '(' +  @empid + ')'
    select @empid
    resultset=singlerow
    resultset=resultname=0; variablename=User::empid (empid is declared as string)
    step2 - oracle database - created data flow task
    created oledb source
    I put  this statemnt in oraquery expression - "select * from dept where dept in  "
    +  @[User::empid] + "
    expression=true
    [OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Oracle"  Hresult: 0x80040E14  Description: "ORA-00936: missing expression".
    Approach-2
    created three variables - oraquery string, empid  int, loop object--when I put int then it is automatically setting to 0
    step1 - ms sql database - created sql task - SELECT  DISTINCT  convert(varchar(10),empid ) empid FROM emp
    resultset=fullresult
    resultset=resultname=0; variablename=User::loop
    step2 - created a for each loop container
    for loop editor - for each ado ennumerator
    enumerator configuration - loop
    variablemapping - variable=empid;index=0
    step3 - oracle database - created data flow task (outside for each loop. If I put inside it is taking long time)
    created oledb source
    I put  this statemnt in oraquery expression - "select * from dept where dept in  "
    +  @[User::empid] + "
    expression=true
    Data inserting in a destination table but  empid=0.

    Sorry didnt understand if your step3 is outside loop how
    @[User::empid] will get values for the empids from User::loop. The iteration happens inside loop so you
    need to have a logic to form the delimited list inside using a script task or something and concatenating everything and storing to variable @[User::empid]
    . Then only it will have full value used to be used in step3 query
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SQL Server Compact 3.5/4.0 - Client / Server .sdf database file compatibility

    I am considering connecting autonomous Windows Desktop PCs with SQL Server Compact 3.5 SP2 databases via an ASP Website and would like to provide database upload/download capabilities.
    If I use SQL Server Compact 4.0 as the Website database, will the desktop and website files be interchangeable so database files can be uploaded and downloaded without conversion?
    I presume that since the database structure is ado.net in both cases, it will not matter that the ASP website could be using Entity Framework and the Desktop PCs using Linq to SQL as OR/M?
    Thanks for any guidance.
    -BGood

    >>  I can upload .sdf files to the ASP website and have the website convert to 4.0,
    Yes, you can use SqlCeEngine.Upgrade for this
    >> for download purposes I need to develop a REST API 
    No neccesarily, as you could use my scripting libs to script the 4.0 database file to a script, then
    create a new file (alos using my scripting libs) and run the script against the database file (also using my scripting libs) - all on the web server. Remeber to allow 3.5 to run on the web server: http://blogs.msdn.com/b/stevelasker/archive/2006/11/27/sql-server-compact-edition-under-asp-net-and-iis.aspx
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

  • 64-bit application running SQL Server Compact

    Hi
    I have read your article sql-server-compact-4-desktop-app-with...
    I have some questions
    1: The app I have is 32/64-bit (installer will detect and install). Will 64-bit app work with SQLCE40?
    2: The target framework is .NET 4.0. Will this work?
    In the entity project of this application, I have included the following files
    database.sdf
    SQLCE40 (folder)
    - amd64 (folder)
      - Microsoft.VC90.CRT (folder)
        - Microsoft.VC90.CRT.manifest
        - msvcr90.dll
      - sqlceca40.dll
      - sqlcecompact40.dll
      - sqlceer40EN.dll
      - sqlceme40.dll
      - sqlceqp40.dll
      - sqlcese40.dll
    x86 (folder)
      - Microsoft.VC90.CRT (folder)
        - Microsoft.VC90.CRT.manifest
        - msvcr90.dll
      - sqlceca40.dll
      - sqlcecompact40.dll
      - sqlceer40EN.dll
      - sqlceme40.dll
      - sqlceqp40.dll
      - sqlcese40.dll
    Under references I have,
    - System.Data.Entity
    - System.Data.SqlServerCe
    - System.Data.SqlServerCe.Entity
    All these files are taken from
    C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Private
    Do I strictly need to follow your example where you copy the 32-bit files to the root level?
    app.config
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Data.SqlServerCe.4.0" publicKeyToken="89845dcd8080cc91" />
            <bindingRedirect oldVersion="4.0.0.0-4.0.0.1" newVersion="4.0.0.1" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
      <entityFramework>
        <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlCeConnectionFactory, EntityFramework">
          <parameters>
            <parameter value="System.Data.SqlServerCe.4.0" />
          </parameters>
        </defaultConnectionFactory>
        <providers>
          <provider invariantName="System.Data.SqlServerCe.4.0" type="System.Data.Entity.SqlServerCompact.SqlCeProviderServices, EntityFramework.SqlServerCompact" />
          <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
        </providers>
      </entityFramework>
      <system.data>
        <DbProviderFactories>
          <remove invariant="System.Data.SqlServerCe.4.0" />
          <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory,                   
    System.Data.SqlServerCe,                    Version=4.0.0.1, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
        </DbProviderFactories>
      </system.data>

    >>
    Do I strictly need to follow your example where you copy the 32-bit files to the root level?
    No, you can use x86/AMD64 with Entity Framework, but I suggest you use my NuGet package, see my blog post
    here:
    http://erikej.blogspot.dk/2014/10/entity-framework-6-and-sql-server.html
    You should not have references to: 
     System.Data.Entity and System.Data.SqlServerCe.Entity
    Those are not EF version 6 files. Install the package mentioned above, and you will get the correct references.
    App.config: EF6 configurastion is missing, again install https://www.nuget.org/packages/EntityFramework.SqlServerCompact.PrivateDeployment/
    and things will be right
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

  • Is SQL Server Compact Dead ?

    Hi have a new project that needs a small footprint,t not networked, database for storage and retrieval  during desktop program operation (no data needs to be stored after program is closed). This is multithreading program that retrieves web pages asynchronously
    puts retrieved data into a temp database and will need to display whatever it has at the moment (even if some requests are not processed yet) in a grid with SQL filtering.  Also the PCs that this will run on will be old and I do not want to install
    a database server on each one...
    So the question is should I use SQL compact or is it currently used by those that already had it in a project ? and no new projects should look at it ?
    Thanks
    Will access from desktop C# winforms program,  using 3.5 maybe 4.x framework.

    I also started to worry about this product and everything I have found on the net so far points to SQL Server CE being deprecated. There has been nothing officially announced by Microsoft with the closest being a response to a MS Connect issue:
    "SQL Server compact edition is in deprecation mode with no new releases planned near future. Last release SQL CE 4.0SP1 (and earlier releases that are still in the support cycle) will continue to be supported through its lifecycle and Microsoft is committed
    to fix any major, production blocking issues found in these releases." (Microsoft Connect)
    The mainstream support for CE 4.0 will end on 2016-07-12 and extended support 2021-07-13 unless they release a new service pack, which I see as doubtful (Microsoft
    Support).
    Support for SSCE has also not been included in Visual Studio 2013 and SQL Server 2014 Management Studio.  Erik's SQL Server Compact Toolbox can be used to add support back to VS2013 (CodePlex).  SQL
    Server CE has even now been removed from the SQL Server website.  It still shows up in search results from Microsoft search (Micorsoft)
    but sometime back in March or April the page was removed (Wayback Machine).
    There are a couple of UserVoice suggestions asking for Microsoft to support and develop SQL Server CE further:
    Support Sql Server Compact in VS2013
    Sql server Compact 5
    So overall even though nothing has been announced it seems pretty clear to me that Microsoft are not continuing development of SQL Server CE and do not want people to use it.  It's dead!

  • How to insert date into ms access database using sql query in servlet

    sir all thing is working well now only tell me how we can insert date into ms access database which is input by user .
    insert into db2(bookname,studentname,date) values('"+bname+"','"+sname+"',date_format)";{code}
    or either the system date is inserted with query .
      plz help me
    thanx                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    bhavishya wrote:
    sir all thing is working well now only tell me how we can insert date into ms access database which is input by user .
    insert into db2(bookname,studentname,date) values('"+bname+"','"+sname+"',date_format)";{code}
    or either the system date is inserted with query .
    plz help me
    thanxAnd that SQL statement is another reason to use PreparedStatement. I assume bname and sname are input from some form? Well, if that's the case, simply inserting them into SQL by simple String concatenation is just begging for all sorts of problems. What if there is an apostrophe in the entry? Broken Statement. Worse, it's a wide open invitation to an SQL Injection attack.

  • Tell me how to format a date retrieved from a MS SQL Server 2000 database?

    Tell me how to format a date retrieved from an MS SQL Server 2000 database for various uses in my JSP page?

    Or if you want to use JSTL instead of a scriptlet see:
    http://forum.java.sun.com/thread.jspa?threadID=676754&tstart=0

  • Migrating data from Oracle 9i to SQL Server 2005

    I am new to both. I need to first migrate data from oracle to sql server. After this I need to create a daily nightly batch process to insert new records from oracle to sql server into that table.
    As my knowledge in SQL server is zero. Can somebody help me how I can accomplish this.
    Somebody told me that I can use sql server import/export to do initial data dump into sql server and after that I can create a link in in oracle to do new iserts for new records. does any one have some example on this. I will really apprecite this if someone can give me step by step example. Thanks

    I have been to SQL Server training, but my SQL server databases are off the shelf system, so I don't have to muck with them. Anyway, Sql Server is just MS Access on steroids, so some of the same concepts apply. You need to create an external table links to oracle. The following tidbits I found by googling might help you.
    http://www.sqlmag.com/Article/ArticleID/22264/sql_server_22264.html
    http://www.lazydba.com/sql/1__152.html
    http://www.sswug.org/see/35034
    http://decipherinfosys.wordpress.com/2007/07/16/linked-servers-in-sql-server/
    Some of the above require subscriptions (free and or paid). Hope this helps.

  • How to insert sharepoint list item attachment to sql server db programatically

    Hi,
    I need to insert sharepoint list item attachments to sql server db programatically. Could some one suggest some approach and if any one work on it please provide the code. Thanks in advance

    hi,
    you can do it using powershell. Use the below script to loop through all the items attachments inside list.
    $web = $site.RootWeb<br />
    $Lists = $Web.Lists[$ListName]
    $Library = $web.Lists[$LibName]
    foreach($listItem in $Lists.Items)
    if($listItem.Attachments.Count -gt 0)
    Write-Host "**************************************************"
    Write-Host $listItem.Attachments.Count"Attachment(s) available in the ListItem:" $listItem.Title
    Write-Host "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
    $i=0
    foreach($attachment in $listItem.Attachments)<br />
    $i++
    Write-Host $i".Attachment Name:" $listItem.Attachments.UrlPrefix$attachment
    $file = $web.GetFile($listItem.Attachments.UrlPrefix+$attachment)
    Write-Host "Adding Files to Library:"$Library.Title
    $bytes = $file.OpenBinary()
    Write-Host "Successfully Added"<br /> Write-Host "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
    Write-Host "**************************************************"
    And use the below script to insert into SQL.
    #Connect to DB
    $DB = “server=MyInstanceName;integrated security=sspi;database=Bob”
    $conn = new-object System.Data.SqlClient.SqlConnection($DB)
    #Build the command and parameters
    $cmd = New-Object System.Data.SQLClient.SQLCommand
    $cmd.CommandType = [System.Data.CommandType]‘StoredProcedure‘
    $cmd.Parameters.Add(“@Col1″, [System.Data.SqlDbType]‘VarBinary‘)
    $cmd.Parameters[“@Col1″].Size = -1
    $cmd.Parameters[“@Col1″].Value = $bytes
    $sql = "INSERT INTO <table> (Col1) VALUES " + $cmd.Parameters[“@Col1″]
    #Execute the command
    $conn.Open()
    $cmd.ExecuteNonQuery()
    P.S. There may be some syntax error you have to make it work but the concept is right.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Insert date time into oracle database from jsp

    pls tell me ,from jsp how can I insert datetime values into oracle database .I am using oracle 9i .here is codethat i have tried
    html--code
    <select name="date">
    <option selected>dd</option>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
    </select>
    <select name="month">
    <option selected>dd</option>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
    </select>
    <select name="year">
    <option selected>dd</option>
    <option>2004</option>
    <option>2005</option>
    <option>2006</option>
    <option>2007</option>
    </select>
    here the jsp code
    <% date= request.getParameter("date"); %>
    <% month= request.getParameter("month"); %>
    <% year= request.getParameter("year"); %>
    try
    { Class.forName("oracle.jdbc.driver.OracleDriver"); }
    catch (ClassNotFoundException exception)
    try
         Connection connection = null;
         out.println("connectiong the database");
    connection = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:orcsid","scott","tiger");
    out.println("connection getted");
         int rows = 0;
         String query_2 = "insert into mrdetails values(?)";
         String dob = date+month+year;
         prepstat = connection.prepareStatement(query_2);
         prepstat.setTimestamp(4,dob);
         rows = prepstat.executeUpdate();
         out.println("data updated");
    catch (Exception exception3)
    out.println("Exception raised"+exception3.toString());
    }

    To insert date values into a database, you should use java.sql.Date. If it also has a time component, then java.sql.TimeStamp.
    Your use of prepared statements is good.
    You just need to convert the parameters into a date.
    One way to do this is using java.text.SimpleDateFormat.
    int rows = 0;
    String query_2 = "insert into mrdetails values(?)";
    String dob = date+"/" + month+ "/" + year;
    SimpleDateFormat sdf = new SImpleDateFormat("dd/MM/yyyy");
    java.util.Date javaDate = sdf.parse(dob);
    java.sql.Date sqlDate = new java.sql.Date(javaDate .getTime);
    prepstat = connection.prepareStatement(query_2);
    prepstat.setTimestamp(4,sqlDate);
    rows = prepstat.executeUpdate();
    out.println("data updated");Cheers,
    evnafets

  • SQL Server Compact 3.5 Check if database has changed

    Hi,
       Is there an easy way to determine if any table in an SQL Server CE 3.5 database has changed? (Any insert, update or delete in any table).
    Thanks
    Paul.
    Paul Wainwright

     I am currently using the change tracking mechanism as the application synchronizes databases. I was considering using a FileSystemWatcher to check the LastWrite to the database file but wondered if something global in a SDF database could be used instead.
    Hi Paul,
    Based on my research, besides using the change tracking mechanism and FileSystemWatcher, ADO.NET SqlDependency mechanism is also helpful for detecting SQL Server compact database changes if you're using client side ADO.NET with C# or VB.NET.
    A SqlDependency object can be associated with a SqlCommand in order to detect when query results differ from those originally retrieved. You can also assign a delegate to the OnChange event, which will fire when the results change for an associated command.
    For more details about SqlDependency, please review the following link.
    Detecting Changes with SqlDependency:
    http://msdn.microsoft.com/en-us/library/62xk7953.aspx
    Thanks,
    Lydia Zhang

  • Data Pump .xlsx into a SQL Server Table and the whole 32-Bit, 64-Bit discussion

    First of all...I have a headache!
    Found LOTS of Google hits when trying to data pump a .xlsx File into a SQL Server Table. And the whole discussion of the Microsoft ACE 64-Bit Driver or the Microsoft Jet 32-Bit Driver.
    Specifically receiving this error...
    An OLE DB record is available.  Source: "Microsoft Office Access Database Engine"  Hresult: 0x80004005  Description: "External table is not in the expected format.".
    Error: 0xC020801C at Data Flow Task to Load Alere Coaching Enrolled, Excel Source [56]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager"
    failed with error code 0xC0202009.
    Strangely enough, if I simply data pump ONE .xlsx File into a SQL Server Table utilizing my SSIS Package, it seems to work fine. If instead I am trying to be pro-active and allowing for multiple .xlsx Files by using a Foreach Loop Container and a variable
    @[User::FileName], it's erroring out...but not really because it is indeed storing the rows onto the SQL Server Table. I did check all my Delay
    Why does this have to be sooooooo difficult???
    Can anyone help me out here in trying to set-up a SSIS Package in a rather constrictive environment to pump a .xlsx File into a SQL Server Table? What in God's name am I doing wrong? Or is all this a misnomer? But if it's working how do I disable the error
    so that is stops erroring out?

    Hi ITBobbyP,
    According to your description, when you import data of .xlsx file to SQL Server database, you got the error message.
    The error can be caused by the following reasons:
    The excel file is locked by other processes. Please kindly resave this file and name it to other file name to see if the issue will be fixed.
    The ACE(Access Database Engine) is not up to date as Vaibhav mentioned. Please download the latest ACE and install it from the link:
    https://www.microsoft.com/en-us/download/details.aspx?id=13255.
    The version of OFFICE and server bitness is not the same. To solve the problem, please refer to the following document:
    http://hrvoje.piasevoli.com/2010/09/01/importing-data-from-64-bit-excel-in-ssis/
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

Maybe you are looking for

  • How to edit the cube with new fields without changing historical  in BI 7.0

    HI, I have requirment that need to edit cube with new fields and without changing historical data on it. Please some one can advise me abt the above scenario. Note:I am using BI7.0

  • G4Ti4200 delay

    Hi, I have problem (can I call it hunt on ghost?) with MSI G4Ti4200 128MB. Graphic is freeze every 2sec on 0.3sec! I try to update drivers/bios/all other SW, change IRQ, change Bios settings, Detonator settings, VIA chipset drivers, 4x reinstall Win

  • Listcube to Planning Area

    Hello Experts, While releasing the value from listcube to supply planning book ( via tx - /sapapo/rel_to_snp), an error pop-up. "Characteristic combination XXXXXXX ( Mat. No) - XXXX ( plant No ) : Negative values set to Zero" Any clue why is this hap

  • Debugging in Workshop

    I have a project that I am building using ant build based on the split development diretory structure. I am able to build the application from within Workshop. I can set breakpoints within Java but the debug menus are never enabled. I saw the post ab

  • Creating complex data waveform

    Hi, I have a 2 channel audio file that contains both the real and complex parts of an I/Q wave. I am trying to demodulate this using the MSK block from the modulation toolkit but I have trouble getting the I/Q stream in the right type. The MSK block