Sharepoint 2013 - url redirects with port number added

Hi,
In our sharepoint 2013 environment, we have a custom application and in which we have a button and when we click on the button the initial url was below
http://abcd.com/apps/xyz/test.aspx
After clickin on the button it redirects to the below, where in the custom app they are using query string to append the url.
http://abcd.com:6001/apps/xyz/test.aspx?EID=7&ListID=1723aasd-ajsfs12346
And i am getting the web page cannot be displayed error.
Please help me to resolve this issue. Is there any issue in the custom code or in IIS redirect or server related configuration.
Any help is much appreciated.

Hi Krishna,
Thanks for your reply,
We have constructed the code in .cs file. And the code is
private
void Redirect(int
id)
NameValueCollection queryString;
            queryString =
HttpUtility.ParseQueryString(Request.Url.Query);
            queryString["EID"]
= id.ToString();
            queryString["List"]
= List.ID.ToString();
            queryString.Remove("AssignToMe");
//Response.Redirect(Request.Path + "?" + queryString, true);
//Response.Redirect(SPContext.Current.Web.Url + "?" + queryString, true);
            Response.Redirect(SPContext.Current.Web.Url
+ "/Pages/Request.aspx" +
"?" + queryString,
true);
Smile Always

Similar Messages

  • URL redirect Help port number

    Hi I just recently upgraded to windows 10 from windows 7.  In this process I lost my redirect settings for my help desk which is installed on my local pc.  Can someone point me in the right direction.  Right now my help desk works with my custom url however it has to include the port number.  I do not have IIS installed on windows 10.  I believe previously in windows 7 I had IIS and was using Helicon rewrite to do this.  I just forget the step to do this.  Right now it works with myurl.com:9675 i want this to work with just myurl.com and no port number. 
    This topic first appeared in the Spiceworks Community

    Hi I just recently upgraded to windows 10 from windows 7.  In this process I lost my redirect settings for my help desk which is installed on my local pc.  Can someone point me in the right direction.  Right now my help desk works with my custom url however it has to include the port number.  I do not have IIS installed on windows 10.  I believe previously in windows 7 I had IIS and was using Helicon rewrite to do this.  I just forget the step to do this.  Right now it works with myurl.com:9675 i want this to work with just myurl.com and no port number. 
    This topic first appeared in the Spiceworks Community

  • Disable Canonical URL or Remove Port Number

    Hi All,
                 We are using the publishing template of Sharepoint 2013 . This generates  the canonical url as shown
    <link rel="canonical" href="http://www.somesite:80/Pages/default.aspx" />
    I want to achieve removal of port number from the above link.
    If not posssible to either remove the entire link itself
    Thanks
    Thomson

    Hi Thomson,
    It is by design that the canonical URL will display port number for SharePoint pages.
    And if you have other sites which are using port number other than 80, then the port should be displayed in the URL for requests can be directed to the correct sites.
    So the port number should not be removed from the URL.
    If you do not want this canonical URL, then you may need to disable the Search Engine Optimization feature in the site collection.
    As this feature is enabled by SharePoint Publishing feature, then we need to disabled it using PowerShell command:
    Disable-SPFeature -identity 17415b1d-5339-42f9-a10b-3fef756b84d1 -URL
    http://sitecollectionURL
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • SharePoint 2013 : Incoming Mail with NLB

    I am trying to configure Incoming Email and I have (2) of each WFE & APP Servers
    Based on Q&A link below
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f9f1d254-0f9e-4eec-a1c7-a94252668680/sharepoint-2013-incoming-mail-with-nlb?forum=sharepointgeneral
    Note that the SPLockJobType will be changed to Job in the December 2013 CU for load balancing purposes.
    http://sharepoint.nauplius.net/2013/08/update-on-incoming-email-job-lock-type-change-between-sharepoint-2010-and-2013/
    It is not recommended to run Incoming Email on more than one SharePoint 2013 server due to a synchronization issue Microsoft identified (hence the job lock type change).
    My question: is the patch part of SharePoint Cumulative Update 15.0.4551.1511 - if not then I will apply it separately (do I apply to all the servers and would I have to run SharePoint Products and Configuration) ?
    Thanks
    Davinder

    The patch is part of the December 2013 CU. You can use Incoming Email in a load balanced or high availability MX/SMTP routing given you have the Dec 2013 CU installed on SharePoint 2013.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Backup Sharepoint 2013 SP1 Farm with SQL 2014 RTM "Always On" using System Center 2012 R2 Data Protection Manager

    Is backing up and Restoring SharePoint 2013 SP1 Farm with SQL 2014 RTM  "Always On" High Availability now supported using "System Center 2012 R2 Data Protection Manager"? 
    I cannot find information anywhere.
    Regards,
    Igor

    This is a DPM supportability issue, I believe. Last I heard, no it was not supported. SharePoint 2013 does not support SQL 2014 until the April 2014 CU. The CU should be out soon, although it appears to have been delayed (usually comes out on Patch Tuesday,
    which was this past Tuesday).
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to run Indesign CS3 as a Service with Port number

    Hello all,
    I would like to run the InDesign CS3 Server as a service on Windows. It seems that after installing the Server it automatically installs as a service. But where can I assign the port number. If under Services properties of InDesign Server under Parameters I mention -port 1050 on Ok button it removes the parameter information.
    I am doing right or is there some other way to start the Server as Service with Port number.
    Thank you all in advance.
    Regards
    Farzana.

    Hi Sascha,
    have you tried to remove the service and install it manually?
    \"Path to IDS"\InDesignServerService /install /u
    \"Path to IDS"\InDesignServerService /install
    I guess you've tried to start the instance in the console already (successfully?).
    Regards
    Ingo
    Am 05.07.2011 um 12:18 schrieb 1000grad_Sascha:
    Hi Ingo,
    I've installed the Snap-In and configured one instance. Maybe it's worth mentioning that there are some instances running at the same time, which have been started using the console. Hope that's not interfering. However, the MMC-configured instance uses a different port.
    I tried to start the service with a huge range of users having all imaginable privileges. The common way of using either "LocalService" or the Local System Account (which has admin rights for me) doesn't do the job.
    cheers,
    Sascha
    >

  • Starting gateway with port number crashes in linux

    Hi,
    I am trying to start gateway server with port number as:
    $start_ns -p 2320 (crashes with core dump).
    $start_ns '-p 2320' ( starts and works fine) or start_ns "-p 2320"
    Q: does this (single or double cote) is recommended way to start ?
    Kindly add your comments on this.
    Thanks in advance if some one can clarify this doubt.
    Mangilal

    Hi Wilson,
    Thanks for your suggestion and help.
    Since start_ns have a options to start with port number and we are testing siebel gateway under HA solutions.
    This is one of the test scenario we need to test with all the options.
    Same command works fine with AIX and solaris but fails in Linux.
    We already referred with http://download.oracle.com/docs/cd/E14004_01/books/SystAdm/SystAdm_SrvrSysSrvc6.html..
    Just need to know the purpose of using port number option while starting gateway.
    We didnt found any where in Siebel docs how and why to use port number option.
    Question is, how start_ns allowing with single & double cotes but not without quotes?
    Kindly clarify about this , i am very much confusing.
    Thanks and Reagrds,
    Mangilal D

  • Why does Excel save with a number added and to the desktop

    I have just updated to Maverick and I love it. However, when I amend a spreadsheet in Excel 2008 and save the file it adds a number to the file name and saves it to the desktop instead ofits original location. I find this extremely irritating. Can someone help?

    MartinR
    I am doing Save exactly as I used to do with Mountain Lion. I have been experimenting and have found a strange effect which is entirely down to Maverick. If I open the Excel file from the Dock and amend it will save it to the Desktop with a number added to the file name. However, If I open the file from its original location and amensd the file it will save it to its original location without changing the file name. I then dragged the original of the file on to the desktop, amended it and closed it and it saved it to the desktop without altering the file name. This is somthing that Apple needs to look into and not Microsoft.
    This means that I will have to drag all Excel files that I regularly use on to the desktop and not into the Dock. I have one large and complex Excel file with 60 sheets and regularly save as I work on it. Puting it into the Dock would create a nightmare.
    Thanks for your help.

  • SharePoint 2013 Central Admin says port 80 for three web applications, but IIS says they have different ports

    Hello,
    I have three web applications on a SharePoint 2013 servers.  In Central Administrators on the Application Management page where it lists all of the web applications, it shows Port 80 being used 2 3 sites.  When I go to IIS, 2 of the 3 are using
    different ports, 81 and 82.  So, only one site IIS says is using port 80. Why is this?  The host file has no entries in it.  Where these web applications extended?
    Thanks,
    Paul
    Paul

    Hi Paul,
    From the URL of the web application in Central Administration in the image, you have configured the Alternate Access Mapping for the web applications.
    And the URL configured is by default using port 80 if you don’t 
    assign other ports for the web application, so the port is changed to 80 in Central Administration.
    To be able to access the web application, you need to add binging for the web application in IIS(please make sure that you have added the host name in DNS).
    For example, SharePoint – 32298, you need to create the binding for the web application in IIS as the image below:
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • R12.1 url without the port number using dns

    Hi guys
    Thanks in advance,
    What are the steps to setup R12.1 using url with dns so that you don't have to specify the port number while connecting.
    Thanks again

    Hi,
    Please see this thread.
    How to setup webserver in R12 so as to enable users not to enter the port
    Re: How to setup webserver in R12 so as to enable users not to enter the port
    Regards,
    Hussein

  • How to properly create and configure SharePoint 2013 Search service with PowerShell?

    Hello Forum,
    I have installed SharePoint 2013 across three tier servers:
    WFE Server  (Of course, SharePoint is installed here. Bsically this is just a Web server)
    APP Server  (Of course, SharePoint is installed here + Central Admin + Service Apps).
    SQL Server  
    I now want to create and configure the Search service, obviously on the APP Server, But of course the search functionality should work correctly on the WFE server to.
    I want to do this via a proper PowerShell script. I found Spence Harbar's script on: (http://www.harbar.net/articles/sp2013mt.aspx), But it has three problems, and they are as follows:
    1) Spence Harbar himself literally stated on his article that this script is for: "deploying on a single server farm", But what if I have three tier servers? Could anyone please help me out in suggesting the required tweaks in the
    script?
    2) By default Search uses the SP_Farm account, So, How can I change the script to use other dedicated account for the search service e.g. SP_SearchAcc ?
    3) How can I modify the script to specify a default Search center?
    4) Apart from all the three aforementioned point - Is the script missing anything? 
    I would greatly appreciate your inputs - Thanks !

    the only differences are where you place the components.  if you are doing a small server farm with a 1-1-1, most likely you just need to change the script so that you set the index and query processing component on the front end, but the others on
    the app server.  just a 2 second update... just keep in mind this will work, but I am making several assumptions without any knowledge of your farm, users, capabilities. 
    generally, there would be more of a breakout on the topology than that, but im guessing for this farm that you wont have dedicated search servers.  also, a lot depends on # users (rps really), # items in index, size of VMs (RAM for query processing,
    Disk for index, etc, etc), and making sure the topology works for your particular environment and needs. 
    if you want more detailed topology help, which aligns as closely as possible to "best practices" (not that those exist in SharePoint, go ahead and provide the total # users, average/peak RPS for search, current index size, content source types,
    VM specs RAM, CPU, #/Size of drives, HA concerns/priority (obviously isn't, since only 1-1-1)
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • Sharepoint 2013 SSRS Interaction with Sql Server 2012 Reporting Services connecting to Sql Server 2008 R2 database

    Hi
    I'm working on upgrading sharepoint 2010 to sharepoint 2013 with sql server 2008 r2. I've ran into some problems but have been able to get a test farm upgraded. However to run SSRS 2013 it seems Sql Server 2012 Reporting Services are required. Upgrading
    to a full sql server 2012 database isn't an option. I know that sql server 2012 reporting services can use sql server 2008 r2 as a catalog and content database so I was wondering could this be a workaround? Importantly would I need a separate machine/virtual
    machine to host sql server 2012 reporting services? or could it live on the sql server 2008 r2 machine? Any pointers appreciated. Thanks Dan

    Remember that SSRS must be deployed on the SharePoint server. Having said that, yes you can install SSRS 2012 SP1 on a server running SQL 2008 R2. And yes, you can use 2008 R2 as your Database Engine server while SSRS 2012 SP1 runs on the SharePoint server.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2013 Environment Setup with minimum resource

    Hi,
    Could you please advise considering below scenario
    - What would be the minimum resources in order to setup SP2013 Enterprise environment?
    - If we want to buy a single server from DELL as a host for all virtual machines as below, what would be the configuration for that server?
    - How much RAM do we need for the host?
    - How much ram / processor core allocation do we need for the VMs. 
    Requirments:
    USER: 500 Users
    Features : All OOB features / Services will be used in SharePoint 2013 Farm
    Web Application : 3 Web Application, 10 Site Collection
    Total Content : 100 GB
    Virtual Box for entire SP2013 Environment Setup:
    - SQL Server 2012 Sp1 Enterprise
    - SQL Clustering / Mirroring
    - SP 2013  Application Server1 (Enterprise)
    - SP Application Server2 
    - SP Application Server3
    - SP Application Server4
    - SP WFE 1
    - SP WFE 2
    - BI Server 1
    - BI Server 2
    - OWA Server 1
    - OWA Server 2
    - Workflow Manager 1
    - Workflow Manager 2
    - TMG Firewall 2010
    - Exchange Server 2010
    - Microsoft Lync Server 2010
    Thanks
    srabon

    It's all here:
    http://technet.microsoft.com/en-us/library/cc262485%28v=office.15%29.aspx
    Putting that many servers together for a 500 seat company is madness. Go for the text book small farm deployment at most, in reality you'd probably be better off just having three servers total (1 WFE, 1 App, 1 SQL).
    I can't remember how much you should reserve for the hypervisor but if you allocate 1GB for that i think you're ok.
    For a three server deployment you'd probably be ok with 32GB, 8GB for the WFE and App server, 7GB for SQL and one for the hypervisor. 64GB would give you a lot more comfort.
    If you want more options like the enhanced workflows and OWA you'd need servers for each of those as  well.
    You can always overprovision CPUs on the hypervisor but more than 12 Cores would be wasted on a 3 server deployment for 500 users.

  • SharePoint 2013 Remote Index with ADFS

    I have two domains: A and B, each with its own SharePoint 2013 farm. I have established ADFS for the users and Farm trust as well. Users from domain A can access sites in Farm B, even when granted access through AD groups. I have also setup remote search
    and search results from sites in Farm B appear in Farm A, but only if I grant permissions directly to the searching users. If not, the logs state access was denied and no remote results are returned. Any ideas?

    Hi,
    Please understand that Search requires windows authentication to be selected on at least one zone in the web application. If we only have ADFS configured currently, we will receive Access denied when crawl web application.
    As workaround, we could extend the web application to one zone other than default zone, and configure windows authentication for that zone. Please refer to the detail step in the article below:
    http://sharepointobservations.wordpress.com/2013/08/06/sharepoint-2013-configuring-search-to-crawl-web-applications-using-claims-and-adfs-2-0/
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • SharePoint 2013 - Incoming email with smtp alias domain

    Hi All
    I have configured the following for SharePoint 2013 Incoming email.
    CA - Incoming email - enabled
    Automatic and received mail from all servers
    email server display address: 
    [email protected]
    smtp installed on one SharePoint server and configured with
    defautl domain:  spservername.domain.net and alias domain: 
    spmail.domainname.net
    emails are receiced in SharePoint lists / library are working when incoming email settings using the default local smtp domain (spservername.domainname.net) but not working when using the alias domain (spmail.domainname.net).
    Can anyone advice of what I have done wrong or missing in my configuration?
    Thanks in advance for your comments or advices
    Swanl

    trevor
    I tried that but that did not work.  I got this error below.  Does that mean I need to create a DNS MX record for spmail.domainname.net to point it to the smtp server
    spservername.domain.net
    Thanks
    Xuan
    Swanl
    It looks like you have a DNS mis-configuration in this case with regards to how your MX record is configured (if it exists at all).
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • Is there a way to comment on specific Document Version?

    I have high hopes for document versioning.  However, I can't find much information on the details.  I'd like to understand how it works a little bit better. I have lots of questions.  But the first thing that came to my attention is that to be really

  • I am unable to print a copy using my 3510e printer

    I am unable to print a copy of a document using my 3510e printer

  • How to create work order in a manufacturing system

    Hi, I am using EBS 11i. I have applied APS pack on it. I want to create a work order. Can anyone brief me on which responsibility to choose in order to create a work order. Also if someone can suggest some documents will be of great help. Thank You,

  • JHeadstart (User)

    Hi, I am evaluating & trying JHeadstart/JSP... I like the ADF Model and ADF ViewController. How to build a simple Login application for authentication against users in a table? Regard Luc

  • A table on a website I want to print has columns defaulted as narrow.

    When trying to print a page from a website, the narrow columns make the information difficult to read and causes me to use more paper when printing. Need to know hoe to reformat the table to print normally.