Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Reference Delphi aspx page in VB.aspx

Reply
Thread Tools

Reference Delphi aspx page in VB.aspx

 
 
Alain Sienaert
Guest
Posts: n/a
 
      07-21-2004
Hi,

I have developped a very simple asp.net application with vb (Visual Studio
2003). The main page only contains a button that implements the following
code:

Response.Redirect("WebForm2.aspx")

This WebForm2 is written in Delphi 8 but when running the application and
clicking the button on the main page, I always receive the following error:

<<
Server Error in '/vbdemo01' Application.
----------------------------------------------------------------------------
----

Parser 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 'WebForm2.TWebForm1'.

Source Error:


Line 1: <%@ Page language="c#" Debug="true" Codebehind="WebForm2.pas"
AutoEventWireup="false" Inherits="WebForm2.TWebForm1" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3:


Source File: c:\inetpub\wwwroot\vbdemo01\WebForm2.aspx Line: 1

>>



Any ideas what goes wrong and how to resolve this problem???
Thanks and kind regards,
Alain

B.t.w. the main reason for setting up this demo is that I want to write a
module for the .net starterkits (see www.asp.net)


 
Reply With Quote
 
 
 
 
Eliyahu Goldin
Guest
Posts: n/a
 
      07-22-2004
Just guessing: could be because of Page language="c#" ?

Eliyahu

"Alain Sienaert" <(E-Mail Removed)> wrote in message
news:e%(E-Mail Removed)...
> Hi,
>
> I have developped a very simple asp.net application with vb (Visual Studio
> 2003). The main page only contains a button that implements the following
> code:
>
> Response.Redirect("WebForm2.aspx")
>
> This WebForm2 is written in Delphi 8 but when running the application and
> clicking the button on the main page, I always receive the following

error:
>
> <<
> Server Error in '/vbdemo01' Application.
> --------------------------------------------------------------------------

--
> ----
>
> Parser 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 'WebForm2.TWebForm1'.
>
> Source Error:
>
>
> Line 1: <%@ Page language="c#" Debug="true" Codebehind="WebForm2.pas"
> AutoEventWireup="false" Inherits="WebForm2.TWebForm1" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3:
>
>
> Source File: c:\inetpub\wwwroot\vbdemo01\WebForm2.aspx Line: 1
>
> >>

>
>
> Any ideas what goes wrong and how to resolve this problem???
> Thanks and kind regards,
> Alain
>
> B.t.w. the main reason for setting up this demo is that I want to write a
> module for the .net starterkits (see www.asp.net)
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
COM reference problem in Delphi 2005 =?Utf-8?B?R0c=?= ASP .Net 1 11-14-2005 10:43 PM
Loading an aspx page in a fram from another aspx page =?Utf-8?B?Uk1M?= ASP .Net 1 09-16-2005 01:21 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
How to Pass values between from a popup page aspx & a normal page aspx Marco Antonio Montalvo Durán ASP .Net 2 01-23-2004 09:35 PM
How do I post data from aspx page to another aspx page. Sriram Mallajyosula ASP .Net 1 11-05-2003 04:48 PM



Advertisments