简体   繁体   中英

Recreation of Default Web Site on IIS 7

I've deleted by fault the Default Web Site into IIS 7. How do I please to add another one with ASP.NET 4.0 configuration.

I've tried to add a new website Default Web Site with ASP.NET 4.0 as pool and pointed it to C:\\inetpub\\wwwroot . But after creation, there is no asp.net folder under it. And when I've try to browse the web-app but I'm getting as error:

The path is not valid. Check the directory for the database. [ Path = C:\\inetpub\\wwwroot\\MyApp\\App_Data\\NAMESPACE.MyDataContext.sdf ]

Any brilliant idea, please?

You need to have default setting like following.

在此处输入图片说明

Also set bindings like following.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM