Migrate SQLCE Code To MAC Machine

Dec 25, 2007

How to port port SQL CE code to Mac OS

View 3 Replies


ADVERTISEMENT

How To Migrate Data From A Server To A New Machine

Feb 19, 2007

Hi to all,

I m a new DBA
I have a problem
I have a SQL Server with 300 Databases on a machine.
Now company has bought new Machine
How to migrate data from old server to this new machine
without recreating logins
can some one help

Thanks in advance

View 4 Replies View Related

Code Runs Fine On 1 Machine But On Other It Gives Error

Dec 16, 2005

Hi,
I am using Sql database in my asp.net application. the code runs fine on the machine where i m developing but when I try to run the code on other machine it gives following error--
error is related to access to database.(sql personal server is installed on local machine) I m giving the following connection string---
"Server=localhost;UID=sa;PWD=mypassword;Database=try1"
I have reinstalled the sql server  using mixed mode authentication and  the same sa password but still problem continues..
THE ERROR IT GIVES IS---
Server Error in '/try1' Application.


SQL Server does not exist or access denied. 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: SQL Server does not exist or access denied.Source Error:



Line 49: SqlCommand cmdSelect;
Line 50: cmdSelect = new SqlCommand("select * FROM Departments", sqlConn);
Line 51: sqlConn.Open();
Line 52: return cmdSelect.ExecuteReader(CommandBehavior.CloseConnection);
Line 53: }Source File: c:inetpubwwwroot ry1DataAccessCode.cs    Line: 51 Stack Trace:



[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
System.Data.SqlClient.SqlConnection.Open()
try1.DataAccessCode.getDept() in c:inetpubwwwroot ry1DataAccessCode.cs:51
try1.WebForm1.Page_Load(Object sender, EventArgs e) in c:inetpubwwwroot ry1Login.aspx.cs:35
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

View 3 Replies View Related

Not Able To 'Step Into' The Procedure Code In SQL Debugger From Client Machine.

Jul 25, 2003

Hi,

I am working on SQL-Server 2000 (developer edition) with SP3 on Win 2000 and Clients are Win98/Win XP.

I am not able to 'Step Into' my SQL Procedure code in Debug mode, executed from Query Analyzer from a client machine. As soon as I select the 'Execute' button after inserting all the parameters value, the whole procedure gets executed. But I'm able to do the same (i.e 'step into') from the Server itself.

Do I need any additional configuration settings in the client machine ??

I shall be greatful if anyone can help me to solve the above problem.

Thanx in advance.

Surajit

View 2 Replies View Related

Error On Executing SSIS Packages On A Remote Machine Using Code

Apr 10, 2007

Hello all,



I am trying to execute the ssis packages using code.These packages are hosted on remote server under MSDB in local Network.



Below is the code tried to Execute
--------------------------------------------------

DTSExecResult execRslt = _dtsxPackage.Execute();

foreach (DtsError dtserr in _dtsxPackage.Errors)
{
Console.WriteLine("Source: " + dtserr.Source + ", Description: " + dtserr.Description);
}


I get hte following Error
--------------------------------



"Dupaco Load MMAs"-------------"An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.".
"

"Data Flow Task" -------"The AcquireConnection method call to the connection manager "Dupaco" failed with error code 0xC0202009.
"

"Data Flow Task" ----------"component "OLE DB Destination" (119) failed validation and returned error code 0xC020801C.
"



"One or more component failed validation.
"



"There were errors during task validation.
"



When i try to execute the same code on the server where all the package are hosted. It is working fine.



More Info:

In thepackage we are using one "Source Flat file connection" and one "Oledb Destination connection"

Please help me to solve this problem, as my client needs it very badly


Thanks
Subin

View 9 Replies View Related

Sqlce 3.0 Vs Sqlce 2.0 Memory Issue

Feb 6, 2006

I am currently upgrading our ppc app (written in .net 2003) to .net 2005 and from sqlce 2.0 to 3.0. The new application runs out memory(storage) when handling lots of data transactions (both in case of using sqlcedatareader, and dataset ). There is no memory leak issue here, sqlce 3.0 simply uses a lot more (3 times more) memory than sqlce 2.0.

Our applicaton runs fine using sqlce 2.0 and .net 2003, but fail due to memory shortage

with the upgrades(which has the same code). Anyone can shed some lights on this issue?

View 3 Replies View Related

How Do You Use The Upgrade.exe For Sqlce 2.0 To Sqlce 3.0?

Jun 9, 2006

Does anyone have any instructions on how to go about uprading a .sdf file
from sqlce 2.0 to sqlce 3.0?

I found this on an msdn website
(link: http://www.microsoft.com/sql/editions/sqlmobile/upgrading.mspx) but
as you can see its very lacking on detail. (I included the link and content
referring to upgrading the database files so you won't have to go to the link
to see the part referring to upgrading the database.) I tried to run the upgrade.exe on my device but it doesn't explain how you're supposed to point it to the .sdf that you are trying to update. Here is the content on the above web page.

Upgrading Database Files
You can upgrade a database created with an earlier version of SQL Server CE
2.0 to a database created with SQL Server Mobile by using the SQL Server
Mobile Database Upgrade tool (upgrade.exe). The Database Upgrade tool runs on
a smart device.

When you run the SQL Server Mobile Database Upgrade tool, the new SQL Server
Mobile database is created on the smart device. The new database, with the
file name extension .sdf, contains all the data that was in the source
database. You need to reinitialize the upgraded database to continue using it
for replication.

Note: If you are using replication or remote data access (RDA) as a
connectivity solution before upgrading to SQL Server Mobile, you must
synchronize the source SQL Server CE database (subscription database) with
the SQL Server database (Publisher). The reason for synchronizing before
upgrading to SQL Server Mobile is to ensure that any changes that exist in
the tables on the SQL Server CE database are updated on the SQL Server
database, because after the upgrade you must resubscribe or repull using the
new database.

View 3 Replies View Related

SQLCE 2.0 And SQLCE 3.0, Both On Same Server

Oct 11, 2006

I presently run on my server SQL SERVER CE 2.0 and want to install, in addition on SQL Server 2.0, SQL Server Mobile 2005.

Is there a procedure to have both installed and running on a computer?



Thanks!



Marco

View 2 Replies View Related

Ssis Package Hangs On Script Transformation When Running On One Machine Not Developing Machine

May 4, 2007

Help!
I am using Script Transformation to output a new column as image[DT_IMAGE]
field to store serialized object. In the VB script, the sample code as

Row.serializedobject.AddBlobData ( binaryArrayReturnedFromC#dll )

The package always runs fine on my developing machine and will halt on other
machine at AddBlobData after certain number row records were processed. I am
stuck here. Anyone has any suggestion?

What I need is reading data from mutiple tables in one database and writing
into a single table in another datable. In order preserve all the columns
data, I use input column fields to construct a new object and then serialize
it, and store the serialize data into detination db table. (The object and
serialization function is coming from c# dll.)

Dim b As BusinessLicense = New BusinessLicense()
b.ApprovalDate = Row.approvaldate
b.BusinessId = Row.busid
b.BusinessName = Row.busname
b.NaicsCode = Row.naicscode
b.NaicsDescription = Row.naicsdescr
b.OwnerName = Row.ownername
b.Phone = Row.phone
b.Pkey = Row.pkey
b.RenewalDate = Row.renewaldate
b.StartDate = Row.startdate
b.Suite = Row.suite

Row.serializedobject.AddBlobData(Serializer.Serialize(b)) '''----This is blocking line
Row.infoType = BusinessLicense.TYPE



Both machine is xp with sp2. and standard SQL Server 2005 - 9.00.1399.06

Thanks!

View 4 Replies View Related

SQL 2005 Enterprise Edition The Image File Setup.exe Is Valid, But Is For A Machine Type Other Than The Current Machine

Nov 28, 2006

Hi All,

I have enterprise version software CD1 and CD2 of SQL server 2005

when i try to run setup.exe..the following error pops -up

The image file Setup.exe is valid, but is for a machine type other than the current machine

MY OS version is windows 2003 32bit Operating system...

I am suspecting the binarie may be of 64bit.. How do we check the binaries are 32 bit and 64 bit software

Thanks for your Help

Mohan



View 4 Replies View Related

Connection Pool Leak In Production Machine (in Other Machine It Runs Well)

Nov 16, 2006

Hi to everyone,
I'm facing a problem that drives me crazy. I've a web application that has the following problem. When I test the application on my developement machine all runs fine, but when I put into production server there is a problem in connection pooling. Look at the following image, the blue line is the number of connection in the pool and the violet line is the number of connection reclaimed. From the image it is clear that connection are returned on the pool only in block, maybe when the garbage collection pass and reclaim the object. The strange thing is that on my developement machine all is good, and also I'm using Enterprise Library and the connection are managed internally.- Thanks to everyone for any help.   

View 2 Replies View Related

Running A Stored Proc On A Standalone Machine From Another Machine In A Domain

Oct 2, 2000

Hullo all
I have two machines,
One is a standalone machine and the other is on a domain network. How can I run a stored procedure/job on the standalone machine from the domain machine ?
running the procedure as a Domain user results in a failed job/stored proc.
also creating an sql login and attempting to run it as that user also fails. How can I solve this problem ?
please e-mail me at wayde@sunnygrp.com if you have any thoughts...

View 1 Replies View Related

Copying Database From 2000Server Machine To 2003 Server Machine

Jul 23, 2005

Hi All;We are going to change our application server. We will copy all of ourDatabase from Mic 2000 Server OS to Mic 2003 Server OS. I found anarticle that how to move all the folders from same OS. My question isthat Would the 2003 OS be a problem when we copy all of the MC SQL 2000folders to New OS ? Has anybody done this before? Could you gimme yoursuggestions please?ThanksASA

View 1 Replies View Related

Select Data From 2000 Machine From A 2005 Machine

Jan 17, 2008

Hi,

here goes the question:

i have 1 sqlserver 2k5 machine (machine A) and sqlserver 2k (machine b)

how do i build a query to select data from 2k machine in a query of 2k5?

i mean something like

select *
from login:passw@machineb.dabatase.dbo.customers

thanks!

View 2 Replies View Related

Select Data From 2000 Machine From A 2005 Machine

Jan 17, 2008



Hi,

here goes the question:

i have 1 sqlserver 2k5 machine (machine A) and sqlserver 2k (machine b)

how do i build a query to select data from 2k machine in a query of 2k5?

i mean something like

select *
from loginassw@machineb.dabatase.dbo.customers

thanks!

View 6 Replies View Related

GetDate() - From Server Machine Or Client Machine ?

Oct 23, 2006

Hi,

If I use GetDate() function from client machine (using "\ServerMachineSQLExpress" instance from client machine "ClientMachine"), then from where I will get the DateTime value ?

From "ServerMachine" or from "ClientMachine"

Thanks

View 3 Replies View Related

Migrating SQL 2005 Test Machine To New Machine

Jul 13, 2007

Hi Guys,

I was wondering if there was any white papers on the migration part from microsoft?
Apparently the situation is like this
Currently installed MOSS 2007 in a testing pc as application server. This application server will refer another testing database server which running SQL Server 2005.

Now, wanted to move this 2 temporary server into another 2 new servers.
Correct me if I'm wrong, it cannot be done by using image like Norton Ghost due to difference hardware spec.

So, if I install another fresh copy of MOSS2007 & SQL server 2005 in that 2 new servers, how can I migrate the contents, documents, etc from the testing database server?

It would be great if someone can show me the links to kb article. Thanks

View 1 Replies View Related

Coredll.lib(COREDLL.dll) : Fatal Error LNK1112: Module Machine Type 'THUMB' Conflicts With Target Machine Type 'ARM'

Jun 30, 2006

Dear All:

When i try to debug the northwindoledb example with VS2005 i get the foolwing error message.

Is there a way to configure the solution to run witn WM5 emulator.

The application run with wm5 emulator when i set the plataform to Windows Mobile 2003, but i want to use the wm5 platform to debug my application with wm5 emulator.

------ Rebuild All started: Project: northwindoledb, Configuration: Debug Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ------

Deleting intermediate and output files for project 'northwindoledb', configuration 'Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)'

Compiling...

Employees.cpp

northwindoledb.cpp

stdafx.cpp

Generating Code...

Compiling resources...

Linking...

coredll.lib(COREDLL.dll) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'

Build log was saved at "file://d:Proyectos_VS2005Northwindoledb_WM2003_SQLEW_Windows Mobile 5.0 Pocket PC SDK (ARMV4I)DebugBuildLog.htm"

northwindoledb - 1 error(s), 0 warning(s)

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

View 1 Replies View Related

SqlCE To SQL 2k5

May 16, 2007

It is possible to upgrade existing SqlCE to Sql 2k5 database? Or just import CE database to import data model structure and data?

View 1 Replies View Related

Sqlce 3.5 Won't Run On Asp.net

Dec 12, 2007

My app is working on my local system with the vs2008 development server. It's an asp.net app and I added the line:
AppDomain.CurrentDomain.SetData("SQLServerCompactEditionUnderWebHosting", true);

So it works fine on my system. But I can't get it to work on shared hosting. I have uploaded all the sqlce 3.5 dlls to the bin directory. I am stuck at the error:

Access to the database file is not allowed. [ File name = ]

There actually is a file name in the connection string, and I set the permissions wide open on App_Data to test this.

What are the .net framework requirements for sqlce 3.5? I can't find this info anywhere.

I know sqlce 3.5 is not recommended for asp.net, but it is not the main site database but is used for a setup database utility to be installed for a windows app.

View 3 Replies View Related

Is This Possible:Report Db Is On A Machine And IIS Is On An Other Machine

Aug 30, 2007

Can we have Reporting Services having its database on a server and distribution server (http://IISserver/Reports)
on another server?We dont want our database server to have IIS and dont want SqlServer installed on our IIS server
kind regards

View 4 Replies View Related

SQLCE 3.5 For X86 CE 4.2 Redistributable

Jan 31, 2008

Hi,

We have over 1000 terminals running CE 4.2 on an x86 cpu currently using SQLCE 3.1.

We have just upgraded to VS 2008 and found the projects have been upgraded to reference SQL CE 3.5 - this is great, as we wish to use things like TOP etc.

However, all the distributable packages only include CAB files for CE 4.2 for the ARM Processor, or CE 5.0 for the x86. Is there a CAB package available for CE 4.2 for the x86 CPU? (please...)

Even just the relevant .DLL files would be fine as we repackage them ourselves anyway.

Thanks.

View 1 Replies View Related

Oracle To SQLCe

Mar 21, 2007

Hi,

Could some one in copying data from Oracle to MS SQLCe, I have the entire table structure on SQLCe.

I want to do it progamatically, if there is tool which will do this activity I am also fine with that.

View 3 Replies View Related

Which SqlCe Cab File I Can Use

Apr 2, 2007

Hi i developed Wm5 PPC application with sqlce database. i Create Cab file when i install in my HP WM5 PPC that will showe the Message sqlcewm.dll missed. Please tell me 1)sqlce30.ppc.wce5.armv4i 2)sqlce30.wce5.armv4i 3)sqlce20.ppc.wce5.armv4i..Please Help me

View 1 Replies View Related

NativeException In SQLCE?

Oct 23, 2007


In my homegrown data layer, I added the ability to do Order By Clauses.

I do one query with an Order By clause (all 6 records in the table retrieved).
Then I do a 2nd query without an Order By (36 of around 200 records in the table retrieved)

And I'm getting Native Exceptions.

ExceptionCode: 0xc00000000c (Null Pointer I believe)
ExceptionAddresss: 0x00c3703c (looks to be in sqlcese30.dll)
Reading: 0x00000005

I ran thru with the debugger, and am finding the error happening inside of a SQLDataReader.Read() call. It's trying to read the 14th of the 36 records that the query has found.

I am all but positive I'm not closing this database connection. The problem is happening while I'm looping off the reader data I just retrieved and in this query there was no ORDER BY clause.


I'm at a loss as to what to do about this. I'm not explicitly closing any database connections, and I'm getting the data right after performing the query.

View 1 Replies View Related

Is It Just Me Or Are There BIG Problems With SQLCE 3.0?

Oct 4, 2007

Greetings,

I wrote a very simple C# console application which was designed to give us a rough idea on the performance and reliability of SQLCE (the source code without metrics has been posted to this group recently). What I've found is that there are major performance and reliability issues with SQLCE 3.0 as opposed to SQLCE 2.0. Whereas SQLCE 2.0 seems to be fairly consistent in terms of it's memory usage and the amount of time taken to insert rows into the table regardless of the size of the table (to a limit, after about 300,000 records it too has major performance issues), SQLCE 3.0 seems to slow down noticably and continually use more memory even after a few thousand records are inserted and actually crashes (consistently) after 25592 records are inserted!

What gives? Based on this it would seem that SQLCE 2.0 is far preferable for an unattended device that needs an uptime of over 30 days whilst constantly (several times per minute) inserting into the database.

Thanks for your thoughts on this...

View 6 Replies View Related

SQLCE 3.5 Sync BUG

Mar 3, 2008

I'm using SQL'05, VS'08 SQLCE 3.5 building VB.NET applications.

I'm using LocalDataCache to sync SQLCE and SQL'05

When I write a new record to SQLCE the corresoponding record in SQL'05 shows both LastEditDate and CreationDate values.

When I update the recored in SQLCE the LastEditDate gets updated, but CreationDate gets set to NULL.

Ideas?

David L.

View 8 Replies View Related

SQL 2005 To SQLCe

Mar 20, 2007

Hi,

Could some one guide me hot copy tables/Data from SQL 2005 to Sql 2005 Compact Edition?



Thanks

View 3 Replies View Related

SQLCE And WPF Examples?

Jan 3, 2007

Hello all,

I want to use SQLCE and WPF.

Can anyone direct me to some example code.

two way binding with a sqlceResultSet would be a great start.

(last inquiry was in Aug of 06)

Thanks

Mike (still trying to get the latest tech to work together) Greenway

View 6 Replies View Related

Upgrading SqlCE 3.1 To 3.5

Apr 13, 2007

Hi,
Does anybody know how to upgrade a SqlCE db(.sdf) file from Version 3.1 to 3.5?
And a URL where can I get related Info.

View 1 Replies View Related

Sqlce Utility Need Help

Nov 8, 2007

Last month , I have made a utility named sqlce viewer to help me manage sqlce 3.5 beta version databases .
The location is https://sourceforge.net/projects/sqlceviewer/

And now , I encounter a strange problem , need some help .

After user install this utility or run it standalone execute file .There has a error message poped before see the login in form . Even user has installed .net framework version 3.5 .
And if user has installed visual studio 2008 beta2 ,this problem will not existed .


This utility depend on these components :
1)WPF
2).net framework 3.5 beta


I don't know what's the reason clearly .
Anyone could give some advice are warm welcome.

View 2 Replies View Related

SSMSE With SQLCE

May 31, 2007

can anyone tell me how to open/create a SQL Server 2005 Compact Edition database using SQL Server Management Studio Express?

cheers

View 5 Replies View Related

SqlCe Not For Productive Use?

Jul 30, 2007

I'm still having trouble deploying my Compact Edition application. The installation on other computers works, but if the program tries to start, i get the error message (translated from german):

"This Version of SQL Server 2005 Mobile Edition is not licencensed for productive use"

I always thought that there are no licence restriction with SQL Compact Edition.
Strangely the the programm works on some computers... as I think on all computers where Visual Studio is installed.

does that makes any sense to one of you?

thanks for any help,

Stefan

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved