Đang chuẩn bị liên kết để tải về tài liệu:
Sams Microsoft SQL Server 2008- P11

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'sams microsoft sql server 2008- p11', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Using Reporting Services Web Services 481 static string GetReportXML_VS2008 string ReportPath creates a new web service proxy and sets its credentials ReportExecutionServiceSoapClient rs new ReportExecutionServiceSoapClient Windows authentication rs.ClientCredentials.Windows.AllowedImpersonationLevel System.Security.Principal.TokenImpersonationLevel.Impersonation Setup Render call byte result null string encoding mimeType extension DeviceInfo null Warning warnings null string streamIDs null try string historyID null ExecutionInfo ExecInfo ExecutionHeader ExecHeader ServerInfoHeader SvrInfoHeader Note set TrustedUserHeader null this is undocumented structure ExecHeader rs.LoadReport null ReportPath historyID out SvrInfoHeader out ExecInfo rs.Render ExecHeader null XML DeviceInfo out result out extension out mimeType out encoding out warnings out streamIDs Gets a byte stream with Comma Separated Value XML layout return System.Text.Encoding.ASCII.GetString result catch SoapException e Return exception message if exception occurred return e.Message Before we can use the preceding code we must sort out security. Notice the following lines in the code 28 lease purchase PDF Split-Merge on www.verypdf.com to remove this watermark. 482 CHAPTER 28 Using Reporting Services Web Services rs.ClientCredentials.Windows.AllowedImpersonationLevel System.Security.Principal.TokenImpersonationLevel.Impersonation It is a request to WCF to impersonate the user. In addition to the code we need to properly configure security in the app.config file. You can find the app.config file in your project s folder. Double-click it to edit and ensure that it has the following in the security section. Note that most of the security section is already set and you just need to fill missing items such as clientCredentialType. security mode TransportCredentialOnly transport clientCredentialType Windows proxyCredentialType None realm message clientCredentialType UserName algorithmSuite Default security .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.