When you get the error Message: Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings when you try to deploy your Silverlight application you have to register MIME type in your IIS 7: Extension: .xap MIME Type: application/octet-stream At least that is what it …
Tag Archive: silverlight
Dec 06
How can I tell if Silverlight application is running out of browser?
Application.Current.IsRunningOutOfBrowser indicates whether application was launched as an out-of-browser application. Application.Current.HasElevatedPermissions indicates if application is running as an out-of-browser application with elevated permissions. Elevated permissions give you direct access to clipboard, user folder and COM enabled applications.