CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 7/17/2006 2:07:38 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
yousaid
Asp.Net User
How do I run an application in a Sub folder7/17/2006 2:07:38 AM

0/0

Greetings,

I have an application that works fine on it's own, BUT I want run run it in asub folder of an existing application..

So I merged the web.config of both apps. I also merged the DB

So my folder structure is like this, http:\\localhost\mymainApp\default.aspx\myotherApp\default.aspx.

This does not work. How do I get this to work?

I need to run this app as a subApp.

Thanks,

yousaid

XIII
Asp.Net User
Re: How do I run an application in a Sub folder7/17/2006 5:36:56 AM

0/0

Hi,

yousaid:
http:\\localhost\mymainApp\default.aspx\myotherApp\default.aspx.

it should be http://localhost/mymainApp/default.aspx. When you want to call the other page it should be http://localhost/myotherApp/default.aspx.

Grz, Kris.


Kris van der Mast [MVP] || 101 LINQ to SQL samples
yousaid
Asp.Net User
Re: How do I run an application in a Sub folder7/17/2006 1:24:12 PM

0/0

http://localhost/mymainApp/default.aspx. http://localhost/myotherApp/default.aspx. ?????

This  (above)will not work. MyotherApp is in a Subfolder and the folder structure you have above assumes that Myotherapp is a stand-alone app.
For example, say I have http://spendmoney.com.  Spendmoney is the main app and has

(1) web.config
(2) Default.aspx, etc, etc.

Then I have a subfolder let's call it forums.

Forums folder has :
(1) Default.aspx
(2) Web.config ........db connectionstrings is in web.config for SPENDMONEY  folder.
So the entire structure is: http://spendmoney.com/forums.

Question is, how would one get to the forums folder? Assume a user ONLY wants to go to the forums and call the Default.aspx in that folder.

Cheers,

yousaid

XIII
Asp.Net User
Re: How do I run an application in a Sub folder7/17/2006 4:23:52 PM

0/0

Hi,

I got confused by your original question: http:\\localhost\mymainApp\default.aspx\myotherApp\default.aspx.

You can have people go to a subfolder like this

http://localhost/mymainApp/forums/default.aspx.

You could have the default.aspx in your root folder redirect to the one in the subfolder forums. In each folder you can place a default.aspx and web.config file. The web.config file in a subfolder overrides the settings of the web.config above it. Even the web.config in your application overrides the settings in the machine.config file which holds the configuration settings for the entire pc.

Grz, Kris.


Kris van der Mast [MVP] || 101 LINQ to SQL samples
yousaid
Asp.Net User
Re: How do I run an application in a Sub folder7/17/2006 5:34:06 PM

0/0

THANKS it works now, BUT I have another question.

Can I use the masterpages in the http://myMainappFolder for pages in the Forums folder?

The reason I want to do this is because I have all my Themes in the main folder BUT would like to use same themes in the /forums folder.

Thanks,

yousaid

XIII
Asp.Net User
Re: How do I run an application in a Sub folder7/17/2006 6:20:19 PM

0/0

Hi,

it'll work. You can create webforms and use a master page by checking the checkbox in the right lower corner when you add a new webform to your project to tell vs.net 2005 that you want to use a master page. Afterwards you get the choice to pick a certain masterpage because you can have multiple in your project.

Grz, Kris.


Kris van der Mast [MVP] || 101 LINQ to SQL samples
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Office 2004 for Macintosh: The Missing Manual Authors: Mark H. Walker, Franklin Tessler, Pages: 736, Published: 2005
How to Do Everything with Your IMac Authors: Todd Stauffer, Pages: 512, Published: 2004
Dynamics AX: A Guide to Microsoft Axapta Authors: Luis X. B. Mourao, David Weiner, Pages: 469, Published: 2005
The Unauthorized Guide to Windows Millennium Authors: Paul McFedries, Pages: 586, Published: 2000
PC Troubleshooter Resource Guide Authors: TechRepublic, Incorporated, TechRepublic, Pages: 0, Published: 2004
Sams Teach Yourself Java 2 in 24 Hours Authors: Rogers Cadenhead, Pages: 552, Published: 2002
Pro WPF: Windows Presentation Foundation in .NET 3.0 Authors: Matthew MacDonald, Pages: 980, Published: 2007
Pro WPF in C# 2008: Windows Presentation Foundation With . Net 3. 5 Authors: Matthew MacDonald, Pages: 1040, Published: 2008
Pro WPF with VB 2008: Windows Presentation Foundation With . Net 3. 5 Authors: Matthew MacDonald, Pages: 1000, Published: 2008
Pro Apache XML Authors: Poornachandra Sarang, Pages: 479, Published: 2006

Web:
Using Zend_Controller in subfolder | Alex @ Net But it does not answer on the “How to run my Zend Framework application in a subfolder of the web server document folder?†question and I propose you my ...
Can't run applications in /Applications folder [Archive] - The ... Other applications, like mail and safari run fine. If I place the offending application in a subfolder, then it runs fine as well; ...
Using Zend_Controller in subfolder Sep 26, 2006 ... But it does not answer on the “How to run my Zend Framework application in a subfolder of the web server document folder? ...
Fancy Bread: ColdFusion 8 Application Mappings and Sub-folders Feb 27, 2008 ... this.mapping is per application and any subfolder will use the ... See any code set above a function in a component will run each time and ...
There's a "hidden" subfolder inside the hidden... There's a hidden subfolder inside the hidden Application Data folder on my Win ... device and there is no entry under Add/Remove programs (START>RUN>APPWIZ. ...
WinZip® - How do I install WinZip multi-user licenses in a ... This folder contains application data for all users. .... allowing your users to automatically run WinZip Job files before installing with this parameter. ...
help: setting web folder as application folder in server run as the folder do not have application setting. ... if I want to have another asp web application inside the sub-folder, it's ...
How to use sub-folders in asp.net with compiled pages? - ASP.NET ... So, how do run complied pages in a asp.net subfolder...? Someone told me I had to make my subfolder an "application". ...
Can I access a subfolder containing a different php application ... The only thing that I didn't succeed to do is accessing another small php application in a subfolder of the root folder. ...
Lasso Professional 8 Application Folder Contents This folder contains one sub-folder for each site that was created within Server ... Files placed in the application level folder will be run for every site ...

Videos:
INSTALLER 4.0 BETA IS OUT! PS. I WLD JUST LIKE TO SAY THAT I WAS THE FIRST PERSON ON ALL OF YOUTUBE TO PUT UP A VIDEO ABOUT THE 4.0 BETA(IM NOT LIKE TRYING TO BE A DICK OR ANYT...
Site Production Basics How do you take those first steps to creating the actual web site. It is easier than you think - borrow from someone else's. this video will take you...
Mac OS Automator: Doing things over and over is over. Google TechTalks June 27, 2006 Sal Soghoian ABSTRACT Mac OS X "Tiger" introduces Automator, a new application that automates anything on your compu...
Structuring Personal Information When Everything Can Be Saved and Searched... Google TechTalks May 17, 2006 William Jones William Jones is an Research Associate Professor in The Information School at the University of Washingt...




Search This Site:










validation & security question

exporting database with dts

help save a poor programmer's health - menu text color...

multiple staticsitemapproviders

reinstallation of vs2008 problems

style sheets

it works, but...

microsoft ca web enrollment

dnn 3.1.1, why is it still using ftb 3.0.5000.1? the latest is 3.1.3300.0

web parts not appearning in visual studio toolbox

tttgallery 2.0.3 installation problems

issue w/dpapi and permissions

treenode dynamic add postback error

menu control rendering differently based on browser

a million dollar dnn site (for charitable purposes)

pass username iframe but with more security

ibuyspy shopping cart problem

modified dnn jungle codesmith templates (vb only)

active directory w/ asp .net questions

error when using forms authentication

middlename / infix for next releases of dotnetnuke?

may ctp debugger problem

exception handling and logging ent lib 3.1

best way to pass the output parameters.

how to download the repository module?

string encoding

my project templates don't show in new project dialog

login control and security in forms

asp.net 2.0 login control - user creation problem

right click on the web treeview node

 
All Times Are GMT