silverlight 5.0 - SL 5 file drag and drop app works when local, not when started from remote web page -


i working on app user can drag , drop files , directories in to.
when start app debugger, either or w/o debugging, app works expected.
when try use xap in page on remote site, security exception.

foreach (fileinfo fi in files)   {     // _files.enqueue(fi);     if (fi.attributes == fileattributes.directory)   

attaching debugger browser, see:

+fi.attributes 'fi.attributes' threw exception of type 'system.security.securityexception' system.io.fileattributes {system.security.securityexception}
"file operation not permitted. access path '' denied."

1) why work when started debugger?
2) how can working outside of debugger?

thanks insight....


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -