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

The process cannot access the file

1 Answer 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 27 Apr 2012, 05:31 PM
Hi.  I am using Telerik Q1 2012.  I have a new report which works pulling in a small range of data.  However when I increase the date range of my data, I get the same error message:

"The process cannot access the file C:\Users\uswknp09\AppData\Local\Temp\yadayadayada\Page#157 because it is being used by another process"

As long as I pull less than 157 pages of info, the query completes and displays properly.  If I increase the data volume to where it hits page 157, the query completes, the data is intially displayed, but as the page counter spins through the pages, it stops everytime at page 157 and generates the same error.

I have tried different date ranges in different months, thinking perhaps there was a specific record causing an issue.  The behavior is always the same regardless of the date range selected, so I think this has something to do with Visual Studios or Telerik Reporting, not the data itself.

Can someone shed some light on why this is happening?

Thanks,
Kevin

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 02 May 2012, 03:36 PM
Hi Kevin,

Can you elaborate what has happened prior you start receiving this error message? Did your application crash or you've received an out of memory exception by any chance? You should not be getting such an error under normal circumstances so we believe that some of the above has caused the file to remain (normally they are deleted) and stay locked so the viewer cannot override it. Try deleting it manually or unlocking it with some program such as LockHunter and try again. If necessary reboot the machine and try again.

Regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or