Avatar of MeritorWabco
MeritorWabco

asked on 

Load report failed - hosting crystal report in iis7

I have developed a asp.net website that has a crystal report embedded in it.  It work fine on the visual studio devlepment server but when i host it in IIS (also on development machine) i get a "Load report failed." error.  Any ideas why?  The folder with my files aren't in the wwwroot folder. If i look at the permissions in IIS there is a IIS_IUSRS user.
Crystal ReportsMicrosoft IIS Web ServerASP.NET

Avatar of undefined
Last Comment
Mike McCracken
Avatar of MeritorWabco
MeritorWabco

ASKER

Here is my asp.net code
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register TagPrefix="CR" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <CR:CrystalReportViewer ID="CrystalReportViewer1" Runat="server" AutoDataBind="True"
            Height="947px" ReportSourceID="CrystalReportSource1" Width="845px" />
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            <Report FileName="ProductionReport.rpt">
            </Report>
        </CR:CrystalReportSource>
    
    </div>
    </form>
</body>
</html>

Open in new window

Avatar of MeritorWabco
MeritorWabco

ASKER

See screen shot of browser that shows error.  There isn't much detail so I don't really even know where to start trying to fix this. I was hoping someone else may have seen this before. User generated image
Avatar of Mike McCracken
There were some issues with IIS7.  What version of Crystal are you using?
You may have to install a service pack.

mlmcc
Avatar of MeritorWabco
MeritorWabco

ASKER

Crystal reports 2011
Version 14.0.0.760 RTM
That being the latest should work with IIS7.

What runtimes did you install?
I read in a question here that they haven't been released yet.

mlmcc
Avatar of MeritorWabco
MeritorWabco

ASKER

I have made some progress.  the report appears to be showing up now but it doesn't prompt for parameters and none of buttons/icons are showing up.

 User generated image
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of MeritorWabco
MeritorWabco

ASKER

Where would this virtual directory be?
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo