[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

"The page cannot be found" after changing target framework to 4.0

Posted on 2011-03-07
2
Medium Priority
?
515 Views
Last Modified: 2012-06-27
I have an application that I originally created targetting NET 3.5 framework.  This morning I changed the target to .NET 4 and also changed it within IIS.  I uploaded the new new web.config file, opened my browser and attempted to view my Default.aspx webpage, however I get a message of "The page cannot be found".   How can I fix this?
0
Comment
Question by:cdemott33
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
gdupadhyay earned 2000 total points
ID: 35060201
This problem is not related to moving from .Net 3.5 to 4.0.
Please check your virtual directory path and make sute it is pointing to correct physical directory.

You can verify by browsing the page in IIS.

Try one more time by following steps.

1. Make sure your application pointing to .Net 4.0
2. Rebuild the application.
3. Publish it.
4. Verify in IIS and select and browse the default.aspx (as shown in fig)
      - If its display the file in browser, check the URL for default.aspx.
5. If you find any error in URL, please correct it as correct one.

Let us know if you have any question
1.png
0
 

Author Closing Comment

by:cdemott33
ID: 35073977
Thanks!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question