Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

framework 4 do I need to convert the whole website?

Posted on 2010-09-02
6
Medium Priority
?
571 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
  • 2
  • 2
4 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
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…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses

783 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