By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

Moving ASP.Net Application To Server

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a

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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.