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.