Re: How to move .net from dev to prod?
From: Lau Lei Cheong (leu_lc_at_yehoo.com.hk)
Date: 09/18/04
- Previous message: Lau Lei Cheong: "Re: OLE TO ODBC connection..."
- In reply to: i. Wiin: "How to move .net from dev to prod?"
- Next in thread: i. Wiin: "Re: How to move .net from dev to prod?"
- Reply: i. Wiin: "Re: How to move .net from dev to prod?"
- Messages sorted by: [ date ] [ thread ]
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!
>
>
- Previous message: Lau Lei Cheong: "Re: OLE TO ODBC connection..."
- In reply to: i. Wiin: "How to move .net from dev to prod?"
- Next in thread: i. Wiin: "Re: How to move .net from dev to prod?"
- Reply: i. Wiin: "Re: How to move .net from dev to prod?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|