VS2012 Publishing website Detailed steps (2013-06-14 20:35:03)
1. Open your VS2012 website project, right click on the Project menu to regenerate the website project; Right click again to publish:
2. Pop-up website publish Settings panel, click < New. Create a new Publish profile:
Enter your own definition of the profile name:
3. Click Next: In the Publish method, select "File System" so that we can publish to the local files that we specify.
Select the folder you specified: Create a new folder by tapping the red arrow in the upper right corner of the box, and customize the naming (I'll write website). Click Open to go to the next step
4, in the configuration, to choose "Release"-Release mode (release is called the release version, it is often a variety of optimizations, so that the program in code size and speed is optimal, so that the user is good to use. Debug is often called a debug version, it contains debug information, and does not make any optimizations to facilitate the programmer to debug the program)
5. Click Next: Enter the pre-Release preview screen
Click Publish to publish the folder you specified, where I posted the website folder under the C drive.
After publishing successfully, click Open Folder, all the pages of the. cs files are gone, where have all gone? Is it inside the bin folder? Let's take a guess.
Posted Good:
6. Through the Control Panel management tool, start Internet Information Services (IIS) Manager to enter the IIS interface.
Right-click Site to add a Web site
7, the following picture, the left red box to enter a custom site name (please try to use English, here I will write myphotosite), the right Red Arrows need to click ' Select (E) ... ' Make changes.
You can click the drop-down list box to choose according to your website version (generally choose not with classic). Here I choose to choose DefaultAppPool,
8. Select the physical path of the published site folder.
9. Click the drop-down list to select "Your current IP address"
Click OK: At this point our site is one step ahead of the release, click on the site Myphotossite, and then click the red arrow to switch to the "content view."
10. Last Step: Register the IIS server. Command: aspnet_regiis-i (please copy), first in the program menu "VS2012" Visual Studio Tools VS2012 developer command Prompt. Right-click the VS2012 developer command prompt. Run as Administrator. (the "Insufficient permissions" error will be prompted if you are not running as an administrator)
After running, right-click Paste Aspnet_regiis-i Press ENTER. Wait for about 1 minutes to run the prompt installation is complete (my machine is slow so provide 1 minutes for everyone to refer to, we do not worry about slowly waiting for installation to complete).
Finally, find your own website home page, right-click Browse. IE sometimes does not respond (the Address bar appears blank), it will be more than a few times to succeed. Show us the results:
/Love Welcome to Join Sky Cloud Footwear: http://lhm15170009756.taobao.com/All kinds of women's shoes, children's shoes,/roses in Need of welcome Dabigatran: 341894649 Shared chat/cute Share:
21st
Like
0
Gift Pen
Read(17524)
┊ Review (
7) ┊
Forbidden reprint
┊
likes
┊ Print
┊ report
Load, please wait ...previous: "Li Huimei I Love You" the Tibetan poem should be what? Last Post : "Microsoft.Jet.OLEDB.4.0" Provider not registered on the local computer
Reviews IMPORTANT NOTE: Beware of false winning information[
Send Comments]
Sue 33 Su
Why don't I have the release option?2013-9-1 07:53 report delete share reply (0)
Sue 33 Su
Why don't I have the release option?2013-9-1 07:54 report delete share reply (0)
Sue 33 Su
Why don't I have the release option??????2013-9-1 07:55 report delete share reply (0)
158*****076
VS2012 Publishing website Detailed steps2013-9-26 17:29 report delete share reply (0)
Long Hidden horizon
It's really helpful to study.2013-10-5 15:43 report delete share reply (0)
Havingmeaning
Thank you!2013-11-15 12:02 report delete share reply (0)
Grandfaster
Very good!January 7 14:40 report delete share reply (0)
Grandfaster
Not badJanuary 7 14:41 report delete share reply (0)
All kinds of sofas
How come this stupid bi thing can't find the option to use the fixed-named and single-page assemblies.January 11 18:28 report delete share reply (0)
361299622
What should I do when I post 403?May 13 23:19 report delete share reply (0)
wj854132
Kneel to the top! Thank youJune 11 10:40 report delete share reply (0)
354297417
Why my website is not open with IE, but can be opened with Firefox
July 25 10:35 report delete share reply (1)
Send CommentsTo dig, dig, dig, or dig a hole:<textarea id="commentArea" tabindex="1"></textarea>
Login Name:Password:Recover Password RegistrationRemember login status
Nickname
share to Weibo
Verification Code:Please click and enter the verification code to listen to the verification code
Anonymous Comments
Send Comments
The above users speak only on behalf of their personal views, do not represent the views or position of the Sina network.
< Previous "Li Huimei I Love You" the Tibetan poem should be what? Next > "microsoft.jet.oledb.4.0" Provider is not registered on the local computer
VS2012 Publishing website detailed steps (GO)