Spread.NET ReadMe
Steps to Resolve SQL Error with MVC Sample

If you get this error, "Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.", try the following steps:

  1. Run the Internet Information Services (IIS) Manager tool. This tool can be accessed from the Administrative start menu, or by typing "inetmgr" in the Windows Start-->Search text box and selecting the inetmgr tool.
  2. Expand the machine node on the left pane of the IIS Manager tool.
  3. Click on the "Application Pools" node so that the application pools display in the main window of the management tool.
  4. If you are troubleshooting an ASP.NET 2.0, 3.0, or 3.5 application select the "DefaultAppPool" application pool. For ASP.NET 4 select the "ASP.NET v4.0" application pool.
  5. Right-click on the selected application pool and choose "Advanced Settings".
  6. In the "Advanced Settings" dialog box find the category called "Process Model". The first row in the category is the "Identity" row.
  7. Click on the "Identity" row and then click on the small button that shows on the right side of the value cell. The button displays the text "...".
  8. The "Application Pool Identity" dialog box is displayed. There are two radio buttons in the dialog box. Make sure the first radio button titled "Built-in Account" is selected.
  9. In the drop-down box below the radio button choose "Network Service" for the identity.
  10. Click "OK" to close the "Application Pool Identity" dialog box.
  11. Click "OK" to close the "Advanced Settings" dialog box.
  12. Changes to the application pool identity have now been saved to IIS 7.5's configuration store.

For more information refer to: http://support.microsoft.com/kb/2002980.

 

Return to the Read Me overview.

 

 


©2012. ComponentOne, a division of GrapeCity. All Rights Reserved.