Solved

framework 4 do I need to convert the whole website?

Posted on 2010-09-02
6
569 Views
Last Modified: 2013-11-05
I have recently developed a vs2010 web application that I would like to add to my web site.
The existing website was developed using vs2008. The web site is hosted on a windows 2008 server running iis 7.
My new web application sits below my main website i.e.
mywebite
mywebsite/mynewwebsite

I hae set the application pools for the mynewwebsite to be asp.net v4.0, leaving the application pools for mywebsite as .net v2.0

If I try and open my new web application i.e. www.mywebsite\mynewwebsite.default.aspx then I get 500. Internal server error.

i assume that it is iis that is unhappy here.
Do I have to rebuild the whole of my web site to be vs2010  using asp.net v4.0.
Should I use ASP.Net v4.0 or ASP.net v4.0 Classic for my application pools, and should I have a separate and distinct application pool for each of my web applications ( I have 4 of these)

Just to clarify my clients can log on the web site as

www.webite/login.aspx
www.website/webapp1/login.aspx
www.website/webapp2/login.aspx etc etc

Can anyone point me in the right direction.?
 I have tried to migrate all of the website to asp 4.0 but without any success.
0
Comment
Question by:TrilobyteMKR
[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
  • 2
6 Comments
 
LVL 9

Expert Comment

by:richard_hughes
ID: 33585341
Hello TrilobyteMKR

What problems have you had in migrating the site to ASP .NET 4.0? It wouldn't be a bad thing to upgrade the whole site to 4.0 if some parts of it are running as 4.0

Thanks,

Richard Hughes
0
 

Author Comment

by:TrilobyteMKR
ID: 33585380
I had the same issue with 500 internal serve error, I had put all of the code for the site through vs2010 and rebuit the web applications, ensuring that there were no errors in the build. Should be creating a separate application pool for each application and should it be asp 4.0 or asp 4.0 classic?
0
 
LVL 9

Accepted Solution

by:
richard_hughes earned 500 total points
ID: 33764106
Hello, sorry for the late response

Yes, that application pool should be set to use asp.net 4

If it is to be set to classic or intergrated, test the website on both settings.

Thanks,

Richard Hughes
0
 

Author Comment

by:TrilobyteMKR
ID: 33765858
Richard, thanks for your help. I had already upgraded the whole website to asp.net 4. It is now working fine thanks for your help
Malcolm
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video teaches users how to migrate an existing Wordpress website to a new domain.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

630 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