If, like VS2005, i would have expected the Web Application to compile all
the code into a single DLL file. This does seem to happen and the DLL is
there in the Bin folder but i get the same parser error when attempting to
open the website after deploying to a web server. I wonder if it is also
just a cooincidence that it is a master page code file that is being searched
for. My master page file is in a sub folder if this makes any difference??
Why is the compiler looking for a vb file when it should be comiled into the
dll?
If i publish ALL project files everything works fine but i dont want to
publish my .vb files to a live server.
I have had to do this temporarily to get the site up and running but would
like to find out why this is happening.
TIA
"Eliyahu Goldin" wrote:
Is it a website or web application? In the latter case you could forget to
include something in the solution.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"james page" <f1**@rocketmail.comwrote in message
news:OA**************@TK2MSFTNGP02.phx.gbl...Hi all - a general 'best practice' query:
I have a asp.net 3.5 website using Ajax, sql2005 and vb.net designed in
vs2008 running on iis6. All runs happily on the testing server.
if I copy all of the files (everything) from the testing to production
server again all works fine.
If I publish the site using the built in publish feature it gives me the
option of 'only files needed to run this application'. If I select that,
the site won't run.
I was under the impression that publishing the website using the above
method compiles all the code-behind and other code files into a dll file -
or have I got it wrong?
What is the best method of deploying a finished website?
Tutorials, links, advice all very welcome.
Thanks