From: Peter Foot [MVP] on 24 Aug 2006 05:48 On second thoughts I don't think this is the problem since you've indicated that it fails on CeWriteRecordProps in the backup database. See my other post for some documented issues. Peter -- Peter Foot Device Application Development MVP www.peterfoot.net | www.inthehand.com "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message news:3BCFFDF3-A58D-4AAF-B161-FCF1707FD113(a)microsoft.com... > Ahhh.....yes....i lanuch my application from Visual Studio 2005 debugger > ....and pocket pc is connected with activeSync....but my activeSync is not > configured for synchronize with outlook. > > I need to stop activeSync? > > "Peter Foot [MVP]" wrote: > >> Is there any chance your device is syncing with activesync at the time or >> are you in the process of editing an item on the device? >> >> Peter >> >> -- >> Peter Foot >> Device Application Development MVP >> www.peterfoot.net | www.inthehand.com >> >> "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message >> news:2A6C9C6A-AC19-4479-9675-ECD70E784BC8(a)microsoft.com... >> > Hi, in my application i need to create a backup of pim.vol but i have a >> > problem with "Appointemens Database". >> > >> > for all database in pim.vol i don't have problem, i open original >> > Pim.vol >> > and create a new Pim_Backup.vol so i open all database in Pim.vol with >> > CeOpenDatabaseInSession, get all information with >> > CeGetDBInformationByHandle >> > and create a copy in my Pim_Backup.vol with CeCrateDataBaseWithProps. >> > I read all record...for all DB in Pim.vol and write into same DB in >> > Pim_Backup.vol...and this work fine....for all DB in pim.vol...but not >> > for >> > "Appointments Database". >> > When i write records with CeWriteRecordProps in Pim_Backup.vol i >> > receive >> > this error "ERROR_ACCESS_DENIED". >> > >> > Can you help me? >> > >> >> >>
From: Azzi Stefano on 24 Aug 2006 05:58 Mhh..is not activeSync.....probably im writing a null property in a DB_PROP_NOTNULL field in Pim_backup.vol....so how i cant resolve this? I can change the property DB_PROP_NOTNULL in my Pim_Backup.vol? Thanks. "Peter Foot [MVP]" wrote: > Also have you read the notes from CeWriteRecordProps in the SDK > documentation. Make sure you are not writing null to a DB_PROP_NOTNULL field > > Peter > > -- > Peter Foot > Device Application Development MVP > www.peterfoot.net | www.inthehand.com > > "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message > news:2A6C9C6A-AC19-4479-9675-ECD70E784BC8(a)microsoft.com... > > Hi, in my application i need to create a backup of pim.vol but i have a > > problem with "Appointemens Database". > > > > for all database in pim.vol i don't have problem, i open original Pim.vol > > and create a new Pim_Backup.vol so i open all database in Pim.vol with > > CeOpenDatabaseInSession, get all information with > > CeGetDBInformationByHandle > > and create a copy in my Pim_Backup.vol with CeCrateDataBaseWithProps. > > I read all record...for all DB in Pim.vol and write into same DB in > > Pim_Backup.vol...and this work fine....for all DB in pim.vol...but not for > > "Appointments Database". > > When i write records with CeWriteRecordProps in Pim_Backup.vol i receive > > this error "ERROR_ACCESS_DENIED". > > > > Can you help me? > > > > >
From: Azzi Stefano on 24 Aug 2006 05:58 Mhh..is not activeSync.....probably im writing a null property in a DB_PROP_NOTNULL field in Pim_backup.vol....so how i cant resolve this? I can change the property DB_PROP_NOTNULL in my Pim_Backup.vol? Thanks. "Peter Foot [MVP]" wrote: > Also have you read the notes from CeWriteRecordProps in the SDK > documentation. Make sure you are not writing null to a DB_PROP_NOTNULL field > > Peter > > -- > Peter Foot > Device Application Development MVP > www.peterfoot.net | www.inthehand.com > > "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message > news:2A6C9C6A-AC19-4479-9675-ECD70E784BC8(a)microsoft.com... > > Hi, in my application i need to create a backup of pim.vol but i have a > > problem with "Appointemens Database". > > > > for all database in pim.vol i don't have problem, i open original Pim.vol > > and create a new Pim_Backup.vol so i open all database in Pim.vol with > > CeOpenDatabaseInSession, get all information with > > CeGetDBInformationByHandle > > and create a copy in my Pim_Backup.vol with CeCrateDataBaseWithProps. > > I read all record...for all DB in Pim.vol and write into same DB in > > Pim_Backup.vol...and this work fine....for all DB in pim.vol...but not for > > "Appointments Database". > > When i write records with CeWriteRecordProps in Pim_Backup.vol i receive > > this error "ERROR_ACCESS_DENIED". > > > > Can you help me? > > > > >
From: Azzi Stefano on 24 Aug 2006 08:22 Yes, it fails on CeWriteRecordProps...when i write into the backup database,but fails only when i write "Appointements Database" records. With the same code...i can correctly backup all database from cemail.vol, and all (except "Appointements Database") from pim.vol. "Peter Foot [MVP]" wrote: > On second thoughts I don't think this is the problem since you've indicated > that it fails on CeWriteRecordProps in the backup database. See my other > post for some documented issues. > > Peter > > -- > Peter Foot > Device Application Development MVP > www.peterfoot.net | www.inthehand.com > > "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message > news:3BCFFDF3-A58D-4AAF-B161-FCF1707FD113(a)microsoft.com... > > Ahhh.....yes....i lanuch my application from Visual Studio 2005 debugger > > ....and pocket pc is connected with activeSync....but my activeSync is not > > configured for synchronize with outlook. > > > > I need to stop activeSync? > > > > "Peter Foot [MVP]" wrote: > > > >> Is there any chance your device is syncing with activesync at the time or > >> are you in the process of editing an item on the device? > >> > >> Peter > >> > >> -- > >> Peter Foot > >> Device Application Development MVP > >> www.peterfoot.net | www.inthehand.com > >> > >> "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message > >> news:2A6C9C6A-AC19-4479-9675-ECD70E784BC8(a)microsoft.com... > >> > Hi, in my application i need to create a backup of pim.vol but i have a > >> > problem with "Appointemens Database". > >> > > >> > for all database in pim.vol i don't have problem, i open original > >> > Pim.vol > >> > and create a new Pim_Backup.vol so i open all database in Pim.vol with > >> > CeOpenDatabaseInSession, get all information with > >> > CeGetDBInformationByHandle > >> > and create a copy in my Pim_Backup.vol with CeCrateDataBaseWithProps. > >> > I read all record...for all DB in Pim.vol and write into same DB in > >> > Pim_Backup.vol...and this work fine....for all DB in pim.vol...but not > >> > for > >> > "Appointments Database". > >> > When i write records with CeWriteRecordProps in Pim_Backup.vol i > >> > receive > >> > this error "ERROR_ACCESS_DENIED". > >> > > >> > Can you help me? > >> > > >> > >> > >> > > >
From: Azzi Stefano on 24 Aug 2006 08:22
Yes, it fails on CeWriteRecordProps...when i write into the backup database,but fails only when i write "Appointements Database" records. With the same code...i can correctly backup all database from cemail.vol, and all (except "Appointements Database") from pim.vol. "Peter Foot [MVP]" wrote: > On second thoughts I don't think this is the problem since you've indicated > that it fails on CeWriteRecordProps in the backup database. See my other > post for some documented issues. > > Peter > > -- > Peter Foot > Device Application Development MVP > www.peterfoot.net | www.inthehand.com > > "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message > news:3BCFFDF3-A58D-4AAF-B161-FCF1707FD113(a)microsoft.com... > > Ahhh.....yes....i lanuch my application from Visual Studio 2005 debugger > > ....and pocket pc is connected with activeSync....but my activeSync is not > > configured for synchronize with outlook. > > > > I need to stop activeSync? > > > > "Peter Foot [MVP]" wrote: > > > >> Is there any chance your device is syncing with activesync at the time or > >> are you in the process of editing an item on the device? > >> > >> Peter > >> > >> -- > >> Peter Foot > >> Device Application Development MVP > >> www.peterfoot.net | www.inthehand.com > >> > >> "Azzi Stefano" <AzziStefano(a)discussions.microsoft.com> wrote in message > >> news:2A6C9C6A-AC19-4479-9675-ECD70E784BC8(a)microsoft.com... > >> > Hi, in my application i need to create a backup of pim.vol but i have a > >> > problem with "Appointemens Database". > >> > > >> > for all database in pim.vol i don't have problem, i open original > >> > Pim.vol > >> > and create a new Pim_Backup.vol so i open all database in Pim.vol with > >> > CeOpenDatabaseInSession, get all information with > >> > CeGetDBInformationByHandle > >> > and create a copy in my Pim_Backup.vol with CeCrateDataBaseWithProps. > >> > I read all record...for all DB in Pim.vol and write into same DB in > >> > Pim_Backup.vol...and this work fine....for all DB in pim.vol...but not > >> > for > >> > "Appointments Database". > >> > When i write records with CeWriteRecordProps in Pim_Backup.vol i > >> > receive > >> > this error "ERROR_ACCESS_DENIED". > >> > > >> > Can you help me? > >> > > >> > >> > >> > > > |