Link to home
Start Free TrialLog in
Avatar of andrewl77

asked on

P2P Sql Server Express and Windows 8.1 Connection Problem


I have recently been forced to get two new pc's both running windows 8.1 (don't/didn't have time to roll back to windows 7) that replaced two windows 7 pc's that have gone to the land of pc's that no longer work.

I have sucessfully reinstalled all the software to both however I have an application that uses sql express servers with windows authentication that is now not working on the pc that connects remotely.

TITLE: Connect to Server

Cannot connect to taskbay1\sqlexpress.


Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. (Microsoft SQL Server, Error: 18452)

For help, click:



How can i change PC2 to be trusted on PC1 so that the PC2 can connect to the databases?

They have both joined the same homegroup and all other settings are identical to my previous windows 7 setup that worked without fault.
Avatar of Marten Rune
Marten Rune
Flag of Sweden image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try to put this
		<add name="conn2" connectionString="Data Source=192.?.?.?\your_db_instance;Initial Catalog=your_db_schema;Integrated Security=False;User ID=your_db_login;Password=??????" providerName="System.Data.SqlClient"/>

Open in new window

within Web.config/app.config file in your project, to ensure the project will work fine with the database.

On the 'server', have you checked that network access is configured?


Have you tried any of our suggestions?
Please give us feedback, so we know if the issue us solved or if more assistance is needed.
Avatar of andrewl77


Yes.  ended up having to change both PC's to the same name and use the same login details for both PC's to get the remote pc to open the SQL database.  Not ideal but its working atleast.