My career in technology

Archive for the ‘Error Resolution’ Category

Quick Fix: “The document could not be opened for editing. A Microsoft SharePoint Foundation Compatible application could not be found to edit the document”

Problem:

A user tries to open an InfoPath form in the application instead of the browser, and get an error message:

Image

The user can open the file in the browser just fine, and has been able to open the forms previously with no problem. User is able to download the form to their desktop and open the form in InfoPath. But when they try to open the form in the application from the context menu, the above error is shown.

In researching the error, I found a support posting that provided a clue to the problem. In it, the user is instructed to enable Add Ons in their Internet Explorer:

  1. Go to Tools in IE, click Internet Options
  2. Click Programs at the top
  3. Click “Manage add-ons” near the bottom
  4. Click Publisher, then you can see all of Microsoft Corporation together
  5. Scroll to SharePoint names (May be one or several)
  6. Make sure they are all enabled by clicking on the name; the Enable button is towards the bottom.
  7. Then click OK and OK and restart IE

Can you guess what the problem was?
(more…)

Quick Fix: Anonymous Login Error

SharePoint 2010 web server, on Windows 2008 R2. An error message appears in the server Application event log:

Source: SharePoint Foundation
EventID: 3351
Level: Critical
Error:
SQL database login for ‘SharePoint_ConfigDB’ on instance DATABASENAME failed. Additional error information from SQL Server is included below.
Login failed for user ‘NT AUTHORITY\ANONYMOUS LOGON’.

ErrorID 3351

Error message repeated once a minute.

Solution:
After rebooting the server, the error went away.

I’d love to be able to explain this, or say the discovery of the solution was a result of my genius. Sadly, no. After several days deep-diving the logs and exploring the breadth and depth of the blogosphere to no avail, temporarily disabling various timer jobs that appeared in the logs just prior to the error message, and chasing dead ends, it was a power outage and a failure of the backup power supply which forced the server to be restarted and made the error disappear.

Warning: PowerShell Won’t Throw An Error When You Are About to Kill Your Web Application

Here is a little gotcha that PowerShell and SharePoint hit me with.

PowerShell will not return an error when you assign a user account to a SharePoint web application if the user does not exist or has been entered incorrectly. However, after an IIS reset, your SharePoint site fails and returns an error.

User does not exist or Is not unique

Symptom:  SharePoint will not serve any content when you browse a site.  Instead, the site displays the following error:

Error: The user does not exist or is not unique.

Background:

Warning messages appeared in the server logs indicating that the web cache is not configured correctly: (more…)

File Too Large? Not So Fast…

When bulk uploading a large number of documents into SharePoint 2010, a user ran into an unexpected error.

The file *filename* is too large for the destinatoin file system.

But the maximum file size had not been changed from the default, 50 MB.  (See the file size in the error message?  Less than 10 MB.)  What is up with that? (more…)

Quick Fix: User With Contribute Permissions Can’t Upload .swf to SharePoint 2010?

When a user with contribute permissions tries to upload a .swf file to SharePoint 2010 library, they get the following error message after the upload appears to complete:

Error: Access Denied

There is a list of file types, including shockwave files, that users with Contribute permissions cannot submit to SharePoint libraries.  In order to be able to submit these files to libraries, the user has to have higher-level permissions (like Design).  But these files are not in the blocked file types list found in Central Administration (http://YourCentralAdminURL/_admin/BlockedFileType.aspx).  What gives?

I provide the answer and a PowerShell script to solve the problem. (more…)

Death to Malware: Smart Fortress 2012

I’m not a malware hunter by trade, but I have been called on from time to time to do a little extermination.

Sometimes, you can’t help an infection.  You visit a web page, quite innocently, and the page or an advertisement on it has been modified to take advantage of security flaws and suddenly you are fighting some nastyware.

But sometimes you get social engineered into clicking something you know you shouldn’t have clicked, and you mess yourself up.  This is what happened to one acquaintance of mine (who shall remain anonymous because it was her fault, and she feels bad enough already about it). She opened an attachment on an e-mail claiming to be from Federal Express, and her system was infected by Smart Fortress 2012.  Here is how I cleaned the system of Smart Fortress 2012.

(more…)

Death to Malware: Killing Your Funmoods

I’m not a malware hunter by trade, but I have been called on from time to time to do a little extermination.

The “Internet Security” fake antivirus I talked about in my previous post was not the only recent run-in with malware.  A couple of weeks ago, Funmoods hijacked my wife’s browsers.

Funmoods was only a minor pain to remove, but there were no concrete directions to remove this mild nastyware, so we kept running into little things it left behind.

Funmoods is a malicious browser add-on that resets your home page and redirects all of your internet searches to Funmoods.com.  Want something that will kill your fun mood?  This hijacker is a good candidate.  It is time to return the favor.

(more…)

%d bloggers like this: