1.Open IIS mmc
a.type 1 (by site)
(1)open [Sites]
(2)click basic setting of [Sites name]
(3)click [select] to choose [ASP.NET v4.0]
b.type 2 (by application pool, defaultapppool)
(1)open [application pools]
(2)click [defaultapppool]
(3)choose [.net framework v4.x] in [.net framework version:]
3.set a pool for site
a.open [application pools]
b.click [add application pool]
c.set [name], choose [.net framework version] and click [ok]
d.right click [sites] and click [add web site]
e.config
(1)set [site name]
(2)click [select] to choose [application pool]
(3)set [physical path]
(4)in binding, set [type], [ip address], [port] and [host name]
4.install .net framewrok 4 and check
a.install .net framework 4.0 full package
b.set use .net framework version in [pool]
c.check [isapi and cgi restrictions] anc allow .net framework 4.0 to use
沒有留言:
張貼留言