[Opensim-dev] MSSQL runtime error in latest build..

Garrett Hussey garrett.hussey at gmail.com
Wed Sep 10 14:15:08 UTC 2008


Hi, I found the cause of this problem

Its in MSSQLRegionData.cs in LoadLandObjects

cmdAccessList.Parameters.AddWithValue("@LandUUID", landData.GlobalID);

needs to be

cmdAccessList.Parameters.AddWithValue("@LandUUID",
landData.GlobalID.ToString());


2008/9/10 Garrett Hussey <garrett.hussey at gmail.com>

>  Hi, has anyone come across an error when running up the latest
> build of opensim against an sql server 2005 DB?
>
>   - the error I get is ...
>
> "No mapping exists from object type OpenMetaverse.UUID to a known managed
> provider native type."
>
> It occurs when trying to select data from the DB and a parameter of type
> OpenMetaVerse.UUID is
> specified in the command. It looks like it cant figure out how to map the
> string in the Db onto the UUID
> struct. Is this a problem with OpenMetaverse or the MSSQL provider ??
>
> Cheers
>     Garrett
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080910/42eaf87f/attachment-0001.html>


More information about the Opensim-dev mailing list