When an exception occurs in my MVC app, my code sends an email.
The thing works like a charm when I deploy locally. On the remote server, though, it doesn't send any email.
Below are some details about my deployment environment.
Web Server: IIS 7.5
.NET Framework: v4
MVC version: 4
Windows Server: Windows Server 2008 R2 Standard
Help appreicated.
Sorry, I realized that I had to grant permissions to the user ASP.NET v4.0 , which was the name of the Application Pool / Identity under which my application was registered / running.
That solved the problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.