locked
Publishing basic ASP.Net project to IIS 7.5 on WHS2011 RRS feed

  • Question

  • Publishing basic ASP.Net project to IIS 7.5 on WHS2011

    So I’ve created a basic asp.net website (just a default VS2010 ASP.Net 4.0 project) which I want to publish to the IIS 7.5 server on my WHS2011 machine.

    I’ve added the published project as an application under the Default Website > Remote part of IIS and in the WHS 2011 Dashboard I’ve added a link pointing to this folder.

    When I try to browse to the link via my remote website or directly in the ISS Manager I get the following error:

    Compiler Error Message: CS0234: The type or namespace name 'WindowsServerSolutions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

    But the error is thrown not on the web.config of my project, but the Windows Server RemoteAccess web.config, which is part of WHS, and unaltered by me.

    I’ve had a look on the web and tried a few different things, such as make sure the Application Pools of both have the same .Net versioning but to no avail.

    I have the feeling it is some sort of clash between the information provided in the config of the original website and the one I am trying to add (as a child page), but I have no ideas where to look next.

    Any suggestions would be greatly appreciated!

    Elco

    Tuesday, December 25, 2012 1:29 PM