Author Topic: Accés refusé pour les fichiers type .png  (Read 929 times)

0 Members and 1 Guest are viewing this topic.

Offline Guy12

  • Newbie
  • *
  • Posts: 1
Accés refusé pour les fichiers type .png
« on: April 05, 2022, 08:11:25 PM »
Bonjour
see english version at bottom

j'ai  une application java qui me génére des pages html, comportant des images .png
les fichiers Html, Js ... se génère bien, mais les images ne se génèrent pas . il y a le message suivant :
>>Generating all sorts of graphs
>>Error creating :C:/...../yearsmonth.png
>>java.io.FileNotFoundException: C:\....\yearsmonth.png (Accès refusé)
>>        at java.io.FileOutputStream.open0(Native Method)
>>        at java.io.FileOutputStream.open(Unknown Source)
>>        at java.io.FileOutputStream.<init>(Unknown Source)
>>        at java.io.FileOutputStream.<init>(Unknown Source)[/color]
>>...
Le dossier est le même que pour les autres type de fichier.

Quand j'arrête Avast les fichiers .png sont bien générés.
Je n'ai pas trouvé comment paramétré 'Avast  Premium Security" pour ne pas avoir se blocage.
J'ai essayé autorisé l'application...  mais rien à faire.

Quelqu'un a-t-il la solution ?

D'avance Merci

Windows 11 Famille sur mon autre ordinateur Windows 7 pas  de problème

========================
Hello

I have a java application that generates html pages with .png images
the Html, Js ... files are generated well, but the images are not generated. there is the following message :
>>Generating all sorts of graphs
>>Error creating :C:/...../yearsmonth.png
>>java.io.FileNotFoundException: C:\....\yearsmonth.png (Access denied)
>> at java.io.FileOutputStream.open0(Native Method)
>> at java.io.FileOutputStream.open(Unknown Source)
>> at java.io.FileOutputStream.<init>(Unknown Source)
>> at java.io.FileOutputStream.<init>(Unknown Source)[/color]
>>...
The folder is the same as for the other file types.

When I stop Avast the .png files are well generated.
I did not find how to set 'Avast Premium Security' to not have this blocking.
I tried to authorize the application... but nothing to do.

Does anyone have a solution?

Thank you in advance

Windows 11 Home on my other computer Windows 7 no problem
« Last Edit: April 07, 2022, 11:26:57 AM by Guy12 »