Is "www2" a sort of reserved word for path of web projects ? ("Publish website" failing without erro

C

craigkenisston

I can't believe what is happening on my computer right now.

I have a web project, file-system based on something like
c:\Projects\ProjectX\www\.
I had to make some changes and testing in a separate new directory so I
created c:\Projects\ProjectX\www2\ copied all the content and build. I
made the changes I wanted and test, everything worked fine.
I'm using the Development Webserver, not IIS.
But when I hit "Publish website", it failed without errores, just said
"Build failed.".
I closed and reopen the project and same thing. Both directories were
almost identical, but for a couple of files with 2 lines of difference.

I created another solution and put both projects there, same thing. The
one in www could be "published", the other don't. "Build failed"
without no other error. Please, note, that the project was building
file using "Build website", or Ctrl-Shift-B.
I struggled with this for hours.

Now, just for fun I made a copy-paste of the same "www2" project and
created "wwwtest". Guess what? it worked !
No more ghost "Build failed" error. Made that process several times and
the new copy-pasted projects just build and "publish website" worked
without errors.

I checked the registry to see if that path was used by something, but
see nothing. Also, using Process Explorer I searched to see if some
hidden process was holding that directory, but it doesn't.

So, now I just renamed www2 to wwwanothertest and yes, it worked again
and the renaming went without problems so, it was not locked files.

So, I want to supposed, that simply there's something obscure with
having "www2" in the path.
What else could it be?
 
J

John Timney \(MVP\)

Not my expert area DNS, but www2 is usually used as a root level DNS
pattern, normally associated with redirection of URL's. So it may be that
wherever your resolve DNS at has that setup somewhere and you using it for a
web project is causing conflict.

--
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
http://www.johntimney.com/blog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top