Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4595784
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:01:17+00:00 2026-05-21T23:01:17+00:00

What configuration change do I need to make? Hello, recently upgraded my laptop to

  • 0

What configuration change do I need to make?
Hello, recently upgraded my laptop to windows7, I pulled down our site from subversion to make some updates. I always test the changes on localhost before I move them to our beta site. Now, I was able to set up IIS on windows 7 to run our site, but it seems only the non-dynamic asp pages are working. Any page that tries to connect to the DB returns an error message.

Microsoft OLE DB Provider for ODBC
Drivers error ‘80040e4d’

[Microsoft][SQL Native Client][SQL
Server]Login failed for user ‘NT
AUTHORITY\ANONYMOUS LOGON’.

/include/chooseyear.inc, line 15

Here is the Global.asa file

‘Added Lock to Session Onstart to
protect Current Year variable ‘ from
becoming corrupted

If isEmpty(Application("CURRENT_YEAR"))

then
Application.lock Application(“CURRENT_YEAR”) =
Year(now()) Application.Unlock END
IF ‘Doug Chamberlain ‘continue to use ODBC connection to access data
Session(“DBConnection”)= “DSN=WITHHELD;UID=USER_NAME_WITHHELD;PWD=PASSWORD_WITHHELD;DATABASE=master;APP=www”

      Session("ConnectionTimeout") = 120  
      Session("CommandTimeout") = 102         'Doug Chamberlain       '09/10/2010

Update:
Here is the line of code that fails. but worked prior to upgrading to windows 7 and IIS7.5
PropConnection.Open Session("SCPAASPConnection")

I did a debug on the website when it failed, and the value of that variable is
"DSN=WITHHELD;UID=USER_NAME_WITHHELD;PWD=PASSWORD_WITHHELD;DATABASE=master;APP=www"

but the error message is the same as below, it seems to just ignore the user/pass in the connection string variable. I did get the site to work slightly better by turning on windows auth & anonymous auth. However, other things break when I do that. Like the link scanner I use.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:01:18+00:00Added an answer on May 21, 2026 at 11:01 pm

    This isn’t anything to do with ASP, as all ASP pages are dynamic (in that they will be parsed through by IIS), from what you’re saying (and from the error message), it’s only the ones with a database connection in that are failing.

    This is because the user account the IIS application pool process runs under by default would not have access on the SQL box. You could add a SQL login for that account, or if it’s only a local machine you’re running it on then just change the app pool identity to run as NetworkService.

    In IIS, select the app pool for the site, click Edit Application Pool > Advanced Settings and change Process Model > Identity from ApplicationPoolIdentity to NetworkService.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i need to change the configuration of php.ini on server side (parameter is allow_url_fopen)
I need my 32-bit InstallShield installer to make a change to ApplicationHost.config (Part of
Does anyone know of any way to make a datasource configuration change in WAS
I am using a window to change database configuration for my application. Settings button
Is there a keyboard shortcut that allows you to easily change Build Configuration (say,
How do I change my user's password with the ASP.NET configuration Tool? I can't
Is it possible to change the assembly name based on the project configuration? I
Inspired by how Log4j reload its configuration files everytime I change it, I wrote
Is it possible to change values of settings within a ClientSettingsSection (System.Configuration.ClientSettingsSection) in a
I'm wondering whats the easiest way to change some settings in tomcats conf/server.xml configuration

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.