Copy link to clipboard
Copied
Our group has set up a ColdFusion Admin on a remote server. I have installed CF Builder 2018 on my PC. I am trying to connect to a SQL database which has been mapped on the remote server. I am in the RDS Dataview to access the data. I get an error 'Premature EOF encountered'. Is it possible to access the data on my PC from the remote server? What am i missing.
Philip, let's get one easy possibility out of the way first: are you saying you CAN connect via RDS to that server, and CAN see in your RDS view the list of datasources on that server? And is it that when you try to expand one of them, THAT's when you get the error?
I have seen some people get that "premature eof" error in just such a case, where the issue is that on the CF Admin of that remote server, the datasource you are trying to access (via RDS) doesn't even "verify". Have the person res
...Copy link to clipboard
Copied
Philip, let's get one easy possibility out of the way first: are you saying you CAN connect via RDS to that server, and CAN see in your RDS view the list of datasources on that server? And is it that when you try to expand one of them, THAT's when you get the error?
I have seen some people get that "premature eof" error in just such a case, where the issue is that on the CF Admin of that remote server, the datasource you are trying to access (via RDS) doesn't even "verify". Have the person responsible for that remote CF Admin check that for you. If it does not verify in the CF Admin, then of course you won't be able to view it via RDS. And that could lead to this error (where the RDS feature is not passing back the details, to understand the actual cause).
But if instead you CANNOT yet see the list of databases on that server, or even can't connect to that server (in RDS), then that's entirely different, and there are SEVERAL things that can prevent one connecting to a given CF server from CFBuilder, because that RDS feature is indeed quite powerful (and a server allowing such connections is quite vulnerable, if considerable care is not taken). In fact, often such RDS access will be disabled, by default or by things that are "protecting" the server (CF or the box itself).
I actually wrote all the below before the first point above came to me. In case someone that's not it, I will share the rest here--for posterity, if nothing else. 🙂
So first, about the CF server (whose datasources you want to view in the RDS dataview feature of your local CFBuilder), is it that CF server a production or development CF instance? If it's a production one, it's unlikely you will be unable to connect to it via RDS from your CFBuilder, though even then it's not impossible.
To use an RDS connection from CFBuilder to a given CF server, you need several things:
Let us know how you get along, if you decide to keep trying.
Copy link to clipboard
Copied
Hi, Philip. Thanks for marking my first answer as the "correct" one for you, but might you share what it was that was the issue for you, in case it may help others? If you prefer not to do that for some reason, ok. Either way, glad I could help.