Hi,
I am not good at syntax. The best way to learn coding is looking at examples and on any error...Google..Google and see how others resolved it. I guess your syntax is not oke: <%@ Page language="C#" Inherits="QHWeb.Modules.Payments.View" AutoEventWireup="true" Codebehind="ppIPNi.aspx.cs" %>
In DNN you only have .ascx files which are controls and not pages (aspx). Check out the Module template first and the developers guide of DNN and first generate an empty module and have it run. Then add your project to a new folder in DesktopModules and App_Code (or setup in WAP) and try to run that. Basically you can copy-paste your code in this module template which is used for setting up a new module....
This is my server code of Buckaroo:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BuckarooServerResponse.aspx.cs" Inherits="bBayt.DNN.Modules.ShoppingEngine.Checkout.Provider.PaymentMethod.Buckaroo.BuckarooServerResponse" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Server Response</title>
</head>
<body>
<form id="frmServerFeedback" runat="server">
<div>
<asp:Label ID="lblMessage" runat="server"></asp:Label>
</div>
<asp:PlaceHolder ID="plhInjectScriptInHtmlBody" runat="server"></asp:PlaceHolder>
</form>
</body>
</html>
This is inside DNN in the Desktopmodule folder:
<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="SubmitView.ascx.cs"
Inherits="bBayt.DNN.Modules.ShoppingEngine.Checkout.Controls.UI.SubmitView" EnableViewState="false" %>