Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Publishing basic ASP.Net project to IIS 7.5 on WHS 2011

$
0
0

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. This already has a default website you can use for remote access to the server.

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, so it is exposed in the Remote website as a link (which I've also done successfully with a Silverlight application)

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 ASP.Net 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 this is already the case and does not solve anything.

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


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>