6 Answers, 1 is accepted
0
Stijn
Top achievements
Rank 1
answered on 07 Jul 2008, 07:53 AM
anyone?
0
Hi Stijn,
This is the first time someone reports such a problem. Could you please open a support ticket and send us a simple sample project where the problem can be observed, along with the exact reproduction steps?
We will check it and do our best to provide a solution.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This is the first time someone reports such a problem. Could you please open a support ticket and send us a simple sample project where the problem can be observed, along with the exact reproduction steps?
We will check it and do our best to provide a solution.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Stijn
Top achievements
Rank 1
answered on 07 Jul 2008, 10:05 AM
that would be overkill since there is nothing special my case, it's just the editor and a scriptmanager.
i set all paths to the same directory in the code behind doing "editor.DocumentManager.ViewPaths = new string[] { path };", also for deletepaths and uploadpaths, for each of the managers. the directory is located in the root and even has full control permissions for the everyone group (for testing).
sometimes i also get an error saying "Exception Details: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds." could it have anything to do with that?
i set all paths to the same directory in the code behind doing "editor.DocumentManager.ViewPaths = new string[] { path };", also for deletepaths and uploadpaths, for each of the managers. the directory is located in the root and even has full control permissions for the everyone group (for testing).
sometimes i also get an error saying "Exception Details: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds." could it have anything to do with that?
0
Hi Stijn,
Could you please send us the complete error details (the Stack Trace). We will check it and do our best to provide a solution.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you please send us the complete error details (the Stack Trace). We will check it and do our best to provide a solution.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Stijn
Top achievements
Rank 1
answered on 10 Jul 2008, 03:07 PM
this is the stacktrace from the error
[ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.]
System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) +0
System.Array.CopyTo(Array array, Int32 index) +65
System.Array.CopyTo(Array array, Int64 index) +70
Adam.Web.Core.MultiPartFormReader.ProcessByteBuffer(Byte[]& data, Int32 length) +461
Adam.Web.Core.MultiPartFormReader.ProcessRequest(HttpContext context) +324
Adam.Web.Core.AdamModule.OnExecuteRequest(Object source, EventArgs e) +317
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
i hope you can work something out based on this.
[ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.]
System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) +0
System.Array.CopyTo(Array array, Int32 index) +65
System.Array.CopyTo(Array array, Int64 index) +70
Adam.Web.Core.MultiPartFormReader.ProcessByteBuffer(Byte[]& data, Int32 length) +461
Adam.Web.Core.MultiPartFormReader.ProcessRequest(HttpContext context) +324
Adam.Web.Core.AdamModule.OnExecuteRequest(Object source, EventArgs e) +317
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
i hope you can work something out based on this.
0
Hi Stijn,
Judging from the stack trace, the error results from the fact that you are using a custom Http Module - Adam.Web.Core.AdamModule.
We are not sure how the module functions, and what it provides, but clearly the error is not related to the editor. The editor file upload uses the default HTTP upload mechanism to send a file to the browser.
In case you are the author of this module and/or have access to the source code, one suggestion would be to check whether the upload comes from the editor and if yes - to let the ASP.NET framework handle it.
Kind regards,
Tervel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Judging from the stack trace, the error results from the fact that you are using a custom Http Module - Adam.Web.Core.AdamModule.
We are not sure how the module functions, and what it provides, but clearly the error is not related to the editor. The editor file upload uses the default HTTP upload mechanism to send a file to the browser.
In case you are the author of this module and/or have access to the source code, one suggestion would be to check whether the upload comes from the editor and if yes - to let the ASP.NET framework handle it.
Kind regards,
Tervel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center