Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

webtiercomserver in asp.net aspx file?

edited June 2005 in Server
Hi,

is it posible to put the webtiercomserver in a aspx file?

i tried the RBServer\Demos\Web Tier\ASP demo and that worsks fine. However..
i am working an a asp.net project and i want to put it in a aspx file. Is
that posible?

That way asp.net autorisation prevents unautorised starting of the report
page.

thanxs in advance

Ruud

Comments

  • edited June 2005

    The ASP demo produces a COM object. You should be able to add a reference to
    the ASP com object to a .NET project and use the COM interface from .NET.

    We do not have a demo of this, but will try to create one....



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited June 2005
    Thanx That would be great since i cant get it to work...


    Ruud
  • edited June 2005

    Here is an example that you can download.

    http://www.digital-metaphors.com/tips/AspDotNetWebTier.zip


    Note: I modified the COM Interface defined by the RBServer\Demos\WebTier\ASP
    example. I changed the parameters types from OleVariant to WideString.




    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2005
    Hi Nard,

    thnx for the example, it took me some time to test this (due to vacations).
    Have changed it to delphi2005. and works fine.

    Ruud

  • edited July 2014
    Hi Nard,

    this is an old message thread but this gives context to my new question.

    Calling reports from the asp.net page using webtiercomserver.ocx like
    this worked as a charm for many years. Servers are being replaced and
    the same software is being installed an windows 2008R2 64 bits computers.

    Report start and executes ok but after that the session gets messed up
    whit error message:"Object reference not set to an instance of an object."

    The stack trace point somewhere deep in .net

    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    The asp pages where made using delphi2006 asp.net 1.1 9.02. The
    webtiercomserver and or rboraclereportserver still use a reportbuilder 9
    version and are 32 bits and registered using regsvr32.

    Can u give me some tips to get this up and running again? Is it possible
    to get this up and running. (Should i build and register this stuff 64
    bits)

    Thanks in advance, any help is appreciated.....

    Ruud



    Ruud Bernards schreef op 15-7-2005 11:56:
  • edited July 2014
    Hi Ruud,

    If the ASP.Net is 64-bit, then you need to build the RB WebTier as 64-bit.




    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2014
    Hi Nard,

    do u known if it is possible to run it in asp.net 1.1 (32-bit?) on a
    2008R2 system? (That could buy me time to move it to delphi xe2 or 6)

    Kind regards

    Ruud



    Nard Moseley (Digital Metaphors) schreef op 7-7-2014 19:27:
  • edited July 2014

    I Googled "ASP.NET 64-bit and 32-bit on IIS 7", looks like it is possible to
    run either or both.

    http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx

    I know with IIS 7 on Windows 64-bit you can configure 32-bit App pools for
    the rbWebTier running as ISAPI. I assume ASP.NET is similar. Details for
    configuring a 32-bit app pool for ISAPI are here

    http://www.digital-metaphors.com/rbWiki/Server/Web_Tier/How_To...Deploy_to_IIS7



    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2014
    Thanks for the quick response and information

    Kind Regards
    Ruud

    Nard Moseley (Digital Metaphors) schreef op 8-7-2014 16:22:
This discussion has been closed.