Help resolce silverlight error

Posted by Sp under ASP.NET on 10/4/2010 | Points: 10 | Views : 2250 | Status : [Member] | Replies : 1
Microsoft JScript runtime error: Unhandled Error in Silverlight Application File operation not permitted. Access to path 'E:LeadToolSampleApplicationsHMS SILVERLIGHTImages.3.6.1.4.1.33520.0.0.20100318174440.25882.0.0.Bmp' is denied. at System.IO.FileSecurityState.EnsureState()
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.OpenRead(String path)
at Leadtools.Codecs.RasterCodecs.Load(String fileName)
at LeadtoolsSilverlightExample.MainPage..ctor()
at LeadtoolsSilverlightExample.App.Application_Startup(Object sender, StartupEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)




Responses

Posted by: Prasham on: 10/4/2010 [Member] Starter | Points: 25

Up
0
Down
Hello,

Could you please check the permissions of your asp.net user to this folder. Read permissions will required there.

Hope this will help you.

Thanks
Prasham

Thanks and Best Regards
Prasham

Sp, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response