cancel
Showing results for 
Search instead for 
Did you mean: 

Could not load type.

Former Member
0 Kudos

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:

http://192.168.0.7:1001/DATA/CRReport/CrReportView.aspx?ReportName=Trans_ManifiestoCol.rpt&strID1=30...

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.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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.

Don

Former Member
0 Kudos

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 "😧 \ ... \ ..." not find the necessary libraries, then copy this directory to the site and it works correctly.

Answers (0)