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

  • Home
  • SEARCH
  • 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 157589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:31:51+00:00 2026-05-11T10:31:51+00:00

Its been a long time since I had to do anything but minor fixes

  • 0

Its been a long time since I had to do anything but minor fixes with ASP.NET and I’ve never deployed a ASP.NET 2.0/3.5 application so probably I’m just missing something simple but I definitely need help.

Basically, we have a poorly written .NET 1.1 web application and we had some contractors come in and break some of our third-party dependencies and update it to a poorly written .NET 3.5 web application (the poorly written part will be addressed later).

So now I’m practicing deployment scenarios on a virtual machine set up like our deployment environment.

  1. I installed the 3.5 framework
  2. I compiled the new code and used visual studio’s Build>Publish option as recommended by the contractors to output only the files the application requires.
  3. I copied all the files to a new directory inside of Inetpub on the VM and configured the web.config
  4. I created a new application pool
  5. I created a new IIS website pointed to the new directory and using the new application pool. I configured it to use version 2.0 under the IIS ASP.NET tab

But navigating to the loginpage I get:

Parser Error Message: The file '/View/LoginPage.aspx.cs' does not exist.  Line 1:  <%@ Page Language='C#' MasterPageFile='~/MasterPage/LoginMasperPage.Master' AutoEventWireup='true' Line 2:      CodeFile='LoginPage.aspx.cs' Inherits='MyApp.View.LoginPage' Title='MyApp - Login Page' %> 

What gives? In the .NET 1.1 version of the application all the c# code was compiled into the MyApp.dll and the application knew to look there. Double checking with reflector, all the code is in the binary here too, just the server isn’t looking there for it.

What can be going on? I can wait for the contractors to get in tomorrow, or compile everything including the aspx files into the binary, but we have good reasons for keeping the aspx files uncompiled and I’d like to deploy today if possible.

Please note, that this is not ASP.NET MVC, the view namespace/directory is simply where all the webforms are kept

  • 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. 2026-05-11T10:31:52+00:00Added an answer on May 11, 2026 at 10:31 am

    You have probably used the Web site model for your updated application. Consider using a Web application project instead.

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

Sidebar

Related Questions

Its been a while since I worked in asp.net and a very long time
I have been developing in asp.net since its existence (also classic asp before that)
Its been a long time since I've needed to crack open an .htaccess file...
It's been a long time since I did anything in flash, and today, I
It's been a long time since I worked with C++, but I have a
It's been a long time since I had to deal with concurrent programming in
Google is not being my friend - it's been a long time since my
I have used Eclipse for a very long time. It has its problems, but
It's been a long time since I have designed a DB as a Database
Our WinForms application has been reported to occasionally just close on its own. It

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.