SQL library and .net permission problem (I think)

Discussion in 'Questions (Windows Mobile)' started by markbarrett_1, Oct 1, 2007.

  1. markbarrett_1

    markbarrett_1 Member Licensed User

    Hi,

    I've been working on a database application and all is working really well. I've now adding in image support to the database and when I use a cmd.FileToBlob command I get a

    "Requesting for the permission of type 'System.Security.Permissions.FileIOPermissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, Publickey=xxxxxxxxxxxx' failed.

    Googling the error it appears to be a .net permissions problem, but I don't have any real experience with .net so I wondering if somebody can point me in the right direction.

    Thanks.

    Cheers.

    M
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Are you working from a network?
     
  3. markbarrett_1

    markbarrett_1 Member Licensed User

    Hi,

    Yes...Even though its a home setup, I use a common file server for storing files.

    Cheers.

    M
     
  4. markbarrett_1

    markbarrett_1 Member Licensed User

    Hi,

    Moved everything to a local drive (source and images) and everything works as expected...At least I only wasted an hour trying to figure out why it didn't work. Thanks for the initial tip

    Erel can you point me in the right direction to how to fix the permissions on the network drive issue (as that is my preferred method of working)?

    Thanks.

    Cheers.

    M
     
  5. Erel

    Erel Administrator Staff Member Licensed User

Loading...