Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET Files necessary on production system

Reply
Thread Tools

ASP.NET Files necessary on production system

 
 
Steffen Loringer
Guest
Posts: n/a
 
      01-15-2004
Hi all,

which of the asp.net files on my development system must be transfered
to the "final" server system to make the application working?
And which of the "Directory" option in IIS need to be activated?

Thanks for help!

Steffen

 
Reply With Quote
 
 
 
 
Shan
Guest
Posts: n/a
 
      01-15-2004
You need your aspx,ascx(any other controls u
have),web.config,any images and your bin directory.
(.cs/.vb files are not needed as they go into dll files in
bin directory)

Thanks,
-Shan


>-----Original Message-----
>Hi all,
>
>which of the asp.net files on my development system must

be transfered
>to the "final" server system to make the application

working?
>And which of the "Directory" option in IIS need to be

activated?
>
>Thanks for help!
>
>Steffen
>
>.
>

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      01-15-2004
Any file that ends with .as## (.asax, .aspx, .asmx, .ascx), the .config file
and any .dll files. You may also have to move .disco, .js (custom), .css, if
you use them. You do not have to move source files, and it is unwise to do
so.

The easiest way to transfer is the Copy Project in Visual Studio .NET, as it
gives you the option to only move files that are necessary to run the
project. The app will have to already be set up on the production machine to
run. The copy can be through a file share (if you have proper NTFS perms) or
through FrontPage extensions (if installed and you are an author on the
machine). You can also create an installer, but I do not advise this
methodology as it kills xcopy deploy of web apps.

Not sure what you mean by the Directory option. If you have a web app set up
on the production machine, you are rolling after moving files. The app does
need scripting execution rights, and in Win 2k3, you also have to allow
ASP.NET to run. Whether it is anon access (default) or further restricted
does not affect the app running, except that only authorized users will be
able to use. If this does not hit what you need to know for IIS settings,
please rephrase the question and I will give more info.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Steffen Loringer" <(E-Mail Removed)> wrote in message
news:bu65c4$e6rb0$(E-Mail Removed)-berlin.de...
> Hi all,
>
> which of the asp.net files on my development system must be transfered
> to the "final" server system to make the application working?
> And which of the "Directory" option in IIS need to be activated?
>
> Thanks for help!
>
> Steffen
>



 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      01-15-2004
> which of the asp.net files on my development system must be transfered
> to the "final" server system to make the application working?


If you are using compiled DLLs, the source code files for them do NOT have
to be deployed. ASPX files do need to be, as well as configuration files
(global.asax, web.config).

> And which of the "Directory" option in IIS need to be activated?


If I knew what you meant by that, I could answer it. I can tell you this
much. The configuration files need to go into the root directory of your web
application. The DLLs go into the /bin folder directly under the root
directory of the web application.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Steffen Loringer" <(E-Mail Removed)> wrote in message
news:bu65c4$e6rb0$(E-Mail Removed)-berlin.de...
> Hi all,
>
> which of the asp.net files on my development system must be transfered
> to the "final" server system to make the application working?
> And which of the "Directory" option in IIS need to be activated?
>
> Thanks for help!
>
> Steffen
>



 
Reply With Quote
 
Steffen Loringer
Guest
Posts: n/a
 
      01-15-2004
Thanks Gregory!

The problem is that my application uses a Microsoft Access database. I'm
generating a new test_object. It is accessing the database during
test_object.ReadFromDatabase().
This works fine on all my computers (desktop,laptop etc..) under XP and
IIS but once I copy the complete folder onto the server it's not working
anymore.
.....Reference not set to an instance of an object....

Suggestions?

Thanks a lot!

Cowboy (Gregory A. Beamer) schrieb:
> Any file that ends with .as## (.asax, .aspx, .asmx, .ascx), the .config file
> and any .dll files. You may also have to move .disco, .js (custom), .css, if
> you use them. You do not have to move source files, and it is unwise to do
> so.
>
> The easiest way to transfer is the Copy Project in Visual Studio .NET, as it
> gives you the option to only move files that are necessary to run the
> project. The app will have to already be set up on the production machine to
> run. The copy can be through a file share (if you have proper NTFS perms) or
> through FrontPage extensions (if installed and you are an author on the
> machine). You can also create an installer, but I do not advise this
> methodology as it kills xcopy deploy of web apps.
>
> Not sure what you mean by the Directory option. If you have a web app set up
> on the production machine, you are rolling after moving files. The app does
> need scripting execution rights, and in Win 2k3, you also have to allow
> ASP.NET to run. Whether it is anon access (default) or further restricted
> does not affect the app running, except that only authorized users will be
> able to use. If this does not hit what you need to know for IIS settings,
> please rephrase the question and I will give more info.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which files are necessary to be compiled? Sortie C Programming 2 09-12-2009 08:46 PM
Which *.jar files are minimal necessary to compile JAX-WS web service + client? Catherina Svensson Java 0 05-19-2008 05:47 AM
Creating necessary configuration files on package installation David G. Hong Perl Misc 2 04-21-2008 01:12 AM
Why does System.Web.Mail work in development and not in production? Homer ASP .Net 9 09-06-2007 01:02 PM
Publishing WebForms to Production System A P ASP .Net 8 02-08-2005 12:48 AM



Advertisments