2012-07-07 39 views
5

Tôi nhận được sau 7 lỗi trong asp.net của tôi (vb) website.They xảy ra sau khi tôi thêm tham chiếu đến Microsoft Office 12.0 đối tượng Thư viện theo this SO bài viết một nỗ lực để đọc các tế bào bảng excel riêng lẻ. Bây giờ toàn bộ trang web không xây dựng được. Điều đáng ngạc nhiên nhất về điều này là tại sao tôi nhận được một lỗi liên quan đến báo cáo tinh thể khi tôi không cần nó trong dự án của tôi?Pha lê báo cáo lỗi trong asp.net vb mà không có báo cáo tinh thể cần

Dưới đây là 7 lỗi:

Error Unknown server tag 'CR:CrystalReportViewer'. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 130 

Error Could not load file or assembly 'CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 3 

Error Could not load file or assembly 'CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 6 

Error Could not load file or assembly 'CrystalDecisions.ReportAppServer.XmlSerialize, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 7 

Error Could not load file or assembly 'CrystalDecisions.ReportAppServer.ObjectFactory, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 8 

Error Could not load file or assembly 'CrystalDecisions.ReportAppServer.Controllers, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 4 

Error Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 5 

Bất kỳ trợ giúp sẽ được đánh giá cao hoan nghênh!

Trả lời

12

Đến vị trí này

[Windows Partition]:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13\ 

mở file preview.aspx, và thay đổi 12.0.2000.0-13.0.2000.0

Nó hoạt động ;-)

+0

Cảm ơn vì nó hoạt động như một viên ngọc! – rahulserver

+0

Rất vui khi được giúp đỡ –

+0

Có lỗi tương tự, thử điều này và nó sẽ không cho phép tôi lưu tệp mới, nó cho biết rằng giấy phép không được cấp – Dman

2

Cũng như sửa chữa preview.aspx trong [Windows Partition]:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13\ thư mục, bạn cũng nên tìm một thư mục có tên là aspnet_client trong thư mục gốc của trang web của bạn và áp dụng cùng một thay đổi ở đó.

Nếu bạn sử dụng nhiều trang web trong IIS thay vì chỉ là "Trang Web mặc định", nó sẽ sao chép thư mục crystalreportviewers13 vào mỗi thư mục, vì vậy hãy kiểm tra tất cả.

Các vấn đề liên quan