Based on the error message, it seems that the mySQL driver was automagically calling read previous to 5.1 and isn't anymore.   <br><br><br>Forcing the developer to call Read() is more in line with the rest of the <a href="http://ADO.NET">ADO.NET</a> world.     This is only a 'system' bug if this is on a DataAdapter.  If that was the case then it would be a bug in Mono's mySQL implementation.    If this is occurring on a DataReader, then this is an OpenSimulator bug.   If this is a DataReader then OpenSimulator's mySQL Connector needs to call Read in order to get access to the first row's data.<br>
<br>Typically, accessing data via <a href="http://ADO.NET">ADO.NET</a> using a DataReader looks like, <br><br>MySqlDataReader da = cmd.ExecuteReader();<br>using (da) <br>{<br>if (da.HasRows) <br>{<br>     while (da.Read())<br>
     {<br>          // Work With Data<br>     }<br>}<br>}<br>// explicit close option<br>// da.Close;<br>// da.Dispose;<br><br>Note how da.Read() is called once before the first row is accessed and again for each row.    Read() returns true if there are more rows.   False if there are no more rows<br>
<br>Regards<br><br>Teravus<br><br><br><br><div class="gmail_quote">On Mon, Jan 24, 2011 at 1:14 PM, DutchGlory <span dir="ltr"><<a href="mailto:info@verwijs-pc.nl">info@verwijs-pc.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
it seems  mysql is trying to read a database field that isn't  created...<br>
"Invalid attempt to access a field before calling Read()"  try to close<br>
opensim and start up again..<br>
or check mysql connection strings (i think EstateStore connection string)<br>
within your configuration files...<br>
<br>
if nothing works, switch to opensim git repository...  works great now use<br>
it every day... :)<br>
<br>
<br>
-----<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://opensim-users.2152040.n2.nabble.com/OpenSim-threw-an-exception-tp5941095p5956073.html" target="_blank">http://opensim-users.2152040.n2.nabble.com/OpenSim-threw-an-exception-tp5941095p5956073.html</a><br>

Sent from the opensim-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</font></blockquote></div><br>