Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS: novice: difference between host-header / virtual directory  
Author Message
dct_flare

External


Since: Nov 14, 2003
Posts: 4



(Msg. 1) Posted: Fri Nov 14, 2003 1:39 pm
Post subject: Problem with nested Virtual dir in IIS 6.0 on Win 2003 server
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi i have thi problem:

Eg.

I have a virtual dir called WebPortal and a another wich is WebPortal/Forum

under WebPortal/Forum i have eg. an index.aspx file but if i call the
WebPortal/Forum/index.aspx file from a file in WebPortal dir its says that
the WebPortal/Forum virtual dir is not setup correct?

But here comes the funny part. If i call the WebPortal/Forum/index.aspx
directly..eg a browser it works just fine.

So the virtual dirs is setup an is working. Its just when i call a file in a
sub virtual dir the problem occure....Ant suggestions?

Regards
Anders, DK

 >> Stay informed about: Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser.. 
Back to top
Login to vote
dct_flare

External


Since: Nov 14, 2003
Posts: 4



(Msg. 2) Posted: Fri Nov 14, 2003 1:44 pm
Post subject: Re: Problem with nested Virtual dir in IIS 6.0 on Win 2003 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > under WebPortal/Forum i have eg. an index.aspx file but if i call the
 > WebPortal/Forum/index.aspx file from a file in WebPortal dir its says that
 > the WebPortal/Forum virtual dir is not setup correct?

Here is the error:

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser.. 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 3) Posted: Sat Nov 15, 2003 12:12 am
Post subject: Re: Problem with nested Virtual dir in IIS 6.0 on Win 2003 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Do you have two different ASP.Net applications? or just one?

How many application roots do you have? One or two?

(you will have problems if you have mis-matched numbers of applications and
application roots)

Cheers
Ken


"Flare" <dct_flare RemoveThis @hotmail.com> wrote in message
news:ePGcpPpqDHA.2536@tk2msftngp13.phx.gbl...
: > under WebPortal/Forum i have eg. an index.aspx file but if i call the
: > WebPortal/Forum/index.aspx file from a file in WebPortal dir its says
that
: > the WebPortal/Forum virtual dir is not setup correct?
:
: Here is the error:
:
: Configuration Error
: Description: An error occurred during the processing of a configuration
file
: required to service this request. Please review the specific error details
: below and modify your configuration file appropriately.
:
: Parser Error Message: It is an error to use a section registered as
: allowDefinition='MachineToApplication' beyond application level. This
error
: can be caused by a virtual directory not being configured as an
application
: in IIS.
:
:
:
 >> Stay informed about: Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser.. 
Back to top
Login to vote
dct_flare

External


Since: Nov 14, 2003
Posts: 4



(Msg. 4) Posted: Sat Nov 15, 2003 12:12 am
Post subject: Re: Problem with nested Virtual dir in IIS 6.0 on Win 2003 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > How many application roots do you have? One or two?
 >
 > (you will have problems if you have mis-matched numbers of applications
and
 > application roots)

Both are set as applications.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser.. 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 5) Posted: Sat Nov 15, 2003 12:38 am
Post subject: Re: Problem with nested Virtual dir in IIS 6.0 on Win 2003 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

....and are both ASP.Net applications?

Cheers
Ken

"Flare" <dct_flare DeleteThis @hotmail.com> wrote in message
news:e8WC6ipqDHA.2620@TK2MSFTNGP09.phx.gbl...
: > How many application roots do you have? One or two?
: >
: > (you will have problems if you have mis-matched numbers of applications
: and
: > application roots)
:
: Both are set as applications.
:
:
 >> Stay informed about: Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser.. 
Back to top
Login to vote
dct_flare

External


Since: Nov 14, 2003
Posts: 4



(Msg. 6) Posted: Sat Nov 15, 2003 12:38 am
Post subject: Re: Problem with nested Virtual dir in IIS 6.0 on Win 2003 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > ...and are both ASP.Net applications?

Yes. Sowy for the forgotten infos.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser.. 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 7) Posted: Sat Nov 15, 2003 12:38 am
Post subject: Re: Problem with nested Virtual dir in IIS 6.0 on Win 2003 server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Your error happens when both of these applications do not have AppRoot in
IIS. You need to create an IIS application at /WebPortal and
/WebPortal/Forum

You can also have problems if both those applications are not within the
same IIS Application Pool.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Flare" <dct_flare.RemoveThis@hotmail.com> wrote in message
news:OKNEYJqqDHA.2644@TK2MSFTNGP09.phx.gbl...
 > ...and are both ASP.Net applications?

Yes. Sowy for the forgotten infos.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Problem with nested Virtual dir in IIS 6.0 on Win 2003 ser.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]