Solved

framework 4 do I need to convert the whole website?

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
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 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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now