That did it....Lickity split.....working in 2 minutes! 4 hours down the MS drain yesterday! I'm a happy boy!
Main Topics
Browse All TopicsOK, we copied a working ASP.Net 2.0 App from a machine running IIS 5.1 under WinXP to a machine running IIS 7 under Win7. We Get: Login failed for user 'IIS APPPOOL\DefaultAppPool'.
at line: Sqlconn.Open();
connect string is:
integrated security=SSPI;data source=localhost;
persist security info=False;initial catalog=Monty
IIS 7 seemes to be running fine
Spent 3 hrs adding "IIS AppPool\DefaultAppPool" as a "user" to all db files and directories--no change. Did the Traverse Bypass thingy as found here--no change.
Not able to add dbase user of: machid\ASPNET as we did on the older system, is that still needed?
Thanx, Jim in FL
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: Maxi84Posted on 2009-08-20 at 03:58:56ID: 25140947
Unless you've changed the AppPool settings, the AppPool runs under the minimum 'Network Service' account.
The AppPool has to be a run under a user account with network and user access to the database. Open IIS Manager, expand the appropriate server node. Expand the 'Application Pools' folder and you will see the DefaultAppPool Node. Right click the node and select 'Properties'. In the properties window, select the 'Identity' tab. Select 'Configurable' and enter the username and password of a (preferably) dedicated system user that has been assigned the necessary network and databases accesses. For testing purposes, you may want to just enter your own user name and password, but this is obviously not an appropriate choice for a production environment.
You may have to restart IIS for the changes to take effect.
You may also create a custom AppPool for your application by right clicking the 'Application Pools' folder and selecting 'New...'
Change the AppPool of the web site by rigt clicking the site and selecting 'Properties'. The Application pool dropdown is at the bottom of the 'Home Directory' tab.