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?
Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…