I have an application that runs Crystal reports and outputs them to PDF files in a windows folder.
There is a loop in the application ie:
for i = 1 to Customer.Count
ExecuteReport(i)
next i
The reports start to work fine, then it seems the page refreshes and then a second loop starts which produces duplicate reports for the first 10 or so Customers. Sometimes the app will complete and give exactly 2 copies of the reports for each Customer.
The DNN212 app retrieves data from a MS SQL database. I have copied the database and all related code (ascx, dll, etc) to a stansdalone pc and all works okay.
I think it is a refresh issue because I added extra WriteLine commands to output text to a file showing the stages it had reached, but the app blows out because the text file is already open and in use when the refresh tries to open it again - I get a DNN style error saying the file is in use.
Any help would be much appreciated, I am not an IIS/DNN expert.
Thanks
Ian