Solved

framework 4 do I need to convert the whole website?

Posted on 2010-09-02
6
568 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

752 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