Friday, November 22, 2013

SPD 2013 error workflow

Error received for no apparent reason when creating workflow.

image

Errors were found when compiling the workflow. The workflow files were save but cannot be run.

Solution:

Clear out Website caches from %username%\appdata\local\microsoft\websitecache\

Note to clear out the contents of the site folders, not the folders.

After this shut down the SPD and restarted and everything worked again.

Also deleted contents of %username%\AppData\Roaming\Microsoft\SharePoint Designer\ProxyAssemblyCache , which might contributed.

References:

http://lyndzhang.wordpress.com/2013/04/04/unexpected-error-on-server-associating-the-workflow/

http://support.microsoft.com/kb/2557533

http://geekswithblogs.net/ferdous/archive/2013/01/29/resolving-sharepoint-workflow-publish-error.aspx

Thursday, November 21, 2013

Firefox text thin and weird.

Don’t know why it happened but I had 2 minutes to look at the issue now and found a ok solution.

Solution:

Activate Clear Type Text in Windows.

Search Charm>Clear Type (Settings) activate

Do some calibration and everything looks sharp again.

Cause:

Probable the hardware acceleration feature in Firefox that messed something up.

References:

http://windows.microsoft.com/en-US/windows7/make-text-easier-to-read-using-cleartype

https://support.mozilla.org/en-US/questions/943918

Monday, November 18, 2013

Exchange connection issues

A third party application had strange issues with a new Exchange 2013 server.

Environment: Super Office 6.1, Exchange 2013, Terminal Server, Server 2003

Symtoms:

The Infobridge Synchronizer agent had issues connecting to the exchangeserver för certain users. Only strange thing we discovered was that the users that didn’t work came in the same order as the Infobridge database had structured the users. Like the first 34 worked and the the remaining 7 had ID like 34,35,36… in the dbo.

Solution:

Many conversations with Super Office, infobridge yet another consultant and the developmentdepartment,  it finally clicked

  1. On the ExchangeServer add or change the following value
  2. \\HKEY_LocalMachine\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem\
  3. Create Dword(32) value named: Maximum Allowed Sessions Per User = 250
  4. Restart Server or Information Store.

Now it’s important to note that the Exchangeserver had proper throttlingpolicies configured and didn’t alert to any events that indicated session issues.

I had similar issue when a procurve switch between an Exchange 2003 server and an office was being bonkers. That time it had to with the switch cutting of the sessions, forcing the client to initate new sessions without closing the old ones. But I really thought 2013 would be a leap forward in this sort of situation.

Why are these the default limitation on a Serversystem that should be able to support tens of thousands of users? And the do this sort of error on only 50….

References:

http://elderec.org/2011/07/exchange-2010-mapiexceptionsessionlimit-unable-to-open-message-store-2/

Tuesday, November 12, 2013

Can’t logoff user

Environment: Server 2008 Remote Desktop Services

Issue: User reports that they can’t login their account on Remote Desktop Services. They’re greated by Loading Notification Message which spins on forever.

Symptom: Disconnect removes user from session. But when logoff is tried nothing happens. Manually killing the only two processes associated with account doesn’t help (taskmgr, rdclip).

Solution:

  1. Check the session ID from Terminal Services Manager for the troubleaccount.
  2. Run Sysinternals Process Explorer (from http://live.sysinternals.com/procexp.exe)
  3. Add the Session ID to columns
  4. Kill the winlogon.exe that have the same Session ID as the troubled account.

Solved.

image

image

References:

https://forums.citrix.com/thread.jspa?threadID=258251&tstart=105&start=15

Passwordprompts when opening documents

The passwordsprompts on a sharepointserver might be considered very secure. Since you often always have to give username and passwords. This might however prevent useradoptionrate. These passwordsprompt usually make users (and admins) annoyed. I’ve authenticated already, why do this every time?

So to get rid of passwordsprompts in sharepoint verify these common configuration issues.

  • The site isn’t present in Internet Options Intranetzone. If you access server by internal name like http://myserver its their by default, but if you’re using a public address like http://myserver.mydomain.com then you need to add it manually.
  • Credentials isn’t saved. Check the Credentials manager to see if the saved passwords are stored there. If they aint there, add them.
  • Autodiscover Proxy is activated in LAN-settings in Internet Options. This might delay authenticationprocess if proxy is misconfigured internally.
  • Security level is higher than necessary in Intranet Zone. Lower it. These sites are usually pretty tightly secured anyway.
  • Wrong password in saved in credentials manager. Ok, if you save the wrong password the first time or you’ve changed the password since, you’re better of removing youre previous accounts from the credential manager and make a fresh start to sure.
  • Using Firefox you can add the sharepointserver to trusted sites in
    • about:config
    • network.automatic-ntlm-auth.trusted-uris = myserver (more than one is separated by “,”

References:

http://tech.kateva.org/2009/01/how-to-use-firefox-with-sharepoint.html

http://www.techrepublic.com/blog/smb-technologist/prevent-unwanted-credentials-prompts-with-sharepoint-document-libraries/

http://social.education.purdue.edu/edit/2011/03/sharepoint-pw-prompts/

http://www.alpineinteractive.co.uk/blog/2013/3/4/sharepoint-online-slow-opening-documents-in-windows-explorer

Monday, November 04, 2013

Error when creating document from sharepoint

Symtoms: Suddenly when trying to create new document from a sharepointlist the following message is presented instead of a new document:
image
“The Operating system is not presently configure to run this application”
Followed by another error with bull about rights and such.
Solution:
When searching the net for this error some indicators point to Office 2013 to be the culprit. Though I’m running Office 2010, I’ve installed Visio 2013. Can this be the the error?
When installing hotfix kb2726997 the error disappears. Solved. Link below.

Edit 131217: This can also happen if Sharepoint Designer 2013 is installed together with Office 2010.

References:
http://support.microsoft.com/kb/2726997/en-us

Powershell and Uptimerobot

Uptimerobot can be quite tedious when you need to update many monitors at once. For example say you bought the license for Uptimerobot and n...