473,320 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Parser Error.

Hi all,

I am using Visual Web Developer 2005. In the codebehind in my program,
it is written
<%@ Page language="c#" AutoEventWireup="false"
Inherits="pcf_solution_cs.SessionTransfer" %>

But when I tried to run it in the browser, it says Parser Error, that
it cannot load type 'pcf_solution_cs' but that is the name of the class
in the file. Please help me. Your help is greatly appreciated.

Thank you.

Nov 16 '06 #1
3 1194
Hi,

pr*************@gmail.com wrote:
Hi all,

I am using Visual Web Developer 2005. In the codebehind in my program,
it is written
<%@ Page language="c#" AutoEventWireup="false"
Inherits="pcf_solution_cs.SessionTransfer" %>

But when I tried to run it in the browser, it says Parser Error, that
it cannot load type 'pcf_solution_cs' but that is the name of the class
in the file. Please help me. Your help is greatly appreciated.

Thank you.
With the syntax "pcf_solution_cs.SessionTransfer", it means that you
have a namespace named pcf_solution_cs which should contain a class
named SessionTransfer. Is that the case?

If it is, please show your ASPX file and your CS file.

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 16 '06 #2
Hi,
this is the code for my aspx file...

namespace pcf_solution_cs
{
/// <summary>
/// Summary description for SessionTransfer.
/// </summary>
public class SessionTransfer : System.Web.UI.Page
{
private void Page_Load(object sender, System.EventArgs e)
{
.................................................
}
#endregion
}
}

And this is the error message:

Parser Error Message: Could not load type
'pcf_solution_cs.SessionTransfer'.

Source Error:

Line 1: <%@ Page language="c#" Codebehind="SessionTransfer.aspx.cs"
AutoEventWireup="false" Inherits="pcf_solution_cs.SessionTransfer" %>

Nov 17 '06 #3
Hi,

pr*************@gmail.com wrote:
Hi,
this is the code for my aspx file...
That looks OK to me. There are other ways to declare it, but this should
normally work. Can you zip your project files and send them to me (my
email address is valid), and I'll take a look.

HTH,
Laurent
>
namespace pcf_solution_cs
{
/// <summary>
/// Summary description for SessionTransfer.
/// </summary>
public class SessionTransfer : System.Web.UI.Page
{
private void Page_Load(object sender, System.EventArgs e)
{
.................................................
}
#endregion
}
}

And this is the error message:

Parser Error Message: Could not load type
'pcf_solution_cs.SessionTransfer'.

Source Error:

Line 1: <%@ Page language="c#" Codebehind="SessionTransfer.aspx.cs"
AutoEventWireup="false" Inherits="pcf_solution_cs.SessionTransfer" %>

--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Nov 17 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Karalius, Joseph | last post by:
Can anyone explain what is happening here? I haven't found any useful info on Google yet. Thanks in advance. mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make gcc -pthread -c...
2
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
6
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
5
by: Kenneth P | last post by:
Hi, I get a Parser Error message when I try to start my asp.net app. Parser Error Message: Could not load type 'DiskoWeb.dLogin'. I have a code behind file and it's class name is dLogin. ...
2
by: pj_servadmin | last post by:
Server Error in '/<applicationName>' Application -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of...
3
by: filip.norrgard | last post by:
Hi All! I've been developing an ASP.Net 2.0 web application using the Visual Studio 2005 tools. Currently datagrids on a page are filled with data from a dataset (a .xsd file in the "project")...
1
by: =?Utf-8?B?QWNl?= | last post by:
hello, i just converted old .net project (it was a solution with web project and class project) built in .net 1.0 and 1.1 framework to .net 2.0. as i expected, when i clicked on the solution file...
28
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to...
3
by: ups_genius | last post by:
Hi everyone! I created an error parser using the existing CDT stuff by basically copying some of the GNU / make / ... error parsers' code. I also added the extension point for the new error...
0
by: arvindkgs | last post by:
Iam using c lexer that is flex generated and a c++ parser that is bison generated. i have modified the parser to acccept only string input. I am calling the parser function yyparse in a loop and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.