ASP.NET App compilation error

RadhaKrishnaKiJaya used Ask the Experts™
OS: Windows 7
Environment:  VS 2013
Web App written in: ASP.NET and C#

Hello Experts,
I have a very old web application (A) which is full of Helps related to another website.  In the other website (B) a link is provided called Help.  On a click on the link, it should go the Help website (A).  Both the websites defined under one solution.  When I try to compile, I am getting the error as below.

Error 1
The OutputPath property is not set for project 'xxx.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Release'  Platform='AnyCPU'.  This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform.

When the above failed, I tried to compile the Help website (A) separately, I received the following error.  Any idea what is going on?  I know it is bit difficult explain.  Please let me know if you have any questions.  Thank you in advance.

Error 2
Server Error in '/Helper' Application.

Access is denied.
Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ares KurkluSoftware Engineer

I suspect some of the configurations are wrong and you need to set those correctly if you right click to project properties you should be able to change those. Seems like the Compile configuration is wrong as well the Release / Debug etc.. part. You can change that in the configuration manager too.
Top Expert 2011

This error happens alot and has more to do with you creating an anonymous account on the PC.

There are a few options to solve this problem.

This is one:

*BUT* try this first and see if it solves your problem. If not, try the workaround above link.


Hello Ares and Sammy
Thank you very much for your help.  In the web.config file, I removed the line <authentication mode="Windows" />.  Now the 2nd error got eliminated.  I am still getting the 1st error.  Please see if there is anything else I can do.

Thank you!
The real issue is not related to the Error Messages as stated above.  In the first website I provided an image URL as "~\ServerName".  I changed it to "..\ServerName".  It started working.

Thank you for you help.


Reason already provided.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial