Is it possible to show a custom message in a DVWP when the ListGUID or ListName is not found?

I've got a DVWP that uses a list as it's DataSource. I'm wondering if there is a way to make it so if the list the DVWP references is missing then a custom message is shown instead of the default "`Unable to display this Web Part. To troubleshoot
the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.`"?

Hi,
We can use jQuery to change the default message. Here is a example for your reference:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
$(function () {
$('#defaultError').find('span').text("custom error message");
</script>
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • I cant open pdf files...i will click on the file to be downloaded, then when i try to open it i get an error message "c:\Users\Owner\Downloads\"the documents name".pdf Application not found

    for example...i will go to a restaurant website that has a menu. to view the menu i first have to click on the downloadable menu pdf file...after i click on it, a window appears showing i have downloaded the file...but, when i go to open the pdf, i get that error message...completely unable to open pdf files that ive downloaded

    See:
    http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0

  • Safari won't start after showing an error message: Safari can't use the extension "Omnibar" because the extension is no longer valid.

    Since yesterday evening (19-01-2015) safari won't start. After clicking the safari application it shows an error message: Safari can't use the extension "Omnibar" because the extension is no longer valid.
    This message almost directly disappears whereupon the Problem Report opens. I've tried to find a solution on the web but without succes.
    I'm running OS X Yosemite version 10.10.1 and Safari version 8.0.2 on a:
    MacBook Pro (Retina 13-inch, Mid 2014)
    Processor 3 GHz Intel Core i7
    Memory 16 GB 1600 MHz DDR3
    Graphics Intel Iris 1536 MB
    Since I updated to Yosemite I've been having multiple problems. I already read a clean install will solve most of them. But till then I would love safari to work again.
    Thanks!

    There is no need to download anything to solve this problem.
    If Safari crashes on launch and you don't have another web browser, you should be able to launch Safari by starting up in safe mode.
    You may have installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before making any changes.
    Besides the files listed in the linked support article, you may also need to remove this file in the same way:
    ~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
    If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those.
    After removing the malware, remember to reset your home page in all the web browsers affected, if it was changed.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
    Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • I cannot erase my emails definitevely show me a message "file cannot send to the papelera"

    I cannot erase my emails definitevely show me a message "file cannot send to the papelera"

    How about in your Applications folder?

  • Cannot purchase Mountain Lion The message i get is: ..the product distribution file could not be verified. It may be damaged or was not signed

    Cannot purchase Mountain Lion.  The message i get is: ..the product distribution file could not be verified. It may be damaged or was not signed.
    Anyone has had this issue?

    Re-download or contact customer service. Contacting Apple for support and service

  • When I try to open Firefox I receive this message, "Application has failed to start because ssl3.dll was not found." HELP!

    I've been using Firefox for about 3 years. Today, I ran a scan of my computer Webroot Anti Virus and deleted all "risky stuff" they checked. Don't know if this is a coincidence but right after the scan I could not open Firefox. I receive the message, "Application has failed to start because ssl3.dll was not found. Reloading application may remedy this." I reloaded Firefox, the current version, clicked on open and received the same message. I've reloaded Firefox 3 more times with the same results. Now I need HELP.

    See if you can make Webroot restore that file in the Firefox program folder (C:\Program Files\Mozilla Firefox\).<br />
    If not then you need to reinstall Firefox and make sure that Webroot doesn't do that another time.
    You can find the latest Firefox release here:
    *Firefox 8.0.x: http://www.mozilla.com/en-US/firefox/all.html

  • I had itunes installed on my pc. I received notice to update. I started update but gpt the following message - this application failed to start because MSVCR80.dll was not found. Reinstalling may fix the problem. I uninstalled and have tried to reinstall

    I already had itunes installed on my pc. I received an update and tried to install it. I got a message
    This application failed to start because MSVCR80.dll was not found. Reinstalling may fix the problem.
    I uninstalled itunes and tried to reinstall. itunes says it has installed but when I try to open itunes I get the same message.
    How do I repair/sort out this error/fault
    Thanks
    David

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?

    With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
    I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
    My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
    How to correct that
    Thanks in advance for any hint you can provide.

    I've had the same problem. This solved it...
    Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
    Hope it works for you to...

  • When i try to open the iPhoto app, i getting a message "you can't open the application because it is not supported on this type of mac"

    when i try to open the iPhoto app, i getting a message "you can't open the application because it is not supported on this type of mac"

    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2. Download it from the App Store to reinstall It's on your Purchases List* there.
    For older versions that have been installed from Disk you'll need these additional steps:
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 or later they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    *Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.

  • Problems installing plug-ins (and even Adobe updates) to Photoshop CS5 Extended on a new Win7 64-bit laptop.Instead, a message box pops up on the CS5 screen saying "could not complete your request because it is not the right kind of document."

    Problems installing plug-ins to Photoshop CS5 Extended on a new Win7 64-bit laptop.  (Same CS5 and plug-ins installed OK several years ago on a Vista laptop.  Now I'm just trying to migrate everything over to the new laptop.) Even some Adobe updates won't install.  Instead, a message box pops up on the CS5 screen saying "could not complete your request because it is not the right kind of document."   Any solution?

    CS5's automatic update mechanism is broken, perhaps because it is no longer updated and can't cope with the newer ways of updating.
    So this means you will have make a list of the updates that failed, go here: Product updates
    and manually download/install from there.
    Gene

  • Error message: JPS-01538: The default policy provider was not found..winXP

    Hi All,
    i am getting "Error message: JPS-01538: The default policy provider was not found" error when i am tryin to start Oracle Admin Server(11.1.1.3.0) after installing on Windows XP.
    Please see the below log and help me to solve this issue.
    ==============================================================================
    Thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01538: The default policy provider was not found.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1394)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.JpsRuntimeException: JPS-01538: The default policy provider was not found.
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:273)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:265)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:136)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1312)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.JpsException: JPS-01538: The default policy provider was not found.
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:705)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:271)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:265)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:136)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1312)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.JpsException: JPS-01514: The default context is missing in jps-config.xml.
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:665)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:650)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:650)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:271)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:265)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:136)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1312)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:177)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:218)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:140)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:127)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:115)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:53)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:133)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:128)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:656)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:650)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:650)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:271)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:265)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:136)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1312)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Jun 11, 2010 1:09:07 PM IST> <Notice> <WebLogicServer> <PC-AMD40> <AdminServer> <main> <<WLS Kernel>> <> <> <1276241947534> <BEA-000365> <Server state changed to FAILED>
    ####<Jun 11, 2010 1:09:07 PM IST> <Error> <WebLogicServer> <PC-AMD40> <AdminServer> <main> <<WLS Kernel>> <> <> <1276241947534> <BEA-000383> <A critical service failed. The server will shut itself down>
    ####<Jun 11, 2010 1:09:07 PM IST> <Notice> <WebLogicServer> <PC-AMD40> <AdminServer> <main> <<WLS Kernel>> <> <> <1276241947534> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    ####<Jun 11, 2010 1:09:07 PM IST> <Info> <WebLogicServer> <PC-AMD40> <AdminServer> <main> <<WLS Kernel>> <> <> <1276241947550> <BEA-000236> <Stopping execute threads.>
    =============================================================================
    your help in this regard is much apprciated.
    Thanks
    Kiran

    Hi,
    i found solution actually i installed forms 11g along with soa suite 11g which was conflicting because forms 11g was 11.1.2 and soa suite domain was 11.1.3
    so i guess its a same issue conflict between PS1 and PS2

  • This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might have changed or removed the

    This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might
    have changed or removed the webpage.
    For more information about HTTP errors, see Help.

    check this
    http://social.msdn.microsoft.com/Forums/en-US/5576aba1-d196-42ce-bd62-ad5ddfa3a8fd/this-error-http-404-not-found-means-that-internet-explorer-was-able-to-connect-to-the-website-but?forum=sharepointgeneralprevious

  • IOS diagnostics DOESNT work on my ipad 2. i get message with 99206 and when i enter it says ticket not valid

    iOS diagnostics DOESNT work on my ipad 2. i get message with 99206 and when i enter it says ticket not valid why send to me if it isnt valid ?
    trying to find answer for gamecenter not working.

    APN is a network identifier for mobile device
    http://en.wikipedia.org/wiki/Access_Point_Name

  • Error message: file was skipped because the old remote file could not be deleted.. Later it will up

    Error message: file was skipped because the old remote file could not be deleted.. Later it will upload after i try a few more times. Not at my size quota for website (I have lots of room) , have toggled Passive FTP ...keeps happening. Is there a way to fix this? Thanks! I am using DW CS5 on Windows 7 platform. This does not happen when I upload otherwise on my computer - only when using DW.
    It also only happens with the html files - it does not happen with my jpeg files

    Do you have notes in your site?  DW's local and remote site synching might be off.   Try clearing your cache.
    http://forums.adobe.com/thread/494811
    Nancy O.

  • How to change the oracle's home page to show our custom message.

    Hi,
    Can we anyway change the oracle's home page to show our own messages,if yes then how can we do it.

    Ram,
    Can you reply on this thread:
    How to introduce html code in the <head> tag of an OAF page
    --Mukul                                                                                                                                                                                                                                                                                                   

Maybe you are looking for