Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

framework 4 do I need to convert the whole website?

Posted on 2010-09-02
6
Medium Priority
?
570 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 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

Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

Question has a verified solution.

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

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 …
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
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.

705 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