CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_php_to_asp.net.php_to_asp.net_migration_assistant_alpha Tags:
Item Type: NewsGroup Date Entered: 7/19/2005 6:12:46 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
nish
Asp.Net User
calling an aspx page from a php site.7/19/2005 6:12:46 AM

0/0

hello,

I  have a php site which  is  operational. I  am working on a windows platform with php 5/IIS -1.1
I have defined the virtual directory and most of the files it  has are .php files, it has  just  2 .aspx files in it.
I  am now trying to  call an aspx page from my php page, but I  get the following  error.

Parser Error Message: Could not load type 'ODL.TravelIntelligence.SpecialOffer'.

Source Error:

Line 1:  <%@ Page language="c#" Codebehind="SpecialOffer.aspx.cs" AutoEventWireup="false" Inherits="ODL.TravelIntelligence.SpecialOffer" %>
Line 2:  <%@ Register TagPrefix="TI" TagName="mis_footer" Src="controls/mis_footer.ascx" %>
Line 3:  <%@ Register TagPrefix="TI" TagName="mis_header" Src="controls/mis_header.ascx" %>

Source File: C:\Travel Intelligence - Org\travelintelligence_local\web\mis\SpecialOffer.aspx    Line: 1




Have u'll come across this before  and  if yes .... what  is my possible solution ..I  am totally  new to the .NET environment , so your help will be greatly appreciated.
Has anyone done such a thing before ???


Thanks in advance.
Nish

Everah
Asp.Net User
Re: calling an aspx page from a php site.10/10/2005 9:34:26 PM

0/0

When you say calling an aspx page, do mean linking to it or including it? Either one should work. Linking should work just fine. I am running ..NET 1.1 with PHP 4.3 on Windows 2000 and I am moving in and out of ..NET and PHP pages all the time in some of my apps. Including a .NET file is a little trickier. Information can be found in the PHP Manual here and here.

Take note that the dotnet_load() function is experimental and should be used with caution.

er.tushar
Asp.Net User
Re: calling an aspx page from a php site.9/26/2007 7:46:17 AM

0/0

 Hi,
The reason for the error is that the compiler is unable to find ODL.TravelIntelligence.SpecailOffer class.

Make sure that you have the class in SpecialOffer.aspx.cs . The class which is inheriting from the Page class should be named as SpecialOffer.

This will solve your problem.

 

Regards,

Tushar 


Regards,
Tushar
3 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

ng.asp-net-forum.migrating_from_php_to_asp-net-php_to_asp ... Software converting PHP sites to ASP.Net 2.0 using C#. 1. 2. 11/29/2007 9:02:04 AM ... calling an aspx page from a php site. 2. 2. 9/26/2007 7:46:17 AM ...
Dell.com - Small Business Computers Shop Dell Small Business for built-to-order desktops, workstations, notebooks, PCs and computers as well as thousands of quality software and peripherals.
PHP to ASP.NET Migration Assistant Alpha - ASP.NET Forums Page 1 of 3 (45 items) 1 2 3 Next > Write a New Post. PHP to ASP.NET ... calling an aspx page from a php site. by nish. Re: calling an aspx... by er.tushar ...
PHP to ASP.NET Migration Assistant Alpha Website migration: redirect from php to aspx. Limite in Select in mysql. calling an aspx page from a php site. how i can convert this link from php to asp.net ...
ASP.NET - Wikipedia, the free encyclopedia In this case, the Page_Load() method will be called every time the ASPX page is requested. ... Apart from a few reserved directory names, the site can span any ...
PHP: Installation - Manual Near the top, there will be a listing called Configuration File (php.ini) ... Then use notepad to create a test page eg "test.php" <?php. phpinfo ...



 
All Times Are GMT