473,769 Members | 2,348 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.asp x

Does this sound right
Nov 18 '05 #1
5 1575
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*******@disc ussions.microso ft.com> wrote in message
news:77******** *************** ***********@mic rosoft.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.asp x"

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:\MyDotNetWebF older.

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*******@disc ussions.microso ft.com> wrote in message
news:FD******** *************** ***********@mic rosoft.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
1225
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) and performing a set of functions. I figured that its a DLL that is registered. I also found that it was created in CPP. Currenly we r moving everything to ASP .NET. We bought a custom ASP.NET application for this purpose and can only edit/change...
4
1565
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 app. It multi-form app that takes in a lot of user input and gives out high end calculations (engineering app). This app is starting to grow beyond the design and becoming very hard to maintian. I was considering moving it to C#. All of our new...
0
1184
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, dll, and other important files to Windows 2003 Server, then I created a virtual directory in IIS. When I view the site, I get an error message saying trust levels won't allow debug mode. So i modified the web.config and set debug = "false". Then I...
5
1225
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 server or code the site and have just been brought onto this project so I'm hoping someone out there with a tad more experience can help me. The code in the shtml file looks like this: <%@ Page language="c#" AutoEventWireup="false"...
6
1467
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 SQL Server 2000 on the server of the client's local area network, which is a Windows 2000 machine. I am concerned about doing this right. On my own machine I did the install incorrectly at first and had to re-install. I had a very hard time...
2
38953
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 in the docs to create a new ibdata file on a bigger partition /disk2/var/mysql/ibdata2) and set that to autoextend instead. However I would like to reclaim the disk space on /var by moving the existing ibdata1 file to /disk2/var/mysql/ibdata1....
4
1659
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 message: Server Error in '/' Application.
14
3570
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 internal intranet application rewrite. This approach will definitely stir up hot debate from hardcore server-side Java folks who wants to do UI stuff even on the server!. Since I am pretty much known as the JS or UI Guy of the group, my Boss...
8
2863
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 elements of VB.net....so that you were confident to write a application from scratch. This wouldnt necessarily
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10043
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.