Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Connection error in webpart

$
0
0

Hi

I have developed a webpart and trying to connect to the database, I am using the SQL user ID and password with "Integrated Security=SSPI" in my connection string. It gives me an error as below

Cannot open database "SM7" requested by the login. The login failed. Login failed for user 'MydomainName\SPAppPoolSsp'.

Very strange because i am not even using that user to open a connection. Please help

Best regards


SharePoint 2007 (Administration/Development) | Web developer and .NET DTS Programmer | .NET Framework 2.0/3.5 | SQL Server 2008/2005/2k


Viewing all articles
Browse latest Browse all 25064

Trending Articles



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