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?
1 Post
C++ FastCGI Application User Delegation
Apr 29, 2013 11:41 AM|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?
1172 Posts
Re: C++ FastCGI Application User Delegation
Jun 11, 2013 02: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.