Author: giddy | Posted on: 4/7/2009 9:13:00 AM | Views : 462

hi,

So I just finished building a website and heres the error, its a simple website with
profiles for people and this is what shows up while adding a profile, it all works no
problem on my computer.

The RunNonQuery() just opens a normal connection on the database, that ends up in a new filestream somehow,
but I don't understand how that causes a problem!!

There was an error:System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Security.SecurityException: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand,
StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights,
FileShare share ...

Go to the complete details ...