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


Top 5 Contributors of the Month
Imran Ghani
Post New Web Links

Moss2007: Reset an unghosted Page back to ghosted ?

Posted By:      Posted Date: October 07, 2010    Points: 0   Category :SharePoint
 

Hello folks,

is it possible somehow to convert an unghosted page back to ghosted? A user has edited a PageLayout or Master Page with Sharepoint Designer although I told him not to do this.. Now the page is unghosted and the "inline" is not allowed to be executed anymore.

Is there a way to unghost the page?

Regards

Sven




View Complete Post


More Related Resource Links

Moss2007: Convert unghosted Page to ghosted ?

  

Hello folks,

is it possible somehow to convert an unghosted page back to ghosted? A user has edited a PageLayout or Master Page with Sharepoint Designer although I told him not to do this.. Now the page is unghosted and the "inline" is not allowed to be executed anymore.

Is there a way to unghost the page?

Regards

Sven


Referencing a ghosted master page in unghosted page layout

  
Hello All, I am developing a publishing portal in MOSS 2007 environment. I am employing wspbuilder to deploy my master pages, page layouts and site contents in the publishing site. I would like to know whether referencing a ghosted master page(residing in the 12 hive) in an unghosted page layout(residing in the content database) would be efficient. I read in some articles that fetching the pages from file system increases the throughput when compared to that of hitting the content database. Is it advisory to do it this way? Any insights on this would be of great useRegards, Raghuraman.V CALAMITY IS THE TOUCHSTONE OF A BRAVE MIND

Reset back to SharePoint Friendly Error Page

  

I have used current environment for debugging error message, by setting CustomError to Off and CallStack to true. I have fixed the issue and now try to set back this CustomError to On and CallStack back to false. However, when the friendly SharePoint error page never come out, it shows 500 Internal Server Error text instead.

There are a few errors that should show in SharePoint friendly error page, like "You are not allowed to respond again to this survey", but it shows 500 Internal Server Error page. Any idea how to reset it back? 


page load timeouts and http 500 on MOSS2007

  

Hi All

I'm hoping someone can point me in the right direction re troubleshooting. We have a MOSS server farm - 3 WFE 1 APP 1 SQL cluster. All Server 2008 sp1 x64. We see occasional http timeouts (HttpException (0x80004005): Request timed out) with associated http 500 error. I have enabled failed request tracing and can see the following:

1. -GENERAL_REQUEST_START 157203 ms
SiteId 754431215
AppPoolId SharePoint - intranet.*********.com80
ConnId 1610966466
RawConnId 0
RequestURL http://intranet.*********.com:80/Pages/default.aspx
RequestVerb GET

and then later in the trace:

141. -MODULE_SET_RESPONSE_ERROR_STATUS  Warning
ModuleName IsapiModule
Notification 128
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo 
Notification EXECUTE_REQUEST_HANDLER
ErrorCode The operation completed successfully. (0x0)

The problem happens on other pages too but the rest of the time the page is returned in less than 5 seconds. The server app logs and sharepoint ULS logs do not give any more detailed info. What I want to know is what other troubleshooting step can I take for http500 errors.

In the past on 32bit environments I have used de

Problem when I back to page

  

Hi Friends

I have page A.aspx where I show some result in listview. When I click On Some data on listview I go to page B.aspx.

Now the problem is when I click on back in page B.aspx it comes to A.aspx with out previous listview result. Ack requirement is when I come to page A.aspx result of listview has to be there. How do i do that?

Could u please help me out?

Thanx

Shekhar   


How to return back to a specific page in a gridview list?

  
Hello,  I have a gridview with paging. So for instance, I'm on say the page number 10, and I open the form details on a specific record_id (link). After I update/submit the form, it returns to page number 10. But, if I go to another page, for instance page 5, and submit the form, it returns to page 10. I've tried some things, for instance history.back(), but it returns to the first page I went to, in this case page number 10 (or whatever the first page I go to). Hopefully this code helps to understand what I'm asking: <asp:GridView DataKeyNames="Referral ID" ID="gvList" runat="server" CellPadding="4"     ForeColor="#333333" GridLines="None" OnRowCommand="gvList_RowCommand"     OnRowDataBound="gvList_RowDataBound" OnRowDeleted="gvList_RowDeleted"     OnRowDeleting="gvList_RowDeleting" AllowPaging="True" PageSize="20"     AutoGenerateColumns="False" OnPageIndexChanging="gvList_PageIndexChanging"    OnRowCreated="OnRowCreated" AllowSorting="True" OnSorting="OnSort"> protected void gvList_PageIndexChanging(object sender, GridViewPageEventArgs e)        {   &nb

Go Back to Site link missing in Error Page

  
hi,             i developed eventhandler where Properties.Cancel=true..takes to the defualt sharepoint error page. in this page i am missing go back to site link. how to set this link in the error page?   also can we set the link in the Properties.ErrorMessage="cannot update. please click here"+"<a href="+siteurl+"/>";   please help.  

unable to Edit Page in newly created subsites Moss2007

  
I have created new subsites and trying to create a page, but it shows access denied error. Eventhough i have logged in as site collection administrator and given access as full control for subsite and also tried giving master page and style library read access. when i click on create page, I can enter the page name and after that it shows ACCESS DENIED . but the page is physically created and unable to edit.... Appreciate your help on this Issue....      

Master page is reset to v4.master when new site is created.

  
Hi, I have a site definition which specifies my custom master pages like this: <Project... <Configurations> <Configuration ID="0" Name="Innovations" CustomMasterUrl="_catalogs/masterpage/Innovations.master" MasterUrl="_catalogs/masterpage/Innovations.master"> ... I have a site collection http://myserver/projects and a sub-site TestSite at http://myserver/projects/testsite based on that definition above. I save TestSite as a site template and then create a new site Test2 at http://myserver/projects/test2 from the saved template. All seems to be ok but new site master page is v4.master and not Innovations.master. What's wrong here? Of course I can manually change it to Innovation.master but isn't it supposed to be done automatically upon site creation?

logout problem(after logout when clicking on back button after logout still opens the previous page

  
I am using ASP.NET, the web page is abandoning and clear session when a user click logout link but they click the back button and it is still showing the previous page. How can it prevent the previous page after logout?on Logout.aspx load im using this code//=================//        Session.Clear();        Response.Buffer = true;        Response.ExpiresAbsolute = DateTime.Now.AddDays(-1D);        Response.Expires = -1500;        Response.CacheControl = "no-cache";        //----- Second Technique : To Stop Caching of Secure Pages.        Response.Cache.SetCacheability(HttpCacheability.NoCache);        FormsAuthentication.SignOut();        if (Session["UserName"] == null)        {            Response.Redirect("login.aspx");        }       Session.Clear();         Response.Buffer = true;         Response.ExpiresAbsolute = DateTime.Now.AddDays(-1D);         Response.Expires = -1500;         Response.CacheControl = "no-cac

How to Trap a "Page Back" or "Page Close" or "Tab Close" Event

  

 VWD 2008 Express.  Visual Basic.

I have seen pages on the net that when you try to navigate away, they pop up a message asking whether you really want to navigate away.  How can I accomplish this to detect someone hitting the "page back" arrow in a browser or the "x" that closes a browser page or when someone tries to close a browser tab?  Thanks for the help.


Recover data on a Previous Page after navigating from the page and navigating back

  
How can i recover the data on Page1 after navigating to Page2, so that when i navigate to Page1 from Page 2 i want the unsaved data as is.

Page does not post back when clicking any button

  
I thought the page was working fine yesterday. Today I added some code in various places and now a click on any button does not post back.

What could I check that has changed? Any suggesyions? Thank you.

Internet Explorer Go back one page and Go forward one page buttons are disabled.

  

I have a .aspx page in my web site that when I run it the internet explorer back and Fotrth Buttons are disabled. Any Idea what could be causing this functionality.


Asp.net Cross Page Post Back issue

  

Dear All,

I have two web pages, say SourceWebPage and TargetWebPage, on the TargetWebpage I have a directive like:
&lt;%@ PreviousPageType VirtualPath = "~/SourceWebPage.aspx" %&gt;

These are the code behand on TargetWebPage Page_Load Event:

if (!Page.IsPostBack)
            {
                if (Page.PreviousPage != null &amp;&amp; Page.PreviousPage.IsCrossPagePostBack)
                {
                    DateTime reportDate = PreviousPage.DTReportDate;
                    string serialNo = PreviousPage.SerialNo;
                }
                else
                {
                 

unable to Edit Page in newly created subsites Moss2007

  

I have created new subsites and trying to create a page, but it shows access denied error.

Eventhough i have logged in as site collection administrator and given access as full control for subsite and also tried giving master page and style library read access.

when i click on create page, I can enter the page name and after that it shows ACCESS DENIED . but the page is physically created and unable to edit....

Appreciate your help on this Issue....

 

 

 


Web part lost when page post back

  

Here is the brief detail of issue.

1. I have Page1 where I have put LinkButton. The LinkButton Has property PostBackUrl pointing to Page2.

2. When user is redirected to page2, I am using Page Load method to access controls from previous page & get the needed value. To make clear, I am using this approach becuase I cant use querystring.

3. Page 2 has 2 web parts on it. The web parts use data received in Page Load event from page1 and renders data.

4. This works perfect on first page load. When user clicks on a URL in page which posts back, the web parts gets lost.

5. Note that if I come directly to page2 without going at page1, then web parts are retained in the page and they are not lost.

Can anyone give me the clue of issue cause?

Thanks in advance.


Categories: 
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