I have an MVC .NET 4.0 web application which is using an EF4 Entity Model (database generated). In full trust
all works ok, but in medium trust
this exception is thrown when code is trying to access a model;
Schema specified is not valid. Errors:
Models.Model.ssdl(2,89) : error 0002: Request failed.
[MetadataException: Schema specified is not valid. Errors:
Models.Model.ssdl(2,89) : error 0002: Request failed.]
System.Data.Metadata.Edm.Loader.LoadItems(IEnumerable`1 xmlReaders, IEnumerable`1 sourceFilePaths) +11108232
...
This is my connectionstring;
res://Manager/Models.Model.csdl|res://Manager/Models.Model.ssdl|res://Manager/Models.Model.msl
It is working in Full trust, so am I missing some permission in my Medium trust?