Hi Casper,
I'm afraid I have bad news, but I'm not sure DbMetal is currently supported
on Mono. Maybe Pablo or Atsushi can confirm?
Anyway, if you have patches to improve the project, they're always welcome.

Pascal.

On Sat, Oct 25, 2008 at 00:05, Casper Bang <[EMAIL PROTECTED]> wrote:

>
> I am trying to use DbLinq (0.18.0) to generate entities with Mono
> (2.0) of an Oracle database. I've tried the two approaches:
>
> mono DbMetal.exe /conn:"DATA SOURCE=192.168.120.61; PERSIST SECURITY
> INFO=True; USER ID=dbuser; Password=dbpass" /provider:Oracle /
> database:dbname
>
> mono DbMetal.exe /database:dbname /user:dbuser /Password=dbpass /
> provider:Oracle /server:192.168.120.61
>
> ...but both yeilds:
>
> DbMetal failed:System.UriFormatException: Invalid URI: The Authority/
> Host could not be parsed.
>  at System.Uri.Parse (UriKind kind, System.String uriString)
> [0x00000]
>  at System.Uri.ParseUri (UriKind kind) [0x00000]
>  at System.Uri..ctor (System.String uriString, Boolean dontEscape)
> [0x00000]
>  at System.Uri..ctor (System.String uriString) [0x00000]
>  at DbMetal.SchemaLoaderFactory.LocalLoadAssembly (System.String
> baseName) [0x00000]
>
> I guess something goes wrong in parsing the server URI, bot no matter
> whether I try host name or IP, I keep getting the same error. Any
> advice much appreciated.
>
> Thanks,
> Casper
> >
>


-- 
Pascal.

jabber/gtalk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to