Latest News

  • Silverlight Online Chat
    Jul 24, 2010

    Today we launch the new Silverlight Live Chat application demonstrating the Liquid RichTextBox and Emoticon replacements.

  • New Super Shoot Em Up 2 Game
    Jun 29, 2010

    Added to the Games section is the new Super Shoot 'Em Up 2 game. Take control of your tank with the aim to defeat the computer controlled opponents. Features all new weapons, levels and Battle Mode!

  • Silverlight 4 Controls V5.3.2 Released
    Jun 28, 2010

    This release contains several fixes raised in the forums.

  • New Sandmania Puzzle Game
    Jun 18, 2010

    Sandmania is the latest game from vectorlight, the aim of this game is to guide sand from the top of the screen to the various colored containers below.

  • New Moon Tower Defense Game
    May 29, 2010

    Added to the Games section is the new Moon Tower Defense game. Defend the Moon from the circling Aliens and Humans.

sbjcat
sbjcat
ServerFileUpload Posted: Dec 15, 2009
 

I've downloaded the liquid control library and the ServerFileUpload project but have no idea how to set it up.  What I did do is create a Silverlight solution with an ASP.NET project and configured it to run ServerFileUpload, however after displaying the tree with a root of MyDocuments, if I click on the tree I get the following Security exception.  My intent is to use the tree control to list the contents of a directory structure on my site, however I am at a total loss as to how to do this.  Any help would be greatly appreciated.

Thanks ahead of time,

Steve


Microsoft JScript runtime error: Unhandled Error in Silverlight Application

Code: 4004    

Category: ManagedRuntimeError      

Message: System.Security.SecurityException ---> System.Security.SecurityException: Security error.

   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)

   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)

   at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)

   --- End of inner exception stack trace ---

   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)

   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

   at Liquid.Components.Comms.BeginResponse(IAsyncResult ar)

   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)

   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)    

 
 
dan
dan
RE: ServerFileUpload Posted: Dec 24, 2009
 

Hi,


Sure, I have uploaded a better version of this demo which contains the integrated website, this is available to download from the main demo page when you are logged in.


Thanks!

 
 
sbjcat
sbjcat
RE: ServerFileUpload Posted: Dec 24, 2009
 

Thanks Dan, I probably won't get a chance to look at it until after the holiday, but I do appreciate your response,

Steve

 
 
sbjcat
sbjcat
RE: ServerFileUpload Posted: Jan 04, 2010
 

Dan,

I've downloaded the updated sample, and although it contains an integrated website (still I had to create my own solution in VS), I still get the same security exception when I click on the My Documents node (see below). Other than setting the Port number for the website project to 15159, is there something else I need to do to get past this?

Thanks for your time,

Steve


errMsg "Unhandled Error in Silverlight Application Code: 4004    Category: ManagedRuntimeError       Message: System.Security.SecurityException ---> System.Security.SecurityException: Security error.

   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)

   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)

   at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)

   --- End of inner exception stack trace ---

   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)

   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

   at Liquid.Components.Comms.BeginResponse(IAsyncResult ar)

   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)

   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)     " String

 
 
sbjcat
sbjcat
RE: ServerFileUpload Posted: Jan 04, 2010
 

Dan,

I was able to run the sample once I switched the Startup project to the website and used the ServerFileUploadTestPage.aspx instead of the TestPage.html generated when the ServerFileUpload Silverlight project was set as the Startup project.  

Again thanks for your help,

Steve

 
 

Rate this page: 

1 Star 2 Star 3 Star 4 Star 5 Star
8 Ratings / 2.5 Average