Thursday, December 8, 2016

Excel Giving Error (access denied while downloading the file) in the asp.net application



Open the run window by pressing Ctrl + r and type the command dcomcnfg. 













Then follow the below steps : -

1. Expand the component services & select my computer then expand the my computer and select the DCOM Config. 


2. Then in the right side search for the Microsoft Excel Application and then right click select the properties.
  

















3. Under the security tab under.
a. The launch and activation performance.
b. The Access permission.
c. The Configuration permission.
























 Select the customize option for all the above three a,b&c options and click edit add the NETWORK SERVICE as the(group and username) allow all the permission.

4. Now open the IIS select the Application Pools and search the site under the application pool 

5. Select the site right click and select the advance settings under the process model => identity field select the local system and click ok










No comments:

Post a Comment

Git Commands

Git Version   To check the git version Git -v       Git Clone To clone the repository, use the following command: Git clone [u...