Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Please suggest me a proper solution for this problem, I had tried a lot but didn't found solution for this error.
Posted
Comments
[no name] 4-Mar-13 10:03am    
The error is self explanatory.... Exactly what sort of a solution are you expecting from us? Either close the program that is using the file or give permission.
Check somewhere in code you have not closed the connection.
Richard MacCutchan 4-Mar-13 11:35am    
Looks to me like you are missing a filename.

This can happen if the permissions to view the file don't allow you to even read the directory contents. make sure that the file and directory are correctly shared and that you can navigate to it via exporer.

If you have already checked all of this then are you running Access front end with a different permission set to the logged on use?

Are you even using an Access front-end to Access back-end setup?

If the above does not help then please supply much more detail on how you are set up and what you are trying to do when you get this error

^_^
 
Share this answer
 
Comments
Member kavyansh 13-Feb-14 13:06pm    
i am using visual studio 2010 as front end and ms access 2007 as back end...
i am getting the same error ,,
help me out..
thanks in advance
hope it will help you.

string path = Server.MapPath(fileuploadExcel.PostedFile.FileName);
 
Share this answer
 
Comments
ZurdoDev 12-Nov-14 15:29pm    
Are you sure you posted this to the right question?
ZurdoDev 12-Nov-14 15:32pm    
Also, you appear to be answering most of your own questions. With solutions like this one and the fact you seem to be answering your own questions consider yourself warned that you are likely to be tagged as abusing the system because it looks like you're trying to gain points through abuse.
abdul subhan mohammed 13-Nov-14 2:14am    
Actually i was also facing the same problem and i tried this sol'n, it resolved it.
That's why i posted my sol'n but not for gaining the points, if u r a admin or u can contact admin, u can take all my points, make it to zero, i'm not at all concerned. Secondly i'm here just to gain others exp and want to share what i experienced.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900