Jump to content

Exception EMyError...unknown localhost


mierlp

Recommended Posts

hi

 

I upgraded to the lateste version of uniGui and when running my application it got error message regarding 'unknown localhost' and the

second one is the memory leak.

 

This was working till now...I use myDac from DevArt for connecting to a LOCAL mySQL database.

The DevArt myConnection component is on the 'ServerModule' and this component contains the connection properties like Localhost.

 

Do i have to put the myConnection property on a 'main' datamodule ?

 

Regards Peter

post-510-0-84239500-1527616715_thumb.png

post-510-0-23236700-1527616723_thumb.png

Link to comment
Share on other sites

myConnection configuration is ok...and working....see attachment.

Also when i set the status on active for the query component the

data is visible.

 

The version of myDac i use is from april and latest one.

Normal VLC applications don't have this problem

 

 

Created a new test application wiith a:

- myConnection component

- myQuery

- myDatasource

 

Also when i activate them i see the data and the database on

localhost can be found.

 

When running the application i get a socket error 10022

post-510-0-20009900-1527619806_thumb.png

post-510-0-86396600-1527619826_thumb.png

post-510-0-88220100-1527620851_thumb.png

Link to comment
Share on other sites

  • Administrators
The DevArt myConnection component is on the 'ServerModule' and this component contains the connection properties like Localhost.

 

 

Just saw this!

 

Correct place is MainModule or a DataModule created from uniGUI wizard.

Putting Connections on ServerModule can bear unexpected results.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...