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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:17:54+00:00 2026-05-27T22:17:54+00:00

I have a Web Application and want to move/make it as a IIS website

  • 0

I have a Web Application and want to move/make it as a IIS website

1. Not Copying the DLL

When I copy every part of the code except the Web Application’s built DLL file I come up with an error
“could not load type …”

2. Copying the DLL

cloning that DLL also shouldn’t be practical.

If we copy the DLL so the site will work as expected

but after any changes to code-behind other problems will occur

“… does not contain a definition for btnABC_Click() ….”

What should be our decision or strategy in this case

—
I want to make an IIS-Version of the project because of fixing some addressing-Paths issues

thanks in advance

  • 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-27T22:17:55+00:00Added an answer on May 27, 2026 at 10:17 pm

    When the Web site runs, ASP.NET code in your Web page doesn’t call the C# code that you’ve written in your code-behind files. Rather, it calls a compiled version of that C# code that is in the application’s DLL file.

    So the C# code in the code-behind must be compiled after any change into a new version of what you refer to as the “web application’s built DLL”.

    Otherwise your Web page will refer to an old version of the DLL, hence the errors “… does not contain a definition for …”.

    You may want to investigate the walkthrough here: http://msdn.microsoft.com/en-us/library/1y1404zt(v=VS.100).aspx

    and read the background material here: http://msdn.microsoft.com/en-us/library/377y0s6t.aspx

    as they explain in fine detail what you’ll need to do.

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

Sidebar

Related Questions

I have a .Net web application that I want to take a copy of
I have a web application that I want to run some system tests on,
I have a web application that I want to sync with Flickr. I don't
I have a web application using ASP.NET 2.0 and I want to know if
i have a web application for video uploading,In that i want to show the
I have a web application that is becoming rather large. I want to separate
I have this web application that has grown to an unmanageable mess. I want
I have created blank Asp.Net-MVC 3 web application and want to write my own
I have a web server that runs my web application. If I want to
I want to write a web application and want to use Ruby. I have

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.