1. Beatrix Willius
  2. Valentina Database ADK
  3. 火, 1月 28 2020, 01:40 PM
  4.  メールで購読
What does the above error mean? The code isn't very complicated and has worked for a long time:

ValentinaDB.Create(theFolderitem, EVDbMode.kDscDatBlbInd, 256*1024)
catch err as VException
if err.ErrorNumber = -5000 then
Globals.theErrorlog.DialogErrorProceed Replace(kErrorNoPermission, "<<filename>>", theFolderitem.NativePath)
Globals.theErrorlog.DialogErrorProceed Replace(kErrorCreate, "<<filename>>", theFolderitem.NativePath) + " " + str(ValentinaDB.Errnumber) + ":" + ValentinaDB.ErrString + "."
end if
Globals.theErrorLog.logitem currentMethodName + " done", "close"
Return False
end try

In the session log that my app does I can see the location of the database:

2020-01-28, 05:00:48 Valentina Version: 9.7.3
2020-01-28, 05:00:48 VConnectionController.ConnectLocally done
2020-01-28, 05:00:48 VConnectionController.OpenDB
2020-01-28, 05:00:48 VConnectionController.OpenDBLocally
2020-01-28, 05:00:48 getDatabase.get
2020-01-28, 05:00:48 getDatabase.CreateDB
2020-01-28, 05:00:48 Dialog: Das Archiv "/Volumes/Sicherungen/MailArchiv/Mail Archiv.vdb" konnte nicht angelegt werden.
Fehler: 4294967253:.

Any ideas?

Valentina 9.7.3, macOS 10.14, Xojo 2019r3.
There are no comments made yet.
Ivan Smahin 承諾済みの回答
4294967253 == -43
error -43 fnfErr: File not found
There are no comments made yet.
Beatrix Willius 承諾済みの回答
Ah, that makes sense. Why wasn't the database created? Permissions problems? I have that as error -5000 or is the error obsolete?
There are no comments made yet.
Ruslan Zasukhin 承諾済みの回答
Hi Beatrix,

where from comes -5000 number? It seems you going replace file if -5000

-43 this is MAC OS error number.
There are no comments made yet.
Beatrix Willius 承諾済みの回答
I'd like to know that, too, where the error -5000 comes from. :D I barely remember what I did yesterday. And no, there is only an error message that the database couldn't be created for that error.

This still doesn't help me why the user can't create the database on the external drive.
There are no comments made yet.
  • ページ :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.


Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories