The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘Web Development’ Category

InfoWorker Solutions: SharePoint ACLs: RoleDefinitions, RoleAssignments, Inheritance

Posted by jpluimers on 2011/04/18

SharePoint security can be tricky business.

Here are a few URLs that helped me going:

–jeroen

Posted in Development, SharePoint, Web Development | Leave a Comment »

SharePoint 2010 error: Retrieving the COM class factory for component with CLSID {BDEADF26-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 800703fa – SharePointWiz

Posted by jpluimers on 2011/04/11

Somehow in a production environment I did get this error too:

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {BDEADF26-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 80040154.

These two posts helped me to solve it:

SharePoint 2010 beta error: Retrieving the COM class factory for component with CLSID {BDEADF26-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 800703fa – SharePointWiz – Site Home – MSDN Blogs.

Rhythmic Coding: Retrieving the COM class factory for component with CLSID {BDEADF26-C265-11D0-BCED-00A0C90AB50F} failed due to the following error: 80040154.

The solution is deceptively simple:

Resolution: It is because you are trying to build a x86 application. Go to project properties and set type to x64 everywhere. Then rebuild and debug. The Error Vanishes!

The SharePoint 2010 dll’s are all x64, and Visual Studio 2010 by default still starts .NET projects in x86 mode for both Release and Debug settings.

–jeroen

Posted in .NET, .NET 4.0, C#, C# 4.0, Development, SharePoint, Software Development, Visual Studio 2010, Visual Studio and tools, Web Development | 8 Comments »

Stack Overflow ebooks

Posted by jpluimers on 2011/02/10

Greg Hewgill published a bunch Stack Overflow ebooks and StackExchange stats.
His readme explains a bit more on the books.
The blog he maintains makes up for some nice reading too.
Be sure to read the blog entry on the ebooks.

–jeroen

via Stack Overflow ebooks.

Posted in *nix, .NET, ASP.NET, C#, C# 2.0, C# 3.0, C# 4.0, Database Development, Delphi, Delphi for PHP, Development, HTML, HTML5, Java, Pingback, Power User, RegEx, Scripting, SocialMedia, Software Development, SQL, SQL Server, Stackoverflow, XML/XSD | Leave a Comment »

The hilarious answer on Stack Overflow in why not to parse html with RegEx

Posted by jpluimers on 2011/02/09

Quite a while ago, user bobince wrote great answer on why not to parse html with RegEx.

Somehow people fail to recognize the brilliance of the answer, and try to simplify it into something like “don’t, use an XML or HTML parser in stead”.

bobince even posted some nice contra-examples that are impossible to  parse in RegEx (heck, even most regular HTML and XML parsers have difficulties with them).

So: enjoy the beauty of the answer while it is still locked for editing.

–jeroen

Posted in Development, HTML, RegEx, Software Development, Web Development, XML, XML/XSD | 2 Comments »

Formatted sourcecode in WordPress: uses SyntaxHighlighter 3.0; complete list of supported languages

Posted by jpluimers on 2011/01/18

In the past I wrote a few blog posts on posting sourcecode in WordPress.

Nick Hodges‘ last Flotsam and Jetsam blog post pointed me to the SyntaxHighlighter JavaScript that is used by WordPress and many other engines/sites.

Their site contains an even more elaborate list of supported languages.

I had the basic list right in my last post, but was missing all the aliases (which often are easier than the longer proper names).

This is the new table adapted from their list: Read the rest of this entry »

Posted in .NET, Batch-Files, C#, CSS, Database Development, Delphi, Delphi for PHP, Development, HTML, HTML5, Java, PowerShell, RegEx, Scripting, SQL, VBS, Web Development, WordPress, XML, XML/XSD, XSD | 5 Comments »

WordPress Pages and Page Order

Posted by jpluimers on 2010/10/15

WordPress Page Order is a number increasing from left to right.
You can have holes in the number sequence.

So, back to the BASIC and FORRAN line numbering schemes (increment bij 100, 10, or you name it).

–jeroen

via: Pages « WordPress Codex.

Posted in Development, Software Development, Web Development, WordPress | Leave a Comment »

Dropbox – Why cant I establish a secure connection? –

Posted by jpluimers on 2010/09/16

Dropbox can show you this message when it can’t update (and the icon in the system tray gets a red cross ):

can’t establish a secure connection

In my case, it was because I was using the Fiddler2 tool to debug some web-traphic.
Fiddler intercepts the WinInet API layer by putting itself as a proxy in it.
The great thing is that Fiddler2 can hook HTTPS traffic.

The not so cool thing is that I forgot that DropBox routes its’ HTTPS traphic through the WinInet API too :-)

Disabling Fiddler2 enabled DropBox to start connecting again and finally making a good connection .

As soon as DropBox has a good connection, you can restart Fiddler2 again to debug your internet traffic.

–jeroen

via: Dropbox – Why cant I establish a secure connection? –.

Posted in Development, Fiddler, Power User, Software Development, Web Development | Leave a Comment »

RT: JQuery: Novice To Ninja ebook free for 24 hours (or less now, I guess) – DelphiFeeds.com

Posted by jpluimers on 2010/07/12

If you want JQuery: Novice To Ninja ebook for free, then hurry :)

–jeroen

via: JQuery: Novice To Ninja ebook free for 24 hours (or less now, I guess) – DelphiFeeds.com.

Posted in Development, JavaScript/ECMAScript, jQuery, Scripting, Software Development, Web Development | Leave a Comment »

Hardening WordPress: when 10 Useful WordPress Security Tweaks are not enough

Posted by jpluimers on 2010/07/07

Last week, Jean-Baptiste Jung started a bit of a stir when posting on Smashing Magazine about 10 Useful WordPress Security Tweaks.

He totally missed the official Hardening WordPress page and generated a lot of comment traffic.
All of his tweaks were rebutted by commenter Vid Luther (Mobile Commerce and Technology Evangelist and ZippyKid owner) in a separate How to Secure a WordPress Site.

This once again shows that for serious work you really need to know what you are doing.
If you don’t, then leave the work to people who do: Vid is one of those guys.

–jeroen

via: 10 Useful WordPress Security Tweaks – Smashing Magazine.

Posted in Development, Software Development, Web Development, WordPress | Leave a Comment »

Web 2.0 apps throwing away your user input #fail

Posted by jpluimers on 2010/06/30

It seems quite a few “web 2.0” apps too have the same glitch: they throw away user input when the first page finishes loading.
This is especially noticeable on slow connections (UMTS, DSL that is a long distance from the phone company, EDGE, GPRS, etc): the connection speeds that a lot of developers don’t seem to test on.

So, the sequence of events  goes like this:

  1. The data entry fields (in this case, from and to location) become visible
  2. You put the focus on the from field
  3. You type the from address (I do blind typing)
  4. You press the tab key to go to the to field (more and more Web 2.0 apps get their tab order right nowadays)
  5. You type the to address
  6. You wait until the “GO” button becomes visible
  7. The Web 2.0 app keeps loading
  8. It erases the “from” and “to” fields that you just typed

Or more general:
when you start typing in a Web 2.0 app which is still loading, almost all the times you loose your input.

And since there is usually no visual clue when the Web 2.0 app has finished loading, you have to wait until you feel comfortable not loosing your input.

Bad!

Examples that get this wrong:

Please add your own in the comments…

–jeroen

Posted in Development, Opinions, Software Development, UI Design, Web Development | 1 Comment »