IIS 7 and Above
C++ FastCGI Application User Delegation
Last post Jun 11, 2013 07:42 AM by kctt
Apr 29, 2013 04:41 PM|hazerider|LINK
I would like to use a C++ FastCGI application (using libfcgi, http://www.coastrd.com/fastcgi) with IIS instead of having a custom C++ web server based on one of the Boost ASIO
examples. Once I finally got it working, I tried accessing our SQL Server from within the app, and I got a
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON error. I was not getting this error with the custom server. I am also able to access the database without problems using CGI via perl scripts. I am guessing that delegation works differently
with the FastCGI process than it does with regular CGI. Can anyone suggest things to try to get delegation working?
Jun 11, 2013 07:42 AM|kctt|LINK
Do you use SQL login or integrated login to access SQL server from web app?
From the error message, I would say you attempt to connect sql database with integrated login.
SQL login with a username & password is much easier.