473,226 Members | 1,529 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,226 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 1549
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: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.