Hey Mark.

 

So, looking at the code, this is what is happening

 

1) check there is a "Key" form parameter that is passed with the file upload
http request

2) check that is valid format (is 32 hex chars)

3) check there is a "Path" form parameter that is passed with the file
upload http request

4) combine the path and the "key" and check the resulting path is valid and
exists

5) Attempt to delete said path - check for any IOException raised

 

If any of the above fail you will get the error you have reported.  You will
need an inspection tool (HttpWatch, Wireshark, Fiddler, browser dev tools)
to check that correct form variables are being sent and what their values
are.  Assuming these come from the app and are likely to be valid, the most
probable issue is that the account that the IIS Application Pool is using
does not have delete privilege.

 

Let me know how you get on.

 

Regards,

Richard Hauer

Solution Architect

 

From: reddot-cms-users@googlegroups.com
[mailto:reddot-cms-users@googlegroups.com] On Behalf Of MarkL
Sent: Wednesday, 17 October 2012 7:20 PM
To: reddot-cms-users@googlegroups.com
Subject: Re: Text Editor file upload error

 

Hi Richard,

 

Thanks for your reply :) Stack trace below:

 


[InvalidOperationException: Refusing to upload file because key could not be
validated.]
   RedDot.CMS.Client.UploadHandler.EnsureRequestIsValid(HttpRequest request)
+322
   RedDot.CMS.Client.UploadHandler.ProcessRequest(HttpContext context) +140
 
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionSte
p.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +75

 

Thanks

 

Mark


On Tuesday, October 16, 2012 4:21:51 PM UTC+1, Richard Hauer (5 Limes)
wrote:

Hey Mark,

 

Is there a Stack Trace visible below that message (sometimes with a yellow
background)? Or perhaps you can find the stack trace in Windows Event log
(Application) where the entry has a description matching the message shown.

 

Once you locate the stack, could you post it here.

 

That will help.

 

I'm guessing a license file is missing from your install.  Likely for the
file uploading component.  But I need the stack to be sure.

 

Rgds,

Richard H.

 

---

Sent from Windows Mail

 

From: MarkL
Sent: 17 October 2012 1:36 AM
To: reddot-c...@googlegroups.com <javascript:> 
Subject: Text Editor file upload error

 

Hi Guys, 

 

Hopefully someone here can help me with an issue I'm having with my Reddot
text editor.

 

Every time I try to upload an asset through the text editors(RadEditor or
ReddotEditor) I get the following error:

 


"Server Error in '/CMS/WebClient' Application. 




  _____  



Refusing to upload file because key could not be validated."


 

Has anyone seen this issue before? This started after installing hotfix
build 10.1.3.342, I have also tried upgrading to build 10.1.2.365, but this
still isn't working?

 

Cheers

 

Mark

 

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/oKl1pYYCeQoJ.
To post to this group, send email to reddot-c...@googlegroups.com
<javascript:> .
To unsubscribe from this group, send email to
reddot-cms-use...@googlegroups.com <javascript:> .
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/UDxfsEifkEwJ.
To post to this group, send email to reddot-cms-users@googlegroups.com
<mailto:reddot-cms-users@googlegroups.com> .
To unsubscribe from this group, send email to
reddot-cms-users+unsubscr...@googlegroups.com
<mailto:reddot-cms-users+unsubscr...@googlegroups.com> .
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-users@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to