Solved

asp.net 4.0 on new IIS7.5 server

Posted on 2013-01-24
5
861 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…

820 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