How to deploy a sql server compact 4.0 in windows xp?

My program is developed by visual basic 6.0 with sql server compact 4.0.   How can I deploy it in windows xp sp3?
Should I install .netframework version X in windows xp before sql server compact 4.0 ? 
When I copy my program  to windows xp and run it , it shows not found provider error.

I you use ADO, the OLEDB provider must be registered. To do the simply install the SQL Server Compact 4.0 SP1 runtime MSI
Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

Similar Messages

  • How to deploy MS Sql Server 2005 and 2008 jdbc driver

    Hi SAP Guru's
    Can somebody tell me how to deploy the jdbc driver of MS SQL Server 2005 and 2008 on SDM.
    According to the SAP instruction we should have 3 files(mssqlserver.jar,msbase.jar,msutil.jar) but in 2005 driver file we only have 1 file i.e sqljdbc.jar so how do i deploy it .
    Secondly i cannot deploy it on visual administrator as well and when i am doing the File to jdbc scenarion i am getting this error
    " Accessing database connection "jdbc.sqlserver://localhost:1433;DatabaseName=Employee failed DriverManagerException. Cannot establish connection to URL jdbc.sqlserver://localhost:1433;DatabaseName=Employee  SAPClassNotFoundException com.microsoft.sqlserver.jdbc.SQLServerDriver".
    can somebody please upload the screen shots on mediafire or any other site so that i will solve my problem.

    Hello,
    *OS: First of all: *
    3 files (msbase.jar,mssqlserver.jar and msutility.jar )should be zipped to aii_af_jmsproviderlib.zip file only for UNIX OS.
    For Windows OS only sqljdbc.jar file which in every version of JDBC driver should be zipped to aii_af_jmsproviderlib.zip.
    You can deploy JDBC driver through SDM tool which mention in guide below:
    New version of JDBC driver installation guiade:
    External Driver Configuration for Process Integration 7.0
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
    Drivertool from this guide you can find at https://www.sdn.sap.com/irj/sdn/howtoguides
    Then Exchange Infrastructure How-to Guides for SAP NetWeaver 2004 HYPERLINK "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f"
    How to Install and Configure External Drivers for JDBC & JMS
    AdaptersHYPERLINK "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e00262f5-934d-2a10-b99c-9bc63c2a7768"
    Download attached system files (ZIP 16KB)
    Any questions - let me know
    BR,
    Dzmitry

  • How much memory does SQL Server 2008R2 Standard use on Windows Server 2008 R2 64-bit?

    Hi,
    can anyone tell me how much RAM will really be used by SQL Server?
    72 GB are currently installed. As Windows is only able to use 32 GB is SQL Server able to use the other 40GB + the unused part of the first 32 GB?
    Thank you very much!
    BR Matthias

    Sorry, I don´t understand your post ?!
    Maybe the question is if SQL Server is able to allocate more memory than the installed Windows Version is able to?
    Since your OS is Windows Standard edition(X64) it cannot use or a process running cannot use more than 32 G of memory.
    Now SQL server can use as much memory possible but it is now limited by Windows as your OS can only see 32 G.So it would be good part from your side to go to sp_configure and set 25 G for SQL server and can leave rest for OS( it just a figure not a actual
    value i have given,actual you have to calculate by yourself or refer to below link) .
    http://mssqlwiki.com/2013/04/22/max-server-memory-do-i-need-to-configure/
    As Andrew said after 32 G what ever memory you put it is waste.
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Build error on EF 6 + SQL Server compact 4.0 privately deployed application

    I've been migrating a desktop application from EF4 + SSCE 3.5 into EF6 + SSCE 4.0 and have a problem with running the project
    on a machine without SSCE 4.0 installed. I used "Entity Framework 6 & SQL Server Compact 4 (2)–Easy Private Desktop
    Deployment" article for instructions how to do that. The project builds and runs ok if the server installed, but when I uninstall it there is a build error occurs, but project runs (although, not all the time :) ).
    The error is "The ADO.NET provider with invariant name 'System.Data.SqlServerCe.4.0' is either not registered in the machine or application config file, or could not be loaded."
    Config file is:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    </configSections>
    <connectionStrings>
    <add name="ADAPTdatabase" connectionString="metadata=res://*/ADAPTmodel.csdl|res://*/ADAPTmodel.ssdl|res://*/ADAPTmodel.msl;provider=System.Data.SqlServerCe.4.0;provider connection string=&quot;Data Source=|DataDirectory|\APTdata.sdf&quot;" providerName="System.Data.EntityClient" />
    </connectionStrings>
    <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup>
    <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlCeConnectionFactory, EntityFramework">
    <parameters>
    <parameter value="System.Data.SqlServerCe.4.0" />
    </parameters>
    </defaultConnectionFactory>
    <providers>
    <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    <provider invariantName="System.Data.SqlServerCe.4.0" type="System.Data.Entity.SqlServerCompact.SqlCeProviderServices, EntityFramework.SqlServerCompact" />
    </providers>
    </entityFramework>
    <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" newVersion="4.0.0.1" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    <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.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
    </DbProviderFactories>
    </system.data>
    </configuration>
    packages.config created by NuGet:
    <?xml version="1.0" encoding="utf-8"?>
    <packages>
    <package id="EntityFramework" version="6.1.0" targetFramework="net45" />
    <package id="EntityFramework.SqlServerCompact" version="6.1.0" targetFramework="net45" />
    <package id="Microsoft.SqlServer.Compact" version="4.0.8854.1" targetFramework="net45" />
    </packages>
    Do you know what I'm doing wrong here? I used ObjectContext instead of DBContext. Can i be the cause of the problem?

    Remove the runtime section below from 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" newVersion="4.0.0.1" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

  • How to get Cumulative Update packages for SQL Server Compact v3.5 SP2 for use on a Windows Mobile device

    There are links on the pages for various Cummulative Updates for SQL Compact v3.5 SP2 which look to relate to the desktop version, but are these also available for Windows Mobile devices?  If so, what is the process to get hold of them?
    We are seeing intermittent problems with corrupted databases on devices which are using SQL Compact v3.5 SP2 and have seen that some of the Cumulative Updates do relate to corruption and would like to see if these can help to solve the issue.

    Just select the KB article, at the top of each there is a link to request a hotfix, you will then get a email with a download link. The 8088 and 8109 hotfixes also apply to Windows Mobile.
    http://erikej.blogspot.dk/2010/08/sql-server-compact-35-sp2-downloadable.html
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

  • How to calculate a rolling average within SQL Server Compact

    There are at least a dozen ways to skin this cat in regular SQL Server, but I am trying to solve this problem within the limitations of SQL CE. I have a table of stock values:
    Stock, Date, Open, High, Low, Close
    and I want to add 1 column "RollingAVG" which is simply the AVG(Close) over a specified timeframe (say 30 days)
    This code here works in SQL Server 2012 just fine (of course) but I need something that produces the same results in SQL CE.  Any thoughts?  Thanks!
    SELECT b.Symbol,b.DateTrade, b.ValueClose,
    (SELECT
    AVG(a.ValueClose)
    FROM
    HistoryPrice a
    WHERE
    a.DateTrade >= DATEADD(d,-30,b.DateTrade)
    AND a.DateTrade <= b.DateTrade
    AND a.Symbol = b.Symbol
    ) as Rolling30Close
    (SELECT
    MIN(a.ValueLow)
    FROM
    HistoryPrice a
    WHERE
    a.DateTrade >= DATEADD(d,-30,b.DateTrade)
    AND a.DateTrade <= b.DateTrade
    AND a.Symbol = b.Symbol
    ) as Min30Day
    (SELECT
    MAX(a.ValueHigh)
    FROM
    HistoryPrice a
    WHERE
    a.DateTrade >= DATEADD(d,-30,b.DateTrade)
    AND a.DateTrade <= b.DateTrade
    AND a.Symbol = b.Symbol
    ) as Max30Day
    FROM
    HistoryPrice b
    order by Symbol,DateTrade desc
    Shane

    Hi,
    AVG function is supported in SQL Server Compact. However, embedded select clause is not supported in Visual Studio and a SQL Execution error will be thrown out.
    I suggest you optimize your query. You can refer to the below code:
    AVG (SQL Server Compact)
    http://technet.microsoft.com/en-us/library/ms174124.aspx
    If you have any feedback on our support, please click here.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • System.Data.SqlServerCe.SqlCeException (0x80004005): Native components of SQL Server Compact engine are not loaded. Please reinstall Microsoft SQL Server Compact.

    Hi
    I have followed http://technet.microsoft.com/en-us/library/ms173298(v=sql.110).aspx to support private deployment for my application in anycpu mode.
    Though its working fine on several XP and Windows 7 , on on particular XP machine , I get this
    System.Data.SqlServerCe.SqlCeException (0x80004005): Native components of SQL Server Compact engine are not loaded. Please reinstall Microsoft SQL Server Compact.
       at System.Data.SqlServerCe.NativeMethods.ThrowIfNativeLibraryNotLoaded()
       at System.Data.SqlServerCe.SqlCeEngine.Dispose(Boolean disposing)
       at System.Data.SqlServerCe.SqlCeEngine.Finalize()
    Can anybody give me directions on this?

    Do you use LINQ to SQL or EF or ADO.NET, is what 
    Yes, I would start by investigating:
    - Do you REALLY need "any CPU", or can you cope with just x86 to make things simpler (See my LINQ to SQL blog post)
    - Is SQL Server Compact installed on this PC, and which build (is it same or different from the one you distribute)
    - Use Process Explorer from sysinternals on the machine to find out where the app tries to load the native libraries from (and fails)
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

  • 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

  • Accessing typed dataset in SQL Server Compact Toolbox in VS 2013

    I am a novice with coding so this could be a very simple answer. I am coding an application in Visual Studio 2013 with VB. I included a Compact SQL Server database using the SQL Server Compact Toolbox add in. The database shows up in my solutions explorer.
    I plan on using a typed dataset for my application but when I try to reference the dataset using this code the intellisense doesn't recognize it.
    Dim newCustomerRow As DHA_dbDataSet.CustomerRow
    My database is named "DHA_db". I am sure there are steps I am missing.
    How do I reference the typed dataset so I can add rows and data to it?
    Thanks in advance.
    Hmm...

    The Toolbox (I am the author of it) does not support Typed DataSets (and neither does VS 2013, I believe). You should use LINQ to SQL instead, and the Toolbox supports code generation for this.
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com
    Thank you a ton. I started off with an incorrect assumption about the dataset. Your advice and a google search led me to description of how to add a typed DataSet.
     http://msdn.microsoft.com/en-us/library/04y282hb.aspx 
    I like the Toolbox add in. Thanks for authoring it!
    Hmm...

  • Can TS work with sql server compact or express?

    I'm don't have much experience with the underpinning of database systems.  I know conceptually how they work and can hack my way through sql queries.  Is there something fundamentally different about a Sql Server Compact itnstall versus Sql Server versus Sql Server Express?  Can TS work with any of them with a proper connection string?
    My problem is at our local site a previous employee set us up on Sql Server and wrote a web app (.asp) to do the query for presentation on a web page.  At an offsite location they can't install Sql Server and I'm trying to figure out the best path for them to be able to use the same .asp tool we have.  My gut feeling is the .asp tool is probably set up such that it wouldn't take much to make it work with MySql but because I don't have the luxury of time I'm hoping someone can point me in what they think might be the easiest direction (whether that is sql compact if possible or MySql for them).

    Hi,
    TestStand works with SQL server express. (not sure about SQL server compact).
    Ravi

  • Support for SQL Server Compact 3.5

    Hello,
    we're using BI Publisher 10.1.3.4.1, some of our users need a connection to a SQL Server Compact 3.5.
    As I can't find this data source within the dropdown - is the Compact Edition of the SQL Server supported by the BI Publisher? Any experiences?
    Thank you,
    BR
    Lena

    Hi,
    I tried that, but I couldn't establish the connection...
    So I'm wondering whether this is due to the Server or the connection string.
    Any suggestions about how I can get more information about this?
    BR
    Lena

  • 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

  • SQL Server Compact 3.5 Merge Replication With SQL Server 2012 - Causing IIS App Pool to Crash

    Hi, I may be the only person in the world doing this but I wanted to give this information to anyone else who may follow this path in the future, and hopefully avoid a headache, or at least a paid support call to Microsoft.
    My original scenario was we had a SQL Server 2008 Server using Merge Replication through and IIS (web server) to several Windows Mobile 6 devices.  This has worked fairly well for a few years.
    Recently we upgraded our SQL server to version 2012 SP 1.  After moving the database over to the new server, and re-setting the merge replication stuff, we couldn't get merge replication to work on the Windows Mobile 6 handheld devices.  The replication
    would appear to start, and then we would get a message saying that the device could not get to the web site.  The message on the handheld device was this:
    "The IIS service is not available."
    After doing some more research, we found that the start of the replication process was causing the Thread Pool that was running the SQLCESA35.dll to crash.  
    The SQLCESALOG.txt file had this information:
    Date Time == SQLCESA Version ==> 3.5.8088.0
    Date Time Hr=80004005 ERR:Couldn't find existing RSCB 1
    After 2 days of trying to figure out the issue on our own, we gave in and called for paid Microsoft support.  They eventually found a known issue where a cumulative update was able to fix the problem.
    We installed the update on the IIS server and everything ran smoothly again.
    FIX: Merge replication fails when you use SQL Server Compact to perform a merge replication that synchronizes changes with a publisher in SQL Server 2012
    http://support.microsoft.com/kb/2845550
    Seth O'Neal

    Hi sonealtx,
    Glad to hear that the issue is resolved. Thanks for your sharing, other community members could benefit from your solution.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager

    Will the reports developed in sql server 2008 r2 BIDS work when deployed on sql server 2012 reporting manager?
    when I check on Microsoft site it says
    Reports are not upgraded when you upload a report definition file directly to the report server
    or SharePoint site. Upgrading a report definition in SQL Server Data Tools is the only way to upgrade the .rdl file.
    When you open an .rdl file in Report Designer in SQL Server Data Tools (SSDT), if the report was
    created for a previous namespace, Report Designer automatically creates a backup file and upgrades the report to the current namespace.
    This is the only way you can upgrade a report definition file.
    Now here is another confusing statement which says
    You can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server
    2012 report server and it is automatically upgraded on first use. The report server stores the report definition file in the original format. The report is automatically upgraded the first time it is viewed, but the stored report definition file remains
    unchanged.
    All I want to know is if I deploy a rdl made in 2008 r2 to 2012 will it work on the report manager of
    2012?
    <o:p>
    </o:p>
    Mudassar

    I have tested this fucntionality and can confirm that ssrs 2008 r2 reports work when you deploy them on new ssrs 2012 report manager .
    No Migration is required .
    I didnt even moved report server dbs .All I did is just deployed reports on the report manager and it worked .
    "You
    can upload an .rdl file created in an earlier version of Reporting Services to a SQL Server 2012 report server and it is automatically upgraded on first use. "
    Microsoft needs to correct this the documentation is misleading
    Mudassar

  • Hello, How do I tell sql+ to spool output file from windows to Unix server?

    Hello, How do I tell sql+ to spool output file from windows to Unix server?
    I am new to SQL+ and just learned how to spool the file. But file is saved in my local windows enviroment and since it's 2GB in size...I want to spool it directly to another remote unix server.
    Pls answer in detail... I have been to most of the thread and didn't see relevant answer to above question.
    Am I suppose to develope some script which FTP the spool file directly to the server I want to
    or
    i Have to use UTL_FILE Package ?
    Thanks for reply

    You may not be able to...
    SQL*Plus can only spool to the local machine. If you have mapped a directory on the Unix server from your Windows machine, you can specify that directory in your SPOOL command.
    You could telnet to the Unix server, run SQL*Plus there, and spool the file to a local (Unix) directory.
    If the Unix server is also the Oracle database server, you could use the UTL_FILE package rather than using SQL*Plus to spool a file.
    If the Unix server is also an FTP server, you could also FTP the file from your local machine to the server.
    Of course, I would tend to re-examine a requirement to regularly generate a 2 GB text file. It seems likely that there is a better way...
    Justin

Maybe you are looking for

  • Whenever i press shuffle it will just play the song over and over, how do i get it to play different songs instead of repeating?

    My ipod touch will not shuffle songs it will just repeat the same song in less i press skip, how do i get it to shuffle again? please help

  • Very Slow Macbook : Sudden

    Dear Friends, I have encountered a very slow macbook pro performance since last one week. I did run the report EtreCheck EtreCheck version: 2.1.5 (108) Report generated 23 December 2014 20:16:22 GMT Hardware Information: ℹ️     MacBook Pro (13-inch,

  • "pages" icon missing in Acro 8

    For some reason, the "Pages" icon is missing from the left panel. Signatures and Bookmarks are still there but without the Pages icon I cannot expand the left side panel to add/remove/reorder pages the way I used to. If I inadvertently removed it (i

  • How to keep icon on folder when i use yousendit or email?

    Hi there, I am trying to email or yousend a folder to a client and when i do they can not see icon i have put on the folder... is there any way of keeping the picture there?

  • LOV Sizes

    I have an LOV in a custom attribute in a custom item which selects a large number of values >100 the LOV is not displayed in the add item wizard but %Null% is instead or the default LOV value is NULL is not allowed. I can get the LOV to work with a s