473,387 Members | 1,342 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,387 software developers and data experts.

Moving ASP.Net Application To Server

Hello, I am trying to figure out how to put my application onto the server. I am deploying to a Windows 2000 Server

When I bring up Internet Services Manager and navigate to the Default Web site and I right click on the default web site folder, do I choose "New Site" or "New Vitural Directory"

I am guessing that I would choose "Virtual Directory", but I was not sure. When I follow thought on Virtual Directory option, when I look at the directory, it creates a whole bunch of sub-folders. Some of these folders appear to me to be folders which are created because of local standards and others are just naturaly created by IIS. I am not sure which is which, and I am not quite sure where to put my application files. Here are the directories which are created
ASPNet_Clien
Image
_Privat
_VTI_CN
_VTI_Lo
_VTI_PV
_VTI_Scrip
_PR

The _PRG seems to me to be controlled by some local standard because when I look into this folder, I see a number of things which could only be internally generated

My question is...which folder should I be using to load my application? I am guessing that it is "_PRG" folder. I am guessing that I would place all of my "Aspx" files in this directory, and that I would need to create a "Bin" folder and then load all of the files from my "Bin" folder on my workstation to the "Bin" folder on the server. Does this sound right

So If I called my "Virtual" directory "OPS", then to access my application I would type "http://IP Address Of Server/OPS/_PRG/MyFirstPage.aspx

Does this sound right
Nov 18 '05 #1
5 1553
back up a bit,
copy your folder to the server. you only need the bin subfolder and the aspx
files along with an optional web config file if you use it. nothing else.

open iis, to default websites and find your application in the subtree. It
should have a folder icon. right-click on it and choose properties. In the
virtual directory tab, click create. That's it. The folder icon should
change to a box like icon. you are done.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Jim Heavey" <an*******@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
Hello, I am trying to figure out how to put my application onto the
server. I am deploying to a Windows 2000 Server.

When I bring up Internet Services Manager and navigate to the Default Web
site and I right click on the default web site folder, do I choose "New
Site" or "New Vitural Directory"?

I am guessing that I would choose "Virtual Directory", but I was not sure.
When I follow thought on Virtual Directory option, when I look at the
directory, it creates a whole bunch of sub-folders. Some of these folders
appear to me to be folders which are created because of local standards
and others are just naturaly created by IIS. I am not sure which is
which, and I am not quite sure where to put my application files. Here
are the directories which are created:
ASPNet_Client
Images
_Private
_VTI_CNF
_VTI_Log
_VTI_PVT
_VTI_Script
_PRG

The _PRG seems to me to be controlled by some local standard because when
I look into this folder, I see a number of things which could only be
internally generated.

My question is...which folder should I be using to load my application? I
am guessing that it is "_PRG" folder. I am guessing that I would place
all of my "Aspx" files in this directory, and that I would need to create
a "Bin" folder and then load all of the files from my "Bin" folder on my
workstation to the "Bin" folder on the server. Does this sound right?

So If I called my "Virtual" directory "OPS", then to access my application
I would type "http://IP Address Of Server/OPS/_PRG/MyFirstPage.aspx"

Does this sound right?

Nov 18 '05 #2
My application is not in the sub-tree, because the application is new and does not yet exists on the server

I understand that I should copy my "ASPX" files and my Web Config file, and then my Bin folder into the folder which holds my application

The jist of my question is how do I add an application folder in IIS? When I use VS.Net on my local machine, VS.Net does all the work to create the application folder, but now if I have to create it myself, how do I do that

Do I create a virtual directory or should I create a "new Application"?
Nov 18 '05 #3
WJ
The best is to let MS/Visual Studio .Net system to "copy project" for you.
Please do th followings:

1. Goto your IIS server and create a new web site. During the web site
creation, specify a physical folder on the IIS server for the new site.
Example: C:\MyDotNetWebFolder.

2. Secure the new web site and specify its default home page if any.

3. Specify Host Header under the "Advanced tab" such as www.yourWeb.com.
This is the url name your client will punch into the web browser address
field at their end.

4. From the developer PC, use "map network drive" to map to the web folder
created in IIS server earlier (#1).

5. Bring up VS.Net IDE and open up your solution.

6. Highlight the "Project Name" in the "Solution Explorer"

7. Click "Project/Copy Project" from the VS.Net pull down menu.

8. Click "File share" under the Web access method

9. Browse to the mapped folder as done in step# 4.

10. Select "only files needed to run this application" under the "Copy"
label. Donot copy source files if you wish to keep them secret.

11. Click "OK". This action will copy all your *.aspx, web.config, and *.dll
to your IIS server. Ignore the Red X error if it is thrown about "could not
modify BIN folder ACL...."

12. Fire up your MS/IE and punch in your newly created .net web site and
observe your wonderful work !!!

13. Finally, go to the IIS server and view the contents of the newly created
web site. You should see all your *.aspx files and Web.Config file under the
root folder and a BIN folder that houses your assembly (*.DLL).

Hope this helps

John
"Jim Heavey" <an*******@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
My application is not in the sub-tree, because the application is new and does not yet exists on the server.
I understand that I should copy my "ASPX" files and my Web Config file, and then my Bin folder into the folder which holds my application.
The jist of my question is how do I add an application folder in IIS? When I use VS.Net on my local machine, VS.Net does all the work to create
the application folder, but now if I have to create it myself, how do I do
that? Do I create a virtual directory or should I create a "new Application"?


Yes, you need to create a new website if it does not exist on your web (IIS)
application server.
Nov 18 '05 #4

Hi there!

I'm trying to publish my web app. but i keep getting an error: It wants
me to set a DEBUG="TRUE" directive, i've done that but it keeps
returning the error. I've also tried to set DEBUG=TRUE in
WEB.CONFIG-file but the result is the same? Can anybody please help me
THANKS!

--
feffe
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 19 '05 #5
Explain the problem clearly. That's the first step.

"feffe" wrote:

Hi there!

I'm trying to publish my web app. but i keep getting an error: It wants
me to set a DEBUG="TRUE" directive, i've done that but it keeps
returning the error. I've also tried to set DEBUG=TRUE in
WEB.CONFIG-file but the result is the same? Can anybody please help me
THANKS!

--
feffe
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 19 '05 #6

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

Similar topics

0
by: Scorpius | last post by:
In an old application on which I am working, in an ASP file there is a server side vbscript function that is creating object of a class created in CPP file -- Server.CreateObject(NAME1.CLASS123)...
4
by: Ron Mexico | last post by:
Hi, Currently have an app that maintain that is written in VB6 and uses an access db (backend db only used as a data store not writing to the db). This app is a client app not server multi-teir...
0
by: Michael Johnson Sr. | last post by:
I have an application which I developed in C# ASP.NET. It uses SQL Server which is on a Virtual PC using Virtual PC 2004. It works great, no problems. I moved the user controls, aspx files,...
5
by: Ron Weldy | last post by:
In moving a ASP.NET site from a W2K IIS5 server to a new W2K3 IIS6 server, we are having trouble with what appears to be ASP.NET server side includes in the .shtml files. I did not set up the old...
6
by: Woody Splawn | last post by:
I have been using SQL Server 2000 on my stand-alone machine as a back-end to a VS.net application. It is time to switch environments and take the application to the customer. I need to install...
2
by: fuzzybr80 | last post by:
I am using MySQL 5.0 with a number of innodb tables whose ibdata files are growing quite quickly and filling up the /var partition (file is /var/mysql/ibdata1). Earlier on I followed instructions...
4
by: Rafael Tejera | last post by:
I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages. thansk for you help... Here is the error...
14
by: rabbitrun | last post by:
Hi Everyone, I work for a financial company. I am planning to give a presentation to rest of the development team (15 people) here on moving server side logic to client-side javascript for an...
8
by: Chris Asaipillai | last post by:
Hi there I have some questions for those experienced Visual Basic 6 programmers out there who have made the transition from VB6 to Vb.net. How long did it take you to learn at least the basic...
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: 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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.