Note that there are some explanatory texts on larger screens.

plurals
  1. POFTP Authentication with SQL Database on IIS 8
    primarykey
    data
    text
    <p>I am trying to get my FTP site to use an SQL database table for authentication. I found this <a href="http://techblog.edwardting.com/2010/07/21/creating-a-custom-database-driven-authentication-for-an-iis-7-ftp-site-using-visual-studio-c/" rel="nofollow">guide</a>. And followed it almost to the letter, except I am using IIS 8 and Visual Studio 2010. Now because the GAC is no longer put in C:\Windows\assembly I found my .dll in the new location C:\Windows\Microsoft.NET\assembly\GAC_MSIL. After a lot of research I managed to find the properties for this (the Culture, Version, and Public Key Token that are required). I added this as a custom provider. Now it seems like everything is in place like it should be but when I log onto the ftp site it fails to log in with:</p> <pre><code>Response: 530 User cannot log in. Error: Critical error Error: Could not connect to server </code></pre> <p>I have been doing some trouble shooting and it doesn't look like the .dll is even being referenced. I set it to always return true so that it would grant anyone with any password access, and received the same error. I have been looking all over the place but all I can find is stuff about IIS 7 and things where the GAC is located in the old location. The FTP site was working fine, I was able to connect to it, with the basic authentication that is build in to IIS so I am pretty sure the site isn't the problem. </p> <p>So my question is where do I go from here? Is IIS 8 not looking in the new GAC location for my .dll? Is this why it seems like the code isn't being run at all? Or am I missing something that is obvious that will make me feel like an idiot when it gets answered?</p> <p>I am stuck so even pointing me in a new direction would be helpful at this point.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload