Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPProtect.NET Authentication Add-On Support Archives (Info Locked Info Locked)
 CJWSoft Support Info : ASPProtect.NET Authentication Add-On Support Archives
Subject Info: Trying to get the ASP.NET to work A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
divisionmd
New User
New User
Avatar

Joined: May/15/2006
Location: Sweden
Online Status: Offline
Info: 5
Added: May/15/2006 at 7:28pm | IP Logged Quote divisionmd

Hello!

Just installed the ASPProtect works perfect! 

But now im trying to get the ASP.NET to work aswell.

------------------------------------------------------------ ---------------------------------------------------------

I have the aspprotect files on: H:\Inetpub\wwwroot\ASPPRotect 

The new ASP net files on:      H:\Inetpub\wwwroot\ASPPRotect\NET\aspnet\aspplogin.aspx                                                 H:\Inetpub\wwwroot\ASPPRotect\NET\aspnet\ASPPstyles.css                                                 H:\Inetpub\wwwroot\ASPPRotect\NET\aspnet\protectpage.ascx                                                 H:\Inetpub\wwwroot\ASPPRotect\NET\aspnet\testprotect.aspx                                                 H:\Inetpub\wwwroot\ASPPRotect\NET\aspnet\testprotect.aspx                                                 H:\Inetpub\wwwroot\ASPPRotect\NET\aspnet\Web.config                                                 H:\Inetpub\wwwroot\ASPPRotect\NET\aspnet\bin\aspprotect.auth entication.dll

------------------------------------------------------------ ---------------------------------------------------------

Attaching the web.config file

2006-05-15_192702_Web.rar

------------------------------------------------------------ ---------------------------------------------------------

When I test run the http://192.168.9.4/ASPPRotect/NET/aspnet/testprotect.aspx i get this error below: 

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 58:       <compilation debug="false" explicit="true" />

Line 59:

Line 60:       <authentication mode="Forms">

Line 61:         <forms name=".aspprotect~net" loginUrl="http://192.168.9.4/ASPPRotect/NET/aspnet/aspplogin .aspx" protection="All" timeout="60" />

Line 62:       </authentication> 

Source File: H:\Inetpub\wwwroot\aspprotect\net\aspnet\web.config &nb sp;  Line: 60

  ------------------------------------------------------------ --------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

------------------------------------------------------------ -----------------------------------------------------

What am I doing wrong? 

Thanks for help! 

Best regards,

Johan

Back to Top View divisionmd's Profile Search for other info by divisionmd Visit divisionmd's Homepage
 
divisionmd
New User
New User
Avatar

Joined: May/15/2006
Location: Sweden
Online Status: Offline
Info: 5
Added: May/16/2006 at 10:27am | IP Logged Quote divisionmd

 Easy fix just moved the webconfig file to the root of the virtual direcotyr.

 

Now everything works!

Thanks anyway!

Back to Top View divisionmd's Profile Search for other info by divisionmd Visit divisionmd's Homepage
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: June/16/2006 at 10:54am | IP Logged Quote cwilliams

1st off, I am sorry I didnt answer any of your posts until now. For some reason I just never saw them or got an email about then, not sure why.

Glad you found the answer.


__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com