Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

How to deploy an ASP website with database hosted on different machine?

$
0
0

Hello IIS,

              How can I publish a simple ASP website with a GridView showing data from database, where the database is hosted on different machine? . I deployed the site on local IIS Server and tried to open it .browser showing an error like this. I have attatched the solution here

the database connection string is 

connectionString="Data Source=sql4;Initial Catalog=Northwind;Integrated Security=true;"

it was working fine when  I tried the same application with SQL Server authentication mode

connectionString="Data Source=sqlMachine;Initial Catalog=Northwind;Integrated Security=false;User ID=sa;Password=admin"

But I want to know  how can I access the same with Windows Authentication Mode.

Could anyone help me on this?

Regards

Salam


Viewing all articles
Browse latest Browse all 27852

Trending Articles