Skip to Content
author's profile photo Former Member
Former Member

Could not load type.

Hi all.

I have a web application. net (VS2010) to print reports, the code page is in the attachments.

This application works fine on the development computer, but over the application server(Windows Server 2008R2) gives me the following error when run:,29

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: Could not load type 'CRReports.CrReportView'.
Source Error:

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CrReportView.aspx.cs" Inherits="CRReports.CrReportView" %>

Line 2: Line 3: <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

Source File: /DATA/CRReport/CrReportView.aspx Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

and install "CRRuntime_64bit_13_0_1.msi" in the application server.

What expresses should this error?

I appreciate your help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Apr 20, 2012 at 04:30 PM

    Moved to .NET SDK forum.

    Are you running IIS in 64 bit mode also? If not then change your app pool and verify all 64 bit DB clients and dependencies are also installed.

    If running in 32 bit mode then distribute the 32 bit redist package.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Don, thanks, it runs in 64 bit, researching I found the solution, installing the packageCRVS2010 x64 on the server, install the "C: \ inetpub \ wwwroot \ aspnet_client \system_web \ 2_0_50727 \ crystalreportviewers13" but as my site is in "D: \ ... \ ..." not find the necessary libraries, then copy this directory to the site and it works correctly.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.