How do i change SSRS authentication to a service account from a person account?

I have set up a SQL Express 2012 Reporting Service as follows :-
In the RS Configuration Manager :-
Use Build in A/c ---> Local System
SSL Certificate ----> Blank.
Execution account ----> Blank
In the Report Manager, New Role Assignment section
BUILTIN\Administrator ---> Content Manager
MyDomainName\MyUserID ----> (All actions)
NT AUTHORITY\IUSR ----> (All actions)
In the web.config of the ASP.NET accessing this Report server
ReportServerUsername ----> UserName of a person in the domain
ReportServerPassword -----> Password of this person in the domain
ReportServerDomainname -----> Domain name
In the rsreportservice.config file in the Program Files/ReportingServer
<AuthenticationTypes>
<RSWindowsNegotiate/>
<RSWindowsNTLM/>
</AuthenticationTypes>
In the ASPX.cs page which calls the Reports in the ReportServer
creating instance of Report Server Credentials as follows :-
IReportServerCredentials irsc = new CustomReportCredentials(strReportServerUsername, sstrReportServerPassword, strReportServerDomainname); rpt.ServerReport.ReportServerCredentials = irsc;
The CustomReportCredentials Class is as follows
public class CustomReportCredentials : IReportServerCredentials { private readonly string _userName; private readonly string _passWord; private readonly string _domainName;
public CustomReportCredentials(string userName, string passWord, string domainName)
_userName = userName;
_passWord = passWord;
_domainName = domainName;
public System.Security.Principal.WindowsIdentity ImpersonationUser
get { return null; }
public ICredentials NetworkCredentials
get { return new NetworkCredential(_userName, _passWord, _domainName); }
public bool GetFormsCredentials(out Cookie authCookie, out string user,
out string password, out string authority)
authCookie = null;
user = password = authority = null;
return false;
My question :- Since i dont want the Windows UserName and Password of the user to be the authenticating identity, and replace it with NT AUTHORITY\IUSR, how do i do it ? If i replace User name in Web.config with NT AUTHORITY\IUSR and password = "".
i get 401.
Chak

Hi chakira,
If I understood correctly, you want the NT AUTHORITY\IUSR to be able to access SQL Server Reporting Service(SSRS).
For security concerns, it is not suggested. Enable NT AUTHORITY\IUSR the access to SSRS means everyone can access the SSRS. Please don't use it in production environment!
Anyway, if you would still like to know how to do it, please follow these steps:
Remove the credential set to rpt.ServerReport. It means the following two lines code can be commented. Without a explicit credential, the default credential "NT AUTHORITY\IUSR" will be used.
IReportServerCredentials irsc = new CustomReportCredentials(strReportServerUsername, sstrReportServerPassword, strReportServerDomainname); rpt.ServerReport.ReportServerCredentials = irsc;
Enable anonymous access for SSRS, follow by this article:
http://blogs.msdn.com/b/jameswu/archive/2008/07/15/anonymous-access-in-sql-rs-2008.aspx
Here is the disclaimer again:
DO NOT USE ANONYMOUS AUTH!
NEVER USE IT IN PRODUCTION ENVIRONMENT!
Thanks,
Jinchun Chen

Similar Messages

  • How can I change the ID APPLE of my IPAD from a person to another

    my husband has made me the gift of an IPAD2 today and, as he has registered itself, we realize when sincronizing, that itunes was asking for his ID Apple, which is a disadvantage, as I already have my own ID Apple, please I should be very grateful if someone could help me to change this yo mine thank you

    clean way is to reset your ipad in the option menue.
    other way is, start itunes app on ipad. scroll down. down left is the actual login. tap it. logout, login other account.
    sync with your itunes. iam not sure if you get problems when syncing mixed 2 itunes accounts, so clean way is reset ipad

  • HT5467 How does my iOs6 iPad get the location services data from my personal WiFi net?

    How does Apple determine my current location of my iPad WiFi only by the location of the WiFi net (my house net)? How is the location of my private WiFi net sent to the Apple Database? Is the information obtained from the router?

    The location information comes from GPS equipped devices like iPhones seeing your router and it's MAC address and sending the router location to Apple for inclusion in their database of router locations.

  • How Can I change the Authentication for this Dynpage

    Hello ,
    I have created a rss feed in special Dnypage.   When I try to connect with rss reader  to dynpage it occurs an error 500.  The problem is that no logon screen appears and the portal would start the Dynpage with the User Guest.
    How Can I change the Authentication for this Dynpage ? I need a LogonScreen
    RSS URL:
    /irj/servlet/prt/portal/prtmode/rss/prtroot/com.geberit.ep.uwlquick.uwlquickstarter?mode=rss

    Hi ,
    sry the entry in xml does not help. No Logon Prompt
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
        <property name="SecurityArea" value="NetWeaver.Portal"/>
        <property name="Vendor" value="xx.com"/>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.portal.pcd.glservice,com.sap.portal.ivs.iviewservice,usermanagement,,com.sap.netweaver.bc.uwl"/>
      </application-config>
      <components>
        <component name="uwlquickstarter">
          <component-config>
              <property name="SafetyLevel" value="no_safety"/>
            <property name="ClassName" value="com.xx.portal.uwl.uwlquickstarter"/>   
          </component-config>
              <component-profile>
                   <property name="AuthScheme" value="default"/>
              </component-profile>
        </component>
      </components>
      <services/>
    </application>

  • How do I change my iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    How do I change my daughter's  iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    Purchases are locked to the account that purchased them. Thus first try to recovery use of the original account.
    Also, yo have obtain use of the original account to deactivae the Activation Lock
    Find My iPhone Activation Lock
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. See Changing your Apple ID password if you'd like more information.
    The method includes if you do not have access to your original email account.
    The
    I no longer have an email address that was also my Apple ID. Can I still use the email address as my Apple ID?
    Apple recommends you change your Apple ID to your current, working email address. This will not create another Apple ID, it will only change it to your working email address. See Changing the name you use for your Apple ID if you'd like more information.
    CHANGE ID
    Apple ID: What to do after you change your Apple ID
    The ID is used in the following locations and you  have to change them.
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    Settings>iCloud
    and Settings>iTunes and App store
    You  have to sign out of ID (for iCloud you delete the iCloud account from the iPod) and sign in with other ID.
    Note the following are resolved if you  use Family Sharing (iOS 8 and later):
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • My mother used to be the bill payer on my iTunes account so now every time I send an email from my iCloud account it sent with her name, how can I change the settings so emails are sent from myself?

    My mother used to be the bill payer on my iTunes account so now every time I send an email from my iCloud account it sent with her name, how can I change the settings so emails are sent from myself?
    I've changed the bill payer to myself but it stills says on emails that I sent that its from my mother.

    In order for the "From" field to show you options on the "from" addresses available, you must set them up in the Preferences > Accounts first.
    I can't show you a screen shot of the from field because I currently only have one account, so the from address used is the default. However, when I had more than one, then options will show up in your compose/reply window.
    You'd need to add an account here:

  • HT5621 I changed my Apple ID but on my iPhone when I go into settings iCloud it still shows the old Apple ID. How do I change this? I was going to delete the iCloud account from my phone then add it back with the new Apple ID, but I'm not sure...help!

    I changed my Apple ID but on my iPhone 4S w/ iOS 7.0.4, when I go into settings > iCloud it still shows the old Apple ID. How do I change this? I was going to delete the iCloud account from my phone then add it back with the new Apple ID, but I'm not sure...help!

    http://support.apple.com/kb/TS5223?viewlocale=en_US
    Peace, Clyde

  • My number 5 key is not working and my password has a number 5 in it. How can I change my password when I'm signed in on another account or as guest user? I need help :(

    My number 5 key is not working and my password has a number 5 in it. How can I change my password when I'm signed in on another account or as guest user? I need help

    - If the "other" account has administrative privileges then just try changing the PW for your account.
    - Forgot Mac Password? How to Reset Your Mac Password (with or without CD)
    Change the Admin Password with Mac OS X Single User Mode
    Reset mac mini admin password: Apple Support Communities
    - If the problem is due to a bad KB just get a new KB

  • How do i change my hp office pro 8600 printer from offline to online

    how do i change my hp office pro 8600 printer from offline to online

    Please read this post then provide some details.  What operating system? How is the printer connected - USB, wired LAN, or Wireless LAN?
    Running the diagnostics at http://www.hp.com/go/tools may help resolve the issue if you are using some recent version of Windows.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How do you change the default setting for RTF documents from TextEdit to MS Word

    How do you change the default setting for RTF documents from TextEdit to MS Word, I download forms from the Canadian government and they use RTF as a standard, they are supposed to open as MS Word documents (Yes I have Office for MAC 2011) but when download the document it goes to TextEdit which messes up the form format. I can down load it right click and go "open with" MS Word but how can I get the default chnaged to save this step.

    richr604 wrote:
    Thanks I knew this, I like Safari as I want to keep everything MAC, but if I use Firefox the documents open in MS Word straight away, I was just curious if there was some setting I could change?
    In Firefox > Preferences, click the Applications tab. If RTF is there, use the pulldown menu in the Action column to pick MS Word. If RTF is not there, there are instructions here for how to add file types.

  • How do I change the name of my new computer from "MacBook Air-2" to "iMac"?

    How do I change the name of my new computer from "MacBook Air-2" to "iMac"?

    Open the Sharing pane of System Preferences and change it.
    (95420)

  • How do I change the reading pane or preview pane from vertical to horizontal in Mail?

    How do I change the reading pane or preview pane from vertical to horizontal in Mail?

    From the Mail menu bar click Mail > Preferences then select the Viewing tab.
    Select:  Use classic layout

  • How can I change the settings in the Health App from Imperial to metric - eg to metres and kilos ?

    How can I change the settings in the Health App from Imperial to metric - eg to metres and kilos ?

    We may have to wait for an update.  Aside from changing the country, I'm not sucre this can be done.  There is no Health App in the System preferences and no  way to modify from within the app.  Weird.
    If you go to Language & Region under general settings and choose any other country, you will get Metric.  I have the opposite problem.  I live in a Metric country and want my health app to be in lbs and inches which is what I am used to.

  • How can I change the default setting for downloading photos from email?

    How can I change the default setting for downloading photos from emails I receive?  It shows the default as Photoshop Elements 4.0 and is not supported by this system.  That was my last computer!!
    Thanks,
    Sheila

    That has nothing to do with styles nor Pages, it is a System/Printer Driver setting.
    You can experiment to see if the Printer Settings stick with your document, but in the past this has not worked.
    Peter

  • HT5467 how do you change back to the south african store from the american store on your settings??

    how do you change back to the south african store from the american store on your settings??

    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.

Maybe you are looking for

  • Windows Update Failed Due To Services Stopped

    Generally, the Windows Update issue can be caused by one of the following factors: I. The Windows Update service has been stopped. II. Corrupted Windows Update Temporary folder. In order to narrow down the cause of this issue and resolve it, you can

  • Extraction to BW Error Purchasing Data 2LIS_02_SCL&ITM - Key Fig. in blank

    Hello, we start the Purchasing landscape (Header and Item: 2LIS_02_SCL and 2LIS_02_ITM) some moths ago, and we check that all purchases are correct in BW, after Setup, and after several daily delta loads. To start the landscape, we fill the "Determin

  • Keyboard & Mouse Settings - Mouse Tracking Problem

    Whenever I change the tracking setting for my mighty mouse in system preferences it works fine, but as soon as I close system preferences the tracking setting reverts to the default setting. I tried altering various settings and they all remain as I

  • Thinkpad A31 Ultrabay Plus release problem

    I have a Thinkpad A31 that I'm repairing - I removed the Ultrabay enclosure that the CD-ROM fits into. I've reinserted it and have issues with the eject lever. The release mechanism allows the eject lever to come out, but there is no resistance on th

  • SQL Query to Join by Comma  - Help an assistance

    Hi, Thanks for your help in advance. Requirement is as follows. Table1 ======= Col1 Col2 ============ 1 John 2 Jocky 3 Silk Table2 ======== Col1 Col2 ========= 1 John, Marry, Joseph 2 Silk, David 3 Jocky, Prem I need an sql query where the join condi