IIS deploy example configuration

right click > manage website > advance settings

 รูปภาพ

NOTE :

– run as Admin is risky, try to run as “Application user (pass-through authentication)”

 

Only copy the published site to the server, no need to install visual studio.

To deploy from VS, choose Publish method : file system

publish_iis_file_system

NOTE :
– beware of firewall if we have to connect from outside server

– IIS error

If the following Web.config cause iis error.

Web.config

<compilation debug="true" targetFramework="4.0" />

We can solve that bychange_asp_from_2_to_4

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s