Jump to content

Recommended Posts

Posted

Hi,

 

I am trying to install the apppool\hap user to the database users but have installed SQL 2012 and the new user creation is baffling me. When I create the new user it throws a wobby saying there is an invalid character.. when i try and add one using the query builder its saying it can't find krusty\HAP.

 

Anyone got this working on SQL 2012 who can offer advise?

 

Untitled-1.jpg

Posted

You can use a SQL Connection string to use a different user on the sql server.

 

So instead of TrustedConnection you use a username and password. This is defined in the web.config file

 

Server=sqlserver;Database=HAP;User Id=HAP;Password=h4p;

Posted

I got it to work with using the domain name\netbios name$ of the IIS server.

The $ is important

 

I did wonder when trying to get around this issue if a user/password could be used in the connection string.

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...