App for SharePoint online : Resource files can not with the app install package deployment

I come from China, my English is not very good, bring you the confusion, I apologize;In the development of the APP to the store, I met a problem, hope someone can help me to solve, thank you very much, specific as follows:
The development tools: vs2012
Platform: office 365 development version
Host:Auto
Problem presentation:
Press "F5" debugging running normally,Generate app install package, deploy to test environment, the app page error, tip can't find the resource file"
error:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An
unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error: 
Line 107: <div id="FoundareADUserIndex_PageHead">
Line 108: <span><img alt="" src="../images/head.png" height= "45px" width="45px" /> </span>
Line 109: <span style="color: #000000; font-size: 28px; font-weight: bold"><%=HttpContext.GetGlobalResourceObject("FoundareADUserResource", "foundare_index_head").ToString()%></span>&nbsp;
Line 110:
Line 111:
Source File: c:\DWASFiles\sites\fzym9dfaguchcdqnvjrwcr2pqasevj5hpvhmcaydkdg1.0.0.0\VirtualDirectory0\site\wwwroot\Pages\Default.aspx   
Line: 109 
Stack Trace: 

Hi,
According to your post, my understanding is that you want to use resource files in your SharePoint app project.
Here is an article for your reference:
http://msdn.microsoft.com/en-us/library/office/fp179919.aspx
Code sample: SharePoint 2013: Localize the app web, host web, and remote components of an app
http://code.msdn.microsoft.com/office/SharePoint-2013-Bookstore-328060fc/sourcecode?fileId=60464&pathId=1536365664
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • Error trying to create App for SharePoint Online

    I'm trying to create my first app for SharePoint Online using Visual Studio 2012. I believe I have all of the pre-reqs installed/configured. I have created a dev site in our SharePoint Online environment. I am a Site Collection administrator for that site.
    When I open VS2012, and try to create a new app project, it prompts me to connect to my dev site. When I enter the URL for that site, it give me the following login:
    We use ADFS, so when I enter my email address, it redirects me to my organizations federated login:
    Once I login, it takes me to the screen that reads "Error: An error has occurred on the server" with the standard SharePoint correlation id.
    I can't seem to get past this, and it won't let me start the new app project. Any thoughts on how to proceed?
    Thanks in advance,
    cflbasser

    Here is the correlation error screen for reference:
    When I click "go back to site", it takes me here:

  • Error occurred in deployment step 'Uninstall app for SharePoint': Only users who can View Pages can list Apps

    While deploying the SharePoint Hosted App I am facing the issue  'Uninstall app for SharePoint': Only users who can View Pages can list Apps"
    - Provided the permissions for App Management and Subscription Services as well as DB.
    - Added into Host web as SC Administrator
    Thanks in Advance.

    Hi,
    The user you are running with Visual Studio should have read permission on the pages of SharePoint web you are trying to deploying your app.
    I suggest you add the login user to the SharePoint web in the “Site Settings”->”People and Group”.
    Here is a similar thread for your reference:
    http://sharepoint.stackexchange.com/questions/68590/error-occurred-in-deployment-step-uninstall-app-for-sharepoint-only-users-who
    More reference:
    Step by step How to configure environment for app development:
    http://gianespo.wordpress.com/2014/01/30/step-by-step-how-to-configure-environment-for-sharepoint-app-development/
    Best regards
    Zhengyu Guo
    TechNet Community Support

  • Help my you tube app for i-touch 1st generation can not connect to youtube

    help my you tube app for i-touch 1st generation can not connect to youtube. it was working for only my previous history and now its says it cannot connect to you tube. and other times its say error. please help.

    Click on the blue arrow to the right of the network name, if IP address starts with "169." ,restart your router. It should connect properly after your router reboots in a minute or two.

  • I have my boyfriend's apple ID and password, how do I check what apps he has on his phone? ( not all the apps that he had downloaded, but the ones that are actually on his phone). And How can I remotely download apps to his phone if I have his ID

    I have my boyfriend's apple ID and password, how do I check what apps he has on his phone? ( not all the apps that he had downloaded, but the ones that are actually on his phone). And How can I remotely download apps to his phone if I have his ID and PW?
    Thank you so much

    If you want seperate accounts for managing apps and purchasing content, basically yes, you need two account and would need to repurchase. However, if you just want seperate ID for iMessgae, icloud and such, you can do that and still continue sharing the same Id for apps and itunes.

  • Can not open the app store on my mac since new update

    can not open the app store on my mac since new update

    Here are some suggestions for getting the best results from this site.
    Create a user profile that accurately reflects the type of hardware you're using and your version of OS X, or include that information in your first message.
    Give details of the problem. A remark such as "X doesn't work" conveys no useful information. If X did work, you wouldn't be here. Instead, you should post something like this: "I did A; I expected B; but I got C." Include the complete, verbatim text of any error messages you saw, and specify where you saw them: in an application window, a CrashReporter window, a log, or whatever.
    Also describe the steps you’ve taken yourself, if any, to try to resolve the issue. If the problem is of recent origin, did you make any changes to your setup just before you first noticed it? Is the problem reproducible or intermittent? That is, does it always manifest itself when you take a certain action, or only at unpredictable times?
    Before posting, ask yourself whether it’s likely that you are the the only person ever to have had this problem. If not, search the discussions for answered questions similar to yours. If you found any pertinent information, but it didn't help, give details.

  • My ipod touch 4G got problem after update to iOS 6, it can not access the Apps store ,can not access safari,map, weather and so on, could someone help me to solve the problem, thanks in advance~~~

    My ipod touch 4G got problem after update to iOS 6, it can not access the Apps store ,can not access safari,map, weather and so on, could someone help me to solve the problem, thanks in advance~~~

    Force close the App Store app and reset the iPad. No data will be lost when you reset the device.
    In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Next, reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • When updating my apps it stoped half way through and won't start so now I can not use the app recently updated it to ios7

    and won't start so now I can not use the app recently updated it to ios7 I have tried turn the device on and off still hasn't work and I would like to actually use my apps and I can not download new apps

    If the apps are waiting:
    Fix iOS Apps Stuck on “Waiting…” During Download & Install
    Otherwise:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Download the apps to your computer and sysnc
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

  • My iphone4s can not update the apps while it could download the apps. It shows that the update can not access to itune store.

    My iphone4s can not update the apps while it could download the apps. It shows that the update can not access to itune store. I don't know how to deal with it...

    Many people (including me) are having the same problem at present. There are other threads in the message board with the same complaint.
    There is nothing you can do about it except wait for Apple to fix the problem.

  • About 1 year ago, I can not access the App Store. The message that appears is: "One Moment Please. Connecting to the iTunes Store. Loading ... I've tried all the aids presented in this and other forums and nothing solves. iTunes connects normaly...

    About 1 year ago, I can not access the App Store. The message that appears is: "One Moment Please. Connecting to the iTunes Store. Loading ... " I've tried all the aids presented in this and other forums and nothing solves. iTunes connects normaly...

    Your profile indicates your Mac is running v10.7.2
    If that is correct, updating your system software may help.
    Click Software Update from the Apple menu.
    Restart your Mac after updates are installed then try the App Store.
    If you can't update that way, there's a workaround.
    Install the OS X Lion Update 10.7.5 (Client Combo)
    Then restart your Mac and try the App Store.
    messaged edited by:  cs

  • Can i help u? i had bought camfrog pro app by itunes...i see that app is upgrade now. but i can not upgrade that app...i can see this message "can not open by This id" i don't know why can not upgrade camfrog pro by my korea id? plz answer me

    can i help u? i had bought camfrog pro app by itunes...i see that app is upgrade now. but i can not upgrade that app...i can see this message "can not open by This id" i don't know why can not upgrade camfrog pro by my korea id? plz answer me

    To Update the App you have to Use the Same Apple ID it was Purchased with...

  • I get Photoshop CS6 for Windows 7. I can not write the product key because I only can write numbers, but no letters.

    I get Photoshop CS6 for Windows 7. I can not write the product key into the fields because I only can write numbers, but no letters.

    Sounds like you've got an alphanumeric redemption code which you need to redeem for a numeric serial number.
    Try Redemption Code Help

  • I'm swapping my iphone 4S for a iphone 5, I can enjoy all the apps that have old phone?

    I'm swapping my iphone 4S for a iphone 5, I can enjoy all the apps that have old phone?

    Just be sure to do a complete sync using iTunes and storing the backup locally on the computer. A local copy of every app will be stored, together with the rest of the stuff from the phone. Later, when you get the new phone, plug it in immediately with iTunes running: it will recognize that the phone is new and offer to restore from the stored backup. Those apps that don't get installed automatically as part of the restore, you can manually install from the local copy.
    Works flawlessly on a Mac. I guess same thing should occur on a Windoze PC, but I don't sleep with the Enemy.
    Edit: be sure the computer has enough juice to finish the restore. On another thread, a participant tried to do the above, computer died midway, screwed the process up.

  • HT4461 I can not download the APP after payment

    I can not download the APP after payment

    Hi there qsx,
    You may want to try downloading the app again via Past Purchases.
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/ht2519
    -Griff W.

  • Can not open the App Store on my iMac

    I can not open the App Store and iTune on my iMac. Even the internet is connect normally.

    Which Mac OS X do you have installed?

Maybe you are looking for

  • MR11 for GRIR clearing

    Dear Gurus, I am trying to clear GRIR by MR11 with the reference of PO but I am not able to clear it there system throwing the error that is No data selected. Check selection parameters!! Message no. CKMLGRIR009 The GRIR list data is available in MB5

  • Problem in activating message mapping

    hi all, When I try to activate the message mapping, it is saying that my namespace does not belong to my s/w component, So I checked my namespace, it was not active. I tried activating it but it says user pi7gen is currently editing the namespace. Bu

  • Boot Image properties...tabs missing

    I updated our SCCM system to R2 yesterday...today when I went in to edit a boot image I no longer see the "drivers" tab...it seems like there are other tabs missing as well, just can't remember.  Don't know how to add drivers to a boot image now. Ser

  • Itunes "has stopped working" Help pls

    About a month ago Itunes for some reason, as soon as i open it, just freezes and i get a itunes has stopped working error. I've tried about everything that i have read in forums and in the apple support and nothing has helped me. I'm using windows 7.

  • Dvd will not mount on my MacBook Pro

    dvd will not mount on my MacBook Pro. The disc will spin up briefly, then spin down and then eject.