Ask for debugging when customize authorization in the security extension sample of report server

I have tried the sample of reporting service provide in MSDN
http://msdn.microsoft.com/en-us/library/ms160724.aspx
I successfully deploy the sample in my report server. But I want to know what happen in the authorization in order to authorize right to different user login from the login page. I can't debug the class Authorization by attaching aspnet_wp.exe in the process.
Actually I want to know the value of secDesc, AceStruct ace in each CheckAccess method. But I can't debug in the file Authorization that implement interface IAuthorizationExtension. I try to add some coding in the Authorization class to write  the value of secDesc, AceStruct ace in file. It fails. Create Event log.... it also fail...any other method?

Hi,
"secDesc" is the security descriptor, which contains the following information for an item in the report server database:
The group or user that has some type of permission to perform operations on the item.
The item's type.
A discretionary access control list controlling access to the item.
AceStruct  is an access control entry for a trustee (user, group, or computer) that specifies the operations that a trustee can perform on items in the report server database. You can get a instance of AceStruct by de-serializing “secDesc”
In addition, when you tried to debug the program, did you follow the steps below.
Start Visual Studio .NET and open CustomSecurity.sln on your test report server.
Open Internet Explorer and navigate to Report Manager while leaving the sample code open in Visual Studio.
Switch to Visual Studio and set some break points in the custom security extension project code.
With the extension project still the active window, from the Debug menu, click Process.The Processes dialog opens.
From the list of processes, select the Aspnet_wp.exe process (or W3wp.exe, if your application is deployed on IIS 6.0), and click Attach.
In the Attach to Process dialog, select the Common Language Runtime program type, and then click OK. For improved debugging performance, make sure that Native is not a selected program type.
When the sample runs, a logon form appears. Type the user credentials into the logon form and click the Logon button. Whenever your break points are encountered during processing, the debugger should stop execution that point.
Step through your code using the F11 key.
Hope this helps.
Thanks.

Similar Messages

  • Hi, I forgot my user password mac 10.9.4 I don't need it to log in but i need it to make changes, etc. It says a password hasn't been set for this account but it still asks for one when i click on the lock icon. can anyone help me? thx!

    Hi, I forgot my user password mac 10.9.4 I don't need it to log in but i need it to make changes, etc. It says a password hasn't been set for this account but it still asks for one when i click on the lock icon. can anyone help me? thx!

    This is a little confusing since you say you have forgotten your password and then the system says you have not entered a password.  Even with an Admin account you must have a password to install software.
    If you are using Mac OS X 10.7 or above, you can change the admin password by restarting holding the Command and R keys, from the menu bar select Utilities, then Terminal.  When the Terminal window opens, at the cursor type exactly:
    resetpassword
    and press Enter.  When the Reset Password window opens, select the internal hard drive, and then the user account.  Type a new password twice, leave the Hint blank, and then Save.  Accept the next dialog that opens, and at the bottom of the Reset Password window agree to resetting the home directory permissions.
    Quit the Reset Password window, go to the apple left side of the menu bar, Restart.
    And you have a new password for your account.

  • How do i change my security question? I tried to buy music on itunes and it asked for verification i can not answer the security questions correctly

    How do i change my security question? I tried to buy music on itunes and it asked for verification i can not answer the security questions correctly...

    Reset Security Questions
    Frequently asked questions about Apple ID
    Manage My Apple ID
    Or you can email iTunes Support at iTunes Store Support.
    If all else fails:
      1. Go to: Apple Express Lane;
      2. Under Product Categories choose iTunes;
      3. Then choose iTunes Store;
      4. Then choose Account Management;
      5. Now choose iTunes Store Security and answer the bullet questions, then click
          Continue;
      6. Sign in with your Apple ID and press Continue;
      7. Under Contact Options fill out the information and advise iTunes that you would
          like your security/challenge questions reset;
      8. Click Send/Continue.
    You should get a response within 24 hours by email.
    In the event you are unsuccessful then contact AppleCare - Contacting Apple for support and service.
    Another user had success doing the following:
    I got some help from an apple assistant on the phone. It is kind of round about way to get in.
    Here is what he said to do and it is working for me...
      a. on the device that is asking you for the security questions go to "settings", > "store" >
          tap the Apple ID and choose view"Apple ID" and sign in.
      b. Tap on payment information and add a credit/debit card of your preference then select
          "done", in the upper right corner
      c. sign out and back into iTunes on the device by going to "settings"> "store" > tap the
          Apple ID and choose "sign-out" > Tap "sign -in" > "use existing Apple ID" and you
          should be asked to verify your security code for the credit /debit card and NOT the
          security questions.
      d. At this time you can remove the card by going back in to edit the payment info and
          selecting "none" as the card type then saving the changes by selecting "done". You
          should now be able to use your iTunes store credit without answering the security
          questions.
    It's working for me ...I just have to put in my 3 digit security pin from the credit card I am using.
    Good Luck friends!

  • HT201317 When I go to log onto iCloud using my Windows 7 and it asks for my login information, I get the error saying my Apple account is valid but not an iCloud account. How do I get an iCloud account? Thank you

    When I go to log onto iCloud using my Windows 7 and it asks for my login information, I get the error saying my Apple ID is valid but not an iCloud account. How do I get an iCloud account?
    I don't have any apple products personally, this is for work to use Photo Stream so when Superintendents & Project Managers take pictures of their construction site, I am able to have those images immediately.
    Thank you

    You can not create an iCloud account using a PC, you will need an Apple product. Once the account exists you can logon to it from a PC.

  • I have Adobe Photoshop Elements 8 for Windows 7. I need to re-install it because my computer crashed. I saved the outer box, but I do not see a serial number and it is asking for it when I am trying to install the CD software. I went online, but the only

    I have Adobe Photoshop Elements 8 for Windows 7. I need to re-install it because my computer crashed. I saved the outer box, but I do not see a serial number and it is asking for it when I am trying to install the CD software. I went online, but the only serial number I see is when I registered the Photoshop Elements 2.0.

    The serial number will be on the disc case, not the outer box.  Find your serial number quickly

  • When I try to combine two pdf's, it asks for a permission password and says the documents are protected; however, I didn't put any protection/security in the documents.  I assume it is a default security under the enhanced security settings of the Acrobat

    When I try to combine two pdf's, it asks for a permission password and says the documents are protected; however, I didn't put any protection/security in the documents.  I assume it is a default security under the enhanced security settings of the Acrobat Pro XI which I recently purchased.

    Acrobat (Pro or Standard) does not apply a "default" protection. It appears that someone or some other process has applied protection.
    Be well...

  • HT204266 I was trying to buy an app from the apple store, it asked for confirmation , when I re-entered my credit card details, got the message that your payment method is not valid!!!! How can I fix this problem?

    I was trying to buy an app from the apple store, it asked for confirmation , when I re-entered my credit card details, got the message that your payment method is not valid!!!! How can I fix this problem?

    Is this a pre-paid card thing? Or different billing address than your iTS account?

  • Don't ask for save when close the file

    Hi,
    Maybe you all meet a situation that, if you edit the pdf form with adobe reader or acrobat and close it, it will jump out a window and ask "do you want to save the change before closing?".
    Does anybody know how to cancle this asking?
    Could you share me how to advoid asking for save when close the pdf form?
    Thank you all!!!
    Ellie

    Hi,
    I created a pdf form by Adobe LiveCycle, inside, there is a button that you can click it and export the data(not script) of PDF to xml file. So I don't need to save the PDF form again.
    I try to edit my form by adobe reader, after I fill in some fields and close it, a window jumps out and asks if I want to save the changes, So how can I avoid this window?
    Thanks!
    Ellie

  • 2007 Intel Imac, installed a new Hdd. Started up with the install disc but it doesn't find my Hdd when asking for a destination volume to install the Mac OS.  The Hdd is recognized in system profiler. Any ideas?

    2007 Intel Imac, installed a new Hdd. Started up with the install disc but it doesn't find my Hdd when asking for a destination volume to install the Mac OS.  The Hdd is recognized in system profiler. Any ideas?

    Welcome to Apple Support Communities
    The hard drive is not formatted, and it must be formatted in "Mac OS Extended (Journaled)" in order to install OS X.
    Close the OS X installer, and go to Utilities menu (on the menu bar) > Disk Utility. Then, format your hard drive in "Mac OS Extended (Journaled)" as Format > http://pondini.org/OSX/DU1.html Finally, close Disk Utility and install OS X

  • Just bought an itunes card but when buying music, its asking for billing info :/ and no taking the money of my reedemed card

    just bought an itunes card but when buying music, its asking for billing info :/ and no taking the money of my reedemed card

    Update your credit card info.
    This is how iTunes verifies your account.

  • Hi I can't update my apps when I try to update it asks for password when used it goes back to update. I think I'm not alone and have tried changing date switching off signing out and in and rebooting. Is there a solution or do I need to take it in?

    I can't update my apps each time it asks for password when entered it goes straight back to update. I don't think I am alone in this. I have tried changing the date, rebooting, switching off and on signing out and nothing works. Does anyone know of a solution or will I have to take it to an apple shop. My misses has no trouble with her updates, they are both on iOS 6. Hope someone can help.

    Tried that just said cant connect to iTunes Store which was different.

  • HT5858 Why does my iPad and iPhone ask for verification when downloading free apps

    What does my iPad ask for verification when trying to download free app from App Store

    You are required to provide credit card details to download apps be it free or paid.
    Nothing will be deducted from your credit card if the app is free.
    There will be a authorizing hold of US$1.00 to verify your account information. It will be credited back to your account later.

  • I turned my ipad off. It's now asking for a passcode. Is that the same as my Apple ID password?

    I turned my ipad off. It's now asking for a passcode. Is that the same as the password for my Apple ID. I used it but it still will not let me get access,

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • Firefox keeps asking for password when I send emails

    Firefox version 35.0. When I open Firefox and get messages, no problems. When I write an email and send, Firefox asks me for password. I am able to send/receive emails while open. If I close Firefox and open, it asks for password when I send. Months ago, I changed my login password to Netzero.com (made it more secure). Since then, I've had this annoying password request. How to satisfy the login server password for receiving/sending emails?

    Is it Firefox asking for the password, or the web site? The only time that
    FF will ask for a password is if you have the '''Master Password''' active
    in the '''Password Manager.'''
    Open the '''Password Manager.''' There is a search bar at the top of the
    page. Enter the name of the site. Press the button '''Show Passwords.'''
    Is the information correct? '''Note:''' there may be more then one entry.
    '''Left''' click the icon in the address bar. A window for displaying site information should come up. Select '''More Information.''' At the top of the window, select '''Security.''' Now select '''View Saved Passwords.'''

  • My MBP Screen goes gray and asks for restart when trying to open Adobe raw

    My MBP Screen goes gray and asks for restart when trying to open Adobe raw files. Even when I try to populate raw images in the brige the scree wipes gray and says I have to restart. I am using CS2 and the latest version 3.7 of Adobe camera raw. I can however open raw images in preview. Please help! OS ver. 10.4.9 2.16ghz intel duo core processor.

    Welcome to Apple Discussions!
    What you are getting is a kernel panic, caused by one of the issues my FAQ* discusses:
    http://www.macmaps.com/kernelpanic.html
    * Links to my pages may give me compensation.

Maybe you are looking for

  • Final Cut pro X and photos

    I have just started using the test version of Final Cut Pro X. I want to use some photos from iPhoto in my movie, however the photos have already been edited in iPhoto, but I want to use the original photo from iPhoto, not the edited photo. Is this p

  • WRT54G wireless router drops internet?

    I'm using my WRT54G with Starband satellite internet.  It seems that every once in awhile or...sometimes way too often, the internet decides to stop working all together!  I've checked this with two other computers on the wireless network.  They all

  • Download failed.

    Got message "Data13.cab Error 1335 Error 2350.FDI server error."  I am not at all techie! What should I do?

  • Disable "Save As"

    Hello, I generated a PDF file and after that, using iText I inserted an empty signature field. I enabled the signing rights on this PDF file with Adobe Livecycle Reader Extensions ES and everything works fine. The user can sign this PDF using Adobe R

  • Photoshop CS4 Upgrade

    I want to upgrade from CS to CS4. Is CS4 shipping with the latest ACR 5.5 and DNG converter 5.5? I hate to have to download and then worry about locating the current files and copying them into the proper folders.