How do I set ClientCredentials property to windows credentials?

As per MSDN
http://technet.microsoft.com/en-us/library/92a9678c-bc4f-4d7a-ba44-85989bfe27ca
Building Applications Using the Reporting Web Service and the .NET Framework we have to set Credentials as below
ReportingService2010 rs = new ReportingService2010();
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
However, after creating the proxy I don't see proxy has Credentials property as MSDN says. The proxy has ClientCredentials property but it is not derived from ICredentials
I'm using http://serverurl/ReportServer/ReportService2010.asmx
How do I set ClientCredentials property to windows credentials in this case?

But i dont see "Add web reference" option.
Have you read the link I posted? "Add Service Reference" => button "Advanced" => "Add Web Reference"
to check if the folder already exists
Sure, with
ReportingService2010.ListChildren
Method
Olaf Helper
[ Blog] [ Xing] [ MVP]

Similar Messages

  • How do i set up the viewer window so I can read the email in the bottom section of the window

    how do i set up the viewer window so I can read the email in the bottom section of the window? Someone sat at my computer and changed it and now I cannot restore it.

    Mail Preferences, Viewing, Use Classic Layout.

  • How can I set a property when an event happens? (selection changed on datagrid)

    I have a datagrid, I would like to change the backgrund of the datagrid when the selection changed event is fired.
    I can not use data trigger, because is in the case that I expected a value, but in this case is when change, to any value.
    An option is to use an event trigger, but all the examples that I have found is to use with an actions, and I just want to set a property.
    How could I do that?
    I am using MVVM pattern, so I would like to avoid the use in code-behind.
    Thank so much.

    You could use an event trigger and implement your own TriggerAction<T> that sets the background property. There is an example of how to create a custom TriggerAction available here:
    http://stackoverflow.com/questions/942548/setting-a-property-with-an-eventtrigger.
    The following example sets the Background property of the DataGrid to a red SolidColorBrush when the SelectionChanged event is fired. It should give you the idea:
    <DataGrid x:Name="dgrid"
    xmlns:local="clr-namespace:WpfApplication22">
    <i:Interaction.Triggers>
    <i:EventTrigger EventName="SelectionChanged">
    <local:SetPropertyAction PropertyName="Background" TargetObject="{Binding ElementName=dgrid}">
    <local:SetPropertyAction.PropertyValue>
    <SolidColorBrush>Red</SolidColorBrush>
    </local:SetPropertyAction.PropertyValue>
    </local:SetPropertyAction>
    </i:EventTrigger>
    </i:Interaction.Triggers>
    <DataGrid.Columns>
    namespace WpfApplication22
    public class SetPropertyAction : TriggerAction<FrameworkElement>
    public string PropertyName
    get { return (string)GetValue(PropertyNameProperty); }
    set { SetValue(PropertyNameProperty, value); }
    public static readonly DependencyProperty PropertyNameProperty
    = DependencyProperty.Register("PropertyName", typeof(string),
    typeof(SetPropertyAction));
    public object PropertyValue
    get { return GetValue(PropertyValueProperty); }
    set { SetValue(PropertyValueProperty, value); }
    public static readonly DependencyProperty PropertyValueProperty
    = DependencyProperty.Register("PropertyValue", typeof(object),
    typeof(SetPropertyAction));
    public object TargetObject
    get { return GetValue(TargetObjectProperty); }
    set { SetValue(TargetObjectProperty, value); }
    public static readonly DependencyProperty TargetObjectProperty
    = DependencyProperty.Register("TargetObject", typeof(object),
    typeof(SetPropertyAction));
    protected override void Invoke(object parameter)
    object target = TargetObject ?? AssociatedObject;
    PropertyInfo propertyInfo = target.GetType().GetProperty(
    PropertyName,
    BindingFlags.Instance|BindingFlags.Public
    |BindingFlags.NonPublic|BindingFlags.InvokeMethod);
    propertyInfo.SetValue(target, PropertyValue);
    For more information about how to hook up event triggers and handle events in MVVM, please refer to my blog post:
    http://blog.magnusmontin.net/2013/06/30/handling-events-in-an-mvvm-wpf-application/
    Please also remember to mark helpful posts as answer.

  • How do I set up icloud on windows 8?

    I just bought a Lenovo Yoga laptop and want to access my iCloud. Can I do this with Windows 8 and if so, how?
    Thanks! (BTW - I'm a basically a toddler when it comes to my knowledge of computers so go easy on me, please. )

    See http://icloud.com/icloudcontrolpanel.
    More info: https://www.apple.com/icloud/setup/pc.html

  • How can I set Toolbar in Finder Window as default ?

    If I click new folder window (N) sometimes I get it with the toolbar and sometimes not. Is there anyway to set this as a default ? I can't find it in view/customize toolbar and I can't think where else it could be.
    In Leopard (clean install) I also find that my side toolbar doesn't always respond the way it should. My side toolbar has a couple of sub folders and main folders that I use really regularly. I prefer list view. Again, sometimes, if I have clicked on a subfolder and then want to use the side toolbar to navigate up to the parent folder (easier, I find, if you are in list view, than other approaches), then the system refuses to respond.
    Does anyone else have the same problems ?
    Thanks

    I was running into what may have been a similar problem with the toolbar not showing up on some of my Finder windows. Trashing /Volumes/Macintosh HD/.DS_Store solved it for me (you'll obviously need to change "Macintosh HD" if you've renamed your boot volume). Your mileage may vary..

  • How Do I Set a Specific Browser Window Size?

    I have a question about setting a browser window to open up
    at a specific size. I would like to have a pop-up window open up to
    a 400 x 600 pixel window. Is this possible in Dreamweaver? Is there
    hard code I can place in to make this happen? Any help on this
    would be greatly appreciated!
    Thanks...:-)

    dantrues wrote:
    > I have a question about setting a browser window to open
    up at a specific size.
    > I would like to have a pop-up window open up to a 400 x
    600 pixel window. Is
    > this possible in Dreamweaver?
    Select the link that will open the new window, and then apply
    the Open
    Browser Window behavior from the Behaviors panel.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • How can I set up Boot Camp/Windows with 2 SSDs?

    I've got a late 2011 Macbook Pro running Yosemite. I have boot camp running Windows 7 on my HDD but decided I would like to change some things up. I am going to remove the optical drive and put in a 256 gb SSD in it's place and also upgrade the 500 gb HDD to a 512 gb SSD. I am hoping to have the 512 gb SSD in the primary drive spot running OS X and the 256 gb SSD in the optical bay running Windows 7. I'm hoping to just be able to copy over the OS X partition on my current HDD to one SSD and the Windows 7 partition to the other SSD. Would this work? Also, if my 256 gb SSD in the optical bay only has Windows 7 loaded on it would my computer be able to boot up Windows 7 without problems or is there more to this than I anticipate?

    Here is the update from my situation. I'm posting it here in hopes of helping people who may be looking to do something similar to what I did. I followed Loner T's instructions and it worked perfectly.
    I was worried about installing Windows 7 on it's own hard drive and running it on mac hardware but everything worked out. After I initially installed Windows 7, I did notice that there were some problems with the screen being zoomed in and it failed to recognize stuff like my wireless hardware so I couldn't connect to any wifi signals. I rebooted into OS X and simply used the Boot Camp Assistant to download the latest Windows support software from Apple and put that on a thumb drive. I booted into Windows where it was still acting funny and ran the support software installer. After a few minutes it rebooted and everything was working exactly like it should and it recognized all the right hardware for wifi and everything!
    For anyone looking at doing what I did with my MBP, please don't waste time trying to boot up Windows from an external drive. I have seen lots of stuff online about people struggling to get Windows to boot up from a USB drive or external optical drive and it makes the situation way more complicated. Just follow Loner T's process above and it will work.

  • How do I set document property with delay using jquery?

    56     $("#DivStage2").delay(11000).fadeIn(1000);
    57     $("#DivStage2").delay(56000).fadeOut(1000); //11000 to 69000
    58     < need code here > 
      I have document item as defined below
      document.getElementById('2').setAttribute("style", "color: #FFF;");
    I want this to run on line 58 above with a delay before it of 4 seconds after line 56 starts.
    Please can anyone advise.
    Thank you in advance for any feedback and for everyone who has helped me so far on previous enquiries.
    I've ordered a jquery book which might help me, but I'm still learning.
    Terry

    terryfoster wrote:
    Okay I have
       <div id="DivStage2" >
        <h2 id="1" style="color: #707070;">Topic1</h2>
        <h2 id="2" style="color: #707070;">Topic2</h2>
      </div>
    Now in the function above I have...
    $("#DivStage2").delay(1000).fadeIn(1000);              // delay 1 sec then fade in for 1 sec
    $("#DivStage2").delay(56000).fadeOut(1000);         // keep this div onscreen for 56 secs then fadeout 1 sec
    Now after 20 seconds I want to turn Topic2 white as this is the one I want to focus on.....
    and topic1 grey again
    I would have thought......
             $("h2 #2").delay(20000).css("style", "color: #FFF;").delay(20000);
    would have turned the second topic white but No.... It does nothing at all
    (hmm why does everything I cut and paste end up in a table here now!!! What a bother editing!)
    Thank you
    It wont do anything because that function will only be executed after the <div> has faded out if it comes after
    $("#DivStage2").delay(56000).fadeOut(1000);

  • I have 2 firefox windows open, each with multiple tabs. How can I set in which Firefox Window new pages will be opened ?

    That is, when I click on a link in a document, email etc.
    thanks,
    Bdoz

    You can make a backup copy of the file sessionstore.js in the Firefox Profile Folder to have a backup of your open tabs.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/sessionstore.js
    * http://kb.mozillazine.org/Session_Restore

  • How do i set any windows to reopen upon a restart?

    how do i set in preferances, any windows to reopen upon a restart?

    When you select SHUTDOWN or RESTART, you will be given the following dialogue window, just check the little box...

  • How could I set a fixed window for all resulution?

    because I design the website in MAC when I transfer to PC it
    change shape
    how could I set a fixed size window for all resulution?

    Using layers for page layout is just asking for trouble.
    Trouble with
    centering content, and trouble with expanding text.
    Use tables until you can manage a proper CSS layout scheme,
    i.e., NOT
    layers. Start here -
    http://www.projectseven.com/tutorials/css/qdmacfly/index.htm
    http://www.macromedia.com/devnet/mx/dreamweaver/css.html
    http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
    http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Media Fusion" <[email protected]> wrote in
    message
    news:[email protected]...
    > What would you suggest then, and why not layers? I am
    just going off of
    > what I
    > know and I am completly open for correction or cretique
    on process,
    > thought
    > process etc...
    >
    >
    quote:
    Originally posted by:
    Newsgroup User
    > Ugh.
    >
    > Layers? Surely you jest?
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Media Fusion" <[email protected]>
    wrote in message
    > news:[email protected]...
    > > yes excatly, nothing should change when you bring
    the files from mac to
    > > pc, the
    > > only thing that may be a slight issue is how you
    coded the fonts for
    > > text.
    > > As
    > > long as you set it up with pretty universal fonts
    not much should
    > > change.
    > > I go
    > > cross platform all the time, code is code. If you
    want to really contain
    > > the
    > > positiong and location of your site design look in
    to using layers in
    > > combination with tables. That fixed my problem with
    how different
    > > browsers
    > >
    >
    >
    >
    >
    >
    >

  • How to set bean property in jsf page

    Hi,
    Hopefully theres an easy solution, but I can't figure it out...
    I have a managed bean that spans several jsf pages.
    Within each page I want to set a flag that tells the bean which page it is serving (as well as some other params).
    How do I set a property of the bean in the page?
    I've tried
    <jsp:useBean id="filter3" scope="request" class="com.aol.rsistats.ui.FilterBean"/>
    <jsp:setProperty name="filter3" property="filterType" value="3"/>
    but that doesn't load the page through the normal JSF routine (and I initialise some values of the bean in the faces-config.xml file... so these are not initialiased when the setProperty is called) .
    (In general I get some strange behaviour when I mix jsf tags with jsp, or jstl, so I've avoided it as much as possilble)
    Is there another way?
    Cheers,
    Keith

    This example works for me (using jsf-1_1_01).
    Index.jsf:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page language="java" %>
    <%-- jakarta-taglibs-standard-1.0 --%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%--
    Note, that with jakarta-taglibs-standard-1.1.1 taglib directive
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    the example NOT works!!!
    --%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <head>
    <title>MyTitle</title>
    </head>
    <body>
    <f:view>
    <%--
    Do not delete the following lines! You need to address to WIManager before using c:set.
    --%>
    <!--
    <h:outputText value="#{WIManager != null}"/>
    -->
    <c:set target="${requestScope.WIManager}" property="bpId" value="bpIdValue"/>
    <h:form id="MyWebFormTask" >
    <h:commandButton id="ok" action="ok" value="Ok"/>
    <h:inputHidden id="bpId" value="#{WIManager.bpId}"/>
    </h:form>
    </f:view>
    </body>
    </html>
    ok.jsf:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page language="java" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <head>
    <title>MyTitle</title>
    </head>
    <body>
    <f:view>
    WIManager.bpId: {<h:outputText value="#{WIManager.bpId}"/>}<br>
    </f:view>
    </body>
    </html>
    In ok.jsf I can see WIManager.bpId property set in Index.jsf.
    faces-config.xml:
    <managed-bean>
    <managed-bean-name>WIManager</managed-bean-name>
    <managed-bean-class>my.package.WIManagerBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>bpId</property-name>
    <property-class>java.lang.String</property-class>
    <value>#{param.wim_bpid}</value>
    </managed-property>
    </managed-bean>
    Resume:
    -- use <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    instead of <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    -- address to WIManager before using c:set.

  • Setting Sinleton property of tree

    How we can set Singleton property to FALSE of a context value created for a tree node??
    Thanks & Regards
    Vipin

    Hello Vipin
    Do you mean Singlton property for recursion node in the context? It's always FALSE.
    Best Regards
    Sergei

  • How do we set "Link That Displays Item In Full Browser Window" property?

    How can we set "Link That Displays Item In Full Browser Window" property? I could not find it. Thanks...

    I assume you're using Portal 3.0 (it always helps to mention which portal version you're using).
    I suggest you search this forum for "new window". You'll find several threads discussing how to implement this feature in Portal 3.0.
    Regards,
    Jerry
    PortalPM

  • How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.

    How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.
    Or how does Premiere 11 determine where to set the image for the video it is exporting? 
    I already know how to use Freeze frame and save the image to my computer by Publish+Share/Computer/ Immage.
    Thanks,
    Mike

    Mike
    This is not Adobe. Rather user to user. We are all visitors here.
    Just a bit of history....back in the days of Premiere Elements 4, you could set a "poster frame" in what was called the Project area. You did this by right clicking a blank area there and, from the drop down menu that appeared, selecting View/Preview Area, and using the poster frame feature there.
    As I said, when a video imports into Premiere Elements, the thumbnail of the import has been presenting as the first frame of the video. With this Preview area "poster frame" option, you could set the video's thumbnail in the Project area so that the first frame was another frame in the video. But, this "perk" was restricted to thumbnails of the video in Project area.
    If you exported to file with the first frame modified video, the export's thumbnail in Windows Explorer would present with other than the real first frame or the poster frame as the first frame.
    Also, in more recent versions, I have observed that the export to file does not display the real first frame of the video in Windows Explorer. Seems random, but I have not kept track.
    And, remember, at the onset I wrote
    As far as I have ever seen, Premiere Elements Windows uses the first frame of the video for its thumbnail in the program.
    I know of no way within Premiere Elements to control what the program opts to do in this matter. In some compatibility
    issues, it opts to give no image but a generic one.
    I did not say that you can expect to have the Premiere Elements' export file's thumbnail in Windows displaying with its real first frame. And, the more you get into this, depending on the versions, more details need to be added to my comment about "...first frame of video for its thumbnail in the program..."
    I would have to look into all this further to get perspective on the contributing factors.
    ATR
    Add On...The Poster Frame feature appeared in versions 4, 7, 8, and 9 by my count.

Maybe you are looking for