Trying to get a code walkthrough to work - Bing Ads Api C# Desktop App

Hi,
I'm trying to get the Bing Ads API Desktop App Walkthrough working.  When I run it where it says to run, I get an error saying "Uri passed doesn't contain code param..."
All I've done to the copied and pasted code was input ClientId and DeveloperToken in the first part of the MainWindow class.
Do you have any idea what could be causing this?
https://msdn.microsoft.com/en-US/library/bing-ads-net-walkthrough-desktop-application.aspx
Thanks,
Mike

I am able to repro the issue by using the ClientId of a web application.
The proposed solution is to register an application as a desktop or mobile application, in order to use that example. Running Fiddler you can capture the traffic e.g. as follows:
https://login.live.com/oauth20_desktop.srf?error=invalid_request&error_description=The%20provided%20value%20for%20the%20input%20parameter%20'redirect_uri'%20is%20not%20valid.%20The%20client%20application%20must%20be%20marked%20as%20'mobile'%2c%20or%20the%20value%20must%20be%20an%20absolute%20URL%20which%20matches%20the%20registered%20redirect%20URI.&lc=1033
It seems the 'Uri' error message is thrown by the SDK because it tries to get access and refresh tokens with the URL above instead of the expected on with 'code'. We will take a look at the SDK and make sure the right error message is being relayed. 
By the way if you want to use a web application (as it sounds like you may have already registered one), try Walkthrough: Bing Ads Web Application in C#.
 Please let me know if I can help with any other questions. 
I hope this helps!
Eric

Similar Messages

  • Trying to get a code walkthrough to work - Bing Ads Api C# Web App

    Hi,
    I'm trying to get the C# Web App code walkthrough to work.  I went through the steps written out, and pasted in the Client ID, Client Secret, RedirectionUri, and DeveloperToken values.  When I run the app, it sends me to the redirection URI, with
    "?code=" and a 36-character code added onto the address.  Could you tell me why this is happening, and what I might need to do to get this working?
    Thanks,
    Mike

    Hi Mike.
    The current example assumes that you set the RedirectionUri to index.chtml, which admittedly isn't robust enough. We plan to update it. Typically as you are probably attempting, the callback after the user provides credentials would redirect
    to a page other than index.chtml e.g. callback.chtml.
    Short term solution is that you can update the RedirectionUri to either "YourSite\" or "YourSite\index.chtml", and the existing sample should run. Otherwise you can define a new callback page that handles the "?code" fragment
    e.g. as follows:
    // If the current HTTP request is a callback from the Microsoft Account authorization server,
    // use the current request url containing authorization code to request new access and refresh tokens
    if (Request["code"] != null)
    await authorization.RequestAccessAndRefreshTokensAsync(Request.Url);
    // Save the authorization object in a session for future requests.
    Session["auth"] = authorization;
    return await CallBingAdsServices((OAuthWebAuthCodeGrant)Session["auth"]);
    Does this help? Please let me know if you have any other questions.
    Best regards,
    Eric

  • Trying to get a WRT54GX2 wireless router working with a W...

    Trying to get a WRT54GX2 wireless router working with a WPC54G wireless card. The laptop and desktop both will access the Internet and work when hardwired through the router's Ethernet ports. When trying to access wireless, the Laptop shows to be connected to the router and also to Internet, but Internet Explorer can not access any websites.  Suggestions? Thanks.

    what ip address does the laptop get ?? ensure that the laptop is not set for a static ip add....and it gets an ip add from the router ..

  • I am trying to get this java program to work

    I need your help, I am trying to get this java program to work. The program is long and massive, but I got stuck in the last point where the program checks if there are a double quotes or a comma in a string.
    The string is an URL retrieved from XML files (this is already done).
    There are 4 conditions:
    Case 1
    =====
    The URL string is of invalid format and contains no commas (,) and no double quotes (").
    Make no changes to the URL string.
    Case 2
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") but no commas.
    Make no changes to the URL string.
    Case 3
    =====
    The URL string is of invalid format and contains 1 or more commas (,) but no double quotes.
    Modify the URL string so that it starts and ends with a double quote (").
    Case 4
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") and one or more commas (,).
    Modify the URL string so that every double quote (") becomes a double double quote (""), and so that it starts and ends with a double quote (").
    ======
    then write the modified URL string to the CSV file.
    ======
    Examples:
    1. hello ---> hello
    2. hello "big" world ---> hello "big" world
    3. hello, world ---> "hello, world"
    4. hello "big,big" world ---> "hello ""big,big"" world"

    You can do the searching with String.indexOf() and then you can make replacements (like " with "") with String.replaceAll().
    As for adding leading and trailing ", that could be done with simple concatenation.

  • Help ! Trying to get PDF Prep Tool to work

    Help... Iam trying to get the PDF PRep Tool from www.pdf-tools.com to work. I get a nativ error (se belove) when trying the first included demo.
    Has anyone worked the PDF Prep Tool, and maybe can help out ?
    My Specs:
    Windows 2000 Server sp 3
    JDK 1.4.1_01
    My Error:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x1004A0DC
    Function=[Unknown.]
    Library=C:\WINNTFW1\system32\pdprep32.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at com.glance.pdf.pt.PTLib.PDocClose(Native Method)
         at com.glance.pdf.pt.PTDoc.close(PTDoc.java:209)
         at com.glance.pdf.engine.Generator.genPass(Generator.java:672)
         at com.glance.pdf.engine.Generator.generate(Generator.java:413)
         at FirstStep.main(FirstStep.java:60)
    Dynamic libraries:
    0x00400000 - 0x00406000      C:\Program\J2SDK_SE\bin\javaw.exe
    0x77F80000 - 0x77FFB000      C:\WINNTFW1\System32\ntdll.dll
    0x77DB0000 - 0x77E0B000      C:\WINNTFW1\system32\ADVAPI32.dll
    0x77E80000 - 0x77F31000      C:\WINNTFW1\system32\KERNEL32.dll
    0x77D30000 - 0x77DA1000      C:\WINNTFW1\system32\RPCRT4.dll
    0x77E10000 - 0x77E6F000      C:\WINNTFW1\system32\USER32.dll
    0x77F40000 - 0x77F79000      C:\WINNTFW1\system32\GDI32.dll
    0x78000000 - 0x78046000      C:\WINNTFW1\system32\MSVCRT.dll
    0x75E60000 - 0x75E7A000      C:\WINNTFW1\System32\IMM32.DLL
    0x6CA60000 - 0x6CA68000      C:\WINNTFW1\System32\LPK.DLL
    0x66650000 - 0x666A4000      C:\WINNTFW1\System32\USP10.dll
    0x6D330000 - 0x6D45A000      C:\Program\J2SDK_SE\jre\bin\client\jvm.dll
    0x77570000 - 0x775A0000      C:\WINNTFW1\System32\WINMM.dll
    0x6D1D0000 - 0x6D1D7000      C:\Program\J2SDK_SE\jre\bin\hpi.dll
    0x6D300000 - 0x6D30D000      C:\Program\J2SDK_SE\jre\bin\verify.dll
    0x6D210000 - 0x6D229000      C:\Program\J2SDK_SE\jre\bin\java.dll
    0x6D320000 - 0x6D32D000      C:\Program\J2SDK_SE\jre\bin\zip.dll
    0x10000000 - 0x1008F000      C:\WINNTFW1\system32\pdprep32.dll
    0x782F0000 - 0x78534000      C:\WINNTFW1\system32\SHELL32.dll
    0x77C70000 - 0x77CBA000      C:\WINNTFW1\system32\SHLWAPI.dll
    0x77B50000 - 0x77BD9000      C:\WINNTFW1\system32\COMCTL32.dll
    0x77A50000 - 0x77B45000      C:\WINNTFW1\system32\ole32.dll
    0x779B0000 - 0x77A4B000      C:\WINNTFW1\system32\OLEAUT32.dll
    0x77920000 - 0x77943000      C:\WINNTFW1\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000      C:\WINNTFW1\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000      C:\WINNTFW1\System32\PSAPI.DLL
    Local Time = Mon Jan 13 15:13:01 2003
    Elapsed Time = 2
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
    # An error report file has been saved as hs_err_pid1964.log.
    # Please refer to the file for further information.

    Actually it is e-doc assembler im trying to get to work...:-)
    (Is there an edit function in these forums ?)
    /Ruben

  • Trying to get simple UDP Server to work

    Hello
    I am trying to get a simple UDP Server to work. I have written the Server and a Client and upto a point the program works. I can make a request from the client and the Server sees this and sends its own response. The problem is the client doesn't seem to receive this response. The error I get is 'java.net.SocketTimeoutException: Receive timed out'.
    Below is the code for the Server;
            while (true) {
                try {
                    for (i = 0; i < sendBuffer.length; i++)
                        sendBuffer[i] = 0;
                    for (i = 0; i < receiveBuffer.length; i++)
                        receiveBuffer[i] = 0;
                    serverSocket.receive(receivePacket);
                    telemetryRequest = new String(receivePacket.getData(), 0, receivePacket.getLength());
                    jTextFieldServerStatus.setText(telemetryRequest);
                    receivePacket.setLength(receiveBuffer.length);
                    sendTelemetry = new String("airspeed=" + Math.round(Float.valueOf((airspeed))));
                    sendBuffer = sendTelemetry.getBytes("ASCII");
                    sendPacket = new DatagramPacket(sendBuffer, sendBuffer.length, clientIPAddress, clientPort);
                    sendPacket.setData(sendBuffer, 0, sendBuffer.length);
                    serverSocket.send(sendPacket);
                } catch (IOException e) {
                    jTextFieldServerStatus.setText("Error on server socket");
                    return;
            }I have tested the Client against another UDP Server and this works, so I believe it is something in my Server code causing the problem.
    If anyone has a solution to this problem I would really appreicate their help.
    Regards
    Gary

    Cross post:
    http://forum.java.sun.com/thread.jspa?threadID=792481&messageID=4503960#4503960

  • Trying to get dwm, urxvt, transparency to work nicely together

    New Arch user here, great distribution.
    I've been trying to set up dwm with the Monaco font (great monospace/ttf font) and transparency. As you know, dwm launches uxterm by default as a new terminal. I wanted something with transparency, so I tried urxvt and tried to get it to use "fake" transparency (I could try real transparency, but when I launch xcompmgr I get a plethora of streaming error messages, so I guess I'll have the fake stuff). My ~.Xresources file looks like so:
    ! URxvt*font: Monaco
    URxvt*background: black
    URxvt*foreground: white
    URxvt*termName: rxvt
    URxvt*multichar_encoding: utf-8
    URxvt*transparent: true
    URxvt*tintColor: white
    URxvt*shading: 50
    URxvt*loginShell: true
    URxvt*scrollBar: false
    URxvt*scrollKey: true
    URxvt*saveLines: 3000
    I grabbed this somewhere from the net. I've commented out the font, because its another issue and I'll address it below. After saving this, and running xrdb -load ~/.Xresources, I try launching urxvt. The colors work fine (background and foreground), but I can't seem to get the transparency working at all. Instead its just a solid color.
    As for the font, I installed Monaco from the arch repos. I tried using xlsfonts to get the "name" of the font, but that showed up nothing. Can urxvt use ttf fonts?
    Thanks for your help, I'll post anything else anyone needs.
    Last edited by maxmackie (2012-05-29 23:41:54)

    JackH79 wrote:
    This will probably help (it will probably help with your font problems as well). See what it says about using shading and tintColor at the same time.
    Also, just for future reference, please use Code tags for posting file content or terminal output.
    Like this:
    [code]Some text[/code]
    Thanks for the link. I must have skimmed over too quickly last time. I got the font working, awesome how the wiki uses the font I want as an example For the transparency however, no dice. I tried using either only shading or tint, but both of them failed. Just to be 100% certain, I don't need xcompmgr running or anything for this to work right?
    Trilby wrote:I'm not sure where dwm comes into play here, but I will give you one of my own grievances: I much prefer "real" transparency because with psuedo-transparency, whenever the layout changes, there seems to be a good bit of lag between to windows changing shape and the pseudo-background being redrawn.  It's ugly as hell - so I use true transparency.  I'm still working, however, on a dwm patch to "hide other" windows in monocle mode, because as is, a true transparent terminal in monocle mode shows other windows below it ... also ugly as hell.
    The only saving grace is that I never really use terminals in monocle mode - thats just for my web browser on occasion.
    As for the problem at hand, I second Jack's point.  Remove one of those and try again.
    I figured I'd mention dwm seeing as they mention transparency issues out of box (ie, none). I thought maybe running dwm required me to have an extra daemon running or something... I do agree that true transparency would be much nicer, but I'm running into big issues with xcompmgr. Running from shell dumps an endless stream of "error 163: BadPicture request 149 minor 8 serial xxxxx" and running it straight from dmenu results in ugly transparency between different tags in dwm (I have a terminal open on tag 1 and firefox open on tag 2, I can see firefox through the terminal on tag 1). Admittedly, I haven't read into anything regarding xcompmgr so these could all be trivial issues.
    jasonwryan wrote:Welcome to the boards Max. What took you so long?
    Hey Jason. Well, a couple years back I saw your awesome screenshot of dwm and decided to switch from KDE to it. I guess recently I felt like going the whole way and running Arch. I loved getting everything up and running manually (nothing like installing an OS and being given only a simple terminal ). Thanks for the welcome.

  • Flash CS5 Unable to get AS3 Code Hinting to work

    I have a trial version of the Adobe Flash CS5 installed on my machine and I am unable to get code hinting to work when I'm working on AS3 files.
    I've tried doing the reg fix from Lee's blog but still can't get it to work. I've also tried deleting the Flash regkey and the configuration folder but still can't get it to work.
    Specs:
    Windows 7 64
    Intel Core 2 Duo E7200
    4GB RAM DDR

    Hi
    I got the exact same problem.
    I just received my CS5 web premium package and installed it.
    For some reason, the code hinting feature does not produce anything.
    It is possible to popup a general code hinting list by using CTRL+Space other
    than that I get nothing.
    Normally by using suffixes such as _txt, _mc etc, this should enable the
    code hinting, but this does not happen.
    Is it possible to break the code hinting, by installing CS5 to  a different partition other than the primary (C:\)?
    Before you ask: I'm not using external as files in my test. It is a simple FLA
    file, which contains a classic text only.
    The use of the . (dot) does not produce anything at all.
    I hope some kind soul can tell us, what's happening since a lot of  prople DO
    apparently get code hinting.
    Any help is much appreciated
    Best Regards
    Peter

  • So sick of trying to get iTunes 8.2 to work on Vista - 7 days of ****

    After downloading £50+ worth of new music/audiobooks and tv shows last week, innocently clicked on 'upgrade to 8.2'; (yes I backed up my Library and hard disk first); result, the last 7 days of **** trying to get iTunes and my iPhone to sync. I'm so sick of this bloody iPhone, iTunes and Vista, if I could go out and purchase a replacement to iPhone and iTunes I would without a second thought.
    I have tried absolutely everything posted on apple.com/itunes/support in the last 7 days - must have spent a good 4-5 hours a day over the last 7 days trying to fix this sodding fault.
    At this point, I'm considering going back to CDs, and the simplicity of just putting a CD on and playing it. It seems but a far away, simple approach to listening to music, compared to the sodding **** of trying to get iTunes to work on my Vista Laptop.
    So ****** off I'm thinking of getting rid of my iPhone (and yes I'm at the end of my contract) and going for anything that is Non-Apple.
    Anyone else had this delightful experience with iTunes 8.1 and 8.2?

    Read the iTouch forums and other iPhone forums... this is a big issue and a known bug. Apple contacted me right after I posted my issue. I downloaded it when it was released. My fix tonight was to downgrade to iTunes 8.1. This works for sure, so this is the only fix that I know truly works.

  • Trying to get HD-DVD drive to work on Satellite P100-463

    Hi everybody.
    I bought this baby on the weekend and since I am struggeling trying to get HD-DVD to work on it. I added the xbox 360 HD_DVD drive but the Power DVD Software Advisor keeps telling that the graphic card 9Geforce Go 7900) drivers need to be updated in order to play HD-DVD content. Now, there is no newer driver available as the one installed (84.0?)
    Can anybody please advise if the card supports hdcp protection anyways? Maybe my problem has another source.
    Thanks for advice.

    Wait do you use the drive designed for the Xbox in the Satellite P100?
    Hmm, Im surprised that this device is compatible with the Toshiba notebook.
    Anyway, as far as I know you need a special DVD software player to play and watch HD-DVD on the notebook.
    A simple WinDVD does not support the new HD-DVDs.
    By the way: I know one Toshiba model that was delivered with the HD_DVD drive.
    It was a Qosmio G30 DVD HD Model.
    I found in the driver download section on the Toshiba site a new update of Nvidia GeForce Go7600 graphic card driver Version 8.3.2.7
    But I dont know if its compatible with you card...

  • Trying to get SB live 24 bit working right

    *Trying to get SB li've 24 bit working rightz Well it works good except for one major problem.
    I have a TV tuner card that i have a 4 pin cdplayer plug going from the aux out of the tuner card to the aux in of the sound card. that in itself works then the sound goes to the speakers that are plugged into the soundcard.
    The problem arrises when i plug in my USB headset. when i do this all windows noises movies games, etc anything i play gets played thru the headset and nothing else. when i start up the tv tuner program it still plays out the desktop speakers even tho my usb headset is still plugged in and still playing all other noises.
    There is also a white 0 pin connector on the soundcard that i dont know what it does
    What can i do to fix this! its almost as if the aux connector on the soundcard gets fed straight to the speaker output or somehting lol?

    yea i was using a splitter and a regular headphone jack type headset but it was udder crap. i got this nice usb one given to meand works great for everythign but this. id rather not spend any mony on another working headset.
    so whats this about a capture program? would it make any difference if i used the speaker output from the tv tuner card to the line in on the soundcard? would that put it thru the headset?(now that i dont need the mic/line in socket i could do that and leave it plugged in as a permanent solution)
    even if i can get sound thru the headset and speakers id be happy as i can mute the speakers externally.

  • [SOLVED] trying to get my keyboard layout to work, & hal to mount..

    hi,
    prior to the recent xorg upgrade, i had my xorg.conf set my keyboard layout, and hal would automount my phone in pcmanfm. since the xorg update, for the sake of not having to to set up the new hotplugging, I disabled it in my xorg.conf so my keyboard would keep its layout.
    obviously though, with hot plugging switched off, hal wont mount my phone, so i am trying to get my keyboard set up and get hal automounting.
    i have set    Option       "AutoAddDevices" "True" in my xorg.conf
    i have edited /etc/hal/fdi/policy/10-keymap.fdi as follows;
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.keymap">
    <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    <match key="info.capabilities" contains="input.keys">
    <merge key="input.xkb.rules" type="string">base</merge>
    <!-- If we're using Linux, we use evdev by default (falling back to
    keyboard otherwise). -->
    <merge key="input.xkb.model" type="string">kbd</merge>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
    string="Linux">
    <merge key="input.xkb.model" type="string">logiaccess</merge>
    </match>
    <merge key="input.xkb.layout" type="string">gb</merge>
    <merge key="input.xkb.variant" type="string" />
    </match>
    </device>
    </deviceinfo>
    basically, my keyboard is still in us layout, and hal still wont mount my phone even after restarting X! what have i missed?
    Last edited by ninjaprawn (2008-12-16 20:29:09)

    ok, i managed to fix the problem. i edited the .fdi file as follows;
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.keymap">
    <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    <match key="info.capabilities" contains="input.keys">
    <merge key="input.xkb.rules" type="string">base</merge>
    <!-- If we're using Linux, we use evdev by default (falling back to
    keyboard otherwise). -->
    <merge key="input.xkb.model" type="string">evdev</merge>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
    string="Linux">
    <merge key="input.xkb.model" type="string">evdev</merge>
    </match>
    <merge key="input.xkb.layout" type="string">gb</merge>
    <merge key="input.xkb.variant" type="string" />
    </match>
    </device>
    </deviceinfo>
    for some reason, logiaccess and kbd work in xorg.conf, but no in hal? instead, evdev can do everything!

  • Trying to get DVI to HDMI to work - help?

    I bought a DVI to HDMI cable & hooked it up to my MBA & flat-screen HDTV - all I get is the Apple "galaxy" background.  What settings do I need to change to get this to work?

    It is working.  That's extended desktop mode.  Drag an app off the right side of your Mac screen and it will appear on the TV.
    Alternatively you can change to Mirror mode by pressing CMD F1 
    This will toggle between mirror mode and extended desktop mode.  You can also set the options in System Preferences > Displays > Arrangement tab.
    Regards,
    Captfred

  • I keep getting exit code 15 when I want to install a CC app

    Hi,
    I try installing Adobe CC apps, but keep getting exit code 15;
    Exit Code: 15
    Please see specific errors below for troubleshooting. For example,  ERROR:
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 0 error(s)
    I have
    1. uninstalled ALL adobe creative suite 6 apps,
    2. repaired disk permissions using Disk Repair,
    3. temporarily removed plist files, using the 'sh' command in terminal as suggested on the Adobe site
    nothing helps, still getting exit code 15...
    What now?

    Hi kglad, thanks for the fast response.
    I ran the CC cleaner tool and removed EVERYTHING (from CS 4 to CS6 and the CC desktop app). Then re-installed the CC desktop app. The strange thing is that after re-installing the CC desktop app, it shows that my previously installed applications (that I had removed) are still in place and up to date (which is not the case) - see screendump.
    Trying to install Acrobat XI results in the same error (Exit code 15). I have the feeling I first need to get rid of the old installed apps (CS6), but obviously the CC cleaner tool is not able to remove them. Any suggestions? :-(
    Thanks, Erik.

  • Can't get Final Cut Express to work on my I Mac desktop

    Hi All,
    I just purchased an I Mac - the first in my life. I simply couldn't get Final Cut express to work on my station cos it keeps telling me I need Accelerated Graphics Port. I wonder what it is. My Mac fulfills all the specs for Final Cut Express to work, but it keeps prompting me that I need the AGP when I click on the icon. If you have any clue and even bette, the remedy, can you please drop me a msg here, thanks!

    I guess you purchased the Intel based iMac, but you have Final Cut Express version 3.0 or older. This version is for older Macs based on PowerPC.
    If this is the case, as a temporary solution you may simply bypass the AGP error message by pressing ESC when this appears, and then you'll be able to work with FCE 3.0, even though emulated by Rosetta.
    The best solution is to upgrade to FCE 3.5 (99$) that is Universal and works natively on Intel.
    In any case if you look for AGP in this forum you'll find many posts on this topic.
    Piero

Maybe you are looking for

  • Report Level Calculation query.

    Hi Experts,   I have a query on one of my reports. I had notification,task no in rows and three other key figures  in columns 1)no of properties failed          which will be at notificatn header level. 2)no of properties remedied    whcih will be at

  • 10.6.7 Update Broke Video on my iMac

    Been having a lot of problems with my iMac in recent weeks and I finally traced it back to the 10.6.7 update. Several programs were slowing down, especially Safari and I could no longer play Flash video on it to save my life. I did all kinds of maint

  • S10e External Display res?

    What is the supported specification for an external display on the S10e??? Solved! Go to Solution.

  • Cross tab report: handle null elements

    hi i have a cross tab report if there are null elements in the column(vertical group) the excel sheet format is not right. also if the some horizontal column elements have 1 column and some other have max 24 columns. how to handle this. please help C

  • Hierarchies in BW 3.5

    Hi all, Can anybody tell me what is Hierarchies in infoobject with suatable example ,i am very new to this and i want create Hierarchies , for this what i should have to do ??? thanks and regards Ankit modi.