Lost graphics in Smart Client

I recently lost all graphics from displaying in the SmartClient and was wondering if anyone would know why.

Grahics in icons and on forms were displaying just fine in developer, Smart Client and Web Client. I had originally created a blank repository and imported a solution. I made an error in the server config name, when I tried to change the server name, Servoy whined it couldn’t find some objects by the old server name. So I figured I would start over, drop the repository, delete the connection, and re-import into a blank repository server. That all went well, everything launched w/o errors. I next launched the Smart Client and now there are no graphics on any form. Anything stored in media no longer appears on the forms. Deleted the Java cache reloaded the solution and its resources and still no graphics. All graphics are still appearing just fine in developer and in web client. What would cause this, and what are the rules? Is it the case one can never change the server config name once a solution has used it? Is there persistent data in the solution that forever gets tied to the server name. Try to understand this strange behavior so it doesn’t happen again.

Hi Gary,

Did you also delete the (hidden) .servoy folder ?
This holds the cached solutions so that might be the issue here.

Hope this helps.

No, how do you find the hidden folder? Thanks

Thanks Robert, I located the hidden directory.

Hi Gary,

Did this fix your problem ?

For the other readers of this thread; the .servoy folder can be found in your home folder. So depending on your OS that can be one of the following:
Windows XP: C:\Documents and Settings\youraccountname.servoy
Mac OS X: /Users/youraccountname/.servoy
Linux: that depends on your distribution, but it’s in the users home directory.

The directory is hidden so in Windows you need to set the Folder Options in Windows Explorer to see hidden files/folders. On Mac OS X/Linux you need to use the terminal and type ls -al to be able to see them.

Hope this helps.

On Mac OS X/Linux you need to use the terminal and type ls -al to be able to see them.

A tip: When you want to read the contents of the file you can use pico (editor) by typing ‘pico filename’.
Another tool, one that I use on a day-to-day basis is SubEthaEdit. A very nice editor, mentioned elsewhere on the forum as well.
SubEthaEdit has a preference setting that enables you to also find and edit non-visible files (and folders).

The graphics came back in the Smart Client after the 3rd attempt of re-creating the repository and re-booting the computer. Never did end up deleting the hidden file. Go figure.

Thanks for the tips and help though, will be useful in the future if things go wrong.