What are the steps to create a remote DB?

Charles Yeomans yeomans at desuetude.com
Thu Mar 23 13:11:17 CST 2006


On Mar 23, 2006, at 12:56 PM, Kevin Windham wrote:

>>>
>>> I tried the same code except using DB.open and I got an exception 
>>> stating that I have an invalid database name, so I think I am 
>>> connecting to the server fine.
>>>
>>> What am I missing?
>>
>> Instead of "server", you need to pass the address of the server -- 
>> "localhost", an IP address, or a FQDN like "server.foo.com".
>
>
> Sorry, I should have mentioned that I removed the domain part just in 
> case this email ends up on the internet at some point. I am using the 
> full address, and it connects fine in VStudio as well, so I don't 
> think it's a server connection issue.


Okay then, let's see.    You might make certain that you're calling 
Valentina.InitClient instead of Valentina.Init.   Since you're using 
GetFolderItem, you might check to make certain that you're getting a 
non-nil FolderItem, and that it is a file, not a directory.  And you 
might set Valentina.DebugLevel to EVDebugLevel.kLogParams to see where 
the crash occurs.

--------------
Charles Yeomans



More information about the Valentina mailing list