Configuring ASP.NET in IIS7
Solution 1
IIS 7 is very different from previous versions, especially with regards to ASP.NET.
In previous versions, the ASP.NET runtime was a separate DLL and separate process, whereas in IIS7 the ASP.NET runtime has been integrated into the core IIS server.
IIS7 does also include support for "classic" ASP, so the icon you see simply called "ASP" will be for "classic" ASP configuration. There should be a separate section for ASP.NET configuration.
Note that all IIS7 and ASP.NET config is now done via .config files (like your machine.config and web.config in ASP.NET).
The following links should provide further information:
Solution 2
Check if ASP.Net feature is enabled. Here is a description of how to verify it.
Solution 3
Have you installed ASP.NET in IIS7? It might not be installed by default.
Comments
-
Lieven Cardoen almost 2 years
What I am trying to do is assign the position and size of a label from outside a class. Then within 2 separate classes call the label to add text to it. This would save time a lot of time if this would work.
let backbutton = UILabel! backbutton.translatesAutoresizingMaskIntoConstraints = false backbutton.leftAnchor.constraint(equalTo: _, constant: 20).isActive = true backbutton.topAnchor.constraint(equalTo: _, constant: 125).isActive = true backbutton.widthAnchor.constraint(equalToConstant: 50).isActive = true backbutton.heightAnchor.constraint(equalToConstant: 50).isActive = true class nineViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() backbutton.text = String("red") } } class two: UIViewController { override func viewDidLoad() { super.viewDidLoad() backbutton.text = String("two") } }