Hi simpsonj,
Thanks for your reply. However, I found the cause of my problem. The Discover database needs the COMPUTER ACCOUNT of the server that runs the Discover Services AND IIS. For me, this is done by 2 different servers SERVER1 runs the Discover Services and SERVER2 runs IIS so that we can access Discover via a XBAP webpage.
I opened SQL Management Studio and checked the Security\Users folder with the Discover database... DOMAIN\SERVER1$ was there, but DOMAIN\SERVER2$ was not.
After running this command, it allows me to login:
echo Granting Web Service rights in both databases...
"%DISCOVER_SERVICES_DIR%\Discover.SqlUserManager.Console" /operation=GrantAppPoolRights /AccountName="DOMAIN\SERVER2$" /Server="%SERVER_NAME%" /DiscoverDatabase="%DISCOVER_DATABASE_NAME%"
Replace %Discover_Services_DIR$ with the installation location of the Discover Services, e.g. C:\Program Files (x86)\SIMS\Discover Services
Replace %Server_Name% with the servername\instancename of the Discover database, e.g. Server1\SQL2008
Replace %Discover_Database_Name% with the discover database name, e.g. Discover
Hope this helps?
Thanks,
Peter