Previous Next

Thread: Run a aspnet webapplication in another aspnet website

Last post 10-04-2008 12:27 PM by HostingASPNet. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-02-2008, 10:44 AM

    • madjax
    • Not Ranked
    • Joined on 10-02-2008, 2:39 PM
    • Posts 1

    Run a aspnet webapplication in another aspnet website

    Hi, this should be quite simple but i cant seem to figure it out. On a iis6 i got a aspnet2.0 website. Within this website i want to run a forum which is another webapplication. Now when I copy the forums files into the subdirectory /forums/ ofcours i get al errors that the relative path names do not excist.

    So what i did was turn the forum directory into a virtual directory. But even this doesnt work i get this error:


    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load type 'DMGForums.DefaultPage'.

    Source Error:
    Line 1:  <%@ Page language="VB" Inherits="DMGForums.DefaultPage" %>

    Somebody please help. I've had this before but I always worked arround it by simply making new websites.

    Thanks, Andre Vink

  • 10-04-2008, 12:27 PM In reply to

    Re: Run a aspnet webapplication in another aspnet website

    Hello,

    It seems that you have precompiled application. Then you could:

    1. To make web reference from your first project to the second project.

    2. To run the forums like new website or new web app, and to point yoursite.com/forums to your new website.

    3. Also you should check the ASP.NET versions, if the 1st application is ASP.NET Framework 1.1 and second is 2.0 you should set the correct version.

    Regards

Page 1 of 1 (2 items)
Page view counter