Vampdee 0 Newbie Poster

I have an accelerator plugin that I downloaded and set up to run with my existing CRM system. This is an ASP.net project and when I run it on my computer from my VS2005 environment, it runs fine. It also runs fine in IIS on my machine that my development environment is on. Both my machine and the server I am deploying to have IIS 7 and are running in integrated mode (not sure if that is an important detail or not).
When I deploy the project and move the deployed files to a webserver and try to view the site I get:
Server Error in '/' 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: The base class includes the field 'eventListing', but its type (Registration_EventListing) is not compatible with the type of control (ASP.controls_eventlisting_ascx).

Source Error:


Line 4:
Line 5: <asp:Content ID='Content1' ContentPlaceHolderID="ContentPlaceHolder1" runat="server" >
Line 6: <em:EventListing RegistrationPageUrl='/EventRegistration.aspx' ID='eventListing' runat="server"/>
Line 7: </asp:Content>

Source File: /eventlisting.aspx Line: 6


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074

____________________________________________________
I have found one Microsoft KB saying this is caused by "circular references" but I can't seem to identify any. Also the alternative fix that is suggested is to use a <compilation> element in the web config with batch="true". I tried this and ASP.net says <compilation> is an unknown element. The KB I am refering to is here: http://support.microsoft.com/kb/919284 .

Am I missing something here?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.