Open the Faculty Access for the Web web.config file (default location is C:\Program Files\Blackbaud\FAWeb7) and ensure that the database that the website is configured does not contain any extra spaces or characters. 

For example:
<add key="AFNINI" value="1" /> - correct
<add key="AFNINI" value="1 " /> - incorrect