1. Trang chủ >
  2. Công Nghệ Thông Tin >
  3. Tin học văn phòng >

How do I resolve the error “No report servers were found on the specified machine”?

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (5.77 MB, 182 trang )


Part III: Reporting Services



How do I get the subtotals of each page and previous pages

at the bottom of the report?

Answer

To get the subtotals of each page and previous pages at the bottom of a report

whatever specified number of rows grouped and printing target papers to be

used, you can follow these steps;

1. Right-click the blank area in the Document window to the left of the report

body, and then click Page Footer.

2. For the subtotals of each page, add one TextBox control into the section of

the page footer and enter this expression in it:

="SubTotal of Current Page: " +

Sum(ReportItems!theValueField.Value).ToString()

3. For the subtotals of previous pages, insert one additional column for the

table and type the expression

=Runningvalue(Fields!ColVal.Value,Sum,"YourTableName") in this column

detail cell.

4. Select this additional column and set its Hidden property to true in its

Properties Window.

5. Add one TextBox control into the section of the page Footer and enter this

expression in it to get the subtotal of the previous pages:

="SubTotal of Prev Pages: "

+Last(ReportItems!theAdditionalColumnDetailCell.Value).ToString()



Microsoft SQL Server TechNet Forum Support Team | Part III

Reporting Services



81



Part III: Reporting Services



How do I anonymously access the Report Manager?

Answer

The following steps describe how to anonymously access Report Manager:

1. Add the anonymous user to the System User role.

2. Create an Item-level role with all of the tasks you want this user to be able to

use, and then assign the anonymous user to that role at the root level. ( Step

1 and Step 2 could be accomplished by using Report Manager only if

Anonymous access is disabled and the logged-on user is a member of the

System Administrator role.

3. Check permissions for the anonymous user on folders that Reporting

Services use:

- C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services (and

subfolders)

- C:\\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET

Files

-Temp folder for the anonymous user

Note: We don’t suggest using Anonymous access to Report Manager. When

using Anonymous access, every person hitting that page will be under the

Anonymous user context, and no one will have rights to administer Reporting

Services through Report Manager.



Microsoft SQL Server TechNet Forum Support Team | Part III

Reporting Services



82



Part III: Reporting Services



How do I deploy a Report Server for Internet Access?

Answer

Some settings in the rswebapplication.config file are used to direct requests from

Report Manager to a report server. Report Manager uses the ReportServerUrl

settings in the configuration file to find the report server. In an intranet

deployment model, the Report Manager connects to a report server using the

network name like this (for example, http://server01/reportserver).

However to access a report server on the Internet, you need to configure the

ReportServerUrl that specifies the fully qualified domain name of the report

server. The external client uses this value to access a report server. In this

scenario, the browser that is hosting Report Manager must send a fully qualified

domain name when making requests on behalf of Report Manager to the report

server. The following example illustrates the syntax for ReportServerURL:

http(s):///reportserver
RL>

If you use SharePoint 2.0 Web Parts for Reporting Services, you need to

configure this setting in section:

http(s):///reportserver
tServerExternalURL>

Note: This element is not included in the RSReportServer.config file, to use it, you

need to add it yourself.

For more information about configuring internet access for Reporting Services,

please see:

For SQL Server Reporting Services 2005:

http://msdn.microsoft.com/en-us/library/ms159272(SQL.90).aspx

Microsoft SQL Server TechNet Forum Support Team | Part III

Reporting Services



83



Part III: Reporting Services



For SQL Server Reporting Services 2008:

http://msdn.microsoft.com/en-us/library/ms159272.aspx



How do I resolve the Reporting Server Error 1053: The

service did not respond to the start or control request in a

timely fashion?

Answer

The problem is usually caused by an incorrect timeout setting. To work around

the issue, try the following steps:

1. Click Start, click Run, type regedit, and then click OK.

2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

3. In the right pane, locate the ServicesPipeTimeout entry.Note If the

ServicesPipeTimeout entry does not exist, you must create it. To do this,

follow these steps:

i.

On the Edit menu, point to New, and then click DWORD Value.

ii.

Type ServicesPipeTimeout, and then press ENTER.

4. Right-click ServicesPipeTimeout, and then click Modify.

5. Click Decimal, type 60000, and then click OK. This value represents the time

in milliseconds before a service times out.

6. Restart the computer.



Microsoft SQL Server TechNet Forum Support Team | Part III

Reporting Services



84



Part III: Reporting Services



How do I dynamically load an external image in a report?

Answer

Generally there are two possible reasons for the issue:

1. If you want to use a directory string, and the images are stored in the file

folder which is not in the root folder of the Website populate SQL Server

Reporting Service, there will be a permissions error. If using IIS6.0 as the web

server, the account “Network Service” (“ASPNET” for IIS5.0) must have the

permission “Read” in the folder.

2. If you want to use an URL, and the images are stored in a website which is

not the same as the populate SQL Server Reporting Service Website.

Therefore an execution account error will occur.

To solve the issue, we could use either of the following two solutions below:

Use the folder of images “images” as a sample.

Solution1: Using Directory string.

1. Store the images in any folder on the SQL Server Reporting Server.

2. Set the account “Network Service”(or “ASPNET”) “Read” permission.

3. Store the Directory string in the “Pointer” field in the table. The Directory

string must be full, and with prefix file://. Do not use quotes. For example:

file://D:/images/ XXX.jpg (“.png”, “.gif”, and so on).

4. Design the report, and set the property “Value” of image control as “=Fields!

Pointer.Value”.

Solution2: Using URL

1. Store the images in the file system in one of the websites on the server.

2. Open Reporting Service Configuration Manager, navigate to “Execution

Account”.

Microsoft SQL Server TechNet Forum Support Team | Part III

Reporting Services



85



Xem Thêm
Tải bản đầy đủ (.pdf) (182 trang)

×