This is a migrated thread and some comments may be shown as answers.

ImageManager refresh on upload and display overwrite warning

9 Answers 50 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Goran
Top achievements
Rank 1
Goran asked on 05 Nov 2015, 08:49 PM

Hello,

When I upload new image the image is uploaded, but after the upload the ImageManager refreshes and display the warning that the same filename allreday exists: "A file with a name same as the target already exists!". 

How can I prevent this? I don't have a file with the same name. I thing that the problem is in refreshing that is happening after upload.

 

Thanks

9 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 06 Nov 2015, 06:44 AM
Hello,

Can you reproduce the same with this online demo—http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx?

If so, please, provide the exact steps-to-reproduce. 

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Goran
Top achievements
Rank 1
answered on 06 Nov 2015, 04:45 PM

Hello,

 

The demo works, but on my side I get the above issue. I feel I forgot to include some setting. Here's what I've done:

- put dlls to bin folder
- put http handlers to web.config
- put this in web.config (because I'm suing authetnication):

 <location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>
   
  <location path="Telerik.Web.UI.DialogHandler.aspx">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>
  </location>

 ​

Am I missing something ?

0
Ianko
Telerik team
answered on 09 Nov 2015, 02:39 PM
Hello Goran,

Configuration seems to be OK. Also, as far as the dialog is opening and files are being uploaded successfully I can only guess what the problem is.

Can you isolate this issue into a simple, locally runnable project and attach it here so to examine this locally? 

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Goran
Top achievements
Rank 1
answered on 11 Nov 2015, 09:04 AM

Hello,

Yes, I was able to reproduce the problem in new project. Please take a look at attachment:
http://www.dalija.net/telerikTest4.zip

 

Thanks

Goran

 

0
Vessy
Telerik team
answered on 11 Nov 2015, 02:52 PM
Hi Goran,

Thank you for the provided project. I tested it but was able to upload files without any error messages thrown. Can you take a look at the video from my test and see whether I am missing anything? - http://screencast.com/t/0GaygKb35P

Are you reproducing the issue in all browsers or only in a specific one? which is its version?

Looking forward to your reply,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Goran
Top achievements
Rank 1
answered on 11 Nov 2015, 04:33 PM

Hi Vessy,

 Thanks for reviewing my problem. I see that on your machine everything works as expected. I guess something is wrong with my IIS configuration?? And also, I noticed another problem, when I tick "overwrite" checkbox I got another error. Please take a look at my screen recording here: http://www.dalija.net/unitled.avi

Thank you!

Goran

 

0
Vessy
Telerik team
answered on 13 Nov 2015, 09:13 AM
Hi Goran,

I watched the prepared by you video and it leads me to the assumption that the application does not enough rights to write inside the RadUploadTemp folder. Can you, please, make sure that the project is granted with all permissions to access and edit the App_Data folder?

You can find useful the test approach described in this help article: Testing permissions to a folder

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Goran
Top achievements
Rank 1
answered on 04 Dec 2015, 03:04 PM

Hello

I did not resolve this issue. The app_data folder has full premissions and the test code did run without any exceptions.

What else could be wrong ?

 

goran

 

0
Vessy
Telerik team
answered on 07 Dec 2015, 03:21 PM
Hi Goran,

Thank you for the update. Unfortunately we are not aware of other possible reasons for such behavior and will need to examine it on our side in order to be able to provide you with any further assistance. Can you, please, try to isolate the problematic configuration into a runnable sample reproducing the case and send it for a further investigation? It would be helpful also if can give us a live URL where we can examine the exact issue at hand.

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Goran
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Goran
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or