Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: subdirectory settings

Reply
Thread Tools

Re: subdirectory settings

 
 
Dave Mitchell
Guest
Posts: n/a
 
      07-15-2003
So exactly how did you solve it? I'm getting an error very similar to this
and I've tried everything


"Ante Perkovic" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I solved this! I skipped this part in the book:
>
> ****
> An Application Can Only Use One Authentication Method
>
> You cannot change the <authentication> tag settings in the web.config
> file of a subdirectory in your application. Instead, all the
> directories in the application must use the same authentication
> system. However, each directory can have its own authorisation rules.
> ****
>
> Ante
>
>
> On 23 Jun 2003 02:06:36 -0700, http://www.velocityreviews.com/forums/(E-Mail Removed) (Ante Perkovic)
> wrote:
>
> >Hi,
> >
> >I created subdirectory in my application folder, but I can't watch
> >files inside because I get error:
> >
> ><quote>
> >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.
> >
> >Source Error:
> >
> >
> >Line 5:
> >Line 6: <!-- <authentication mode="windows" /> -->
> >Line 7: <authentication mode="forms" />
> >Line 8: <forms name="myCookie"
> >Line 9: loginUrl="login.aspx"
> >
> ></quote>
> >
> >What do I have to write to web.config (in this subdirectory) for this
> >to work properly? I suppose writing to web.config should be enough
> >because I can't really upload some ISS setings to a remote web site.
> >
> >Please help! Thanks,
> >
> >Ante

>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Settings.settings file with settings for multiple regions donet programmer ASP .Net 3 11-20-2009 03:05 PM
Macro to Export All Mail in a Subdirectory to .txt Format? Elisa Francesca Roselli Firefox 4 09-08-2005 02:59 PM
forms authentication in subdirectory =?Utf-8?B?SnVzdGlu?= ASP .Net 2 11-06-2004 06:09 AM
Creating a Form in a subdirectory Scott Natwick ASP .Net 2 10-23-2004 11:17 PM
Question: Doing a 'dir' on a subdirectory in my web root VB Programmer ASP .Net 0 10-16-2003 06:19 PM



Advertisments