I have visual studio 2008 installed on home computer
Create a
site with a crystal report in in
At work we have visual
web developer express 2008
Tried ti insert all th assembly files
for crystal in the webconfig
Looked at the assmebly we have in
c:/wondows/assembly for the correct version and toekn I have here
I
get his error :
Configuration Error
Description: An error occurred during the processing
of a configuration file required to service this request. Please review
the specific error details below and modify your configuration file
appropriately.
Parser Error Message: Could not load type
'CrystalDecisions.Web.CrystalImageHandler' from assembly
'CrystalDecisions.Web, Version=12.0.1100.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304'.
Source Error:
Line 102: <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> Line 103: <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> Line 104: <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers> Line 105: <httpModules> Line 106: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
At comiple time I have this error and don't know how to
get rid of it:
Error 1 Unknown server tag
'CR:CrystalReportSource'. D:\webCrystal\Default.aspx 30
Error
2 Name 'CrystalReportSource1' is not declared.
D:\webCrystal\Default.aspx.vb 8 9 D:\webCrystal\
Error
4 Name 'CrystalReportSource1' is not declared.
D:\webCrystal\Default.aspx.vb 10 9 D:\webCrystal\
Message
12 Validation (ASP.Net): Attribute 'ReportSourceID' is not a valid
attribute of element 'CrystalReportViewer'.
D:\webCrystal\Default.aspx 41 33 D:\webCrystal\
Here
is my code: (Tried adding namespaces but cannot figure it out how t get
the viewer control to be recgnize
Any help is really appreciated
<%@
Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>
<%@ Register
Assembly="CrystalDecisions.Web, Version=12.0.1100.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web"
TagPrefix="CR" %>
<%@ Register
Assembly="CrystalDecisions.ReportSource, Version=12.0.1100.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<!DOCTYPE
html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h2> The following is a sample of Crystal in</h2>
<p> Please Enter Title:
<asp:TextBox
ID="TBTitle" runat="server" Width="196px"></asp:TextBox>
Please Enter Titl Header:
<asp:TextBox
ID="TBTitleHeader" runat="server" Width="222px"></asp:TextBox>
</p>
<p> </p>
<p>
<asp:Button ID="Button1" runat="server"
Text="Show Report" />
</p>
<br />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CrystalReport.rpt">
<Parameters>
<CR:ControlParameter
ControlID="TBTitle" ConvertEmptyStringToNull="False"
DefaultValue="" Name="Title" PropertyName="Text" ReportName="" />
<CR:ControlParameter ControlID="TBTitleHeader"
ConvertEmptyStringToNull="False"
DefaultValue=""
Name="TitleSub" PropertyName="Text" ReportName="" />
</Parameters>
</Report>
</CR:CrystalReportSource>
<CR:CrystalReportViewer
ID="CrystalReportViewer2" runat="server"
AutoDataBind="true" ReportSourceID="CrystalReportSource1" />
<br />
<br />
</form>
</body>
</html>