Prevent to save dll
Prevent to save dll
Hello,
when Stimulsoft compile a report, a DLL is placed in the user-temp-directory.
How can I prevent a dll from being saved or how can I change the directory?
Thank you!
when Stimulsoft compile a report, a DLL is placed in the user-temp-directory.
How can I prevent a dll from being saved or how can I change the directory?
Thank you!
Re: Prevent to save dll
Hi Prandl33,
Please check the following topics, you will be able to compile to the specific folder:
viewtopic.php?t=37720
https://stimulsoft.zendesk.com/hc/en-us ... assemblies
Thank you,
Edward
Please check the following topics, you will be able to compile to the specific folder:
viewtopic.php?t=37720
https://stimulsoft.zendesk.com/hc/en-us ... assemblies
Thank you,
Edward
Re: Prevent to save dll
Hello Edward,
I compile the reports with the following method:
then the repLayout is stored in the database.
I don't want something stored in the filedirectory.
But the Methode Report.Compile(<MemoryStream>)
stores a DLL in the directory.
Is it possible to prevent that.
Thank you.
I compile the reports with the following method:
Code: Select all
MemoryStream repStream = new MemoryStream()
Report.Compile(repStream);
byte[] repLayout = repStream.ToArray();
I don't want something stored in the filedirectory.
But the Methode Report.Compile(<MemoryStream>)
stores a DLL in the directory.
Is it possible to prevent that.
Thank you.
Re: Prevent to save dll
Hello.
At this moment it's impossible to compile a report to a stream without creating a file.
The file should be created anyway for the compilation process.
As a way, you could compile the report to a specified path then read it to a stream and remove the file.
Thank you.
At this moment it's impossible to compile a report to a stream without creating a file.
The file should be created anyway for the compilation process.
As a way, you could compile the report to a specified path then read it to a stream and remove the file.
Thank you.
Re: Prevent to save dll
Hello.
We have made an improvement.
Now the Report.Compile(<MemoryStream>) method will remove file after reading it to a stream.
This fix will be included in our next build.
Thank you.
We have made an improvement.
Now the Report.Compile(<MemoryStream>) method will remove file after reading it to a stream.
This fix will be included in our next build.
Thank you.
Re: Prevent to save dll
Hello,
thank you for your efforts, but the problem is that at our client a virus scanner monitors the user-temp directory.
This virus scanner refuses to save the dll. Actually, I would have thought if I compile in a memory stream,
that then nothing is saved to the hard drive. Do we have a chance to make that possible?
Thank you
thank you for your efforts, but the problem is that at our client a virus scanner monitors the user-temp directory.
This virus scanner refuses to save the dll. Actually, I would have thought if I compile in a memory stream,
that then nothing is saved to the hard drive. Do we have a chance to make that possible?
Thank you
Re: Prevent to save dll
Hello.
In this case, we suggest you to not use compilation.
There is an interpretation mode that you could use.
In this case the report is not compiled.
Thank you.
In this case, we suggest you to not use compilation.
There is an interpretation mode that you could use.
In this case the report is not compiled.
Thank you.
Re: Prevent to save dll
Hello,
sorry, but this is not an option for us.
Thank you.
sorry, but this is not an option for us.
Thank you.
Re: Prevent to save dll
Hello,
We are sorry, but we can't change behavior of the .Net Framework methods.
We will be glad to help you, but we can't do anything in this case.
Thank you.
We are sorry, but we can't change behavior of the .Net Framework methods.
We will be glad to help you, but we can't do anything in this case.
Thank you.