I am starting with framework 4 and VS2010 (MS Windows Server 2008 R2 + IIS 7.5). On same server I have SQL Server 2008 which have to access with Windows authentication.
This is my connection string:
<add name="Server" connectionString="Data Source=Server;Initial Catalog=database;Integrated Security=SSPI" providerName="System.Data.SqlClient" />
I enable only Windows security in IIS Manager-Authentication.
When I try to load aspx page with gridview (only select command) I got this error:
Login failed for user 'IIS APPPOOL\ServiceApp'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'IIS APPPOOL\ServiceApp'.
I have no problem connecting to this server from SQL Server Management Studio with Win Auth.
What else do I have to do to connect to sql server from my app?
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online.
The email signature template has been downloaded from:
The Email Laundry PDF encryption service allows companies to send confidential encrypted emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…