|
-
Oct 12th, 2003, 01:34 AM
#1
Thread Starter
Frenzied Member
Web Application Location Help [Resolved]
When i make a web application it works fine but the only problem i got is that for some reason it wants to be in the root of the web and not a sub folder. Does anyone know how to fix this problem cause i'd rather not have them all sitting in the root web, but rather subfolders for each of their tasks. When i place it in a sub folder of the root web, the aspx form throws an error, but when in the root web, it works perfectly. Anyone know how to fix this please?
Last edited by Ideas Man; Oct 13th, 2003 at 06:13 AM.
-
Oct 12th, 2003, 01:41 AM
#2
I haven't tried this but try setting the folders inside the project itself (including them in the project) and moving the folders (again in the project itself) inside VS IDE.
-
Oct 12th, 2003, 01:55 AM
#3
Thread Starter
Frenzied Member
What do you mean?
It crashes on this line of the aspx file:
VB Code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="EasyQ.aspx.vb" Inherits="ComputerQuiz1.EasyQ"%>
but it's not doing it now, how very odd, but it had something to do with the "ComputerQuiz1.EasyQ" part. Unfortunatly i can't reproduct the error to tell you exactly what it said, but now it's working so hopefully it stays that way
-
Oct 12th, 2003, 06:42 AM
#4
Frenzied Member
Not every folder in the web runs the ASP.NET files. In order to run a project in a folder, you should open IIS manager snap-in, find that folder, right click on it and in the properties, Directory,Application Settings, create an application for it. Alternatively you should make Virtual Directories.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 12th, 2003, 06:49 AM
#5
Thread Starter
Frenzied Member
Ok thanks, i'll try that if the error pops up again.
-
Oct 12th, 2003, 06:56 AM
#6
Frenzied Member
Forgot to mention in the previous post that if you start a new project by VS and set the path from the start, VS create the application in that folder and you dont have to do it yourself.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 12th, 2003, 05:02 PM
#7
Thread Starter
Frenzied Member
Yeah, I already knew that, but I make and debug it on the local Web Server, then transport it to my proper Web Server, the problem lied there.
-
Oct 12th, 2003, 05:05 PM
#8
Frenzied Member
So the problem is that you have to use virtual directories or create application. The reason that it runs in the root folder is that the root folder has already the application created called "default Application".
Last edited by Lunatic3; Oct 13th, 2003 at 03:02 AM.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 13th, 2003, 01:29 AM
#9
Thread Starter
Frenzied Member
Yeah, but doesn't the sub folders just use the application from the root folder? I checked on a sub folder and the application name is the same as the root folder, only you can't rename it.
-
Oct 13th, 2003, 01:36 AM
#10
Frenzied Member
Originally posted by Ideas Man
Yeah, but doesn't the sub folders just use the application from the root folder? I checked on a sub folder and the application name is the same as the root folder, only you can't rename it.
No, they dont use it. Click on Create to create an application that folder.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 13th, 2003, 01:39 AM
#11
Thread Starter
Frenzied Member
Then what? Give it a easy to identify name and that's it?
-
Oct 13th, 2003, 01:40 AM
#12
Frenzied Member
Should work. Or try creating a new virtual directory.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 13th, 2003, 01:44 AM
#13
Thread Starter
Frenzied Member
Ok, i'll have a go and tell you how i got on.
-
Oct 13th, 2003, 02:56 AM
#14
Thread Starter
Frenzied Member
OK, I created a new application for the sub folder and so far, so good . Thanks for your help, very much appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|