Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Website deployment vs2008

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
james page - 17 Mar 2008 13:42 GMT
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
Michael Nemtsev [MVP] - 17 Mar 2008 13:53 GMT
Hello James,

Deployed "'only files needed to run this application'" without any problems.
Did u try to deploy to specific location and check which files were created
there?!

What exactly doesnt work?

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

JP> Hi all - a general 'best practice' query:
JP>
JP> I have a asp.net 3.5 website using Ajax, sql2005 and vb.net designed
JP> in
JP> vs2008 running on iis6. All runs happily on the testing server.
JP> if I copy all of the files (everything)  from the testing to
JP> production
JP> server again all works fine.
JP> If I publish the site using the built in publish feature it gives me
JP> the option of 'only files needed to run this application'. If I
JP> select that, the site won't run.
JP>
JP> I was under the impression that publishing the website using the
JP> above method compiles all the code-behind and other code files into
JP> a dll file - or have I got it wrong?
JP>
JP> What is the best method of deploying a finished website?
JP>
JP> Tutorials, links, advice all very welcome.
JP>
JP> Thanks
JP>
james page - 17 Mar 2008 14:58 GMT
Deployed to folder which iis sees ok
Files created: all aspx, ascx, master, images, css and in the bin folder
myproject.dll, .pdb & .xml, ajaxControlToolkit.dll but no .vb files

Specific error - cannot find masterpage.vb file

> Hello James,
>
[quoted text clipped - 4 lines]
>
> What exactly doesnt work?
Eliyahu Goldin - 17 Mar 2008 13:54 GMT
Is it a website or web application? In the latter case you could forget to
include something in the solution.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

> Hi all - a general 'best practice' query:
>
[quoted text clipped - 16 lines]
>
> Thanks
Omen - 25 Apr 2008 10:29 GMT
I also have this issue.

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

> Is it a website or web application? In the latter case you could forget to
> include something in the solution.
[quoted text clipped - 19 lines]
> >
> > Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.