Returning Parser Error... Please somebody, anybody

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

After copying my project from our testing server (Windows server 2003) to my local machine (Windows XP Professional), via unzipping a ZIP file, for continued development I continuously receive the following parser error

Could not load type 'alss.tenant.plan.bathing
(then it highlights, in red, this line from the user controls ascx page
Line 1: <%@ Control CodeBehind="bathing.ascx.cs" Language="c#" AutoEventWireup="false" Inherits="alss.tenant.plan.bathing" %

I have noticed lately that these kind of errors are becoming more and more frequent. Couldn't have something to do with the differences between IIS 6.0 and 5.1. Also, on like to take this application to a Windows 2000 Server machine and was wondering if I would run into the same problems. Any comments or suggestions would be greatly appreciated

Thank you
Jim
 
BTW, I receive the same error when I use the project copy functionality from within Visual Studio.

Jim
 
Hi

I find 2 reasons possibly..

#1) Either while compilation of yo code ... the code-behind file was not included in yo Project, so its not in yo 'Complied' dl

#2) Make sure thhe fromt-end and code-behind files name and namespace are exactly matchin

Tell me if it doesn't work ([email protected])
 
Is your folder structure the same on your XP machine as your W2003? Do you
have references to other folders? Where is alss.tenant.plan.bathing located,
how are you referencing it, how is its namespace getting defined?

Jim Mace said:
After copying my project from our testing server (Windows server 2003) to
my local machine (Windows XP Professional), via unzipping a ZIP file, for
continued development I continuously receive the following parser error:
Could not load type 'alss.tenant.plan.bathing
(then it highlights, in red, this line from the user controls ascx page)
Line 1: <%@ Control CodeBehind="bathing.ascx.cs" Language="c#"
AutoEventWireup="false" Inherits="alss.tenant.plan.bathing" %>
I have noticed lately that these kind of errors are becoming more and more
frequent. Couldn't have something to do with the differences between IIS
6.0 and 5.1. Also, on like to take this application to a Windows 2000
Server machine and was wondering if I would run into the same problems. Any
comments or suggestions would be greatly appreciated.
 
Back
Top