How do I grant permissions to ApplicationPoolIdentity in SQL Server 26 December 2013 Donovan-Brown Work (0) Problem: My IIS Application Pool is using ApplicationPoolIdentity and does not have permissions to my SQL Server database. Solution: Open Sql Server Management Studio (SSMS) and create a new login for "IIS AppPool\{YourAppPoolNam}". On the User Mapping page give the user access to the datab... [More]
Web application causes An attempt was made to load a program with an incorrect format error. 23 March 2013 Donovan-Brown Work (0) Problem: When I attempt to start my asp.net web application running in IIS 8 I receive the following error: Could not load file or assembly 'Xxx' or one of its dependencies. An attempt was made to load a program with an incorrect format. Solution: Enable 32-Bit Applications for the Application P... [More]
System.Security.SecurityException when connecting to remote database from IIS7 10 December 2010 Donovan-Brown Work (0) In this post I show you how to clear the Security Exception connecting to a remote database from IIS7. [More]