Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Failed to create object Scripting.FileSystemObject with SilverLight 5

$
0
0
I have the silverlight app, which uploads a folder selected by client to the server, with all nested files and folders, preserving inner structure.

To access file system app creates Scripting.FileSystemObject object with AutomationFactory.CreateObject method.

When app run inside the browser, AutomationFactory.CreateObject("Scripting.FileSystemObject"); raises error "not supported in current context".

When app run outside of the browser, everything works fine.

With silverlight 4 there was no such error even if app run inside the browser.

How can I solve this error with silverlight 5? Is there other way to upload from the browser to the server selected folder with all subfolders and files?

The app is for corporate intranet. Any browser settings and policies can be applied.




Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>