.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

Strange error trying to Edit new ASPX page in Advanced mode

Posted By:      Posted Date: September 23, 2010    Points: 0   Category :SharePoint

Steps to duplicate error:

  1. Create new ASPX page in Site Pages.
  2. Right click on it and choose "Edit file in Advanced Mode"

I get this error:
"soap:ServerServer was unable to process request. ---> Value does not fall within the expected range."

I've googled this and haven't found anything that resembles a fix....any ideas?


View Complete Post

More Related Resource Links

A customized EditForm.aspx page giving error because it has a "People and Group" field with a "Allow

My customized EditForm.aspx which has a "People and Group" column with the "Allow multiple selections" property as "Yes" was working fine until the Agusust cumulative update was applied into the MOSS server. Now it's giving me the error: "An unexpected error has occurred". Needless to say, when I change the "Allow multiple selections" property to "No", the customized EditForm.aspx page works fine.Forgetting whyMicrosoft introduced this error for now, is there a workaround that you are awre of?

Foundation 2010 Edit page error

Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729) Timestamp: Tue, 25 May 2010 17:55:02 UTC Message: 'SP.Ribbon.PageState.ImportedNativeData.PageState' is null or not an object Line: 2 Char: 79472 Code: 0 URI: http://zynxsp/_layouts/sp.ribbon.js?rev=F%2BUEJ66rbXzSvpf7nN69wQ%3D%3D  

DetailsView error "must be in edit mode to update a record" when I have set edit mode in code behind

Hi,I have a DetailsView within an UpdatePanel.  I programmatically put the DetailsView into edit mode, change the fields then call the UpdateItem method which causes the "must be in edit mode to update a record" exception.  Am I missing something blindingly obvious? <asp:UpdatePanel ID="upSpecificShout" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true" > <ContentTemplate> <asp:DetailsView ID="dvSingleShout" DataSourceID="sdsSingleShout" runat="server" AutoGenerateRows="false" OnDataBound="SetDVIcons" HeaderStyle-CssClass="noDisplay" DefaultMode="ReadOnly" AutoGenerateEditButton="true" OnItemCommand="dvItemCommand"> <fields> <asp:TemplateField ShowHeader="false"> <ItemTemplate> <asp:Panel ID="dlSpecificDetailsViewPanel" runat="server" CssClass="i_am_a_shout"> <h2><asp:LinkButton ID="lblShoutTitle" runat="server" Text='<%# Bind("Shout_Title") %>' On

Getting "; expected" error in my .aspx page when using vb.script

Using c#.net/asp.net 2005.I am trying to use vbscript if statement in the .aspx page of my page when I'm using c# for the code-behind file.  I'm new to csharp and wondering are you allowed to use vbscript (not vb.net) in the .aspx page?

Save a publishing page using Javascript in page edit mode


Dear developers,

In a publishing site, I'd like to know the javascript functions responsible to execute the "Save" and "Save and stop editing" buttons logic within the page editing toolbar.

I've seen a poor MSDN documentation related to the Custom Actions in the Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions namespace and need a way to figure it out.

Best regards

Ahmed Abuabdou, SharePoint Developer, Sure Technology & Consulting

SharePoint Designer 2007 - Customize List View - Error when saving view ASPX page


We have a custom list definition that includes custom site columns.  When we try to open one of the list view aspx pages in SharePoint to update the view query we get an error when trying to save the page in SharePoint Designer 2007.  We receive a warning that the operation will customize the page from the site definition, which is fine.  And then get a general "Server error: ServiceRequestorID" alert.  ServiceRequestorID is a custom site column used by the list definition.

ServiceRequestorID field definition:

<Field ID="{FA39D24D-AB40-4b1d-BD80-94ABE34A7578}" Name="ServiceRequestorID" DisplayName="Service Requestor ID" StaticName="

Not able to edit wiki page library in datasheet mode.


Hello ,

I created a wiki page library and when I change the mode to Actions----->Edit in data sheet,it opens in Data sheet view.

But I am not able to edit the data sheet.The data sheet is frozen.

Am I missing something? Is it possible to do that.





[Sharepoint 2007]Parse error when I add code behind the page to a normal aspx page ?


Hi all,

I dont need this form to be embedded into Sharepoint. I am adding this webpage into Sharepoint because i has issues due to cross-domain permission. I cannot call refresh sharepoint from my op up window  webpage. Therefore i want to add my webpage into the same domain as sharepoint.

I have added the webpage aspx form into Sharepoint from the sharepoint designer 2007. I would like to add code behind the page too.

What i have done at the moment was to create a project in visual studio for the code behind the page. I folloed this article :



Then i have added the dll intothe bin of my sharepoint site. i have also added in webconfig the dll.

However i got the following error :

Parser Error Message: The codefile attribute on the page directive is not allowed in this page.

Source Error: 

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="FormOragniseMeeting.aspx.cs" Inherits="FormOrganiseMeeting.FormOrganiseMeetingCodeBehind" %>
Line 2: 
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





MOSS 2007- In some subsites, I cannot enter the "advanced permissions" page anymore. " unknown error


I have a MOSS 2007 portal with some subsites. In some subsites, I
cannot enter the "advanced permissions" page anymore, giving "unknown error"


I disabled custom errors and enabled call stack to have a better error


This is the error i get :


Why do I get default error page desipite setting customErrors mode="Off"?


I could never figure it out -  set  <customErrors mode="Off" /> in all web.config files that exist under Interpub/wwwroot, but still get default error page. Which web.config does SharePoint use?

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?

changing ControlMode from Edit to Display on CustomEditForm.aspx causes error

I am working on creating a custom edit form for my list.  I discovered after much trial and error that changing the ControlMode="Edit" to display on a column of type hyperlink will not work.  It throws an "unexpected error".  Does anyone know why?
There are no mistakes; every result tells you something of value about what your are trying to accomplish.

Error when Content Query Web Part in Edit Mode


Hi friends!,

I am using content query web part for displaying data from list. when i export these webpart in notepad. and add some column name and type in CommonViewField parameter. it gives error while editing the content query web part. it was working fine in MOSS2007. please let me know correct format if it changed.

Error when Content Query Web Part in Edit Mode


Hi Friends,

I am using content query web part in sharepoint 2010 for displaying data from list. i exported it. and open in notepad edit mode and made, add some column name and type. i uploaded this web part. this is added . when i edit this web part in site. it gives error


Error when Content Query Web Part in Edit Mode


Hi Friends,

I am using content query web part in sharepoint 2010 for displaying data from list. i exported it. and open in notepad edit mode and made, add some column name and type. i uploaded this web part. this is added . when i edit this web part in site. it gives error

Getting an error while attaching the master page to custom .aspx


Hi ,

I am getting the following error while I am trying to attach the master page to the custom form

The virtual path '/_catalogs/masterpage/default.master' maps to another application, which is not allowed.

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.ArgumentException: The virtual path '/_catalogs/masterpage/default.master' maps to another application, which is not allowed.

Actually I am developing the association form in the custom work flow , I am calling the master on the On PreINt event of the page



Edit.aspx page hanging on text entry


I am trying convert a project from asp classic to asp.net.  The asp classic version has a edit table page that allows users to enter data into textfields that contain html mark up.  like <b>, <i>, etc.  I have been working with the dynamic data video collection and when I try to hit update after entering any html markup in a textfield, in edit.aspx, the page just stops.  It does not throw an error nor does not redirect to the list.aspx on update or cancel, and im pulling my hair out trying to figure out why its doing this.  I have tested various different data types and nothing is helping.  Anyone have any ideas?  The error happens on the sample code provided on the dynamic data page.

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