Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm using Sharepoint Designer (2010) to develop a series of connected lists.

I have a number of child-lists and I use the "DispForm.aspx" of my main list to add these 'children'.

Recently the DispForm.aspx has stopped opening in Sharepoint Designer. Clicking it from the list's main page goes into the Form view, but the page never loads and I get no error messages.

Since I can't see the Code window I can't make any changes, even though the page works fine in the browser and I can perform edits directly on the website.

Has anyone got any tips on what I could try, or any way of accesing the code in DispForm.aspx if I can't open it in Sharepoint Designer?

share|improve this question
    
I have the same problem as you did. My home page would not open in Sharepoint Designer but it could open in Notepad. If you have solved this issue could you pelase tell me the solution? I'm dealing with this problem for three days and tried every solution that I found on web.. Thanks. –  e.ozmen Oct 5 '12 at 10:24
add comment

1 Answer 1

If you were previously able to open a page in SPD and are now unable to, one of the main culprits that I have found is the thousands and thousands of lines of whitespace that SPD tends to add whenever doing modifications.

You can fix this by exporting the page in question and opening in a text editor. Depending on the amount of whitespace that was entered, you may want to use something a little more powerful than notepad.exe. I use notepad++ or VS at the moment. I would recommend writing a small program to automate it, which I have not gotten around to doing yet, myself.

Once you have stripped out the erroneous lines you can import it and replace the file online.

share|improve this answer
    
Hi. I'm now working on this project at the moment, but would be interested in seeing if the problem can be solved. As for exporting the page so I can open it in notepad, I'm not sure how I can do this. I don't have server-side access and I'm not sure how I can get the file in Notepad. –  Dave Alger Apr 2 '13 at 9:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.