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 8129243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:14:10+00:00 2026-06-06T08:14:10+00:00

I have to support an application that was written in .NET 1.1 many years

  • 0

I have to support an application that was written in .NET 1.1 many years ago. I inherited this application. No, I cannot yet upgrade to a later version of .NET and yes I am aware that it is no longer supported in Windows 7. It is a has been a huge struggle and just when I get one issue sorted out then the next one pops up.

After a long struggle I managed to get it to run by working through this article:

http://blogs.iis.net/brian-murphy-booth/archive/2007/03/09/how-to-setup-asp-net-v1-1-visual-studio-net-2003-projects-on-iis7-vista.aspx

I also got the debugging to work. I am running Visual Studio 2003 as an administrator.

In the application it gets the connection string of the database from registry. I am still debugging/running it locally. But I am getting an access denied when trying to read the registry key. I had a look in the registry and the keys do exist.

It fails here and I’m not sure what the issue is:

RegistryKey regKey = Microsoft.Win32.Registry.LocalMachine.CreateSubKey(Constants.DBRegKey);

Constants.DBRegKey has this value: "Software\\MyCompany\\MyProject\\Database"

Is this another Visual Studio 2003 and Windows 7 issue? Or does this happen in general with all Visual Studio versions?

  • 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-06-06T08:14:12+00:00Added an answer on June 6, 2026 at 8:14 am

    I added the following in the web.config:

    <identity impersonate="true" userName="username" password="password"/>
    

    This works, I can read the value of a registry key. Not sure why this works but it works. Hope it is the last project that I have to support on .NET 1.1.

    Although I might mark this as the answer, please I would still like to here more opinions.

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

Sidebar

Related Questions

We have an application that is written in .NET 3.5. This app works on
I have this application that I want to support multi languages. I thought the
I have a client/server application written in C#/.NET 3.5 that I want to do
I am trying to write an application that uses java.net.Socket. I have also written
Bit support question. Apologies for that. I have an application linked with GNU readline.
I have assisted with an application that has a couple of thousand deployments. This
I currently have an ASP.NET web application written in C#, and I need to
I have an application that was originally written using iOS 3.1 Last week I
I have desktop application and I want that all new data in this application
Let's say that I have written a custom e-mail management application for the company

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.