ASP.NET App compilation error

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.
RadhaKrishnaKiJayaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ares KurkluSoftware EngineerCommented:
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.
0
sammySeltzerCommented:
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:

https://support.microsoft.com/en-us/help/871179/you-receive-an-http-error-401-1-unauthorized-access-is-denied-due-to-i

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

https://support.microsoft.com/en-us/help/253667/error-message-http-401-2-unauthorized-logon-failed-due-to-server-confi
0
RadhaKrishnaKiJayaAuthor Commented:
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!
0
RadhaKrishnaKiJayaAuthor Commented:
All,
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RadhaKrishnaKiJayaAuthor Commented:
Reason already provided.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.