Hello,
Hi Alexis,
Thank you for the request. This issue was resolved in the latest version of the Viewer, please update your Viewer. Here is how the tif rendered with it: printing, viewing
Best regards.
Hello Pavel, thanks for your answer.
Hi Alexis,
I have checked your web.config and it’s correct – I was able to successfully run the Viewer and render your TIFF file.
If after the library update you have the same issue, please share with me the Viewer widget and back‑end code that you use.
Also, please clean/rebuild your solution and clear its cache. It could be that you still use the old version. To ensure which version your solution uses when it runs, you can use the following code:
<%= GetType(Groupdocs.Web.UI.Viewer).Assembly.GetName().Version%>
Place it somewhere on the web page and you will see such info. If your solution runs with the latest version of the Viewer you will get the same version as shown in the screenshot.
Best regards.
Hello, I have checked the version ant it is the new one.
Hi Alexis,
Hi Alexis,
Hi again,
Hi again,
Hi Alexis,
The method ObtenerExtension() returns the extension of the file like “.tif” “.doc” including the dot
Hi Alexis,
Sorry for the delay. I was able to reproduce your issue and here what I have found out: the issue happens only if to use StreamCreator property of the Stream parameter. If to open the tif file via FilePath() or without StreamCreator (create file stream and put it as the first parameter here) the tif viewed well. Since that I have created a bug ticket with high priority for the issue (you can see it attached to the first post of the thread) and our Product team will resolve it.
I will keep you update about the issue resolving process.
Sorry for the inconvenience.
Hi again,
We have found a simple way how you can resolve the issue. Simply add this code line:
memoryStr.Position = 0
into the ObtenerUrlArchivo method as shown here.
One more important step that you should do – delete all failed cache for the tif file: simply delete the temp folder from the root storage.
Best regards.
Thank you so much!
Hi Alexis,