DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 15 Aug 2007 12:40:02 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    david
          2    Alexey Smirnov
                 3    david
          4    Alexey Smirnov
          5    david


form based authetication not work after copying them to rebuilt se   
Database and OS are same for both machines: SQL Server 2000 and Windows 2000 
server.

It worked very well for old machine.

But I have copied them to the new machine and config IIS's Directory 
Security to Anonymous, and Inheririance overides.

I got the eorror message from local browser:
--------------------------
Server Error in '/' Application.


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 41:     --> 
Line 42:     <!-- ref. data access reference in SMDN April 7, 2005-->
Line 43:     <authentication mode="Forms">
Line 44: 		<forms name="AuthCookie" loginUrl="login.aspx" path="/" 
protection="All"> <!-- I delete path="/" timeout="30", otherwise, I can 
access without asking password -->
Line 45: 		</forms>
 

Source File: c:\inetpub\wwwroot\demo\web.config    Line: 43 

----------

Do I need to recompile all sources?

Thanks for any help

David
Date:Wed, 15 Aug 2007 12:40:02 -0700   Author:  

Re: form based authetication not work after copying them to rebuilt se   
On Aug 15, 9:40 pm, david  wrote:

> Database and OS are same for both machines: SQL Server 2000 and Windows 2000
> server.
>
> It worked very well for old machine.
>
> But I have copied them to the new machine and config IIS's Directory
> Security to Anonymous, and Inheririance overides.
>
> I got the eorror message from local browser:
> --------------------------
> Server Error in '/' Application.
>
> 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 41:     -->
> Line 42:     <!-- ref. data access reference in SMDN April 7, 2005-->
> Line 43:     <authentication mode="Forms">
> Line 44:                <forms name="AuthCookie" loginUrl="login.aspx" path="/"
> protection="All"> <!-- I delete path="/" timeout="30", otherwise, I can
> access without asking password -->
> Line 45:                </forms>
>
> Source File: c:\inetpub\wwwroot\demo\web.config    Line: 43
>
> ----------
>
> Do I need to recompile all sources?
>
> Thanks for any help
>
> David


David, did you check if this: "This error can be caused by a virtual
directory not being configured as an application in IIS"?
Date:Wed, 15 Aug 2007 19:56:28 -0000   Author:  

Re: form based authetication not work after copying them to rebuil   
What does it mean?
I just copy the whole folder into wwwroot.

David

"Alexey Smirnov" wrote:


> On Aug 15, 9:40 pm, david  wrote:
> > Database and OS are same for both machines: SQL Server 2000 and Windows 2000
> > server.
> >
> > It worked very well for old machine.
> >
> > But I have copied them to the new machine and config IIS's Directory
> > Security to Anonymous, and Inheririance overides.
> >
> > I got the eorror message from local browser:
> > --------------------------
> > Server Error in '/' Application.
> >
> > 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 41:     -->
> > Line 42:     <!-- ref. data access reference in SMDN April 7, 2005-->
> > Line 43:     <authentication mode="Forms">
> > Line 44:                <forms name="AuthCookie" loginUrl="login.aspx" path="/"
> > protection="All"> <!-- I delete path="/" timeout="30", otherwise, I can
> > access without asking password -->
> > Line 45:                </forms>
> >
> > Source File: c:\inetpub\wwwroot\demo\web.config    Line: 43
> >
> > ----------
> >
> > Do I need to recompile all sources?
> >
> > Thanks for any help
> >
> > David
> 
> David, did you check if this: "This error can be caused by a virtual
> directory not being configured as an application in IIS"?
> 
> 
> 
Date:Thu, 16 Aug 2007 17:56:41 -0700   Author:  

Re: form based authetication not work after copying them to rebuil   
On Aug 17, 2:56 am, david  wrote:

> What does it mean?
> I just copy the whole folder into wwwroot.
>
> David
>


If "demo" is your application name, then go to IIS, expand the web
site, right click on Demo, Properties, on the Directory tab, in the
Application Settings section, click Create.
Date:Fri, 17 Aug 2007 07:07:34 -0000   Author:  

Re: form based authetication not work after copying them to rebuil   
thanks
demo is the project name.
It works following your instruction.
I did wrong way on the folder demo/bin rather than demo itself.

David

"Alexey Smirnov" wrote:


> On Aug 17, 2:56 am, david  wrote:
> > What does it mean?
> > I just copy the whole folder into wwwroot.
> >
> > David
> >
> 
> If "demo" is your application name, then go to IIS, expand the web
> site, right click on Demo, Properties, on the Directory tab, in the
> Application Settings section, click Create.
> 
> 
Date:Fri, 17 Aug 2007 11:10:02 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us