Application Page Not dispaying as a popup

Hi,
My requirement is
To call the application page post clicking on hyperlink on the webpart.
For this i have written code as below.
Problem here is I am able to browse application page through http://servername:portno/sites/sitename
But getting message as 'The webpage cannot be found' on the popup,after clicking hyperlink on the webpart.
//VisualWebPart1.ascx
<script type="text/javascript">
    var options = {    
        url: "/_layouts/TestPopup/testpage.aspx",
        title: "test page",
        allowMaximize: true,
        showClose: true,
        width: 625,
        height: 525,
        dialogReturnValueCallback: silentCallback
    function open() { SP.UI.ModalDialog.showModalDialog(options); }
    function silentCallback(dialogResult, returnValue) {
    function refreshCallback(dialogResult, returnValue) {
        SP.UI.Notify.addNotification('Operation Successful!');
        SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK);
</script>
<a href="javascript:open()">Click Here</a>
//testpage.aspx
<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
Application Page
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
My Application Page
</asp:Content>
Regards,
Sudheer
Thanks & Regards, Sudheer

Hi Sudheer ,
EmailDataMapping.Add("$$siteprocess$$", string.Format("<a target=\"_blank\" href=\"{0}/_layouts/GfK_Level3Communication/SiteSurvey.aspx?List={1}&ID={2}&IsDlg=0&FromMail=Yes\">{3}</a>", workflowProperties.WebUrl, workflowProperties.TaskListId,
siteSurveyTask_ListItemId, "Click Here."));
you can pass the parameters to your  webpart.
Regards,
Sunita.
Thanks&Regards, Sunitha.

Similar Messages

  • GW 8.0.2 WEBAccess Application Page not accessable

    I've updated my GW 8.0.2 system with the latest patch. All seems good
    except not being able to access the Application WEB page:
    https://XXX.XXX.XX.XX/gw/webacc?action=Admin.Open
    When I open this URL, I get the following error:
    HTTP Status 404 -
    type Status report
    message
    description The requested resource () is not available.
    Apache Tomcat/4.1.37-LE-jdk1.4
    Any ideas????

    Originally Posted by Michael Bell
    On 1/27/2011 10:11 AM, Chris wrote:
    >
    > I've updated my GW 8.0.2 system with the latest patch. All seems good
    > except not being able to access the Application WEB page:
    >
    > https://XXX.XXX.XX.XX/gw/webacc?action=Admin.Open
    >
    >
    > When I open this URL, I get the following error:
    >
    > ************************************************** *******************
    >
    > HTTP Status 404 -
    >
    > -----------------------------------------------------------------------
    >
    > type Status report
    >
    > message
    >
    > description The requested resource () is not available.
    >
    > -----------------------------------------------------------------------
    >
    > Apache Tomcat/4.1.37-LE-jdk1.4
    >
    Tomcat cannot find that mapped to a context.
    This is non trivial, os and tomcat dependent and requires, oh about a
    day or two of you reading about tomcat and how it is configured.
    Chris,
    I just experienced the same thing. The new install leaves you with gw.war file until you reboot the server. After a server reboot the gw directory is created. Should have thought of this first.

  • Page not found error when  navigating in Iview  application

    Hi,
    I have developed an application,and I am able to view a sucessfull preview of the Page as well.There are htmlb links on the page.When clicked,they navigate to the next jsp page.This iview was assigned to a user,and the portal was logged in though a local ip address.The application works fine.
    In trying to access the portal though an external Url,the initial page comes up perfectly fine.However the next page,does not come up,when a link on the first page is clicked.I get initially a popup with the message:
    "This page contains both Secure and Non secure Items
    .Do you want to display the non secure Items."
    The options on the Popup were yes,no,More Info.
    When I clicked yes then I get the display page not found error.The error is:
    " <b>The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.</b> "
    The Information I get when I click on More Info is-
    <b>Downloading non-secure content from a secure Web site
    The Web site you are viewing is a secure site. It uses a security protocol such as SSL (Secure Sockets Layer) or PCT (Private Communications Technology) to secure the information you send and receive.
    When sites use a security protocol, information that you provide, such as your name or credit-card number, is encrypted so that other people can’t read it. However, this Web page also contains items that do not use this secure protocol.
    Given what you know about this Web site and your computer, you must decide whether to continue working with this site.
    If you do not feel confident about working with this site, click No.</b> "
    This problem occurs only to a particular user.If I add the role to another user,and view the iview I am able to navigate without problem(there is no popup as well).Even for this User,it is happening only when,I access through extrenal url,not when I access the portal through the local IP Address.
    Regards,
    Harish

    Hi,
    This is a further Update.The problem described above has  something to do with the roles.When some roles(cusom) are assigned the navigation occurs.Can you please let me know if there is any role related configuration with SSL.
    Regards,
    Harish

  • The Help Link from the Application Pages Does not Work for Peoplesoft Campus Solutions 9.0

    Hi everyone.
    I have a problem, I have been trying to set up the Help Link from the Application Pages for Peoplesoft Campus Solutions 9.0 according to the instructions given in the Document: http://docs.oracle.com/cd/E17566_01/epm91pbr0/eng/psbooks/EnablingtheHelpLinkfromApplicationPages.pdf ,  (referenced in the Doc ID 1289101.1, E-PB: How to Set Up the Context Sensitive Help with Hosted PeopleBooks using Universal Linking).
    I follow the instructions of that document carefully:
    I go to: PeopleTools -> Web Profile -> Web Profile Configuration
        2. Then I choose the Web Profile: "Development".
        3. Then Change the value for the Help URL field by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5 , the ctx parameter selected is the one that correspond to  the Campus Solutions (hrcs90r5) according to the Product Line Code Table (ULinkID) especified in the mentioned document.
        4. Stop the Web Domain and Clear cache.
        5. Start the Web Domain again.
    After setting up the Web Profile Configuration I test the help links, thas is why I click in the Help link in any Peoplesoft CS 9.0 Application Page (modify a person), but the next error message appears: "We're sorry, the topic you requested was not found.".
    I tried many combinations with the ctx parameters URL but it does not work yet. 
    I did the same test, but this time using the Help URL field with a HRMS ctx parameter by entering the following URL format: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hcm92pbr5 , and It works fine !!!
    According to the previous test you realize that It works with HRMS ctx parameter but not with Campus Solutions 9.0 ctx parameter,  Does anybody know what else can I do ? Am I doing anything wrong or missing? or maybe the Oracle's ctx parameter for Campus Solutions URL It is broken simply.
    Thanks for you help and feedback.

    2799444 - The page you are testing with appears to be a Workforce Administration page. Is that correct?
    The CS PeopleBooks would only work for CS pages, e.g.: try navigating to Main Menu > Campus Community > Personal Information > Add/Update a Person
    Also, you can use multiple ctx parameters:
    E.g.: http://www.oracle.com/pls/topic/lookup?id=%CONTEXT_ID%&ctx=hrcs90r5&ctx=hcm92pbr5&ctx=pt852pbh2
    This way the help would work for the HR related pages like Workforce Administration, Campus Solutions pages like Campus Community and also PeopleTools pages like Web Profile Configuration. Hope this clarifies your question. Thanks!

  • Page not found error getting while access endeca application

    Hi All,
    I am trying to create an application in endeca. Created application , ran neccessary scripts and created pages in experience manager.
    but when i try to call the application in browser . i am getting page not found error. There are some other application which is created by copying discover electronics ,
    which works fine. Please help me how can i resolve this issue. I am using endeca 3.1.0.
    Thanks
    Mark

    There's not much to go on here, but it sounds like you're trying to view changes in a "live" application. To confirm this, you should execute the configuration promotion script and then check the same application URL. You can run the promote script from inside workbench. Log in as admin, then look under "Workbench Home > Administration > Admin Console > Scripts." You should execute the "PromoteAuthoringToLive" script. Once this script is complete, then test your page again.
    If this works, then it means that your application is configured such that it doesn't get immediately notified of new configuration changes, i.e. it's configured in "live" mode.

  • Page not found error in webdynpro Application

    Hi All,
    While we are opening a links getting Page not found error. This is  webdynpro ABAP application ,through Launch pad it is configured.
    We have recently upgarded our portal , previously it was working fine.
    R/3 is not upgraded .
    Regards,
    Krishna.

    Hi Krishna,
    Hope you are doing good.
    Kindly run the web diag tool as outlined in  note 1045019 or SAP Note No. 1332726 (depending on your version) and reproduce the issue.
    This will give you the exact reason why the issue occurs. Attach it here if you have any issues.
    Thank you!
    Kind Regards,
    Hemanth
    SAP AGS

  • Pages is not working in my computer anymore.  Templates aren't there and I tried redownloading the application, but it says An eligible Pages application was not found in the location /Applications.

    "An eligible Pages application was not found in the location /Applications."  every time i try to update.  what do i do?

    lukasfromnull wrote:
    You will need to buy the newest iWork so it works again. I had the same problem.
    No, there is no need to re-purchase iWork. If it was installed from a retail boxed DVD, it needs to be reinstalled from the DVD. If a license was purchased electronically for the iWork '09 trial, reinstalling from the downloaded dmg will need to be done. If any of the apps were purchased from the Mac App Store, they can be reinstalled from the Mac App Store.

  • Application Page list not displaying.

    Application page list does not display when clicking on the application in application builder page. However if I type the application number and a valid page number in the URL I can access the application. All the pages work as well as the page editing.

    Scott,
    Well..it was the same issue as the Thistler..I replied to his posting and thought the threading would show that I was responding to his post. Anyway, it's okay.
    I solved the problem. By flushing the shared_pool (alter system flush shared_pool;) Application Express now shows the Application Builder page.
    The problem was that after logging in with a developer or administrator userid into the Apex 3.1.2.00.02 environment, clicking the Application Builder Icon resulted in a page not found error. However, you still could go directly to an application home page in the edit mode?(I don't really know how to describe it, it's the next page after selecting the application icon.)
    the Metalink NOTE:469934.1 describes what to do to fix this, and it did solve my problem.
    Thanks for your help
    Lyle

  • 'My Application Page' is not allowed here because it does not extend class 'System.Web.UI.Page'

    I have a custom SharePoint 2010 solution that includes an aspx page. The aspx page in is in the /layouts folder within the solution and I created it by just adding an application page to the solution. I am trying to create a parent-child relationship between
    two different lists in SharePoint. From the parent I have a custom button on the ribbon that creates a child item with the ID of the parent stamped on it.
    The page is just a processing page that forwards on parameters from the parent to the new child item. (i.e. the ID value)
    The code generated when I add the aspx page is below:
    <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
    <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
    <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="processingpage.aspx.cs" Inherits="MY.Solution.Layouts.MY.Solution.processingpage" MasterPageFile="~/_layouts/application.master" %>
    <asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    </asp:Content>
    <asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    </asp:Content>
    <asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server"> Processing Page </asp:Content>
    <asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" > Processing Page </asp:Content>
    The code behind is as follows:
    using System;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Administration;
    using Microsoft.SharePoint.WebControls;
    using Microsoft.SharePoint.Utilities;
    using System.Reflection;
    namespace MY.Solution.Layouts.MY.Solution
    public partial class processingpage : LayoutsPageBase
    protected void Page_Load(object sender, EventArgs e)
    try
    //Get a reference to the SPWeb object
    SPWeb oWeb = SPContext.Current.Web;
    //Use the Parameters That Are Passed In
    SPList thisList = oWeb.Lists[new Guid(Request.QueryString["List"])];
    SPListItem thisItem = thisList.GetItemById(int.Parse(Request.QueryString["ID"]));
    sContentType = thisItem["ContentType"].ToString();
    sContentTypeID = thisItem.ContentTypeId.ToString();
    if (sContentType == "Some Content Type")
    sContentTypeID = "";
    sAIID = thisItem["ID"].ToString();
    //Redirect to newform.aspx with the Appropriate parameters.
    Context.Response.Redirect(oWeb.Url + "/Lists/Blist" + "/NewForm.aspx?AIID=" + sAIAuditID.ToString() + "&ContentTypeId=" + sContentTypeID + "&ParentItemID" + Context.Request["ID"]);
    else if (sContentType == "Some Content Type")
    sContentTypeID = "";
    sAIID = thisItem["AIID"].ToString();
    //Redirect to newform.aspx with the Appropriate parameters.
    Context.Response.Redirect(oWeb.Url + "/Lists/AList" + "/NewForm.aspx?AIID=" + sAIID.ToString() + "&ContentTypeId=" + sContentTypeID + "&ParentItemID" + Context.Request["ID"]);
    else if (sContentType == "Some Content Type")
    sContentTypeID = "";
    sAICID = thisItem["AICID"].ToString();
    //Redirect to newform.aspx with the Appropriate parameters.
    Context.Response.Redirect(oWeb.Url + "/Lists/CList" + "/NewForm.aspx?AICID=" + sAICID.ToString() + "&ContentTypeId=" + sContentTypeID + "&ParentItemID" + Context.Request["ID"]);
    else
    LoggingService.LogError("MY.Solution - Processing Page", "No Applicable Content Type Found.");
    catch (Exception ex)
    LoggingService.LogError("My.Solution - Processing Page", ex.Message);
    finally
    //DO SOME FINAL THINGS HERE WHEN REQUIRED.
    In the page I need to use Request.QueryString to get the values from the URL. But when I deploy the solution and load the page I get the error:
    'MY.Solution.Layouts.MY.Solution.processingpage' is not allowed here because it does not extend class 'System.Web.UI.Page'.
    When I change the line:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="processingpage.aspx.cs" Inherits="MY.Solution.Layouts.MY.Solution.processingpage" MasterPageFile="~/_layouts/application.master" %>
    to inherit as follows:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="processingpage.aspx.cs" Inherits="Microsoft.SharePoint.WebControls.LayoutsPageBase" MasterPageFile="~/_layouts/application.master" %>
    it does not work either.
    If I change it to inherit like below:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="processingpage.aspx.cs" Inherits="System.Web.UI.Page" MasterPageFile="~/_layouts/application.master" %>
    it also does not work.
    What does this error actually mean?  And why doesn't the default code generated by Visual Studio work?

    @NadeemYousuf I have tried this too and it didn't work.  
    What does the error even mean?  And why does the error appear with default Visual Studio code?  In my example I have just added a basic application page with no other code in it and it still does not work.

  • Web pages,bookmarks,some application also not open

    my mobil model 5530expres music, my phone wep pages and bookmarks and some application also not open. So how can i open? any one pls answer me.

    Snapfish has an app available in the app store. It is an iPhone app, but should work on the iPad. You might also check for apps for some of the specific sites you are having trouble accessing.
    There are some apps (such as iswifter and Puffin) that convert flash content and restream to you. results will be mixed depending on the site and you should read the reveiws and descriptions carefully.

  • AJAX with PageMethods works in Application Pages but not with PageLayouts

    Hi All,
    I have created a class which contains public static method decorated with WebMethod and SciptMethod attributes
    Public class BasePage : Microsoft.SharePoint.Publishing.PublishingLayoutPage
            [WebMethod(EnableSession = true)]
            [ScriptMethod(ResponseFormat = ResponseFormat.Json, UseHttpGet = false)]
            public static string HelloWorld()
                return "Hello world is working!";
    Now I changed the <%Page ..> Tag of the PageLayout to inherit from the above class.
    There is a ScriptManager in the master page with EnablePageMethods = true
    I can see the Javascript methods are generated for HelloWorld(..) however the return result is "The Server Method HelloWorld failed." Error code is 500
    However the exact same code when I use with a application page (_layouts) and change the Page tag to inherit from the same base class above - it works OK.
    Both of them Page Layout and Application Page use the same master page - but one works and other does not.
    Additional Information:
    a) Am using Jquery and JqueryUI in the master page.
    b) Site use Publishing Template
    c) Variation is enabled on site
    d) Site has both Anonymous and Windows NT authentication
    The method Path for Application page shows as
    /_layouts/test.aspx/HelloWorld
    and for the page created using the Page layout is:
    /en-us/Company/Pages/Default.aspx/HelloWorld.
    Could anyone please advise what could be wrong where it does not work with Publishing Pages?
    Would please appreciate ideas / thoughts.
    Thanks,
    Mohan
    -- Mohan | My Blog

    Are you sure that you are getting HTTP 500 error ?. Usually HTTP 500 error denotes service unavailable at the server side or at the server end point. What is the exact fiddler trace you are getting ?
    If it is still HTTP 500, then one of the referenced components in the page layouts conflicts the ajax page methods call. Please let me know your findings
    Please mark the replies as answers if they help or unmark if not.

  • Page Not Found error trying to import a large application into ApEx XE DB

    I have an ApEx application that I'm trying to import from a Standard DB into Express Edition. I have 2 separate installs of ApEx both on XE and I'm getting the same problem on both.
    PROBLEM:
    After I import the application I get the error: PAGE NOT FOUND standard error.
    The import file is 4.8 Mbytes. When I view the import repository it shows increments of the file being loaded.
    for e.g. First time 3 MBytes are loaded before the error is shown
    Second time 3.2MBytes are loaded then it falls over again.
    any suggestions?
    Smaller sized apps load up with no problems.
    If it weren't for the sad state of the internal XE web server I could at least have a look at the HTTP logs. But alas someone in their wisdom had the bright idea to hide the webserver away in the bowels of the XE database.
    thanks in advance for any help
    Paul P

    Paul,
    You can try the suggestion in this thread on the XE forum:
    Re: Problem with importing HTML DB applications
    It also shows how to turn on logging in the XE web server.

  • The application pages is not loading

    The application page of apple store is not loading in my iPad,why?

    ..... And are you running iOS 5 on the iPad? I assume that would get a warning from the store if you aren't running iOS 5, but I'm just making are. You do need to be running iOS 5.

  • My pages application will not open

    my pages application will not open. i get the pinwheel for a while and eventually a message simply stating that the app cannot be opend and a code 1712. this is anew occurance since my maverick upgrade. suggestions?

    I think you are clicking the grey text category titles on the Share menu, as many have done.
    In the following image, the items enclosed in the red boxes are selectable. The grey text is not.

  • Page Not found error + ADF application

    Hi,
    I am trying to deploy sample application developed using JSF+ADF to oracle applciation server 10g 10.1.3.3 version,but after login(uses jsecurity) applicaiton says Page Not Found eventhough the pages exist.
    I apache log i can it says File not exist,eventhough file exist in physical drive. Same application runs local Jdeveloper
    Please advice

    Check the web.xml file on your server to see what is the context of your applicaiton.
    Also try and place a simple HTML file with your JSF pages and see if you can access that HTML file.

Maybe you are looking for