Solved

asp.net 4.0 on new IIS7.5 server

Posted on 2013-01-24
5
855 Views
Last Modified: 2013-01-25
New install of 2008R2 added role IIS7.5

Have very little experience with 7.5,  90% of my sites run on 6.0. and asp.net 2.0

Copied a asp.net 4.0 site to the iis7.5 webserver. Created a new website and set the bindings.


I did see that Framework 4 Client profile and 4 Extended are installed, do I need to download more?

Surprised there was not a asp.net application pool already defined so I created a Classic 4.0 app pool, but when I run the site I get a 404 error.

When I changed it back to default apppool I get an ASP.NET error unrecognized target framework, but it does the find the site.

Is there something I need to do to set permission for the new app pool?

Or am I on the wrong track entirely?

Thanks,

Rolf
0
Comment
Question by:rolfg
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
binaryevo earned 500 total points
ID: 38818659
You shouldn't have to.  Did you map the site to the directory where the site resides ( im sure you already checked that though )?  Ive never deployed a site per say the way your doing it, I typically grab the full .net framework.  I would suggest trying that out to see if maybe that would be the fastest way to get your site up and working since it probably involves the least amount of work.  Once you install that make sure that the app pool is pointed to the right version of the framework and your site should work.  Is there anything in the .net app that has dependencies ( may want to check this also )?
0
 

Author Comment

by:rolfg
ID: 38818698
It's actually a bit more complicated.

I reinstalled the os, the old inetpub/wwwroot directory were still there from before the install.

All I did was create a website and point it to that pre existing directory. And then added the asp.net 4 pool since it was not there... I do not recall having to do this on other installs.

Wondering if I missed something during the install.

Rolf
0
 

Author Comment

by:rolfg
ID: 38819129
Baffled by the fact that the framework 4.0 app pools were not listed on the iis server, only 2.0 even though Programs and features said they were, I downloaded the full 4.0 framework and re-installed.

Choices were repair and remove, confirming it was installed. Did repair and voila the 4.0 application pools showed up. I deleted the one I had created, picked the one that came from the installer and the site works.
0
 

Author Comment

by:rolfg
ID: 38819240
I've requested that this question be closed as follows:

Accepted answer: 0 points for rolfg's comment #a38819129
Assisted answer: 250 points for binaryevo's comment #a38818659

for the following reason:

Thanks!
0
 
LVL 14

Expert Comment

by:binaryevo
ID: 38819164
So my suggestion for installing the full .net version turned out to fix the issue ( regardless of which option you picked on install ).  I would appreciate the points.
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Server 2008 R2 Datacenter Repair OS 20 42
Need help on C# Linq query on object 6 53
C# Offline Apllication 5 54
Runtime Exceptions when trying to submit data 28 36
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

912 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

17 Experts available now in Live!

Get 1:1 Help Now