.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

redirection from _layouts/reqacc.aspx

Posted By:      Posted Date: August 27, 2010    Points: 0   Category :SharePoint


I'm working on SP 2007 on client side only (no access to server).

I would like to redirect the _layouts/reqacc.aspx path from spacific portal without chang this page.

Actually, i would like the make my own page.

Since i have no permissions on server, i need to redirect locally on my portal, but i can find where.

Any idea????


View Complete Post

More Related Resource Links

Publishing site template saved using /_layouts/savetmpl.aspx

A trick we used in MOSS 2007 doesn't seem to work in SharePoint 2010 although it seemed to work for someone who asked the same question in this forum.  We know publishing site do not have the "Save as site template" as an option in the site settings so we used <site>/_layouts/savetmpl.aspx to save the site template.  Unfortunately, new site created using the saved template is throwing a 404 error.  And the site was actually created (can see in View All Site Content).  We need to be able to easily create sub-sites with the same look and feel and set of document libraries/lists.  Any advice? 

How to apply css to /_layouts/settings.aspx

Hello, I have designed custom menu with css. Its works fine across the websites. But, I browse www.ab.com/IT/_layouts/settings.aspx page i won't be able to see any css effect. At heading only menu come which doesn't looks good. Can any one suggest me that how can apply my css to across all websites at all pages. Thanks in advance.Thanks, Sam

Exception occured:_layouts/MyAssocForm.aspx does not exist.

HI while attaching workflow to document library, it gave the error message as Exception occured:_layouts/MyAssocForm.aspx does not exist. I check for aspx page in "layouts" location but no file is exist. I created Infopath forms and attached to workflow, Here is my workflow.xml class <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Workflow Name="FormBase" Description="This workflow ..." Id="555F6853-87FE-4668-B7AF-BD5749B1CDCA" CodeBesideClass="Formbase.Workflow1" CodeBesideAssembly="Formbase, Version=, Culture=neutral, PublicKeyToken=9d4763c102f02820" TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160" AssociationUrl="_layouts/MyAssocForm.aspx" InstantiationUrl="_layouts/MyInitForm.aspx" ModificationUrl="_layouts/MyModForm.aspx" > <Categories/> <MetaData> <Modification_GUID_Name>Name of Modification</Modification_GUID_Name> <Instantiation_FormURN>urn:schemas-microsoft-com:office:infopath:DemoInitiation:-myXSD-2010-09-06T08-55-14</Instantiation_FormURN> <Association_FormURN>urn:schemas-microsoft-com:office:infopath:DemoInitiation:-myXSD-2010-09-06T08-55-14</Association_FormURN> <Task0_FormURN>urn:schemas-microsoft-com:office:infopath:Editform:-myXSD-2010-09-06T09-16-40&

How to customize or call the _Layouts/upload.aspx in Sharepoint Foundation on TopNavigationMenuV4

Hii All, Am having a req to upload the files or documents whatever the default Sharepoint upload.aspx is doing but which i need to call it from TopNavigationMenuV4 ,not from the default Upload menu, it will be there in TopNavigationMenuV4 which i did the customization according to the requirement . Kindly help me how to proceed !!!!!   Thanks in Advance Praveen      

Initial Redirection to .../Pages/default.aspx?


How/where does SharePoint 2007 / IIS 2008 control the redirection of a site base url to .../Pages/default.aspx?

I have a SP site that for some reason is displaying the directory browsing of its ...\inetpub\wwwroot\wss\VirtualDirectories directory instead of initalizing SharePoint.

I did find a missing HTTP Header which should have been inherited and manually entered it but that didn't help.



error.aspx page reports that Page.MasterPageFile = ~/masterurl/default.master not ~/_layouts/simple.


This one is driving me nuts.

I'm intercepting Pages using HTTPModules so that I can change the Master Page before the page loads. This works as expected on everything except error.aspx in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS folder. Despite the fact that error.aspx specifies MasterPageFile="~/_layouts/simple.master" I keep getting Page.MasterPageFile = ~/masterurl/default.master instead!

Anybody know why this is the case?

/_Layouts/ChangeSiteMasterPage.aspx is crashing....


I have been having am issue creating team sites and I believe I have traced back te error to the master page.

When I try accessing the master page I get an "Unexpected error" with the message "one or more field types not installed properly" in the logs.  Does anyone have any thoughts on what to try next? 

Cannot access pages using /_layouts//.aspx



I have a development server on which we have implemented a number of application pages. We can access these using the url format:

Cannot access pages using http:/<site>/_layouts/<folder>/<page>.aspx

This also works for subsites:

Cannot access pages using http:/<site>/<subsite>/_layouts/<folder>/<page>.aspx


Now I am trying to implement these pages on our production server and I am getting file does not exist errors. Any thoughts on why this might be?

Andrew Wiles - www.it-workplace.com - MDX made simple

Error The file '/_layouts/PageEditforTask.aspx' does not exist. at System.Web.UI.Util.CheckVirt


Error  The file '/_layouts/PageEditforTask.aspx' does not exist.   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)


this coccurend when i was creating a workflow this contenttype in sharepoint 2007 using visual studio 2008

Code works on aspx but not ascx


Not sure which category to put this question in, so I will put it in here.

Just to give you an idea of the layout of my solution, I have the main project, along with 2 class libraries, BLL and DAL.  (Business Logic Layer and Data Access Layer)

The BLL refers to the DAL and the main project refers to the BLL.

I had a test website and the code worked fine, but the same code will not work on the real project. The only difference is that in the test project, the code was on an aspx code behind, whereas in the real project, it is an ascx code behind (Web User Control )

The code is:

Dim connectionString As String = ConfigurationManager.ConnectionStrings("ASPNETDBConnectionString").ConnectionString
        Dim recordEntry As New UserRecord(connectionString)
        recordEntry.UserName = "TestName"
        recordEntry.BMI = bMI
        recordEntry.BMR = bMR
        recordEntry.FTM = fTM
        recordEntry.TDEE = tDEE
        recordEntry.TodayDate = dateForToday

Dim connectionString As String = ConfigurationManager.ConnectionStrings("ASPNETDBConnectionString").ConnectionString

Create an API (aspx vs mvc)


Hi everybody!

I'm not sure if this is the right place to ask this, so, sorry if it's not. I have to create a web application. I can handle that. But, it has a requirement I've never done before. I need to create an API for that application, so other apps can get or set information from/to my webapp.

I've been searching a lot and still don't have a starting point. Seems that MVC is really good to do that, but I'm not familiar with MVC, so I would need a starting point. I was thinking to do it in aspx (Framework 4), but do not know how to do that with aspx either.

Can anyone help me to get started with this?

Thanks in advance

Launch CMD File From ASPX Page


My organization uses a CMD file to install updated files for a major enterprise application. Currently, we send out an email to users with a link to the file and instructions to run it, BUT inevitably users don't update their machines until their in field and try to start the app.


We're now liking the idea of using an ASPX page to prompt the users to run the updates and to capture the fact that the updates have been run. I realize that we can't capture the success or failure of the update. But we'd like to capture the user accessed the page.


Is it possible to embed into the markup for the page a link to the file on the local intranet that the users can click on to run the file?

The user accessing the page would capture that they did just that. We'd deal with wether or not the update was actually installed or if it failed later with them directly.

Custom views on .aspx webpage


Hi again, i have a client that needs me to create a custom view on thier webpage similar to Microsoft Word.

It goes about that, when I click on an image it redirects me to another page and must create a custom view for a certain paragraph on that page. I am not sure how to do this and wonder if anyone knows how.

I am using C# programming language if that helps at all. I Heard that using javascript would work but i dont know javascript yet so is there any alternative?

Visual Studio closes itself by opening aspx-Page designer after Windows Update


Hey Guys,

I've a problem with my Visual Studio.

On the 13th of August 2010 i installed a Windows update on my vista sp2 pc. For this date my Visual Studio 2008 sp 1 always has closed itself by opening an aspx-page in designer view. There is no error message just closing the window. I restored a backup of my windows from the time before updating it and it helped, i could open aspx pages in the design view till the update has been installed again automatically after rebooting the pc. I can't disable windows updates, cause it's my pc at work and safety is very important. I hope you could help me out of this disaster.



Composite Control which contains arbitrary content defined in .aspx of parent and thier ViewState


I want to write own control which can contain other. And I want to define content of the control in the .aspx file where the control is defined. I have written such control. But now I have issue with ViewState of inner controls of my control. The following samle illustrates the issue: I defined two asp:DropDownList ID="ddl1" and ID="ddl2" One of them is inside of my control and other is outside. When posback is occurred asp:DropDownList ID="ddl1 loses state and becomes empty. How to say ASP.net to store state of inner controls defined by this way?


<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyControl.ascx.cs" Inherits="DynamicControls.Controls.MyControl" %>

<div class="box">
    <div class="Header-Left">
        <div class="Header-Right">
            My Control
    <div class="Content">
        <asp:PlaceHolder ID="contentPlace" runat="Server" />

Mobile detection and redirection


Hi all,


I want to check with you what things to add  to implement a mobile browser and then redirect it to other site.

Do I have to add Browsercap in the web.config?

also I want you to help me with this script that i coded (not a programmer):

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
    // SqlConnection con;
    protected void Page_Load(object sender, EventArgs e)

        if (Request.Browser.Browser == "AppleWebKIt" )

Migrating ASP to ASPX.... where to set 301 redirects


Hello, I'm updating around 15 pages from .asp to .aspx (.net 2.0)

My question is, do I have to put a header redirect 301 (permanent redirect) on each old file, or can I put it in global.asax file with a case checking for any of the 15 files?

I some tries to go to old.asp will it execute global.asax anyway?

What would the best aproach be?



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend