473,385 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ASP.NET Files necessary on production system

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

Nov 18 '05 #1
4 1216
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 transferedto 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

.

Nov 18 '05 #2
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" <st**************@freenet.de> wrote in message
news:bu************@ID-220178.news.uni-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

Nov 18 '05 #3
> 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" <st**************@freenet.de> wrote in message
news:bu************@ID-220178.news.uni-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

Nov 18 '05 #4
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.


Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
1
by: Marty McDonald | last post by:
Many of an app's classes could read the config file. The config file could contain many elements, and it will be difficult to know which config file entry belongs to which class. I could adopt a...
1
by: Steffen Loringer | last post by:
Hi, are pdb files necessary on a production server? And what for are the ..resx and .suo files? Steffen
1
by: Adrian | last post by:
Hi all Initial postion: IIS 6.0, Windows 2003 Server, .NET Framework 1.1 We have a development Server A, a stating Server B and a production Server C. After development of the .NET ASP...
6
by: Neo The One | last post by:
On my development machine, I often delete all folders/files under C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files. That has not caused me any trouble til now. So now we have...
3
by: ReidarT | last post by:
I have made a simple webapplication in vb.net, with 2 aspx-pages. Which files do I upload to the production-server and are there any dependency-files? Are the files that need to be uploaded in...
1
by: svijay | last post by:
hi I have got a strange problem. May I know any solution for this. Here is the detailed description about the problem We have got a mainframe system and also production and development...
5
by: Bob on Whidbey | last post by:
I want to use the same Access 2003 data base system on separate desktops, at separate locations. There is no LAN. Of course both DB's will have numerous additions and changes. Is there a...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.