Jump to content

Recommended Posts

Posted

Hello,

 

Been trying to get SQL Login Tracker working but for some reason the following page is displayed when logging on to the site.

 

The SQL database is hosted on a different server to the HAP server. I have put the following into the Web.config to specify the SQL Connection to no avail:

 

"SQLConnectionString" connectionString="Server=SQL2\HAP;Database=hap_DB;User Id=hapDB_user;Password=;"

 

If anyone has any bright ideas, I would be most grateful.

 

J.Worth

Error.png

Posted

Attached to this post is a screenshot showing the tables that have been created in the HAP database.

 

Below is the tracker section from the hapConfig.xml file:

 

 

Thanks for your prompt reply :)

Tables.png

Posted

I have now changed it to SQLConnectionString in hapConfig.xml. However, I am now getting a Login Failed error. I have double checked the password and the hapDB_user has owner permissions to the HAP database.

 

Are there any other permissions/configuration that needs to be done.

 

Your help is very much appreciated.

 

Thanks again.

LoginError.png

Posted

Got it working! :)

 

I didn't have Windows & SQL Authentication selected on the properties of the SQL Instance. Once I changed it to that, it worked straight away!

 

Thank you very much for all your help - much appreciated.

 

J.Worth.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...