0

I keep getting this error trying to build a project opened as file => open web site.

This is not an MVC application and another suggestion I found online suggest deleting the content of the obj directory. I don't have an obj directory, not in C:\Users\Me\Documents\Visual Studio 2012\Projects\home.sln (2) nor in the web site directory.

Using Visual studio express 2012

1 Answer 1

3

I ran into the same problem once when I added Combress in one of my application. Actually it was adding xmlns attribute in the tags of web.config file. To resolve that issue I just removed the xmlns attributes from tags in web.config file.

So, This can be easily sorted by removing the xmlns="" attribute from the web.config or any other affected files.

Sign up to request clarification or add additional context in comments.

3 Comments

Hi Sanjeev, thank you for your reply. It's actually the web.config from the server. Not sure why it wouldn't build but under website => startup options I've selected not to build and it seems to work. I've never worked with website projects so stuggling to get it to work.
If you want to look into the file on server, you can search the path inside C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG. If you want to get into details of the issue please look to this article: support.esri.com/en/knowledgebase/techarticles/detail/33199
Thank you Sanjeev, there doesn't seem to be any xmlns in any of the web.config files under C:\WINDOWS\Microsoft.NET\Framework\v*\CONFIG

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.