Can't get SPAppWebUrl - SP 2013

I'm developing an auto-hosted asp.net app for Sharepoint 2013. I have to use the SPAppWebUrl token value for my requests. So I tried this :
AppManifest.xml : <StartPage>~remoteAppUrl/Pages/Index.aspx?{StandardTokens}</StartPage>
javascript : var
appweburl = decodeURIComponent(getQueryStringParameter("SPAppWebUrl"));
C# code-behind : Application["SPAppWebUrl"]
= Request.QueryString["SPAppWebUrl"];
Nothing worked. Sharepoint sends values for SPHostUrl, SPLanguage, SPClientTag and SPProductNumber. I read topics about
tokens and noted this :
If there is no app web, the portion &SPAppWebUrl={AppWebUrl} is not present.
But I dont understand how I could not have an app web... If anybody can help please. Thanks.

Hi,
The provider-hosted apps don't have App Webs, the fact of the matter is you
need to have your provider-hosted app create an App Web so that you can hook it up with the
SP.RequestExecutor object.
For more information:
http://blogs.technet.com/b/speschka/archive/2013/04/11/using-rest-services-with-a-provider-hosted-app-in-sharepoint-2013.aspx
Best Regards,
Dennis Guo

Similar Messages

  • Can anyone get trial Project 2013 to run on Parallel 7

    I get a message from the laptop to say that the MS Project needs to run in a 32bit format.
    I change the setting to 32bit and download the correct trial file and still the 32bit message pops up.

    How much storage do you have left on that 64GB SSD? 4GB ram is fairly comfortable (if you're doing absolutely nothing else) while using Flash. The paired down tablet specs are most certainly crimping the performance.
    You have to know apps like Photoshop may let you brush but the application is primarily a bitmap engine which operates at memory speed and certainly has no overhead from being a multimedia, scriptable IDE. As you pile up dozens of layers, especially with vectors and filters, Photoshop will also start to lag just the same.
    You have to keep in mind, you really have a tablet. The i5 1.6GHz is not a normal i5, it's a mobile i5 product. I have an i5 quad also (2500k), but the desktop model (Sandy/Ivy) runs at 3.7GHz in turbo, and that's an old model (Sandy). Also the desktop i5 has Intel HD4000 graphics which is extremely slow (outside simple video playback) and your i5 is even slower, only Intel HD3000 graphics. Clearly there's a big difference and you should expect tablet performance. 
    Just about the only thing you can do to increase performance, especially in a vector heavy app, is reduce any other things going on. Slim out your OS as best you can, removing any unnecessary apps or services running. Update all your drivers and if you're not using WHQL drivers for the HD3000 on your display driver you should revert back to Win7 for fully supported drivers (which is the version of Windows I think the Slate originally came with). Unless something is corrupt or no WHQL driver support exists for HD3000, I don't see what else it can be besides perhaps no WHQL support for your input driver either. 
    I'm on a 5 year old Dell touchscreen laptop at a higher resolution (1600x900) running an old i7 @ 1.6GHz quad (similar to yours) with 4GB DDR2 (slower) and Flash runs perfectly fine. Although I'm not running Intel HD graphics. I'm running it on a discreet ATI Mobility Radeon HD.

  • Ldapcompare command fails with ExternalEntry Exception: Can't get ext DN

    Hi All,
    I have integrated 11.1.1.6 OID with Active Directory 2008 and OAM 11.1.2
    I have configured synchronization profile using EM interface.
    Both domain rules and mapping rules look all good and status ok.
    Bootstrap of users from AD to OID worked fine.
    For password authentication, I have configured the plugin using ODSM interface.
    While running the ldapcompare command to invoke the plugin, it is failing with :
    [oracle1@training3 Middleware1]$ ldapcompare -h training3.subhajit.com -p 3060 -D "cn=orcladmin" -w welcome1 -b "[email protected],cn=users,dc=subhajit,dc=com" -a userPassword -v Welcome12345
    The value Welcome12345 is not contained in the attribute userPassword in DN [email protected],cn=users,dc=subhajit,dc=com.
    [oracle1@training3 Middleware1]$
    On enabling debug, the $ORACLE_INSTANCE/diagnostics/logs/OID/oid1/oidldap***.log shows the following error:
    BEGIN
    ConnID:816 mesgID:2 OpID:1 OpName:compare ConnIP:::ffff:192.168.137.130 ConnDN:cn=orcladmin
    SUCCESS * sgslpvm_getJvmEnv * Attach to JVM succeeded
    2013-03-25T01:13:32 * Server Java Plug-in * Entering oidexplg when_compare_replace
    2013-03-25T01:13:32 * Server Java Plug-in * Entering ExternalEntry with compare request
    2013-03-25T01:13:32 * Server Java Plug-in * ban: userpassword
    2013-03-25T01:13:32 * Server Java Plug-in * User DN: cn=sraj,cn=users,dc=subhajit,dc=com
    2013-03-25T01:13:32 * Server Java Plug-in * ExternalEntry Exception: java.lang.NullPointerException
    2013-03-25T01:13:32 * Server Java Plug-in * ExternalEntry Exception: Can't get ext DN
    2013-03-25T01:13:32 * Server Java Plug-in * when_compare_replace Exception: oracle.ldap.ospf.PluginException: Can't get ext DN
    2013-03-25T01:13:32 * SUCCESS * gslbpiWhenReplCompPlg * Successfully Executed Java Plug-in oidexplg.jar
    2013-03-25T01:13:32 * INFO * gslbpiWhenReplCompPlg * Operation Result Code returned from the when_compare_replace Java plug-in : 5
    END
    user DN in OID: [email protected],cn=users,dc=subhajit,dc=com
    I can see the orcladobject objectclass exist for the user sraj. Also the orclsouceobjectdn matches with that in AD. checked this using dsquery.
    Telnet to AD port 389 works from OID server
    I have checked on note 395186.1 and the error matches but all solution did not work.
    Any help will be appreciated to get the plugin working.
    Thanks
    Subhajit

    This issue is resolved now. I was using the wrong DN for the user while running the ldapcompare command.
    In the ldapcompare command, I changed -b "cn=Sudeep Raj,cn=users,dc=subhajit,dc=com" and then it worked fine.
    $ ldapcompare -h training3.subhajit.com -p 3060 -D "cn=orcladmin" -w **** -b "cn=Sudeep Raj,cn=users,dc=subhajit,dc=com" -a userPassword -v ******
    The value ***** is contained in the attribute userPassword in DN cn=Sudeep Raj,cn=users,dc=subhajit,dc=com.
    $
    Log file when plugin got invoked:
    BEGIN
    ConnID:7288 mesgID:2 OpID:1 OpName:compare ConnIP:::ffff:192.168.137.130 ConnDN:cn=orcladmin
    SUCCESS * sgslpvm_getJvmEnv * Attach to JVM succeeded
    2013-03-26T09:32:55 * Server Java Plug-in * Entering oidexplg when_compare_replace
    2013-03-26T09:32:55 * Server Java Plug-in * Entering ExternalEntry with compare request
    2013-03-26T09:32:55 * Server Java Plug-in * ban: userpassword
    2013-03-26T09:32:55 * Server Java Plug-in * User DN: cn=sudeep raj,cn=users,dc=subhajit,dc=com
    2013-03-26T09:32:55 * Server Java Plug-in * eDN: CN=Sudeep Raj,CN=Users,DC=subhajitpc,DC=com
    2013-03-26T09:32:55 * Server Java Plug-in * Entering ExternalConnectivity
    2013-03-26T09:32:55 * SUCCESS * gslbpiWhenReplCompPlg * Successfully Executed Java Plug-in oidexplg.jar
    2013-03-26T09:32:55 * INFO * gslbpiWhenReplCompPlg * Operation Result Code returned from the when_compare_replace Java plug-in : 6
    END
    Also ldapbind worked :
    [oracle1@training3 Middleware1]$ ldapbind -h training3.subhajit.com -p 3060 -D "cn=Sudeep Raj,cn=users,dc=subhajit,dc=com" -w "**********"
    bind successful
    Log file when plugin got invoked:
    BEGIN
    ConnID:7323 mesgID:1 OpID:0 OpName:bind ConnIP:::ffff:192.168.137.130 ConnDN:Anonymous
    SUCCESS * sgslpvm_getJvmEnv * Attach to JVM succeeded
    2013-03-26T09:37:11 * SUCCESS * gslsbbExecWhenReplacePlugin * Successfully Executed Java Plug-in oidexplg.jar
    2013-03-26T09:37:11 * INFO * gslsbbExecWhenReplacePlugin * Operation Result Code returned from the when_replace_bind Java plug-in : 0
    END

  • I just bought the new late 2013 iMac.  Can I get the new iWork for free?

    I just bought a new late 2013 iMac.  Can I get the new iWork for free?  I updated it to Mavericks also.  The Mac App store is showing $19.99 for each iWork component (Pages, Numbers, Keynote).  I also bought the previous iWork version, if that matters.  Free updates for iPhoto and  iMovie seemed to show up with no problems.  Maybe these are just glitches that will clear up in a couple of days?

    Hi.  If you want it to get updated, this should take care of it.
    1. Uninstall iWork from your Mac.
    2. Do a fresh install of iWork from DVD.
    3. Install iWork update from Apple Downloads (direct link here:  http://support.apple.com/kb/DL1563)
    4. Sign into the Mac App Store, and check for updates.  It should now show up as a free update.  You may have to give it a few minutes (i.e. 10-15 minutes).
    I've been a Windows user for years, so I know all of the tricks by now.  I had hoped I would not need this knowledge for a Mac, but oh well...
    Good luck.

  • HT1379 Help! can´t get 2560 resolution in dell 2711 on macbook pro retina late 2013, only 1920...

    can´t get 2560 resolution in dell 2711 on macbook pro retina late 2013, only 1920...i have the apple thunderbolt to dvi adapter and the dual dvi cable...
    thanks for any help

    http://www.everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-i7-2.3- 15-dual-graphics-late-2013-retina-display-specs.html
    says:
    Dual/Mirroring*
    2nd Max. Resolution:
    2560x1600 (x2*)
    Details:
    *This model supports a simultaneous maximum resolution up to 2560x1600 on two external displays via Thunderbolt. Alternately, it can support a single display up to 2560x1600 via Thunderbolt and a single 1080p display at up to 60 Hz, 3840x2160 at 30 Hz, or 4096x2160 at 24 Hz via HDMI. Also see: How many external displays can the Retina Display MacBook Pro models support? What is the maximum supported resolution of each? Are adapters required?

  • Hello, I have a Macbook pro retina-2013.  About Mavericks I could set my 4K monitor via HDMI on 2560x1440.  This I can not get through at Yosemite. Can someone help me there?

    Hello, I have a macbook pro retina-2013.
    About Mavericks I could set my 4K monitor via HDMI on 2560x1440.
    This I can not get through at Yosemite. Can someone help me there?

    They really pushed that it would all work great! Has anyone had the same struggle? Are there any step-by-step instructions to get linked up?
    Call Verizon's wireless tech support & explain your problem to them.  They will provide "step-by-step" instructions over the phone. 
    Take notes too!
    TIP:  If you do call & don't want to go through all those darn promps, when you initially call, just don't say anything.  The automatic voice will then say,  "will connect you to a service rep."

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • How can i get the Adobe plug in to work with Visio 2013?

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues visio 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    Should have purchased XI. According to Compatible web browsers and PDFMaker applications you will need Acrobat 11.0.1 -and- to be running the 32-bit Visio.

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • How can i get a full url of video uploaded in asset library on sharepoint 2013

    Hi All,
    I have videos in SharePoint 2013 Asset Library, now i want display that videos in my SharePoint webpage as a webpart.
    Now, how can i get a full url of video uploaded in asset library?
    Thanks in Advance!

    The Asset library does a pretty good job of hiding the full URL. An "asset" item is actually a folder. The folder contains the video and support files like preview thumbnails.
    So, if you upload a video named butterfly.wmv to http://yourSite/sites/demo/Assets the path to the video would be http://yourSite/sites/demo/Assets/butterfly/butterfly.wmv. If the user changed the name while uploading the file to "Pretty bugs"
    the URL would then be http://yourSite/sites/demo/Assets/Pretty%20Bugs/butterfly.wmv.
    Probably the best way to explore these hidden folders and discover the "real" URL is to use SharePoint Designer 2013.
    Launch SharePoint Designer and open your site.
    In the Navigation area click "All Files". (If you don't see All Files then your administrators may have partially locked down SPD.)
    In the list of files and folders click the Assets library.
    Find and click your video (you will see the "Name" as entered in the file's properties, not the file name.)
    Find the video file, right-click it and click Properties.
    Copy the Location.
    If you just want to display the video in the page:
    Edit the page
    Click INSERT
    Click Web Part
    From the Media and Content category select Media Web Part and click Add.
    Edit the web part (click the web part's dropdown)
    From the MEDIA ribbon click Change Media
    Click From SharePoint and navigate to your assets library and pick a video
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Exchange 2013 remote session running as PowerShell version 2.0. How can I get it to run version 3.0?

    I'm trying to use the newer Powershell 3.0 features, particularly the ability to disconnect/reconnect a remote session, for our Exchange 2013 administration tools.  I have 3.0 on my workstation, and am connecting to a remote session on an Exchange 2013
    server (on Server 2012).   Even LOCALLY on the Exchange 2013 server Exchange Management Shell I get the same behavior:
    Exchange Command Shell on an Exchange 2013 server (running Windows Server 2012)
    [PS] >$PSVersionTable
    Name                           Value
    PSVersion                      3.0
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    CLRVersion                     4.0.30319.19117
    BuildVersion                   6.2.9200.16628
    PSCompatibleVersions           {1.0, 2.0, 3.0}
    PSRemotingProtocolVersion      2.2
    [PS] C:\Windows\system32>Get-PSSession
     Id Name            ComputerName    State         ConfigurationName
      1 Session1        mercmbx35r.n... Opened        Microsoft.Exchange
    [PS] C:\Windows\system32>$session = Get-PSSession
    [PS] C:\Windows\system32>$session.ApplicationPrivateData.PSVersionTable
    Name                           Value
    PSVersion                      2.0
    PSCompatibleVersions           {1.0, 2.0, 3.0}
    PSRemotingProtocolVersion      2.2
    BuildVersion                   6.2.9200.16628
    CLRVersion                     4.0.30319.19117
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    How/where can I force the Exchange session to run version 3.0?
    Thanks in advance,
    Rick Tatem

    I still can't get it to work that way. I changed my cfexecute to:
    <cfexecute name="C:\windows\system32\cmd.exe" arguments="/c C:\Inetpub\wwwroot\captcha\#cmd_filename#" outputFile="C:\testoutput.txt" timeout = "90"></cfexecute>
    And I changed my bat file to have:
    <cfsavecontent variable="cmd_content">
    cd\
    TSC.exe /s "#newString#" C:\Inetpub\wwwroot\captcha\#FileName# Mary (for Telephone)
    </cfsavecontent>
    The output file is showing:
    C:\ColdFusion9\runtime\bin>cd\
    C:\>TSC.exe /s "3.....P.....4.....Z.....8.....U.....7.....X....." C:\Inetpub\wwwroot\captcha\3P4Z8U7X-105724.wav Mary (for Telephone)
    I still can't get it to run the exe. I have watched the process list while running this and the exe doesn't show up. I tried cfexecute on the exe directly before trying the bat method, with hard coded arguments, and it still didn't work. I am so lost right now this makes no sense to me.

  • I have Iphone 5 which i purchased in US in March 2013. The screen glass got broken accidently. Can I get this repaired free of cost?

    I have Iphone 5 purchased in US in March 2013. the screen got accidently Broken.Can I get it replaced in India ?

    Nobody here on a public user forum can tell you that.  You need to take the phone to your nearest store and ask them directly how much it will cost.

  • Can one get Lync 2013 off the TaskBar?

    With Lync2010 there was an option to remove the application from the main taskbar area and display it in the right hand-side taskbar icon area only. With this set it would not appear anymore among the open applications.
    With Lync2013 this option seems gone and I now always have BOTH, i.e. an active application in the main taskbar area AND an icon in the right hand side area. How can I get rid of one of them, preferably the one in the main taskbar area?
    M.
    BTW: what are the correct, precise names for these two taskbar areas?

    Please provide the option for Lync 2010 to remove the application.
    As I know, you can minimize Lync to the notification area when the Contact List is closed when you check the option provided by previous post.
    When you open the application, the icon for Lync in taskbar appears again.
    The option works the same for Lync 2013.
    For the details about the option “Minimize to the notification area instead of the task bar”, see
    http://blogs.technet.com/b/nexthop/archive/2011/06/15/regminimizetonotificationarea.aspx
    Lisa Zheng
    TechNet Community Support

  • Can't get any sound on YouTube simce September 29, 2013

    I am very said and disgusted, because i cannot get any sounds what so ever on youtube.  I have trIed every thing i am capable of doing....I know googles has been blocking my sent video's from time to time because I like my toutube name and do not want to use my real name...For over three years this has been my name.  This might be the problem, or not...I just want to hear my video's and add to ma place list.  Someone please HELP ME!

    I understand you can't get any sound on YouTube since September 29, 2013.\
    If you do a System Restore it should fix what changes took place on or before that date.
    If I were to do the Restore I would take it to the 27th of September, that way you will be sure to correct the issue. Follow the link for how to options.
    Windows 8
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03327545&cc=us&dlc=en&lc=en&jumpid=reg_r1002_us...
    Windows 7
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01835735&cc=us&dlc=en&lc=en&jumpid=reg_r1002_us...
    I hope this helps.
    Thanks
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Can't Get Item using SharePoint Designer 2013 REST Call Across Sites

    Hi all,
    I am using the following instructions, but can't get data outputted. I am keeping it basic for testing purposes and logging to the workflow history, but I am unable to pull the title. Any clues?
    http://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/
    Thanks,
    Kelly
    Personal Blog: http://thebitsthatbyte.com

    Solved using this:
    http://msdn.microsoft.com/en-us/library/office/jj822159.aspx
    The key was to enable the feature within site settings and to trust the Workflow in Site A via configuring the trust in Site B (Site B is basically stating "I trust the workflow in Site A"). It also required an App Step to be inserted.
    Personal Blog: http://thebitsthatbyte.com

Maybe you are looking for

  • Yoga 3 pro and chrome?

    Just curious, I am only using IE 11 right now although I used to use Chrome mostly. Chrome seems to perform very poor on this machine? Is it just the CPU that is too weak, or is it something that can be fixed? For example if I watch 4k clips in IE 11

  • Need help with a Silent Installer for Photoshop Elements 10

    I can't seem to get the silent installer working. I've used the Elements 9 instructions for 10 but I still get pop-ups requesting info: http://helpx.adobe.com/photoshop-elements/kb/silent-install-volume-license-photoshop.html I cannot find any info a

  • Problems to sincronize with iTunes

    Recently i've bought a macbook pro and i'm trying to sincronize (from my iPhone) my contacts and calendar using iTunes. My problem is: the "information button" has disappeared. What can i do? Thanks and regards

  • Your system run out of application memory

    your system run out of application memory i get this message pop up and everything freezes

  • Query failing in Developer Forms 2k

    This Query is working fine in Oracle 7i,( Start with and connect by) but giving out a compilation error in Developer form 2k. select count(*) ID INTO lv_no_ldz from points where id in (SELECT DISTINCT ID FROM POINTS WHERE GROUPED_BY_PT_ID = 'LDZ' STA