Solved C# DataStore exception

Status
Not open for further replies.

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
I'm getting this exception ... :
System.IO.IOException: Sharing violation on path C:\ServerPath\FougeriteDatastore.ds

I made sure "read-only" was deactivated on all folders on top of the one at the server, tried executing as administrator, and nothing.

Any ideas ?
 

mikec

Master Of All That I Survey
Retired Staff
Trusted Member
Jul 12, 2014
296
152
28
Los Angeles, California, USA
Fixed!

Save() and Load() the DS as much as you want. Vector3 are converted to/from strings going into DataStore, and will no longer cause it to blow up.
You can also dump the contents of the DataStore to a ini file format to see what's in it.
 
Status
Not open for further replies.