Link to home
Start Free TrialLog in
Avatar of roy_sanu
roy_sanuFlag for India

asked on

Issue with the excel while generating from java

Hello expert,

I am using Jxl.jar which display the data in the excel from  java, but the issue is, if the  excel is already open it pops of this error below, How can i get rid of it.....  Here is the code base


type Exception report

message c:\temp\AttendanceSummary.xls (The process cannot access the file because it is being used by another process)

description The server encountered an internal error (c:\temp\AttendanceSummary.xls (The process cannot access the file because it is being used by another process)) that prevented it from fulfilling this request.

exception

java.io.FileNotFoundException: c:\temp\AttendanceSummary.xls (The process cannot access the file because it is being used by another process)
      java.io.FileOutputStream.open(Native Method)
CreateExcelSheet.java
ResourceAction.java
ASKER CERTIFIED SOLUTION
Avatar of Jax Tan
Jax Tan
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial