Re: How to move .net from dev to prod?

From: Lau Lei Cheong (leu_lc_at_yehoo.com.hk)
Date: 09/18/04

  • Next message: Mikhail Arkhipov (Microsoft): "Re: Visual Basic and JavaScript"
    Date: Sat, 18 Sep 2004 10:27:43 +0800
    
    

    You can use "Copy project" on solution explorer with "copy only files needed
    to run applcation" option
    to get a clean project folder to begin work with. (Actually, you only need
    to copy *.aspx, *.asmx, *.ascx,
    files in bin directory, Global.asax and web.config for it to run. Of course
    you'll need to retain the directory
    structure) Then zip/rar/or whatever the folder and any 3rd party component
    that it needed to run and you are ready to
    deploy.

    At the production server, install all 3rd party components that's needed but
    not installed, then unzip the
    folder to appropiate directory. Set read,read & execute and list folder
    content permission for "ASPNET"(Win2k/XP)
    or "Network Service"(Win2003) account. Setup the VD for the directory in IIS
    management console and your web application is ready.

    Please check if I missed anything.

    "i. Wiin" <iiwiin@yagoo.com> ¦b¶l¥ó
    news:%23k249zMnEHA.3352@TK2MSFTNGP15.phx.gbl ¤¤¼¶¼g...
    > I've been a classic ASP developer for over four years. Now I am
    > experimenting around with ASP.NET. I've got my web application working in
    > development and need help moving it over to the production server. In
    > classic ASP I just used Windows Explorer to copy the .asp file from one
    > location to the other and voila! everything worked. However when I copy
    the
    > aspx files manually, things don't work so well especially when I use code
    > behind (meaning I have a separate .cs file for every aspx page). If I
    take
    > a single aspx file with the code inline (similar to classic ASP), then
    > things work, but when using code behind I get errors saying it "could not
    > load the type" as specified in the Inherits ="" of the aspx file even
    though
    > the .cs file is there.
    >
    > Is there a special way I need to move the files over to make them work?
    > Is there any special configuration I need to do on IIS to the folder I
    copy
    > the files into?
    >
    > Thanks!
    >
    >


  • Next message: Mikhail Arkhipov (Microsoft): "Re: Visual Basic and JavaScript"

    Relevant Pages

    • Re: Advantages of VS.NET for ASP.NET
      ... Thank you very much for your reply Scott. ... ASP (now called Classic ASP) ... > The bin folder is where your actual compiled assembly and copies of your ... > referenced private assemblies go, you generally don't need to modify or look ...
      (microsoft.public.vsnet.general)
    • FileSystemObject problems
      ... This is a query to do with classic ASP. ... creates a folder in the root directory of my site, but when I run the page it ... problem is with the PERMISSIONS on my local Windows 2000 server. ... hear freedom comin" ...
      (microsoft.public.scripting.vbscript)
    • Re: Using code behind without a virtual directory?
      ... app doesn't work as a virtual directory. ... We are extending an old web application written in classic ASP. ... session objects to the same folder or another folder that is not a web ... So if there is a good strategy to share session objects between classic ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Shut down classic ASP?
      ... I'm afraid I don't even understand the question. ... ASP.Net application have to do with classic ASP? ... > And how does one create a new classic ASP website in wwwroot? ... > just make a folder or does it also need to be registered with IIS? ...
      (microsoft.public.dotnet.framework.aspnet)
    • RE: Easy way to add large numbers of existing source files to project?
      ... First of all copy your files into the project's folder (having the ... Click on a project in the Solution Explorer. ... Files" button from the Solution Explorer pane. ... Adrian Vinca, Developer Division ...
      (microsoft.public.dotnet.languages.csharp)