Sql monthly report

Hello. I have a problem that it may be trivial for you but gave me a lot of headaches. I got 4 tables. This is the code for all of them:
CREATE TABLE customers
     name           VARCHAR2(40) NOT NULL PRIMARY KEY,
     address      VARCHAR2(40) NOT NULL,
     balance          NUMBER(10) NOT NULL
INSERT INTO customers VALUES ('Shaun Turtle', '4 Family Avenue', '-200');
INSERT INTO customers VALUES ('Samantha Salamander', '53 Lois Lane', '-50');
INSERT INTO customers VALUES ('Ruth Raptor', '21 Stony Street', '43');
CREATE TABLE orders
     order_no     NUMBER(8) NOT NULL PRIMARY KEY,
     order_date     DATE NOT NULL,
     cust          VARCHAR2(40) NOT NULL REFERENCES customers(name)
INSERT INTO orders VALUES ('624', '10-Mar-2011', 'Shaun Turtle');
INSERT INTO orders VALUES ('625', '20-Mar-2011', 'Ruth Raptor');
INSERT INTO orders VALUES ('626', '25-Mar-2011', 'Shaun Turtle');
CREATE TABLE includes
     order_no     NUMBER(8) NOT NULL REFERENCES orders(order_no),
     item          VARCHAR2(40) NOT NULL ,
     qty          NUMBER(10) NOT NULL,
     PRIMARY KEY(order_no,item)
INSERT INTO includes VALUES ('624', 'Cheddar', '3');
INSERT INTO includes VALUES ('624', 'Chardonnay', '6');
INSERT INTO includes VALUES ('625', 'Cheddar', '5');
INSERT INTO includes VALUES ('625', 'Escargot', '12');
INSERT INTO includes VALUES ('625', 'Rocket', '1');
INSERT INTO includes VALUES ('625', 'Walnuts', '1024');
INSERT INTO includes VALUES ('626', 'Walnuts', '2048');
CREATE TABLE supplies
     name          VARCHAR2(40) NOT NULL,
     item          VARCHAR2(40)NOT NULL,
     price          NUMERIC(8,2) NOT NULL,
     PRIMARY KEY(name, item)
INSERT INTO supplies VALUES ('Acme', 'Cheddar', '3.49');
INSERT INTO supplies VALUES ('Acme', 'Chardonnay', '5.19');
INSERT INTO supplies VALUES ('Acme', 'Walnuts', '0.06');
INSERT INTO supplies VALUES ('Acme', 'Escargot', '0.25');
INSERT INTO supplies VALUES ('Ajax', 'Cheddar', '3.90');
INSERT INTO supplies VALUES ('Ajax', 'Chardonnay', '5.09');
INSERT INTO supplies VALUES ('Ajax', 'Rocket', '0.69');
The task is: At the end of the month the organisation likes to produce a report which details each customer’s real balance taking into account, firstly their current balance, and then all orders made during that month. They always ensure that each item ordered comes from the cheapest supplier. The report must include the following information: customer’s name, address, old balance, new balance and number of items that have been ordered by that customer during that period (you do not need to count the number of orders for any one customer). Your task is to produce the report for March 2011, assuming that current balances shown are correct as of the end of February 2011. Note that the report should be written using the minimal number of SQL statements possible.
Can you help me with this please?

It appears like a school homework, the tables don't have PKs and there are not normalized
The problem is also classic, I suggest you to apply divide and conquer strategy, you need to calculate the balance at the end of the last month, and the current month operations... so, you have 2 very different queries. Write one of the queries, then write the second, and finally try to put both togheter using "union all"
Also, you can found usefull to use an imaginary column like row_type with values 0 (for the balance) and 1 (for the last operations), and order the final query by row_type and date
I hope this help
Alfonso

Similar Messages

  • Monthly Reports Schedule

    Hi All,
    I have few monthly reports which I want to schedule on month end so I have created three subscriptions, 28th of February, 30th of April, June, Sep, Nov and 31st on remaining of the months.
    Yesterday, on 28th May it executed all the reports from 28th Feb subscription, to me it looks like it considered 28th May as 28th Feb due to some unknown reasons.
    If any body can help me in resolving this will be a great help.
    Thanks.
    Arvinder

    Hello,
    When we create a subscription on Report Manager, there is an associated job in SQL Server Agent with specified schedule. Is it possible that others modify the schedule of the subscription in the SQL Server Agent?
    You can try to check the job schedule in the SQL Server Agent. You can also use the following query to get the detail information of the schedule of each subscription you created on the Report manager:
    select c.Name as [report name],
    s.ScheduleID as [schedule],
    sp.SubscriptionID as [subscription],
    [Schedule frequency]= case s.RecurrenceType
    WHEN 1 THEN 'Once'
    WHEN 2 THEN 'Hourly'
    WHEN 4 THEN 'Daily/Weekly'
    WHEN 5 THEN 'Monthly'
    END ,
    s.StartDate,
    s.NextRunTime,
    s.LastRunTime,
    s.EndDate,
    s.MinutesInterval,
    s.DaysInterval,
    s.WeeksInterval,
    s.DaysOfWeek,
    s.DaysOfMonth,
    s.[Month],
    s.MonthlyWeek
    from dbo.catalog c
    inner join dbo.ReportSchedule rs on rs.ReportID = c.ItemID
    inner join dbo.Schedule s on rs.ScheduleID = s.ScheduleID
    inner join dbo.Subscriptions sp on rs.SubscriptionID=sp.SubscriptionID
    order by c.name
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • CUIC monthly reports error

                      HI,
                                          I was pulling a stock monthly report and some of the moths are duplicated , but with different data. What could cause this to happen.
    Thank you for any help.

    Genrally your CUIC reports are pulled from the database(SQL/Informix) it could happen the db service is corrupted which should be restarted or restart the CUIC servoce running on CUIC server

  • How can i make sql formated report

    sql formated report..
    empno month sal
    10080 500
    1000
    2000
    10020 100
    50
    will you please give the way...

    Hi, for make a formated report you will must configure the SQL Plus enviroment, you can review the next link for set the values according at your requirements.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12040.htm#SQPUG083
    Luck.
    Regards.

  • Open source user friendly SQL Qyery+Report Builder

    hi guys
    Please help me find any link from where i can download OpenSource user friendly SQL Qyery+Report Builder
    thanks

    One would hope it was!
    it is not possible to give everything that the OP may request. The closest match, now that is workable.

  • QSUF (Query string url filter) and SQL Server reporting services report viewer parameters

    Hi,
    this is my issue:
    I have a SQL Server reporting services web part on a page with a report with 1 parameter, lets say it's a client list
    Then i have a QSUF that will be used to filter the clients list through the URL
    However, once i connect the filter and the report viewer web part, the parameter goes away and is no longer accessible
    I'd like to somehow keep the parameter visible, in case there is no parameter sent through the URL, i would like the user to be able to choose a client from the parameter drop down list
    I saw that there is a "send empty if no values are passed" option, but i can't seem to get this working properly and i don't know if this option will make the parameter visible again
    Any help would be appreciated
    Thanks.

    Hi,
    According to your post, my understanding is that the query string url filter web part not worked well with SQL server reproting services web part.
    Did you use the Wiki page layout in your environment?
    You can change the page to a web part page, then check whether it work.
    There is a similar thread for your reference.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4d7584e3-8e1a-48bf-9346-32f8cb480dd1/query-string-url-filter-web-part?forum=sharepointgeneralprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Dsml and SQL 2005 reporting services?

    I usually post over in the IDM forum so be nice to the newbie here :)
    I have a Sun Directory server that I've enabled DSML on. On that side everything is good. However, ideally I want to pull this data into a MS SQL 2005 reporting services report. They have support for XML and web services, but the DSML front end doesn't accept GET requests and I don't know how to send the request as post in reporting services.
    Has anyone else be able to get something like this working?
    Thanks!

    No idea about MS SQL, but is your reporting service able to use files on disk? If so I guess your problem is easily solved by using an app to fetch data from directory server to disk. If you're more adventerous, you write a script in perl/python which acts as a proxy and translates GET requests to POST and relays data back in real time. Not sure if these help or not, just my thoughts.

  • Unable to insert sql server reporting services report viewer webpart

    Hello,
    We are trying to add a SQL Server Reporting Services Report Viewer and when we click add we get the following error message
    The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) and that it contains well-formed XML.
    Does anyone know what the fix to this is?

    Hi,
    The Report Viewer Web Part is a custom Web Part that is installed by the Reporting Services Add-in for SharePoint Products and associated with report definition (.rdl) files that are processed by a Microsoft SQL Server Reporting Services report
    server.
    To install the Web Part, you must run Setup for the Reporting Services Add-in. You should not install or uninstall the Web Part independently. It is part of the add-in and can only be installed through the add-in setup package. The Report Viewer Web Part
    file name is ReportViewer.dwp. It is located in the Program Files\Common Files\Microsoft Shared\web server extensions\15\template\features\reportserver folder and should not be moved to other folders.
    To use the Web Part, you must have installed and configured the Reporting Services Add-in and configured the report server for SharePoint integration.
    For more information,you can have a look at the blog:
    http://msdn.microsoft.com/en-us/library/jj219068.aspx
    http://msdn.microsoft.com/en-us/library/aa905871.aspx
    http://msdn.microsoft.com/en-us/library/bb522800.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How do I post to SQL Server Reporting services

    Hi
    I have been using MS forums for almost 20 years but in the current incarnation I find it utterly imnpossible to post to anywhere useful.
    I have a serious issue I need to resolve with SQL Server reporting services but cannot find how to get this message posted because the options I get when trying to post in "FORUM CATEGORY" seem utterly unrelated to what I am doing.
    What can I do?
    Kind regards
    Jonathan
    jc

    Looks like you figured it out. Let us know if not.
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Monthly report listing out ALL open PO

    Hi,
    As our management requested, we need a monthly report listing out ALL open PO for CDG, APR   Someone tell me to input cost centre but it is time consuming to input it as we have over 100 cost centers.  Do you know if I can input SPG/profit center or other data to run this report instead ?  Please advise the transaction code and how to perform it, such as need to know the profit center #, organization code etc
    Thanks
    Raja

    hi
    go to ME2N
    then select Scope of list  ALV
    Selection parameters  as           WE101     Open goods receipt   (select as per ur need )
    then execute u will get the list for open po
    now if u want it to specify the  profit center then go to ME2N and select dynamic selecion  (shift +F4)
    now u will get a smaal scrren , in purchaseing doc item selct profit center
    now u can see the profit center selection field ,give a proper profit center and follow the process as given above
    hope it help
    regards
    kunal

  • The report I published on the SQL server report server is not showing in the application we use to retrieve reports.

    The report I published on the SQL server report server is not showing in the application we use to retrieve reports. My cell phone number is {removed}
    Thanks.

    Hello Roger Tenn,
    Thank you for posting in the TechNet Forum.
    As this issue is related to SQL server report server, to receive better report, it is recommended to ask in the SQL server forum.
    https://social.technet.microsoft.com/Forums/en-US/home?category=sqlserver
    The professionals here will be glad to help you.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Setting fields defined in SQL updateable report with a process

    I have SQL statement defined in a SQL updateable report with hidden fields. I want to be able to update these hidden fields with values from other displayed fields on the page. How do I reference these hidden items - I have referencign them as :my_field but get and error telling me thats its underfined.

    But, the reason I am doing this is because I want to format the page with 6 columns in one <TD> cell with some extra text and formatting etc - I don't want 1 column per <TD>. Thats why I am using the APEX_ITEM.TEXT so I can format the 1 <TD> the way I want it (with 6 columns it there).
    In the short term can you tell me how to reference hidden fields please.
    I will create the case in apex.oracle.com in the next few days to make it clearer.
    P.S. see my previous post: SQL QUERY updateable report with APEX_ITEM fields to update hidden columns

  • SQL Query report region that only queries on first load

    Hello all,
    Is there any way in which you can prevent a SQL Query report region from quering data after every refresh?
    I would like to make a report that queries on the first load, but then I would like to change the individual values, and reload to show the change, but every time I reload the page the columns are queried and the original values are displayed once again...
    any ideas?
    -Mux

    Chet,
    I created a header process to create the HTMLDB_COLLECTION. It is something like:
    HTMLDB_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
    p_collection_name => 'Course_Data',
    p_query => 'SELECT DISTINCT COURSE_ID, HTMLDB_ITEM.CHECKBOX(14,COURSE_ID) as "checker", TITLE, SUBJECT, COURSE_NUMB, SECTION, ENROLLED, null as "temp_term", null as "temp_title", null as "temp_crse_id", null as "temp_subj", null as "temp_crse_numb", null as "temp_sect", FROM DB_TBL_A, DB_TBL_B, DB_TBL_C, DB_TBL_D, DB_TBL_E, DB_TBL_F WHERE ...');
    The names were changed, for obvious reasons.
    I then created an SQL Report Region to see if it would work. The SQL is:
    SELECT c001, c002, c003
    FROM htmldb_collections
    WHERE collection_name = 'COURSE_DATA'
    When I run the page it says:
    ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ExecErr:ORA-01008: not all variables bound
    Any idea why this is happening?
    I'm new to HTMLDB_COLLECTIONS, so I may be doing something wrong
    -Mux

  • SQL Server Reporting Services Configuration Error(Subscription)

    I have just deployed a new project on the server and i can successfully run report from the BI Site; [Server Name]\Reports and no issue there. But when i try to create Subscription for the same report; I am trying File Share and it throws error as given
    below. Do i have to configure anything for subscription in the Reporting Services Configuration Tool???
    I also have few questions regarding Configuration;
    What account should i use for the Deployed Data Source on the Server? A valid SQL Server Account I assume!!!
    What account should i use for the Execution Account (For Unattended Operations) ? A valid Windows Account? or SQL Server account?
    What account should i use for the File Share Subscription (Credentials used to access the file share:)? A Valid Windows Account with permission for that folder?
    Here is the error I am getting in the log file.. 
    ReportingServicesService!library!b!06/17/2010-09:35:04:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for
    more information., AuthzInitializeContextFromSid: Win32 error: 110;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. See the report server log files for more information.
    ReportingServicesService!library!b!06/17/2010-09:35:04:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
    ReportingServicesService!subscription!b!06/17/2010-09:35:04:: Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The report server has encountered a configuration error. See the report server log files for more information. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
    The report server has encountered a configuration error. See the report server log files for more information.
       at Microsoft.ReportingServices.Authorization.Native.GetAuthzContextForUser(IntPtr userSid)
       at Microsoft.ReportingServices.Authorization.Native.IsAdmin(String userName)
       at Microsoft.ReportingServices.Authorization.WindowsAuthorization.IsAdmin(String userName, IntPtr userToken)
       at Microsoft.ReportingServices.Authorization.WindowsAuthorization.CheckAccess(String userName, IntPtr userToken, Byte[] secDesc, ReportOperation requiredOperation)
       at Microsoft.ReportingServices.Library.Security.CheckAccess(ItemType catItemType, Byte[] secDesc, ReportOperation rptOper)
       at Microsoft.ReportingServices.Library.RSService._GetReportParameterDefinitionFromCatalog(CatalogItemContext reportContext, String historyID, Boolean forRendering, Guid& reportID, Int32& executionOption, String& savedParametersXml,
    ReportSnapshot& compiledDefinition, ReportSnapshot& snapshotData, Guid& linkID, DateTime& historyOrSnapshotDate, Byte[]& secDesc)
       at Microsoft.ReportingServices.Library.RSService._GetReportParameters(ClientRequest session, String report, String historyID, Boolean forRendering, NameValueCollection values, DatasourceCredentialsCollection credentials)
       at Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters)
       at Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext reportContext, ClientRequest session, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]& secondaryStreamNames)
       at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
       at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
       at Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService rs, CatalogItemContext reportContext, ClientRequest session, JobType type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters, String[]&
    secondaryStreamNames)
       at Microsoft.ReportingServices.Library.ReportImpl.Render(String renderFormat, String deviceInfo)
       at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.SaveReport(Notification notification, SubscriptionData data)
       at Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.Deliver(Notification notification)
    I also get following error when I try to create email Subscriptoin
    w3wp!processing!6!6/17/2010-09:58:53:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'EU_Database'., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source 'EU_Database'. ---> System.Data.SqlClient.SqlException: Could not obtain information about Windows NT group/user 'THRY\RPUser',
    error code 0x6e.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper.ImpersonateUser()
       at Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper.Open()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ReportRuntimeDataSourceNode.OpenConnection(DataSource dataSourceObj, ReportProcessingContext pc)
       --- End of inner exception stack trace ---
    Thanks,
    RP

    Hi RP,
    For your first issue "cannpt create subscriptions", after analyzing the error logs, it seems to be caused to the service account for the Reporting Services service does not have proper permissions to invoke the WIN32 API.
    The SQL Server Reporting Services invokes the Win32 API to impersonate user's permissions to write files to shared folder or call COM+ components.
    In this case, we can change the service account to a account has permissions to invoke the Win32 API to solve the issue. For example, we can change the account to be NetworkService or LocalSystem:
     1. Backup the encryption key using Reporting Serivces Configuration Manager.
     2. Change the service account using Reporting Serivces Configuration Manager.
     3. Restore the encryptiong key using Reporting Serivces Configuration Manager.
    For your others questions, please see the following inline reply:
     --What account should i use for the Deployed Data Source on the Server? A valid SQL Server Account I assume!!!
     The account should be a Windows account or the SQL Server account, that has read permissions in the source data base at least.
     --What account should i use for the Execution Account (For Unattended Operations) ? A valid Windows Account? or SQL Server account?
     The account must be a Windows user account. For best results, choose an account that has read permissions and network logon permissions to support connections to other computers. It must have read permissions on any external image or data file that you
    want to use in a report. Do not specify a local account unless all report data sources and external images are stored on the report server computer. Use the account only for unattended report processing.
     --What account should i use for the File Share Subscription (Credentials used to access the file share:)? A Valid Windows Account with permission for that folder?
     You are right. It must be a Windows account, which has permissions to access and write files to the shared folder.
    For more information, please see:
    Configuring the Report Server Service Account:
    http://msdn.microsoft.com/en-us/library/ms160340.aspx
    Execution Account (Reporting Services Configuration):
    http://msdn.microsoft.com/en-us/library/ms181156.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • SQL Server Reporting Services FAQ

    Hi All,
    This thread is a summary of the Frequently Asked Questions on SQL Server Reporting Services. We consolidate them and post here for your reference. If you have any further questions, please kindly start a new thread so that more community members, MVPs, and MSFTs can join the discussion and share their ideas. Thanks for your understanding.
    Part I: SQL Server Reporting Services General Topics
    1. How to migrate SQL Server 2008 Reporting Services to another computer?
    2. How to combine connecting string via parameter?
    3. How to install a 32-bit version of SQL Server 2005 Reporting Services on a computer that is running a 64-bit version of Windows?
    4. Error of EXECUTE permission denied on object 'xp_sqlagent_notify'.
    5. Security consideration for anonymous access to Report Server.
    6. How to create a custom report template in Reporting Services?
    7. Does Reporting Services support horizontal tables which have fixed rows and dynamic columns?
    8. How to reset the page number back to 1 every time the report gets a group break?
    9. How to open the drill- through report in a new browser window?
    10. How to verify the version of SQL Server?
    11. How to use multiple datasets?
    12. How to upgrade report from SQL Server 2000 to SQL Server 2005?
    13. Out of memory error when exporting reports to Excel.
    14. How to improve PDF quality of the report exported in Reporting Services 2005?
    15. How to enable the Select All option for a multi-value parameter?
    Part II: SQL Server Reporting Services SharePoint Integrated Mode Topics
    1. How to deploy reports to SQL Server Reporting Services in SharePoint Services integrated mode?
    2. How to integrate SQL Server Reporting Services and SharePoint Services?
    3. How to refer the reports on the Report Server in SharePoint Services?
    4. How to manage user to view reports in SharePoint integrated mode?
    5. What information is needed when posting questions regarding SharePoint integrated mode?
    6. Is Report Builder available in SharePoint Integrated Mode?
    PLEASE NOTE: Microsoft does not offer formal support for the communities you'll find here. Instead, our role is to provide a platform for people who want to take advantage of the global community of Microsoft customers and product experts. Microsoft may monitor content to ensure the accuracy of the information you'll find, but any information provided by Microsoft staff is offered "AS IS" with no warranties, and no rights are conferred. You assume all risk for your use.
    Microsoft Online Community Support

    1.        Question 3: How to install a 32-bit version of SQL Server 2005 Reporting Services on a computer that is running a 64-bit version of Windows?
    Answer: 
    To install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 6.0, we can follow these following steps:
    1.       Uninstall the 64-bit version of Reporting Services.
    Note: Side-by-side installations of 32-bit versions of Reporting Services and 64-bit versions of Reporting Services are not supported.
    2.       Run the Dotnetfx64.exe file to manually install the .NET Framework.
    The Dotnetfx64.exe file is in the Tools\redist\2.0 folder on the SQL Server 2005 Setup media. To download the Dotnetfx64.exe file, visit the following Microsoft Web site:
    http://go.microsoft.com/fwlink/?LinkId=70186
    3.       In IIS Manager, click Web Server Extensions.
    4.       In the Details pane, right-click ASP.NET V2.0.50727, and then click Allow.
    5.       Right-click Web Sites, and then click Properties.
    6.       Click the ISAPI Filters tab.
    7.       In the Filter Name column, click ASP.NET_2.0.50727, and then click Edit.
    8.       Replace C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll with C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll.
    Note: The Aspnet_filter.dll file in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folder is a 32-bit version of the file.
    9.       Click OK two times, and then close IIS Manager.
    10.   At a command prompt, run the following command:
    cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
    11.   Install the 32-bit version of Reporting Services.
    12.   After setup is complete, open IIS Manager, and then click Web Server Extensions.
    13.   In the Details pane, right-click ASP.NET V2.0.50727 (32-bit), and then click Allow.
    To install the 32-bit version of Reporting Services on a computer that is running the 64-bit version of IIS 7.0, follow these steps:
    1.       Enable ASP.NET and IIS before you install Reporting Services.
    2.       Open a command prompt. To do this, click Start, point to All Programs, point to Accessories, right-click Command Prompt, and then click Run as administrator.
    3.       In the User Account Control dialog box, click Continue.
    4.       Copy the following script:
    cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
    5.       In the upper-left corner of the Command Prompt window, right-click the command prompt icon, click Edit, and then click Paste.
    6.       Press ENTER to run the script.
    7.       Install the 32-bit version of Reporting Services. You must apply SQL Server 2005 Service Pack 2 (SP2) after you install Reporting Services in Windows Vista. If you install SQL Server 2005 Express Edition with Advanced Services, you can run SQL Server 2005 Express Edition with Advanced Services SP2.
    For more information, visit the following Microsoft Web site:
    Microsoft SQL Server 2005 Express Edition with Advanced Services Service Pack 2
    http://go.microsoft.com/fwlink/?LinkID=63922
    8.       Reset IIS.
    9.       Configure the report server for local administration. To access the report server and Report Manager locally, follow these steps:
    a.       Start Microsoft Internet Explorer.
    b.      On the Tools menu, click Internet Options.
    c.       Click Security.
    d.      Click Trusted Sites.
    e.      Click Sites.
    f.        Under Add this website to the zone, type http://servername.
    g.       If you are not using HTTPS for the default site, click to clear the Require server certification (https:) for all sites in this zone check box.
    h.      Click Add.
    i.         Repeat steps f and g to add http://localhost, and then click Close.
    10.   This step lets you start Internet Explorer either to localhost or to the network computer name of the server for both Report Server and Report Manager.
    a.       Create role assignments that explicitly grant you full-permissions access. To do this, follow these steps:  
    b.      Start Internet Explorer by using the Run as administrator option. To do this, click Start, click All Programs, right-click Internet Explorer, and then click Run as administrator.
    c.       Start Report Manager.
    d.      Note By default, the Report Manager URL is http://servername/reports. If you are using SQL Server 2005 Express Edition with Advanced Services SP2, the Report Manager URL is http://servername/reports$sqlexpress. If you are using a named instance of Reporting Services, the Report Manager URL is http://servername/reports$InstanceName
    e.      On the Home page, click Properties.
    f.        Click New Role Assignment.
    g.       Type a Windows user account in the following format: domain\user
    h.      Click to select the Content Manager check box.
    i.         Click OK.
    j.        In the upper-right corner of the Home page, click Site Settings.
    k.       Click Configure site-wide security.
    l.         Click New Role Assignment.
    m.    Type a Windows user account in the following format: domain\user
    n.      Click to select the System Administrator check box.
    o.      Click OK.
    p.      Close Report Manager.
    11.   Open Report Manager in Internet Explorer without using the Run as administrator option.
    Microsoft Online Community Support

Maybe you are looking for

  • LEGO Mindstorms 2.0 crashes at startup when LabView Signal Express is installed first

    When NI Circuit Design Suite Education Edition is installed first in a computer and the LEGO Mindstorms software second, the LEGO Mindstorms software doesn't work, it reports the following: Error: A required file is broken Possible Solutions: Reinsta

  • IPhone 3GS pay as you go

    A friend of mine just gave me her old iPhone 3GS to replace my broken Samsung intensity 2. I have been a long time verizon customer and wish to keep my service with them. I know to upgrade to a smartphone I will need to upgrade to a smart phone pay a

  • Listener for JTable

    hi all i'm using JTable for displaying data retrieved from database. I need to count the no of rows dynamically. ie whenever a row is added/deleted to JTable the rowcounter should be in/decremented. is there any event to do this

  • Get server date, or day from server

    Hey guys, Just wondering how I can retrieve info from the server, such as day of the week for a gym timetable panel. Basically I want to have an unordered show or hide different list items depending on the day of the week. So, if its Monday, a partic

  • Where is the redemption code located on elements 13? The numbers and letters i entered come up invalid

    Where is the redemption code located on product elements 13. There are numbers and characters on the box and on the cd sleeve.