c# - Deploying my visual studio web application using IIS -


i have publish website @ visual studio . , try setup website iis . have done :

i click add new website in ' sites ' folder in iis , when browse physical path , pool , there error saying cannot verify access path , while pool authentication passed .

this first time publishing site , want host site on localhost whenever type localhost site without running through visual studio . can me iis error on cannot verify acess path ?

this of error :

enter image description here

i have spent long time trying grips myself, , believe can offer answer may else comes across question in future. think problem stems terminology used in iis, , fact trying deploy 1 website localhost in order test it.

in iis, 'website' (i.e. adding if right-click sites , "add website...") not commonly refer website. folder on disk, url binding. default web site, example, has folder \inetpub\wwwroot, , binding "http:*:80:" means http request (port 80) go "website". website have published not iis refers "website".

in iis, individual website called "application". "website" in iis can hold number of applications, , can add them right-clicking default web site , choose "add application...".

in other words, default web site in iis can contain many websites. example:

http://localhost/estellar http://localhost/otherwebsite http://localhost/thirdwebsite 

all of may unrelated. 3 sites above 3 different websites, in iis these 3 "applications" contained within "default web site".

in iis, each "website" must have unique binding. want website accessible from

http://localhost/estellar 

(which port 80) should use iis default web site, because has binding port 80 , cannot create "website" in iis same binding.

so right-click on default web site, , choose "add application...". in dialog box appears, alias name want use in url after localhost, in case "estellar". application pool can anything, choose defaultapppool (the choice of application pool issue entirely). in physical path, enter place published website (i.e. have in physical path box in image in question).

i same "cannot verify access path" warning show in image, not affect ability access page @

http://localhost/estellar 

it appears saying "cannot verify" whether have access, not cannot access site. warning bit of red herring me, has nothing why not set site same method state in question.

hopefully can access site @ localhost.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -