Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

From SQL 2008 R2 to SQL 2012

$
0
0

Hi,

Description of my problem:

I need to connect to database which is created on my PC (asp.net WebApp, sql express 2008 R2). On my PC I can do it from localhost (in VS 2010), from ISS like deployed WebApp, from SQL Management Studio.

But when I transfer deployment package and instal the WebApp to another PC a can run this app but I cannot connect database JUST FROM BROWSER (from this second PC ) !!! When I do it from SQL Management Studio (from this second PC) it works.

So lets complete it:

  • I can connect from developer´s PC from VS, SQL Management Studion - windows authentication and sql server authentication
  • I can connect from developer´s browser like webapp hosted on developer´s PC
  • I can connect from not developer´s PC from SQL Management Studion (database is transfered/copied to this PC ) - windows authentication and sql server authentication
  • I cannot connect from not developer´s browser like webapp hosted on this not developer´s PC

Tell me why ?? I am lost....

On the not developer´s PC is intaled SQL server 2012 (not express) and on the developer´s PC is instaled SQL server 2008 R2 (express).

I have tried to modify and change my connection string - nothing helps.

It gives me this error:

Cannot open database "mydatabase"  requested by the login. The login failed. Login failed for user "myuser".

I googled a lot and there are a lot of threads with this problem but nothing helps....

I think that problem is somewhere in settings of IIS, so I am opened to all ideas !!!

I can share more info if it will be necessary...


Viewing all articles
Browse latest Browse all 7363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>