Last post Jul 13, 2014 03:09 AM by liora
Jul 10, 2014 03:33 AM|liora|LINK
I want to move my site to a new server with windows server 2012 IIS 8 asp .net 4, from server with
windows server 2003 IIS 6 ASP .NET 2.0
I try to move has it is , but recieved error on web.config file
What should I install on the new server, my site also usese Ajax Tools
Jul 10, 2014 03:59 AM|PatriceSc|LINK
It would be best to tell which error you have. Don"t you think so ?
Jul 10, 2014 04:39 AM|liora|LINK
Jul 10, 2014 04:49 AM|PatriceSc|LINK
The message doesn't tell which section it is ? See
http://www.iis.net/learn/get-started/planning-your-iis-architecture/deep-dive-into-iis-configuration-with-iis-7-and-iis-8#Locking (in short, the config is hierarchical and a section could be "locked" at a higher level so that it can't be overriden at a
web site level).
I wonder if it couldn't also happen if you forgot to define your web site root as an IIS application or if files are misplaced (ie then the config system wouldn't realize that you are at the site level where you are allowed to do that but would think you
are at a folder level where you are not allowed to use this setting). In particular I noticed your web.config seems to be in a NewSite folder which is already himself inside another NewSite folder. Is this expected ?
Double check that the error message doesn't give any clue about which setting exactly triggers this error.
Jul 10, 2014 07:04 AM|liora|LINK
Here are some more details:
I define the root of the site:
The Physicals path of my site:
web.config file - exist at this folder
Pass-through- contact as : "Application user "
Identify of the pool : "NetworkService"
.net of the pool : "v4"
The error :
78: <remove name="WebServiceHandlerFactory-ISAPI-2.0"/>
Jul 13, 2014 03:09 AM|liora|LINK
I manage to solve the problem.
I define new web.config that fit to asp.net 4 , and after that add the spcial object to fit my site,
I add more property to IIS application through - Add/updtae Role /
Thanks all for your answers.