Re: Text Editor file upload error

85 views
Skip to first unread message

Joel Kinzel

unread,
Oct 29, 2012, 10:05:52 AM10/29/12
to reddot-c...@googlegroups.com
Are you using Asset Manager? We've had problems with user's browsers incorrectly caching certain key files for some of our plugins. Did you try clearing browser cache?

On Tuesday, October 16, 2012 5:47:02 AM UTC-5, MarkL wrote:
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

Richard Hauer

unread,
Oct 29, 2012, 10:33:00 AM10/29/12
to reddot-c...@googlegroups.com

I already answered this, did my suggestion not work? … repost below:

 

---

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.

--
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/-/FhmKBGiTxmEJ.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.

Jian Huang

unread,
Nov 1, 2012, 9:50:31 AM11/1/12
to reddot-c...@googlegroups.com
Richard, I have to agree with Joel's solution more here as it is a lot easier to do. :)

Richard Hauer

unread,
Nov 1, 2012, 10:05:05 AM11/1/12
to reddot-c...@googlegroups.com

Well clearing the browser cache may work, but what I have suggested is: check the URL and make sure you can access that folder.

Not especially complicated, I would have thought; admittedly harder than clearing the browser cache but I would argue “a lot easier to do”.

 

L

To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/36IrXqMZPe4J.

Jian Huang

unread,
Nov 1, 2012, 10:16:04 AM11/1/12
to reddot-c...@googlegroups.com
Hahaha, I guess we will never know until Mark replies.

Update don't usually reset user permission on the file system.  Only append user permission.

It doesn't work after update mostly likely the key generated and stored in browser cache is no longer valid.

Take troubleshooting steps from my MD friend: headache?  Prescribe water and more sleep.  Still no work, THEN more detailed examination.

-Jian
Reply all
Reply to author
Forward
0 new messages