Results 1 to 2 of 2

Thread: Relative Path Problem - ASP Classic to ASP.NET

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Location
    Toronto, Canada
    Posts
    28

    Relative Path Problem - ASP Classic to ASP.NET

    Hey guys,

    Problem Background
    One of our large applications developed using ASPs. I developed part of that application in ASP.NET 1.0.

    Directory Structure of the application is
    D:\App1\Module1\

    My asp.net code is under
    D:\App1\Module1\ASPNETModule

    Some ASP forms from Module1 directory are calling asp.net forms (asp.net forms are under ASPNETModule directory).

    And after I complete my process on asp.net forms then I want to redirect control again to the ASP forms.

    My Code that is called from the asp form is;
    <a href="ASPNETModule/aspnetform1.aspx?RefNumber=<%=rs.Fields("Fld1")%>">ASPNET Form</a>

    Error Occurs
    When I click this hyperlink following errors occurs;

    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.

    Line 46: by Microsoft that offers a single logon and core profile services for member sites.
    Line 47: -->
    Line 48: <authentication mode="Windows" />
    Line 49:
    Line 50: <!-- AUTHORIZATION


    This is one issue, another issue is when I want to comeback from asp.net form to asp form then it give me some other error. I will relay that problem after I resolve the above mentioned issue.

    I am really pissed off because of this issue.

    Your help will be much appreciated.

    Thanks & Best Regards,

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Location
    Toronto, Canada
    Posts
    28

    Re: Relative Path Problem - ASP Classic to ASP.NET

    no help??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width