Exception while uploading file with ASHX
===

My WebApplication have the functionality to upload file using the handler called FileUpload.ashx. The application works perfectly fine and upload .xls file but as publish it to my local IIS 7 using the publish command from VS 2010 the upload funtionality does not work and the below exception gets logged in the EventViewer

    I have given write permission to IIS_USRS and NetWrok Service Account

    Event code: 4011 
    Event message: An unhandled access exception has occurred. 
    Event time: 31/07/2012 12:03:29 
    Event time (UTC): 31/07/2012 11:03:29 
    Event ID: d8317057e02b404b9cee0a89072d2521 
    Event sequence: 12 
    Event occurrence: 1 
    Event detail code: 0 
    
    Application information: 
    Application domain: /LM/W3SVC/1/ROOT/LSFileManager-4-129882061975689515 
    Trust level: Full 
    Application Virtual Path: /LSFileManager 
    Application Path: C:\inetpub\wwwroot\LSFileManager\ 
    Machine name: QHSW21912 
    
    Process information: 
    Process ID: 6180 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\ASP.NET v4.0 
    
    Request information: 
    Request URL: http://localhost/LSFileManager/FileUpload.ashx?filename=ExcelSheet.xls&StartByte=0&Complete=True 
    Request path: /LSFileManager/FileUpload.ashx 
    User host address: ::1 
    User: 
    Is authenticated: False 


> I am using the application that was posted by the author on the url
> http://lightswitchhelpwebsite.com/Blog/tabid/61/EntryId/35/Saving-Files-To-File-System-With-LightSwitch-Uploading-Files.aspx

