Hi @TripathiUjjaval-7901,
This was mentioned in a thread:
- Click on Application Pools in IIS
- Find the application pool corresponding to the website
- Right clickand select Advanced settings
- Changed the identity from "applicationpoolidentity" to "Network Service"
- Try the code again
This worked on IIS7, not sure if it was the solution in this case, you can try it.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the email notification for this thread.
Best regards,
Yurong Dai