Click here to Skip to main content
15,922,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have use a file upload in modalpopup and when I select a video file from browser of file upload without saving I cancel the modulpopup by click on cancel button of modal popup then modal popup is canceled but web site stops working.
pls give me effective solution.
Posted

Impossible to give you a solution with this much information.

Try debugging through your code after the cancel button on the popup is hit - does the code throw some error?
Is there some code that closes your db connection?
 
Share this answer
 
Comments
nira.parmar 4-Apr-12 2:10am    
this functionality working fine on local host but not working on hosting server
HI nira

Please check the following points

1)Connection close
2)Application pool
3)Restart IIS
4)if you are using dataadapter then dispose the dataadapter
5)dispose the reader as well as close the reader

the main thing have you define the page size in the web config file how much you can upload
because when you upload the document the total size=pagesize + document size

I think your workers process is getting currpted mean while uploading the document restart the iis

please let us know if you have any

Thanks
 
Share this answer
 

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



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