[HELP] Urgent problem with valentina for director
Ruslan Zasukhin
ruslan at paradigmasoft.com
Tue Dec 23 01:22:27 CST 2008
On 12/23/08 12:38 AM, "Skarvelakis Manos" <manos at msa.gr> wrote:
Hi All,
Manos have urgent issue to resolve.
He have Director made app with Valentina == projector.
App is on HDD.
DB is on CD
Windows VISTA.
Not his app, and it seems not Vstudio are NOT able open this db.
Below we can see that Vstudio says db is not found by path
> "12:21:43 $B&P&L(B: Kernel error: 0x59502. File "D:\content\OPEPPHOTO.vdb"
> does not exist.
> 12:21:43 $B&P&L(B: Database could not be opened!"
In fact this means that PATH is wrong. Hmn.
If problem was in permission, I think error code was else.
** Anybody can confirm that he WAS ABLE work with Valentina on Vista, when
db is on CD.
** Anybody have any ideas what can be wrong here ?
---------------------------------------------------
>> How urgent is this task?
>> I hope deadline is not tomorrow?
>
>
> The day after tomorrow??
>
> Ok it's urgent and they want to provide them tomorrow the final cd.
> But I understand how dificult perhaps is this. So I really don't know.
> I will contact them tomorrow and tell them to give me some more time
> but honestly I don't know. I will inform you wright away what they
> will tell me.
>
>> So trouble only on Vista and only DB is on CD.
>> And it says table not found.
>
>
> Thats wright.
>
>
>> I think that you can try open that db from CD using Valentina Studio,
>> And see if Vstudio see this db fine? Does it see tables and data in
>> records?
>
>
> just test that and unfortunately that doesn't work also. this is the
> log file that save from valentina studio
>
> "12:21:43 $B&P&L(B: Kernel error: 0x59502. File "D:\content\OPEPPHOTO.vdb"
> does not exist.
> 12:21:43 $B&P&L(B: Database could not be opened!"
>
>
>> About Vista exists usually only one trouble -- permissions.
>
> I think you are wright. It's an awful OS.
------------------------------------------------------
------------------------------------------------------
------------------------------------------------------
> On 12/23/08 8:13 AM, "Skarvelakis Manos" <manos at msa.gr> wrote:
> The major problem that I have is with Vista (In Xp all is good)
>
> If I have my projector installed in Programs folder and I need to access my
> database which is on a CD or a maped network drive with only read permitions
> and I get this error:
>
> "ERROR: ERR_TABLE_NOT_FOUND(Table "PhotoData" not found)"
>
>
> this is the code for initValentina
>
> gDbPhoto = new ( xtra "VDatabase" )
> cpath = pathToContent & "OPEPPHOTO.vdb"
>
> --pathToContent is the CD letter (ie D:\)
>
> gDbPhoto.useEncryptionKey("Op3P!", #kStructureAndRecords)
> gDbPhoto.open(cpath)
>
> Valentina.logToFile( false, false )
> Valentina.debugLevel = #kLogNothing
> CheckValError()
>
>
> I don't have a problem in the above code as the database is open
>
> but when i try to querry
>
> data = gDbPhoto.sqlSelect( "SELECT BinData FROM PhotoData WHERE Id = :1",
> #kServerSide, #kReadOnly, #kForwardOnly, [actionParam1])
> if not CheckValError() then
> -- Lingo syntax
> if data.recordCount = 1 then
> data.position = i
> photoFile = the moviePath & "tmpa1284r.png"
> data.field("BinData").toFile( photoFile )
> member("PhotoStorage").filename = photoFile
> end if
>
> data = Void
>
>
> I get the error
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list