# Could Not Retrieve Form Data

**URL:** <https://forum.servoy.com/t/could-not-retrieve-form-data/4934>\
**Category:** Classic Servoy\
**Created:** [October 21, 2005, 3:34am UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934 "2005-10-21T03:34:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gte451f](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@gte451f](https://forum.servoy.com/u/gte451f)\
**Post date:** [October 21, 2005, 3:34am UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/1 "2005-10-21T03:34:24Z")

</div>

I am hoping someone will have a suggestion or a good place to look in researching the following problem. I have switched hosting companies from one Linux VPS to another.

I can get Servoy installed remotely and import my previous solutions. I have a copy of developer installed on my laptop that accesses the remote VPS for the repository and solution databases.

The developer version works great! I can open the solutions and edit them no problem.

When I try to connect as a client, I get the error “Could not retrieve from data” every time!

Why would the developer copy on my laptop work but not client access? They both use the same repository database on my vps server.

I went through some log files.  
catalina\_log.2005-09-08.txt  
localhost\_access\_log.2005-08-26.txt  
localhost\_log.2005-08-20.txt

But this stuff is greek to me!

You help would be much appreciated!

Linux VPS  
Fedora Core 1  
Mysql 4.1.13a  
java.vm.version=1.5.0-b64  
Servoy version R2 2.2-build 328, repository version 25

Also, I am not sure that I exported the solutions from the 2.2 build. It might have been 2.1. I remember the web admin page listing build information as I imported the solution. I just don’t remember what it said.

---

<div class="post-metadata">

**Author:** ![gte451f](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@gte451f](https://forum.servoy.com/u/gte451f)\
**Post date:** [October 25, 2005, 11:37am UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/2 "2005-10-25T11:37:17Z")

</div>

After some further research I have noticed that my new VPS is using Java 1.5 whereas my previous environment was 1.42. I am not sure if that would cause some sort of incompatiability but I plan on setting up a test server that more closly matches my previous envronment to restore my backups on.

---

<div class="post-metadata">

**Author:** ![oceanswellbeing](https://avatars.discourse-cdn.com/v4/letter/o/f19dbf/32.png) [@oceanswellbeing](https://forum.servoy.com/u/oceanswellbeing)\
**Post date:** [January 7, 2010, 9:16am UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/3 "2010-01-07T09:16:02Z")

</div>

> gte451f:  
> I get the error “Could not retrieve from data” every time!.

do you know if you got any feedback on this error?  
thanks

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 7, 2010, 9:25am UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/4 "2010-01-07T09:25:48Z")

</div>

when do you get that error?  
Are you able to login/register?

Because if even that is not possible then i guess you have a firewall issues, can the client access the server rmi port (1099 as default) and what are your network settings? is 2 way socket enabled and what is the hostname? (127.0.0.1 with 2 way socket enabled should work fine)

---

<div class="post-metadata">

**Author:** ![jd2p](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jd2p](https://forum.servoy.com/u/jd2p)\
**Post date:** [December 14, 2012, 9:57pm UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/5 "2012-12-14T21:57:12Z")

</div>

Wasn’t sure if I should revive this thread or create a new one… but currently I have the same issue.

The solution runs well from the Web client but from the smart client I get: “Could not retrieve form data”. This happens when the login form is loading and when I try to login, so I can’t get past that. This happens from within the same server where the solution is running and from other machines within the network.

The firewall has ports 1099, 8080 and 80 open.

Servoy Network settings:  
java.rmi.server.hostname: 127.0.0.1 (192.168.0.X when socket connection mode was used)  
servoy.rmiStartPort: 1099  
rmi.connection.timeout: 120  
ApplicationServer.pingDelay: 300  
SocketFactory.tunnelConnectionMode: 2waysocket (already tried socket as well)  
SocketFactory.compress: enabled  
SocketFactory.useSSL: disabled  
SocketFactory.tunnelUseSSLForHttp: disabled

Configuration:  
Servoy 6.1.0 rc4  
PostgreSQL 9.0 a  
Java 1.7.0\_09  
Windows Server 2008 R2 x64

Any thoughts on what we might have wrong?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [December 15, 2012, 9:53am UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/6 "2012-12-15T09:53:21Z")

</div>

does the login solution follow these rules:

[http://wiki.servoy.com/display/Serv52/U … d+Security](http://wiki.servoy.com/display/Serv52/Upgrade+existing+implementations+to+Servoy+5.2%27s+Enhanced+Security)

so no access what so ever to data, the login soluton form can’t have a datasource attached and so on?

---

<div class="post-metadata">

**Author:** ![jd2p](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jd2p](https://forum.servoy.com/u/jd2p)\
**Post date:** [December 17, 2012, 10:06pm UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/7 "2012-12-17T22:06:12Z")

</div>

The login solution form did call a getFoundset. I changed that and that fixed the problem.

Thanks Johan!

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [December 18, 2012, 8:04am UTC](https://forum.servoy.com/t/could-not-retrieve-form-data/4934/8 "2012-12-18T08:04:45Z")

</div>

after you login and the authenticator has logged in your client, a getFoundset maybe could work, but i guess the problem is that the server definitions are not on the client at all because the login solution shouldn’t have that at all.  
So it is highly recommended to not do those things, but to do those things in the real solution that is loaded right after your method finishes.
