Crystal Reports :: 'CrystalReportViewer' Is Ambiguous In The Namespace 'CrystalDecisions.Web'
Feb 17, 2011
I installed Microsoft Visual Studio 2010 and I got a setup of crystal report from my friend titled with "CRforVS_13_0" , everything till now smooth and the world that rose !
let us the error scenario
1 - Create new Website
2 - add new table on the Default.aspx web page
3 - Build solution everything look great
4 --- Drag drop of the control CrystalReportViewer and build to find the below errors
Error 2 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:UsersuserDocumentsVisual Studio 2010WebSitesWebSite6Default.aspx 28
Error 3 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:UsersuserDocumentsVisual Studio 2010WebSitesWebSite6Default.aspx 28
Error 4 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126339b72a7App_Web_tyipm02u.2.vb
Error 5 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126339b72a7App_Web_tyipm02u.2.vb
Error 6 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126339b72a7App_Web_tyipm02u.2.vb
Error 1 C:UsersuserDocumentsVisual Studio 2010WebSitesWebSite6Default.aspx(28): error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.
Error 7 Unable to load referenced library 'C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126\_shadow339b72a725213691630133667App_Web_site.master.cdcab7d2.0yuyrufa.dll': The system cannot find the path specified.
Error 8 Unable to load referenced library 'C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126\_shadow339b72a725213691630133667App_Web_site.master.cdcab7d2.0yuyrufa.dll': The system cannot find the path specified. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary
ASP.NET Fileswebsite64931b126\_shadow339b72a725213691630133667App_Web_site.master.cdcab7d2.0yuyrufa.dll
View 2 Replies
Similar Messages:
Jul 14, 2010
I get this error while compiling in vs studio 2008 but in vs 2005 i dont get this error please help view code below
:Designer code:Option Strict On
Option Explicit On
Partial Public Class stockvaluation [code]....
View 1 Replies
Jan 6, 2011
I have installed the final version of Crystal Reports for Visual Studio 2010. I created a new ASP.Net project, saved it, closed it, and then came back to it later. I was prompted to convert the project because of an out of date version of Crystal Reports. But I just created the project...how can the version already be out of date? Also, once the conversion is complete the CrystalReportViewers error stating "Unable to cast object of type 'CrystalDecisions.Web.CrystalReportViewer' to type 'CrystalDecisions.Web.CrystalReportViewerBase'. I am using .NET Framework 3.5 (I cannot use 4.0 for other reasons). Is this the cause?
View 2 Replies
Nov 29, 2010
I have written this code for CrystalReportViewer but this not work
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim scon As String = "server=(local);database=my;User;Password=sa"
sqlcon = New SqlConnection(scon) [code]....
View 4 Replies
Feb 10, 2010
I am installing a website that uses CrystalReport to display reports on a customer's server. When trying to display a report I got an error at the following line:
<CR:CrystalReportViewer runat="server" AutoDataBind="True" EnableDatabaseLogonPrompt="False" EnableParameterPrompt="False" ReuseParameterValuesOnRefresh="True" DisplayGroupTree="False" .... />Error:
[NullReferenceException: Object reference not set to an instance of an object.]
CrystalDecisions.Web.CrystalReportViewerBase.set_ReuseParameterValuesOnRefresh(Boolean value) +28
ASP.memberpages_MyPage_aspx.__BuildControlCrystalReportVPI() in d:Web_apldomainMemberPagesMyPage.aspx:10
ASP.memberpages_MyPage_aspx.__BuildControlshow_filter() in d:Web_apldomainMemberPagesMyPage.aspx:9
ASP.memberpages_MyPage_aspx.__BuildControlContent(Control __ctrl) in d:Web_apldomainMemberPagesMyPage.aspx:8
System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
ASP.memberpages_sitetemplate_master.__BuildControlSiteTemplate_Content() in d:Web_apldomainMemberPagesSiteTemplate.master:90
ASP.memberpages_sitetemplate_master.__BuildControlSiteTemplateForm() in d:Web_apldomainMemberPagesSiteTemplate.master:39
ASP.memberpages_sitetemplate_master.__BuildControlTree(memberpages_sitetemplate_master __ctrl) in d:Web_apldomainMemberPagesSiteTemplate.master:1
ASP.memberpages_sitetemplate_master.FrameworkInitialize() in d:Web_apldomainMemberPagesSiteTemplate.master.cs:912307
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1978576
System.Web.UI.Page.get_Master() +48
System.Web.UI.Page.ApplyMasterPage() +18
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
I tried to set the same attributers programmatically in the Page_Load event:
protected void Page_PreInit(object sender, EventArgs e)
{
CrystalReportVPI.AutoDataBind = true;
CrystalReportVPI.EnableDatabaseLogonPrompt = false;
CrystalReportVPI.EnableParameterPrompt = false;
CrystalReportVPI.ReuseParameterValuesOnRefresh = true;
...
}
Here the NullReferenceException is thrown only in the »CrystalReportVPI.ReuseParameterValuesOnRefresh = true;« line. The same page runs on another customer's server with no errors. The server's environment is: Windows Server 2000 CRRedist2005_x86.msi dotnetfx.exe 2.0.50727.42 Has anyone encountered problems like this? Any idea how to solve it? I already searched for answers on different forums with no result.
View 1 Replies
Jul 21, 2010
I have been using Crystal Reports again after a few years of using SQL Reporting Services so I'm a bit rusty. I have a couple of reports which work ok but dont require the viewer or toolbar. Is it possible to either have a custom print button or to just go straight to printing the reports without going through the viewer first? Also when I print from the toolbar it then saves and displays the report as a pdf instead of printing the report directly, can I change this?
View 4 Replies
Nov 11, 2010
Do you have CrystalDecisions.Web dll version 12.0.2000.0?
View 4 Replies
Aug 12, 2010
my hyperlink is broken down onto many hyperlinks when
1. displayed on a webpage
2. link takes more than 1 line
I have hyperlnk CSS highlighting and it looks quite strange when only a part of the link is highlighted.I have tried to fix it through Format Object dialog in Crystal Reports, but unsuccessfully.Tweaking CrystalReportViewer did not help either.What I do:
1. Create a text object
2. Make it a "WebSite on Internet" (Format object > Hyperlink tab)
3. Bind datasource field to "Website address" (Format object > Hyperlink tab > Hyperlink information)
3. Make it multiline (Format object > Common > Can Grow)
The resulting HTML on long links looks like:<a href="..."><span class="fc2c1d044e-bf85-4d44-aff2-4cda991b748c-2">Link</span></a><a href="..."><span class="...">01</span></a><a href="..."><span> to</span></a>
<a href="..."><span> my business object</span></a>
and I expect it to be:<a href="..."><span>Link01 to my business object</span></a>
View 2 Replies
Nov 3, 2010
I have a web application which runs crystal reports. Crystal reports were running properly and its been 2 years that we deployed crystal reports on the web server.Two days ago, suddenly users started getting the following error message. Need urgent help. I have an option to re-register .Net framework and re-installing IIS but i have other very critical application running too, which i don't want to risk at the moment. The server is running on Windows server 2003 with IIS 6.Drop Table INC_IND_CONTRACT;
View 2 Replies
Mar 26, 2010
I have created a asp.net web site using Visual Studio 2008 and Crytal Reports. I have two small reports that work perfectly on my development machine, and I have tripple checked that I have added reference to the CrystalDecisions.CrystalReports.Engine in my project. I do not have any CrystalReports dll's in my bin folder but when select my project and then click on the properties window the following refereces are there.
CrystalDecisions.CrystalReports.Engine, CrystalDecisions.EnterpriseFrameWork, CrystalDecisions.Enterprice.InfoStore, CrystalDecisions.ReportAppServer.ClientDoc, CrystalDecisions.ReportSource, CrystalDecisions.Shared, CrystalDecisions.Web
I have tried publishing, I have tried creating a Deployment Package etc and I continue to get the same error. Is there some deployment assembly that I am supposed to include with my install etc.
View 3 Replies
Mar 15, 2010
In web application developed in asp.net 1.1 using vb.net. My application crystal reports working fine in my local machiene. when i placed in web sever it throws the error " File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found."
Line 38: <compilation defaultLanguage="vb" debug="true"><assemblies>
Line 39: <add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 40: <add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> Line 41: <add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
The following information can be determine why the assembly 'CrystalDecisions.CrystalReports.Engine' could not be loaded.
View 3 Replies
Aug 29, 2010
I am using NET 3.0
how to add a reference to CrystalDecisions.CrystalReports.Engine(crystal report),I tried, but its not working.
View 1 Replies
Aug 9, 2010
I have a Visual Studio project that uses three different Crystal Reports. I've upgraded to Crystal Reports 11.5.3300.0 from the version 10.2.3600.0 due to one of the reports requiring the upgraded version. I updated all of the assembly references in the web.config and installed the new assemblies using merge modules. When I run the project I receive the following error:
Could not load type 'CrystalDecisions.Web.CrystalImageHandler' from assembly 'CrystalDecisions.Web, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
View 2 Replies
Feb 13, 2011
when i use CR v13 in my web site there is error message
Configuration Error Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file
specified.
View 1 Replies
Aug 1, 2010
I upgraded my web application from visual studio 2003 to 2008. When I want to create a report in visual studio 2008 and receiving this error at runtime. I am able to compile but when runnning thats when I am getting this error. How can I solve this problem?
Server Error in '/IRPSDEV' Application.
Compilation Error
Description:
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both
'c:WINDOWSassemblyGAC_MSILCrystalDecisions.Web10.5.3700.0__692fbea5521e1304CrystalDecisions.Web.dll' and 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Filesirpsdev9e97e0a994a2ecdassemblydl3151eb571�0df56e1_6064c201CrystalDecisions.Web.DLL'
Source Error:
[Code]....
Line 161:
Line 162: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 163: private global::CrystalDecisions.Web.CrystalReportViewer @__BuildControlCrystalReportViewer1() {
Line 164: global::CrystalDecisions.Web.CrystalReportViewer @__ctrl;
Line 165:
Source
File: c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET
Filesirpsdev9e97e0a994a2ecdApp_Web_customsapprovedcalimsreport.aspx.cdcab7d2.qc0hdu8q.0.cs
Line: 163
Show
Detailed Compiler Output:
View 2 Replies
Jun 28, 2010
When running my crystal report I got the follwoing erro r
Unhandled Exception: CrystalDecisions.CrystalReports.Engine.InternalException: E
rror in File C:DOCUME~1aliLOCALS~1Temp1 emp_8b7deeee-5769-4457-8c1f-f21fa8
c49cb5.rpt:
Failed to open a rowset. at ☻.☻N(String ♠-, EngineExceptionErrorID ♠0)
at ☻.☻I(Int16 ♠!, Int32 ♠")
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestCo
ntext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
at CMP_BL_INC_W.Module1.Main()
Also I verified the database and no errors appeared, I use .NET 2003 and crystal report 9
View 3 Replies
Mar 22, 2011
Currently, I have a page contains a report. But while I need to load the report for several times , the latest one I got the err about
'crystaldecisions.crystalreports.engine.logonexception load report failed'
What's the problem?
View 3 Replies
Jan 24, 2016
I have been creating asp.net application for accessing data from multiple service references, is it possible to access it with same namespace in Reference.cs file
View 1 Replies
May 7, 2015
i have used an ASP.Net C# web application to post image on facebook.for that i have used "aspsnippets.facebookapi.dll"
everything is working fine while execute from local server.but when i upload my code in server and run
it says error like "The type or namespace name 'ASPSnippets' could not be found (are you missing a using directive or an assembly reference?)"
but i have added Dll reference in my page likeÂ
Â
using ASPSnippets.FaceBookAPI;
how to solve this issue.
View 1 Replies
Apr 8, 2010
How to keep displaying report filters while displaying the report in CrystalReportViewer.I have a web part that which uses CrystalReportViewer to display the report data. I want to keep displaying the Report parameters (filters) as I rendered the report content.
View 1 Replies
Jul 21, 2010
I am getting the following error:
'CalendarPopup' is ambiguous in the namespace 'eWorld.UI'.
I have two identical sites on same server. one one no problem and on the other one the above error is happening.I used xcopy to copy all files from working site to new site which is on same server.I have no clude why the error is occuring, i do see teh calendar related dlls in the bin folder.Please advice what this error mean.
View 1 Replies
Aug 5, 2010
When i run the application locally it works fine but when i publish it n access from it it gives the error asEither the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
View 2 Replies
Aug 23, 2010
I just added a global file to my web application and now I am getting this message.
Error 3 'global_asax' is ambiguous in the namespace 'ASP'. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET FilesmyFile759a71c4f17a867App_global.asax.sfac6plp.1.vb 31
Here is the code in he Global file:
[Code]....
[Code]....
View 2 Replies
Nov 9, 2010
I have the error mentioned in the subject...I've had the same files for few months and it never gave this problem. Nothing in the files or code has changed.....and I have this user control on a lot of pages and every single page is giving this error.Sometimes,when I run it locally it doesn't give the error but it works randomely but when publishing it to the server, it does not work at all...gives the same error.Please help in identifying what may cause this all of a sudden??
View 1 Replies
Mar 15, 2011
I am using assembly Microsoft.ReportViewer.Webforms Version=10.0.0.0. However, each time I build the solution it adds Microsoft.ReportViewer.Webforms Version = 8.0.0.0 by itself. I tried removing Version 8.0.0.0 reference manually and tried building it again but it keeps adding the later version.
View 11 Replies