.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

ListFormWebPart Randomly Deleted

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :SharePoint
Generally, when I edit any type of Form, I make a backup of the Form I am customizing.  I know how catastrophic it can be to delete the ListFormWebPart so I never do it.  That said, last night, something happened. I have a custom DispForm.aspx where I had added a WebPartZone to the right hand side (I did not touch the LFWP).  I also made a backup of DispForm.aspx called DispFormOriginal.aspx before I made any changes. I did this about a month ago. Last night, SharePoint graciously decided it would delete the LFWP from both the custom and the backup page.  I checked the last modified dates as well as the logs and it shows that I edited these pages over a month ago.  How does something like this happen?  The wonderful thing is that now I have to recreate the list (which has thousands of entries) not to mention rewrite Javascript web service code. *Sigh...* Any recommendations on how to fix this short of recreating the list?

View Complete Post

More Related Resource Links

JQGrid Loading deleted values



This is quite strange. here is the issue:

Some Info:

1. I'm using a multi-select jqgrid.

2. I have my own delete button to delete multiple orders

The problem:

When i press the delete button on the pager of my jqgrid, the records are deleted from the database but JqGrid shows some records (4-5). On refreshing the grid, correct numbers of records are shown.

Here is the code:

function delorder() {
        var amg = $("#horder").getGridParam('selarrrow');
        var cont = amg.length;
        if (amg.length > 0) {

ASP.Net account deleted. How to create it again?


 Hi I have created an intranet application using ASP.Net/IIS.

I normally need to web share the folder and allow full permission to ASP.Net user account.

However, I carelessly deleted this account. How to create it again ?

Pls help.... thanks.


Incremental Crawls take hours randomly


On occasion the incrmental crawls; which usually take under 1 minute take hours to run.

The crawl logs show a successful crawl message and the nothing til it completes, not a single log entry.

It will eventually finish and the next incrmemental will run just fine.

No errors or anything to speak of.

Index has 800K items


Can not perform this operation.The file is no longer checked out or has been deleted?

In my sharepoint designer 2007, when I try to check in a file, it give me the following errors:

Can not perform this operation.The file is no longer checked out or has been deleted.

Please advise me how to fix this problem?


javascript automatically deleted



I m starting to work with Sharepoint 2010 but i have a problem.

I m trying to create a custom home page with animations.

For the moment i m just trying to change my image on my link using javascript (onmouseover="document.getElementById('MD').src='../)

But i don t understand why Sharepoint delete my function when i m saving my page.

What is the way to do it, and why SP2010 doesn't save my page (I had not this problem with SP2007)?



Deleted All the user by mistake



I deleted all the user from the Access list including myself and not able to login....How do i recover those user?

Please answer as quickly as possible.



Sharepoint Site Web Config elements Gets Deleted automatically


see i used to have a security filter settings in web config
security><requestFiltering><requestLimits maxAllowedContentLength="104857600"/></requestFiltering></security>
 but it gets deleted automatically after  i dont know why 
we tried to install something in our server yesterday it didn't worked and reverted it back to yesterdays stage( But i had updated the config files 3 weeks ago) 
but today i check the config files  these elements are  not there.

My system is 64 bit windows server 2008 with IIS 7 and MOSS 2007 SP2

How to Set a list item's createdby or modifiedby field as a User(deleted from AD)



I have to migrate data from SQL DB to SP list. But its old data and some users who created/modified the record has been deleted from the AD. Now I need to set the CreatedBy / ModifiedBy Field of the item accordingly. How to achieve this?

And when I tried to modify the "Editor" and "Author" field through Object Model, it works. But its not working through Webservice. What is the reason behind this?

Please help me find an optimal solution for this...


Thanks and Regards,

/* John JB */

Why does text and page formating changes randomly?

Hallo there, First of all I don't know if I am posting in the right forum, so let me know if there is another forum for this issue. My form text and entire page formating changes once a while and I don't know why. e.g. font color, background color of certain paragraphs or table look changes, it seems randomly, I think it has something to do with the style but I don't know how to avoid this repeated text formating loses. In details: U am using Visual Studio 2010 Professional and is set for Visual Web Development. I create a new form e.g. default.aspx link it to a master page and the master page is linked to a css file (style sheet file) that contains only general and basic formatings and I hardly change any thing in this css file. I format my default.aspx. and later the formating chanegs by it self and I have to change it back manualy. Most of the time I have to create a new form. link it to the master page and copy the text, tables and so on from the original page to the new page and then delete the original page. but even the new page chnages later. and so on. I don't know how to avoid that! Any idea's? Thanks in advance  Michael Najar wishes you great day

Visual Studio 2010 randomly crashing

Hi,    I'm using Visual Studio 2010 Ultimate RTM and I'm experiencing frequent and random crashes (on an avarage of once in 5-15 minutes) of the IDE after which it restarts and any unsaved progress is lost. This is really starting to be irritating.   The event log has these entries:   1. Event 1023, .NET Runtime Application: devenv.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP 59ECF146 (59D50000) with exit code 80131506. ------------------------------------------------------------------------------------------- 2. Event 1000, Application Error Faulting application name: devenv.exe, version: 10.0.30319.1, time stamp: 0x4ba1fab3 Faulting module name: clr.dll, version: 4.0.30319.1, time stamp: 0x4ba1d9ef Exception code: 0xc0000005 Fault offset: 0x0017f146 Faulting process id: 0x11f4 Faulting application start time: 0x01cae4e1a4469abc Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Report Id: ab11a505-50d5-11df-a1ae-001fd05d001c --------------------------------------------------------------------------------------------- 3. Event 1001, Windows Error Reporting Fault bucket 1776371620, type 1 Event Name: APPCRASH Response: Not available Cab Id:

Data flow task with multiple destinations randomly hangs

I have a package whose control flow consisting of a single data flow task with multiple destinations continues to hang at random locations.  The data flow task is fairly simple: - One OLE DB source (one query of selecting about 10 fields from one table) - 9 lookups that serve basically as left joins to capture which data "drops off" (does a row redirect on on lookup errors to an "error flow") - Two destinations: one the captures all the data that doesn't drop off from the lookups, and another to capture the data that does drop off; these write to two tables unrelated to each other, and unrelated to any of the tables I'm reading from I have tried the following: - Changed one or both destinations from OLE DB to flat file -- still randomly hangs - Removed both destinations altogether -- this always suceeds.   - Removed destination A and leave destination B -- this always succeeds - Removed destination B and leave destination A -- this always succeeds I took great care in making sure I get no warnings when the package runs, even resolving the unneeded column warnings, and the duplicate keys on all my lookups, but it still hangs. However, once I give up and stop the package, the following error is thrown (among others that appear to be a byproduct of the root issue): Error: 0xC02020C4 at Data Flow Task, OLE_SRC AP12 [1]: The attempt to

Connection to SQL server 2008 fails randomly

I'm sure a lot of you have seen this error: "A network-related or instance-specific error occurred while establishing a connection to SQL Server" Normally I would assume that this would mean that there's a problem connecting to the SQL server, but currently I'm having a hard time figuring out what the problem is and how to fix it The problem only occours randomly, but mostly it is when I from the same computer calls the server several times for example like this: For i as integer = 0 to 500 OpenConnectionToSqlServer(Bla bla) ReadData() CloseConnection() next I always makes sure to close the connection again. The more often I connect to SQL server in a row, the higher is the percentage of errors I have created my code so that if the above error happens, the program will wait for a second, then try again (after 3rd try it will stop trying)   I have several times been monitoring the SQL server at the same time, but I can't seem to see anything from there :(

How to Recover accedently Deleted data without restoreing the backup ??

Hi I want to restore data which has been deleted accedently by user without restoring backup of T-Log.  

The multi-part identifier "deleted.DataEncryptionKeyID" could not be bound : trigger

Hello there, I created a trigger and I am trying to only do stuff if my inserted.column_name1 is different from my deleted.column_name1. Here is my code : alter trigger EncryptionKeyUpdate on [BackupJobDefinition] after update AS if deleted.DataEncryptionKeyID != inserted.DataEncryptionKeyID begin     INSERT BackupJobDefinitionLifeTime         select             'Old',             GETDATE(),             system_user,             JobDefinitionID,             DataEncryptionKeyID,             1        from deleted     INSERT BackupJobDefinitionLifeTime         select             'New',             GETDATE(),             system_user,             JobDefinitionID,             DataEncryptionKeyID,             1    

User keeps getting deleted from MOSS site

Hello All, There is one user with contribute rights who keeps getting deleted from a team sub site that is on MOSS 2007. She has weekly reports that she works on and i was told that she doesnt really get on to the site very often except once or twice a week to update the reports. There is only one business owner of the site apart from me and who can modify permissions. So i cannot think of anybody else who has access to mess with user permissions. Has anybody had this issue before ?

Deleted row need to recver

hi in sql server 2005, i have deleted row by mistake and now want to roolback them can one there to help me, i wrote a query is "delete tblmetric" nd pressed F5 now wanna to recover the rows

Cookie is not deleted if another browser remained opened

Cookie is not deleted if another browser remained opened even the current one is closed. I also include the code to get the cookie expired . But it only works properly when user closes all browsers.  How can I resolve it ? Tks.
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