Recover curropt Sharepoint page - sharepoint-2007

I've modified an aspx page using Sharepoint designer and now I can't re-open page.
Everytime I try, I get error message below. From other searches it would appear that SPD has corrupted file and how won't open it again. I can however open it as a text file but can't see or don't have the knowledge to see what is corrupted.
Can anyone suggest how I can fix this, otherwise it means I only ever have one change to change a page, which frankly is rubbish.
Problem Event Name: APPCRASH
Application Name: SPDESIGN.EXE
Application Version: 12.0.6606.1000
Application Timestamp: 4e2f96b3
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7601.17725
Fault Module Timestamp: 4ec49b8f
Exception Code: c015000f
Exception Offset: 00084621
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional information about the problem:
LCID: 1033
Brand: Office12Crash
skulcid: 1033

Can you do one thing,
Browse the SharePoint site to locate Site Actions.
Click Site Actions, and then click Site Settings.
On the Site Settings page, click Reset to site definition under the Look and Feel option.
On the Reset Page to Site Definition Version page, type URL for the page,
and then click Reset.
Let me know if this helps you.

Related

Issue with Microsoft EDGE and opening links in new tab. Specifically Google search results. Possibly a RendererCodeIntegrity Issue?

Video: https://www.screencast.com/t/nZr2b9KBRSf7
Opening Google Search Results in a new tab results in non functionining pages for me. However if I hit REFRESH on those problematic pages it takes me to the desired site without any issues.
The issue only appears to affect Microsoft EDGE and not Google Chrome. And the broken links seem to only be problematic when opening Google Search results in a new tab.
I reset my browser settings back to default.
I also added the following registry entry as described below for RendererCodeIntegrityEnabled:
https://browserhow.com/how-to-fix-microsoft-edge-status_access_violation/
Finally I changed the shortcut of EDGE to disabled the rendered cod eintegrity as well:
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" – disable-features=RendererCodeIntegrity
...
On the problematic pages, the parameters in the URL look like the following:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwiYu8Th97
url: 'sa=t'
rct: 'j'
q: [null]
esrc: 's'
source: 'web'
cd: [null]
This resolved itself after a Windows Update. Weird bug...

Umbraco - Incorrect link to document when useDomainPrefixes = true

(To make this simpler - I've re-posted the first part of this question as a separate question, which has now been answered:)
Umbraco - Incorrect alternative link to document
Here's the full, original question:
On our website, we have the following structure:
sitename
-Global
-English
-UK
-English
for the Global > English page, the links to the page are showing as:
Link to document
/global/en/
Alternative Links
http://english
so the 'Link to document' is correct, but the alternative link isn't. On the UK > English page, I just get the correct 'Link to document'
On our development version, I've just turned on the useDomainPrefixes = true option in the umbracoSettings.config of of the site, and I've added a hostname for the top level 'sitename' node. Now I get the following as page links for the Global > English page:
Link to document
http://english/
Alternative Links
http://hostname/http://english/
http://english
I get the correct links for the UK > English page, showing the correct hostname in the URL like this:
Link to document
http://hostname/global/en/
I've tried re-publishing the entire root node (sitename), however I get an unusual timeout error. I've increased the timeout for the app pool, and for the session and the umbraco timeout in the web.config, however this is a different error probably related to the proxy server contacting the web server.
Is republishing the entire site the only fix? I've tried only publishing the sitename > Global node, which completes successfully, but doesn't fix the issue.
This is sometimes caused by setting the domains for the content nodes incorrectly. If you've right clicked and selected "Manage Hostnames" then you can get issues like this.
Remove all hostnames and see if everything works with UseDomainPrefixes=true.
I would reinstall from scratch and rebuild the site if the worst happens and you really cannot fix.

Failing to localize WIndows 8 App with Multilingual App Toolkit

I'm trying to localize my Windows 8 App with the Multilingual App Toolkit.
And for that I tried to follow this explanation to the point:
http://channel9.msdn.com/posts/Build-Multi-language-apps-using-the-Multilingual-App-Toolkit
but it fails with the following Output:
1> Multilingual App Toolkit build started.
1> Merge of Loc PRI file failed calling makepri.exe: '0x80073B08'
1> Multilingual App Toolkit build completed with errors.
I can't find anything for 0x80073B08.
If I remove all xlf language files from the project it compiles, is able to launch and to build a store package.
But as soon as there is any language file included it failes to build with the error above.
Any Ideas?
EDIT:
I'm using c# and a single resw file.
Everything works as long as I don't include any xlf files.
There are no duplicate keys (except partly duplicate like "MyButton.Text", "MyButton.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip")
EDIT2:
Seems like the real problem is the extension format, e.g.:
ClearNotesButton.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip
or
AddPageButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name
if I use those makepri throws the exception above.
Does this mean I can't set the Tooltip and the Text of a Button via the x:Uid mechanism?
This error code indicates that a (localized) resource add was attempted, but the source resource is not in the PRI file. Three conditions were recently discovered that can cause this condition for resources.
A duplicate resource exists in the resjson file.
JavaScript Example:
"Cancel" : "Cancel"
"cancel" : "Cancel" <-- Duplicate resource
A resource ID conflicts with a different resource with the same base path information.
JavaScript Example:
"About" : "About title"
"About/OKBtn" : "OK". <-- Resource path is the same as a previous resource's ID
XAML Example:
MyButton : "Button without property"
MyButton.Content : "Hallo Welt" <-- Becomes MyButton/Content, which conflicts with MyButton ID
A resource ID contains the same name as the resource file.
Common Example:
Filename: Resources.resjson
"Dialog/Resources/Title" : "Welcome"
Please look for these conflicts as they are know to cause this error message. You could also see this error on the preview version. Please ensure that you are running the released version of the toolkit - it is v1.0.1114.0.
A new version of the Multilingual App Toolkit has been released that will help identify when this issue happens so you can easily adjust the resources. All three known issues are resolved with this release. The version is v1.1.1075.0 as displayed in the VS IDE Extensions and Updates dialog.

SharePoint 2007 Publishing Site

Created a new Publishing site to serve a portal for our division. It contains several custom coded webparts that fetch data from the db and/or RSS feds and outside links.
I found it absolutely dumb that as a owner I'm having to approve my own page. Is there was to turn off this functionality? Or modifying so that only a document library runs through the approval process?
In the edit mode, there is a link "Reminder: Check for Unpublished Items" and if I click it all of my web parts and all the links, pictures, and other contents within these web parts are highlighted with a fat dotted red line. How do I get rid of this since what sharepoint is complaining about is embedded in these webpart?
If I try to create a doc library called "Announcements" I get an error:
"The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Announcements/Forms/AllItems.aspx"
For some reason it does not like the word, as I can call it BuggsBunny and all is fine. Is "Announcements" a key word of some kind in SharePoint? I really need to create a list with this name.
Thanks,
Risho
I found it absolutely dumb that as a
owner I'm having to approve my own
page. Is there was to turn off this
functionality? Or modifying so that
only a document library runs through
the approval process?
You should choose, when you are creating your site, a "Publishing site" template rather than a "Publishing site with workflows". The main difference between these two is the fact that you'll approval workflow on nearly everything activated with the later while the former is free of it but still allows you to activate it if needed
there is a link "Reminder: Check for
Unpublished Items" and if I click it
all of my web parts and all the links,
pictures, and other contents within
these web parts are highlighted with a
fat dotted red line. How do I get rid
of this since what sharepoint is
complaining about is embedded in these
webpart?
Don't know where you are hosting your webpart ressources (style library, document library, image library ? outside of SharePoint ? On the 12 hives ?) but if they are within SharePoint libraries and the content is not published with a 1.0 version available for the readers, you'll have this error. Deactivate the approval workflow or publish AND approve theses items. Please also note that external content will probably trigger this red link, but I suggest you to use a limited "visitor" account to check up the final rendering. The "outlining" is a nice addition but it's not always working as expected, mainly with external content.
If I try to create a doc library
called "Announcements" I get an error:
"The resource cannot be found.
Description: HTTP 404. The resource
you are looking for (or one of its
dependencies) could have been removed,
had its name changed, or is
temporarily unavailable. Please review
the following URL and make sure that
it is spelled correctly.
There is a default annoucement list in SharePoint (with its dedicated template, not sure that you have one provisioned with the publishing template that you picked, that might be a reason why you have this strange error. The default announcements list or its template is not a document library. If you want a document library with that name, and that specific name gives you that error, I suggest that you create a document library called AnnouncementsDocuments and then change its title for "Annoucements", that way the url will be clean of the dreaded name and you'll have the specified title.
For the error message, have a look within the source of the error message page, you might have, in some comments, more information that might help us to help you.
Hope it will help :)

How can step through an Action that is requested from JavaScript during execution?

There is this one action that is requested using javascript during the loading of a page, it takes over 25 seconds to resolve. Looking at the code makes me think there is a scaling issue, but I am wondering if there is any way I can step through the code during the request so I can see what is happening. I try clicking 'debug/start debugging' but it won't launch the proper URL (access to the site is subdomain based), and it will also not find certain dependencies. I am able to browse the site directly via URL locally after mapping a URL via my hosts file to localhost (127...) but the default url that pops up (localhost...) from debug does not work because it is not formatted properly.
Any ideas?
You can attach the debugger to your browser by selecting "Attach to process" under "Debug" menu.
In the past, at least with ASP.NET we have used tracing to debug issues. You will just need to enable it in the webconfig. If you use warn, the messages will show in red and be easier to spot.

Resources