Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Could not reformat the document What's Up
Message
From
24/02/2005 13:53:01
 
General information
Forum:
ASP.NET
Category:
Web forms
Environment versions
Environment:
ASP.NET
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00989743
Message ID:
00990255
Views:
24
I started to peel off the most recent JavaScript. Although the JavaScript runs well, the editor hated it. This was the code that gave me the problem:
  .....
  addMenuItem("to patient's left  [-->]","parent.window.insertrightarrow()");
  addMenuItem("to patient's right [<--]","parent.window.insertleftarrow()");
I had to change it to this and the editor stopped throwing the error. Thank you for all of your help. This was a nasty one.
  .....
  addMenuItem("to patient's left  '-->'","parent.window.insertrightarrow()");
  addMenuItem("to patient's right '<--'","parent.window.insertleftarrow()");
Regards,
Neil

>It is hard to tell what to look for in the web form. You mentioned that it all started when you made some changes to the form. I would look at those places first, to see if anything there does not look right. Also, if you have a backup of the form, before you made changes that brought about the problem, I would restore the backup and then compare it with the latest version. I am not an expert on HTML at all, but if you would like, you can email me the web form and maybe I will see something there.
>
>HTH.
>
>>When I look at the html view of the page I see that the nice colored text, usually managed by the editor, is gone. All of the text is now black and white. I think you are correct about something not being right in the html. This webform is 9 pages long. What would you look at first?
>>
>>Regards,
>>Neil
>>
>>>I think I have seen this problem/error and in my case, if memory services me right, the problem was that I have changed some HTML tag or something on the page had wrong HTML. That's what I would look for in your HTML code.
>>>
>>>>Hi,
>>>>
>>>>I was recently working on a webform and now when I attempt to save the form I get a dialog which states:
>>>>Could not reformat the document. The original format was restored.
>>>>
>>>>
>>>>A google on the message returns:
>>>>
>>>>****************************************************************
>>>>Visual Studio
>>>>
>>>>Could not reformat the document. The original format was restored.
>>>>The HTML or XML in the document could not be rendered as specified in the markup.
>>>>
>>>>To respond to this message
>>>>
>>>>Check system logs to confirm the error that caused page formatting to fail.
>>>>Confirm that your system can allocate sufficient memory to render the page.
>>>>*******************************************************************
>>>>
>>>>I don't have a clue. Can someone point me in the right direction.
>>>>
>>>>Regards,
>>>>Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform