Porting Database Functions From WM 5 Pocket PC To WIN32
Apr 21, 2008
Hi all,
I'm working on porting a solution running under WM 5 Pocket PC to Win32 but I got some problems with type definitions like CEOID, CEGUID... I saw that these types are defined in windbase.h (EDB definition added to preprocessors) ) which includes types and definitions usefull for database managment. Anyway this header file is not present in C:Program FilesMicrosoft Platform SDK for Windows Server 2003 R2Include, so I was wondering which is the header file I can use instead of it. Thanks
View 5 Replies
ADVERTISEMENT
Nov 21, 2006
I am still pursuing my studies. I have been recently assigned a project for building Database Application for my college's library. And there was no better option to implement it with VB.NET 2.0 & SQL Server 2005.
VB.NET 2005 & SQL Server Express 2005 are the resources at my disposal.
The problem is that the college already has a Library Management System in place, built in VB6.0 with Access. I have been asked to pepare the application from scratch. But the database obviously cannot be left out.
Now, can anyone suggest me an efficient way to port the Access database to SQL Server express. Also, the databse has been desinged poorly & is not properly normalized.
Can I port it to SQL Server Express with some slight modifications to its structure without any loss of data??????
View 8 Replies
View Related
Aug 2, 2007
We rewrote one of our legacy C#/asp.net applications that accesses a sql server 2000 database. The new database schema looks very similar to the old one. The major difference is that some of the atributes in the database tables are different. But pretty much we are using the same tables, plus or minus a few.
We need to import the old data into the new database. I have never had to undertake this type of thing before as I am not a DBA, but a developer. I feel a little scared about this whole process. My boss is open to us hiring a contractor to help with the process.
My biggest concern is the referential integrity of the database.
Can someone help me out. Does this sound like something that can be easily done or should I ask for some help.
Ralph
View 2 Replies
View Related
Mar 2, 2004
Can anyone help me in this issue:
How do we replicate database changes (like tables) from QA to production without losing Production data.
We already tried using the DTS export but it is dropping the destination tables before export which will result in data loss in the destination database.
View 3 Replies
View Related
Apr 10, 2004
Hi,
Any body please give me any reference to the C# code, how to drop a database on SQL SERVER CE.
thanx and regards
ramesh chandra
View 1 Replies
View Related
Jul 27, 2006
i have install vs2005 and wm5 sdk on my pc. i want to develop database application on my pocket pc (database = sqlserver 2005 express)
- i need to install another software on my pc or pocket pc ?
- how to start develop database application on my pocket pc?
thank you
View 1 Replies
View Related
Apr 4, 2006
Hi,
I am developing an application for a Pocket PC (PPC). I am using Visual studio 2005, and the Operating system on this PPC is Window Mobile 2003 SE. The followings are my codes to connect PPC with the database on my PC with sql server 2005. But when I cick the button1, the error with "SQL Server does not exist or access denied." Any ideas? Thanks a lot.
Imports System.IO
Imports System.Data
Imports System.Data.SqlClient
Imports System.Math
Imports System.Drawing
Imports System
Public Class Form1
Dim strConnection As String = "Server=localhost;Integrated Security=SSPI;database=AdventureWorks"
Dim strQuery As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.Text = "Hello, Clicking after."
ReadOrderData()
End Sub
Private Sub ReadOrderData()
Dim queryString As String = "select * from Person.Address where AddressID < '10'"
Using connection As New SqlConnection(strConnection)
Dim command As New SqlCommand(queryString, connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
While reader.Read()
MsgBox(String.Format("{0}, {1}", _
reader(0), reader(1)))
End While
reader.Close()
End Using
End Sub
End Class
View 15 Replies
View Related
Feb 8, 2006
Hi,
I am developing a application where the database needs to be deployed from the central database server which is sql server 2005, and we have only few fields and few new tables which need to be deployed into pocket pc using sql mobile from sql server 2005. We would like to design the database in sql server 2005 for mobile, which will be only structure and will be deployed into PDA using web service.
Could anyone help on the above problem?
View 1 Replies
View Related
Aug 1, 2007
I'm trying to debug some CLR UDTs that uses unsafe acess to a win32 dll, I'm modifying both the win32 DLL and the UDTs DLL at the same time.
To let SQL server load the win32 DLL I've put ot into the ...Binn directory, all worked ok. Now I want to update the win32 DLL... and here cames troubles :
- I've tied to stop sqlserver / overwrite DLL / start sqlserver, but does not works. The DLL is also 'overwiteable' while SQL server is using it... this makes me think that sqlserver stores the win32 DLL in other places (maybe inside the DB) and does not uses the original one in the Binn dir
- I've tried to reload the CLR assembly, doen't works
- I've also tried to drop and recreate the assembly and doesn't works too... anyway this is not even possible in a production server since it would require me to drop all tables that uses the UDTs.
(does't works means that the win32 DLL behavior is the same)
Anyone knows how to do this basic task ?
View 2 Replies
View Related
Nov 13, 2006
New to SQL Server installations. I downloaded the SQL Server Express with Advanced; when I double click the Setup.exe, I get a pop-up "document path/file is not a valid Win32 application". I upgraded from XP Home to XP Pro SP2.0. Any suggestions?
View 1 Replies
View Related
Apr 22, 2002
Hi all,
I have a problem is that I cannot perform the transacional replication from one server (ms-sql2k) to other server (mssqlserver).
The error show below :
Log Reader Agent - Is not a valid win32 application.
I try to setup another server (mssql2k) to do the same thing, there is no error appeared.
Therefore, I have doubt that the name of the computer using "-" will have problem. Or the registry of (ms-sql2k) may have problem because it had wrongly installed personal edition and re-installed the standard verions afterwards.
Can anyone tell me the root of the problem ?
Simon
View 2 Replies
View Related
Mar 16, 2004
Anyone?
I have a picky client who does not want to see the command window open when a batch file is called from DTS.
Can anyone help me in running it hidden?
View 2 Replies
View Related
Apr 19, 2004
Hi,
I wanted to know if there is a way to connect to my MSSQL without having to setup a datasource in the control panel.
Perferably I want to locate the database within my perl code instead. I don't want to have to setup a datasource each time I need a different database. Perhaps there is a way to pass the name of the database along with the username and password through the command line.
Any suggestions?
Thanks.
View 5 Replies
View Related
Jan 1, 2008
Ok..So the story is I'm trying to install a SQL Server 2005 SP2 upgrade from http://www.microsoft.com/downloads/details.aspx?FamilyId=d07219b2-1e23-49c8-8f0c-63fa18f26d3a&DisplayLang=en
I'm sure my computer is either x64 or ia64, and I have downloaded both the installation files but both of them give me the same error, when the installation bar at the start is pretty much full, it gives me a "hotfix.exe is not a valid Win32 application." error.
And instead of installing it to the usual C: directory, it installs to the F: directory..And it does not give me an option to choose which directory I want to install it into..
My operating system is a Windows XP Pro..
Hope somebody can help me out soon..
Thanks in advance.
View 7 Replies
View Related
Jun 29, 2007
Hi,
i'm trying to install MS SQL 2005 Enterprise Evaluation Edition, on my Win XP Pro SP2 (Intel Centrino 1.73Ghz, 1GB RAM)... i have downloaded the self-extractable file (SQLEVALX64.EXE) from MS website... After extracting this file to a folder and clicking on "setup.exe" - resulting in "setup.exe is not a valid Win32 application" error message...
What wrong in my installation...
Cheers
Venu
View 1 Replies
View Related
Aug 6, 2007
I'm not exactly sure when this error occured, as I typically access databases running on a server. However, I've recently encountered this error when trying to access my local instance of SQL Server 2005 Developer edition. I'm assuming it's due to a recent windows update.
The dialog box that comes up with this error is titled: Microsoft .NET Framework
The full error is: System.Exception: CryptUnprotectData: Win32 error:-2146893813
Any ideas on what happened and how to fix this?
Thanks
View 6 Replies
View Related
Jul 15, 1998
Hello from Microsoft SQL Server 7.0 Porting Lab. Anyone have any 7.0 questions for the Microsoft people while I`m here?
View 1 Replies
View Related
Nov 18, 1998
I's any problem with porting app. from 6.5 to 7?
The whole app is in MSSQL
& client made by ASP
Thanx
View 1 Replies
View Related
Apr 22, 2002
Hi all,
I have a problem is that I cannot perform the transacional replication from one server (ms-sql2k) to other server (mssqlserver).
The error show below :
Log Reader Agent - Is not a valid win32 application.
I try to setup another server (mssql2k) to do the same thing, there is no error appeared.
Therefore, I have doubt that the name of the computer using "-" will have problem. Or the registry of (ms-sql2k) may have problem because it had wrongly installed personal edition and re-installed the standard verions afterwards.
Can anyone tell me the root of the problem?
Simon
View 1 Replies
View Related
Mar 25, 2008
From where can i findout the import and export wizard in SQL 2005 express edition?
View 1 Replies
View Related
Apr 11, 2004
Hey guys, I recently found out u can actaully JOIN tables that are on different dbs as long as they are on the same SQL Server by specifying [DATABASE].[DATABASEOWNER].[TABLE]. I now have a question tho. Can you access functions the same way? i have tried using the same syntax, but I get an error saying 'Invalid object name'
Any help would be great.
Thanks!
View 2 Replies
View Related
Aug 15, 2000
Hey everyone - I get the following error when I try to open up a DTS package that I ported from one machine to another as a file. The error is:
Error Source: Microsoft Data Transformation Services (DTS) Package
Error Description: The parameter is incorrect.
Does anyone know what this error is and how to get the package to open? I really don't want to have to rewrite the package if I can avoid. Any help would be greatly appreciated.
View 1 Replies
View Related
Mar 6, 2004
I have a MS Access DB that needs to be moved to SQL Server. I have no clue how to do this or even what the issues and considerations are.
Can anyone provide a link to any resources where I can educate myself? Or offer any advice or "lessons learned".
I anticipate using the same Access DB as a front end since the forms are all set up as we like.
Thanks in advance
Don
View 5 Replies
View Related
Mar 17, 2004
I have started a new site using a CMS which can be either Access or MS SQL. For ease of install and cost factors the site is currently running as an Access dbase driven site. If traffic numbers and content grow and Access dbase blows out to, lets say 500meg will I see a major degradation in performance and will it be possible at a later data to somehow export the Access dbase data into MS SQL dbase format. I'm assuming I'd have to engage a fairly competent developer but before I get into the trap of growing a large site, I'd like confirmation that I'd be able to extract all of the data and get it into a more robust solution as and when required. phew!
View 8 Replies
View Related
Jul 23, 2005
Has any body done the porting from oracle to sql server, what were theissues in porting the data bases?Also suggest some resources which can be helpful in the porting projectTIAGolu
View 4 Replies
View Related
Jul 23, 2005
I have a situation where I have an app that uses a sql server (msde)database. The app will be used in environments where no one should beable to manipulate the data except the developers (app admins) - noteven site database admins. When the application and msde is installed,a default instance of the database gets attached to msde or built byscript. by default, a built in server acct and approle acct exist tosecure the data accordingly with passwords concealed. What can be doneto keep someone from copying the mdf and ldf files to another machinewhere they have admin rights and manipulating data?Thanks.
View 1 Replies
View Related
Aug 2, 2006
1) In several tables, in my MySQL version, I created columns usingsomething like the following:`ab_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on updateCURRENT_TIMESTAMP,This allowed me to ensure that when a record is either added or edited,the value in the field is set to the current date and time. I.E.,ab_timestamp is given the current date and time when a record iscreated, and then it is updated to the date and time at which therecord is updated. I learned the hard way that MS SQL does not like"on update CURRENT_TIMESTAMP". So, it looks like MS SQL will allow meto initialize ab_timestamp to the current date and time, but notautomatically update it to the date and time at which the record isupdated. I have plenty of code to port that depends on the behavioursupported by MySQL. DO I have to modify all that code, or is there away to get MS SQL to provide it? (Yes, I know 'timestamp' isdeprecated in MS SQL and that I should use datetime instead, and infact have already done so.)2) I began with a single SQL script that creates all the tables, views,functions and triggers the database needs. On trying to get MS SQL toaccept it, I encountered a number of error messages saying that CREATEFUNCTION and CREATE VIEW need to be the first statement in a script.Why? I know I can work around this odd constraint by putting eachfunction and view (and IIRC trigger) into its own script, but thatseems like a make work effort imposed for some unknown reason by MSSQL, unless there is another way to get around it.3) I see, in the documentation for CREATE FUNCTION, functions are notallowed to use a timestamp for either a parameter or a return value.This is in reference to a pair of scalar functions I am using whichneed to manipulate date and time values. For the purpose ofclarification, is this documentation refering to all date/time datatypes, or only the deprecated timestamp type? As examples, considerone function that needs to return the most recent date in a date columnin a specific table, or another function that computes a date from adate and an offset (e.g. if called with the value returned by the firstfunction as the first argument and '-7' as the second, returns the dateof the day that is a week earlier than that date). These two functionsare frequently used in the SQL code I'm trying to port and I reallydon't want to complicate so many of those statements if I don't haveto.ThanksTed
View 2 Replies
View Related
Jun 27, 2007
Hi,
Currently, I need to move the 2 database from a MSsql server to another new MSsql server.
How do I do it?
View 4 Replies
View Related
Mar 30, 2007
Hi,
I have purchased
SQL Svr Enterprise Edtn 2005 Win32 English MVL 1 Proc does it mean that its 32 bit software? and its 1 processor based license ?
Also will it run on HP DL580 G4/(1) Dual-Core 64-bit Intel® Xeon„¢ 7110M Processor (2.60 GHz, 95 Watts, 800MHz FSB) successfully ?
Pls reply urgently
Thanks
View 3 Replies
View Related
Dec 5, 2007
can somebody advice me on this error.
An Unhandled win32 exception occurred in DtsDebugHost.exe[3172]
Thanks a lot
View 3 Replies
View Related
Feb 12, 2008
Today I ran into the error (see title of this post) while trying to execute a batch file using SSIS. If anyone else runs into this problem I want to point them to my post on the issue, as I did not easily find a solution when doing the search myself: http://blog.lyalin.com/2008/02/1-is-not-valid-win32-application-ssis.html
Summary (So you dont need to visit my blog):
I was trying to execute a totally empty placeholder batchfile and this produces the "%1 is not a valid win32 application" error when using Execute Process Task. Simply add something to your placeholder file (like DIR command) and you can continue running your package without error
I hope this saves someone time in the future.
Comments? If anything in my post is inaccurate I hope you guys post some corrections.
Regards,
Dmitry
http://blog.lyalin.com
View 1 Replies
View Related
May 7, 2008
I am writing a Sql Function in CLR. That function receives some data for processing. For processing the data, the function requires some additonal data to be fetched from the same database.
So, how does a CLR function execute SELECT or other Sql statements (or does it need to open up a SqlConnection for the purpose)???
View 1 Replies
View Related
Mar 30, 2005
hi,
i got the application(from my first post) working in win2003. but this application was made in webmatrix, i.e it had only 2 files, the .aspx file and the web.config file. so i decided to convert this code to a vs.net web application project. i did that and got it working on my xp box.
i copied the app folder on 2003, made that folder as an app in iis 6 of win 2003 and tried to run it, and got the following error:-
Server Error in '/emrtd' Application.
Cannot open database requested in login 'ASPState'. Login fails. Login failed for user 'HPSISandeshD'.
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: Cannot open database requested in login 'ASPState'. Login fails. Login failed for user 'HPSISandeshD'.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[SqlException: Cannot open database requested in login 'ASPState'. Login fails.
Login failed for user 'HPSISandeshD'.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
System.Web.SessionState.SqlStateConnection..ctor(String sqlconnectionstring) +92
[HttpException (0x80004005): Unable to connect to SQL Server session database.]
System.Web.SessionState.SqlStateConnection..ctor(String sqlconnectionstring) +191
System.Web.SessionState.SqlStateClientManager.GetConnection(Boolean& usePooling) +98
System.Web.SessionState.SqlStateClientManager.SetAsyncWorker(String id, SessionStateItem item, Byte[] buf, Int32 length, Boolean inStorage) +44
System.Web.SessionState.SqlStateClientManager.System.Web.SessionState.IStateClientManager.Set(String id, SessionStateItem item, Boolean inStorage) +147
System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +465
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
please help on this, why is this happening?
View 2 Replies
View Related