<div dir="ltr">Hi,<br><br>Check out the patch #2124 in Mantis. (<a href="http://opensimulator.org/mantis/view.php?id=2124">http://opensimulator.org/mantis/view.php?id=2124</a>). A lot off problems are solved in there. Also check out a function called "CreateParameter" in MSSQLManager. Use this to create parameters for a SQLCommand, it does a translation from OpenSim types to SQL types.<br>
<br>Met vriendelijke groet,<br>Ruud<br><br><div class="gmail_quote">On Wed, Sep 10, 2008 at 4:15 PM, Garrett Hussey <span dir="ltr"><<a href="mailto:garrett.hussey@gmail.com">garrett.hussey@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div>Hi, I found the cause of this problem</div>
<div> </div>
<div>Its in MSSQLRegionData.cs in LoadLandObjects<font color="#0000ff" size="1"><font color="#0000ff" size="1"><font size="1"> 
<p>cmdAccessList.Parameters.AddWithValue(</p></font><font color="#a31515" size="1"><font color="#a31515" size="1">"@LandUUID"</font></font><font size="1">, landData.GlobalID);</font>
<p><font size="1">needs to be </font></p><font size="1"><font size="1">
<p>cmdAccessList.Parameters.AddWithValue(</p></font><font color="#a31515" size="1"><font color="#a31515" size="1">"@LandUUID"</font></font><font size="1">, landData.GlobalID.ToString());</font></font></font></font><font size="1"></font><br>

<br></div>
<div class="gmail_quote">2008/9/10 Garrett Hussey <span dir="ltr"><<a href="mailto:garrett.hussey@gmail.com" target="_blank">garrett.hussey@gmail.com</a>></span><div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div dir="ltr">
<div>Hi, has anyone come across an error when running up the latest</div>
<div>build of opensim against an sql server 2005 DB?</div>
<div> </div>
<div>  - the error I get is ...</div>
<div> </div>
<div>"No mapping exists from object type OpenMetaverse.UUID to a known managed provider native type."</div>
<div> </div>
<div>It occurs when trying to select data from the DB and a parameter of type OpenMetaVerse.UUID is </div>
<div>specified in the command. It looks like it cant figure out how to map the string in the Db onto the UUID</div>
<div>struct. Is this a problem with OpenMetaverse or the MSSQL provider ??</div>
<div> </div>
<div>Cheers</div>
<div>    Garrett</div></div></blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<br></blockquote></div><br></div>