Important notice

Please note that this blog is discontinued here. All the posts are also coppied to my new blog at http://boris.gomiunik.net.
Important: Due to large amount of comment spam further commenting has been disabled here. If you wish to send me a comment, plase look up the same post on my new blog and leave comment there. Thanks!

6/20/2007

Remote desktop from Windows Vista slow or not working?

I use a lot of remote desktop to manage access to clients or servers. But after installing Windows Vista on my computer, this has been virtually impossible. When I tried to remotely connect it got the connection, but it slowed down or completely froze so it wasn't possible to even log on.

Finally I've found a solution for the slow remote desktop problem here.

It was needed to run the command prompt as administrator and disable auto tuning for the TCP/IP receive window. If you're having the same problem use command

netsh interface tcp set global autotuninglevel=disabled

To reenable it enter

netsh interface tcp set global autotuninglevel=normal

And remote desktop magically started working!

6/11/2007

Reinstalling SharePoint (WSS3) to run under SQL server 2005 instead of Windows internal database (##SSEE)

Recently I was fixing on one server an installation of Windows SharePoint Services that has gone wrong. Even though we've had SQL server 2005 installed correctly, WSS3 installed its own Windows internal database (##SSEE) and started using it. I thouhght a simple uninstall and reinstall of WSS would do the trick. But it didn't. After uninstalling and trying to reinstall WSS3 at the beginning didn't even offer the option to configure it to SQL server (the step in WSS configuration where is asking you which is the location of configuration database,...).

After a couple of retries (also uninstalling SSEE and a lot of reading on the web to my horror I've found one sentence "you'll need a clean install of Windows Server 2003."

.

This was a bit tough because of existing users and some other parameters. After digging a bit deeper and combining knowlege of couple of experts' blogs I've managed to successfully reinstall WSS3 without Windows Internal Database (SSEE) and into SQL server 2005.

Before I write how I did it, let me clear that this solution worked for me. I'm presuming that you don't have anything else installed in SSEE and I'm not responsible for any errors that might happen if you're following the same procedure. So please before making anything on a production server - backup, backup, backup. This procedure includes messing with Windows registry!

Here goes:

1. Copy all the SharePoint Sites to another temporary folder
Using
 
stsadm -o backup -url http://<site_collection_url> -filename <location and filename>

 
copying backup files to new server and
 
stsadm -o restore -url http://<site_collection_url> -filename <location and filename>

 
on the temporary server worked the best. It kept all the relations and all the custom formatting on all the sites.

2. If these are productions sites modify DNS or forwarding to point to the temporary server

3. Here's where the "fun" begins: Delete all the SharePoint Web applications

4. Uninstall Windows SharePoint Services through Control Panel

5. Uninstall Windows internal database (##SSEE)
Connex' Copper Coins has it described in his blog here. Just in case I'm writing a short ressume:

Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall click different GUIDs untill in the right pane you see under "Display name" Microsoft SQL 2005 Embedded Edition". Under that registry copy the value under "UninstallString". Run the command prompt window, paste the command AND add "CALLERID=OCSETUP" at the end of commend line. For example: MsiExec.exe /X{BDD79957-5801-4A2D-B09E-852E7FA64D01} CALLERID=OCSETUP.EXE.

(ressumed from Connex' Copper Coins)

6- Delete all files and folders under %windir%\SYSMSI\SSEE

7. delete all and folders files under %Programfiles%\Common Files\Microsoft Shared\web server extensions\12

8. Using reged backup and delete in registry everything under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\

9. The previous step also deleted the "Server language" entry. so Using notepad create a .reg file with the following text:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\ServerLanguage]
"1033"=""

and run it to restore the "Server Language" entry needed for Windows SharePoint Services installation.

With that I have removed every trace (or at least enough) of Windows SharePoint Services 3.0 from the server. Now I was able to re-run the WSS 3 setup and and it offered me the option for nstalling it into SQL server 2005 and without SSEE.

This is how you can have it done without making a clean install of Windows Server 2003.


If you need help installing WSS, I recommend the following article on technet:

http://technet2.microsoft.com/windowsserver/WSS/en/library/6181fe5b-90ca-40cf-aade-abd59cf3c9071033.mspx?mfr=true

6/06/2007

Windows Live Writer Beta 2 available

I'm already using it to write all my posts for this blog. It has many improvements and features, so I recommend it. Amongst many others, one of them is also the support for blogger tags. You can download it from Windows Live writer website, but the link is misleading. Don't click on the big Download button, because it will lead you to the Live Betas web page.

 To download Windows Live writer, click on the links in the left bar. Click here to go to Windows Live Writer

Click here to go to the page and download Windows Live Writer beta 2

More options for creating a favicon

In my past post about creating favicon online nicolas sent me a comment with a link to another good tool for creating favicons. It's a favicon generator from images. All you need to do is to upload 16x16 or 32x32 .gif or .png file and it will generate the favicon for you. You can find this tool on Web Script lab.

.

If you have Paint.net, you can also download a plugin that will save your image like a favicon - so you can make your favicon also offline.

There are many options also online if you don't want to make your favicon. One is to search for them. I've also found one favicon gallery.

 

All this talk about favicon. And how to insert the favicon? If you have a favicon file named favicon.ico in the same folder that the web page you're trying to add it to, in the head if the page add the following line of code:

<link REL="SHORTCUT ICON" href="favicon.ico" type="image/x-icon">

6/04/2007

Application pool for each SharePoint (WSS) site?

After a long time I'm returning with some SharePoint administration and deployment topics.

One of them is Web application pools with SharePoint. When creating more top level sites with each its own application pool, you can seriously think about how this will affect the server performance.

With around 50 SharePoint sites (and app pools) running we've increased the page file from 1 GB to almost 4 GB.

So planning here is very important. Think about how many web applications you'll need. If you'll need many, think about grouping web applications to application pools.

The difference in performance is very obvious.

If anyone has similar experience, I'll be more than happy to read about it in the comments to this post. :)

5/04/2007

"Cannot connect to the configuration database" and SharePoint

Today I've received another of the cases when SharePoint (v2) couldn't connect to the configuration database. This can be a common problem but it's not so horrible to solve it.

The reason for this is that SharePoint lost the connection to the database.

Reasons may be the following:

  • SQL or WMSDE database may not be running

  • IIS may be running in IIS 5.0 isolation mode
  • The account for connecting to SQL or WMSDE might be gone or with changed password
  • update - SQL Server Embedded Edition might not be running (check services) - Thanks, deanoc (see the comments)

The solution to these is on the following link:

http://support.microsoft.com/kb/823287/en-us

But I've found another reason that could be. Simple: The SQL is running, credentials are also ok and IIS isn't in the 5.0 isolation mode. The problem may occur if sharepoint simply can't find the database. Reasons for this may be many: the database has moved, dns has changed, ... In my case was the later. By changing the DNS server in the network we've had to add one more record manually to point to the correct one and the sites started to work.

4/16/2007

Windows Vista and Flash problem

Even though I've had Flash player installed in my Windows Vista, there was a funny error. In some cases I could see the flash videos and in some cases no (like on SoapBox or YouTube. I've found the solution to the problem.

Below is the recording on how to fix the problem. 


Video: How to fix Flash problem in Windows Vista

4/08/2007

Create favicon online

Usually for websites we just have to create the favicon only once. So it's a bit of unuseful to download and install extra software for this (even though we can make the icons with paint.net)

For one time ocasion you can draw or create the icon from an image file online. Here's an online icon-maker.

4/03/2007

NT Conference is coming!

The biggest IT event in Slovenia is coming! In our company we're going to have an unofficial blog about it. Below is the first video



Video: NTK Video Series v1.0

3/24/2007

A good starting point for creating web designs

A w3c recommendation is that for website layouts and design layers should be used instead of tables. In lots of WYSIWYG HTML editors you don't get the built-in functionality to easily create layout with layers.

So I've found a very good starting place for creating a website. It's a set of "wireframes" from which to build your web page layout.

They're using XHTML and CSS.

Click here to visit the site and get the CSS templates.

2/26/2007

SharePoint list view filtered by ID

For some time now I was experimenting with the SharePoint Blog template. Did you notice, how when viewing the post under permalink you also have the related comments?

Being curious I continued to research, found that there are no web part connections. But when editing the web part current view, I've discovered a beautiful thing!

Now there is besides [Today] and [Me] that you can use for filter value, also [ID]. Perfect for making display forms and related contents. So now in new SharePoint you can filter also by ID passed in URL parameter.

Let me run that through again: First when setting up a list view, set up the filter with the following value: ID is equal to [ID]

When the list view is set, now you can use the ID parameter in the listview:

And the list view is going to display the item with that ID.

2/24/2007

Protect your email from spammers

If you've suddenly started to receive a lot of spam, check if you've written your email address somewhere on the Web. This can be dangerous, a published email address on the Internet can be harvested by special bots. There are ways to protect yourself and still publish the email so anyone can write you without a hassle.

If you're a FrontPage user, you can use a good plugin - Jimco Spam Spoiler. (There are other useful plugins for FP there also)

Other solutions for encrypting your email from harvest bots are:

http://www.wbwip.com/wbw/emailencoder.html
http://w2.syronex.com/jmr/safemailto/
http://automaticlabs.com/products/enkoderform
http://www.seoconsultants.com/tools/email/ 
http://www.ohlone.cc.ca.us/org/webcenter/emailencoder.html

Thanks Jose for sending me the links above.

2/20/2007

SharePoint Designer watches over our code?

Today I was making some custom scripting for one of our customers. And after finishing the code, I saved it and tried to preview... And nothing happened. Double-, triple- checked the code and all should be in order... Then at the end I've discovered some interesting feature or bug which tries to fix the code.

In the video below pay special attention to what happens to the </script> tag after I save the document.

The video is a bit fuzzy because of resizing, but Yes! The </script> tag automatically disappears even though it should be there. Probably calling the dvt_1.body template between confused the designer.

Anyone know a fix or how to turn this feature off? Right now I opened the site in FrontPage and there it doesn't care. :)

2/15/2007

Blog easier

Even though all of the blog providers enable very easy posting to blog, I still prefer to do it offline. One option is already presented - with Word 2007, which really simplifies the posting and work with pictures.

Another good program for blogging is Windows Live Writer. And I'm using this one. Why this one? Because it has some really neat features, a lot of plugins available, etc. A nice thing is that it can also ping the servers for you, so you don't have to do it manually. Below is a list of ping servers I've found. In writer you enter those under Tools --> Preferences --> Ping servers:

http://1470.net/api/ping
http://api.feedster.com/ping
http://api.feedster.com/ping.php
http://api.moreover.com/ping
http://api.moreover.com/RPC2
http://api.my.yahoo.com/RPC2
http://api.my.yahoo.com/rss/ping
http://bblog.com/ping.php
http://bitacoras.net/ping
http://blogdb.jp/xmlrpc
http://blog.goo.ne.jp/XMLRPC
http://blogmatcher.com/u.php
http://bulkfeeds.net/rpc
http://coreblog.org/ping/
http://mod-pubsub.org/kn_apps/blogchatt
http://ping.amagle.com/
http://ping.bitacoras.com
http://ping.bloggers.jp/rpc/
http://ping.blogmura.jp/rpc/
http://ping.blo.gs/
http://ping.cocolog-nifty.com/xmlrpc
http://pinger.blogflux.com/rpc/
http://ping.exblog.jp/xmlrpc
http://ping.feedburner.com
http://ping.myblog.jp
http://pingqueue.com/rpc/
http://ping.blogg.de/
http://ping.rootblog.com/rpc.php
http://ping.syndic8.com/xmlrpc.php
http://ping.weblogalot.com/rpc.php
http://ping.weblogs.se/
http://rcs.datashed.net/RPC2/
http://rpc.blogbuzzmachine.com/RPC2
http://rpc.blogrolling.com/pinger/
http://rpc.britblog.com/
http://rpc.icerocket.com:10080/
http://rpc.newsgator.com/
http://rpc.pingomatic.com/
http://rpc.tailrank.com/feedburner/RPC2
http://rpc.technorati.com/rpc/ping
http://rpc.weblogs.com/RPC2
http://rpc.wpkeys.com/
http://services.newsgator.com/ngws/xmlrpcping.aspx
http://signup.alerts.msn.com/alerts-PREP/submitPingExtended.doz
http://topicexchange.com/RPC2
http://trackback.bakeinu.jp/bakeping.php
http://www.a2b.cc/setloc/bp.a2b
http://www.bitacoles.net/ping.php
http://www.blogdigger.com/RPC2
http://www.blogoole.com/ping/
http://www.blogoon.net/ping/
http://www.blogpeople.net/servlet/weblogUpdates
http://www.blogroots.com/tb_populi.blog?id=1
http://www.blogshares.com/rpc.php
http://www.blogsnow.com/ping
http://www.blogstreet.com/xrbin/xmlrpc.cgi
http://www.holycowdude.com/rpc/ping/
http://www.lasermemory.com/lsrpc/
http://www.imblogs.net/ping/
http://www.mod-pubsub.org/kn_apps/blogchatter/ping.php
http://www.newsisfree.com/RPCCloud
http://www.newsisfree.com/xmlrpctest.php
http://www.popdex.com/addsite.php
http://www.snipsnap.org/RPC2
http://www.weblogues.com/RPC/
http://xmlrpc.blogg.de
http://xping.pubsub.com/ping/

What would be also very neat is that it would be able to post to SharePoint (so I could use it also for my other blog). Other thing is that it could have those neat effects for pictures and save pictures also to SharePoint Library.

On the other hand Word is missing the auto ping functionality, editing the code, etc. So: Word team and Writer team: please get together and exchange knowlege :)

Technorati tags: , ,

2/06/2007

Create comics online

Lately I'm noticing lots of sites passing information in a new way - with the aid of comic books! I like the Idea! Below you have some samples:

The Meatrix

The Enchanted Office

Genuine Fact Files

Creating (static) comics is no problem for mac users, While there also exists some programs for Windows I've found a very nice online service that lets you create simple comics - online. You can even create comics anonymous. But registration brings benefits, like strip blogging, Here is a simple example that I've created in minutes.

2/02/2007

SharePoint Document Library showing only folders and top-level items...

Today I was moving the videos for our e-learning portal Piflar to the new Windows SharePoint Services. And after moving videos for couple of hours - all one by one, not to break the links in data views, I start on working on the data view to display the videos. And I get terrified! The data view is showing only the folders I've created and videos that were in the main folder. So after first shock I've discovered what to do:

1. After inserting the data source click on the name of the data source in the Data Source Details pane to open the properties dialog.

  1. After inserting the data source click on the name of the data source in the Data Source Details pane to open the properties dialog.


  2. In the Item and folder scope dropdown select value RecursiveAll.

 

And all my data is back! Happy SharePointing :)

2/01/2007

Embed videos in your page

Google Video, SoapBox, YouTube and some others nowadays offer you a grrrreat way to publish your videos online and embed them in your site. But each embedded video has the logo of the service provider. You can also embed your own streaming video with all the free tools.

Step 1. Record and edit the video. For editing you can Windows Movie Maker is a super tool. Here you can learn a lot about Movie Maker.

Step 2. Encode your video into flv. For encoding I've discovered a great free tool: Riva flv encoder. With this tool it's really simple to encode the flw so if you can't afford Flash with video encoder, this is a super alternative.

Step 3. Upload your .flv. Use your website space to upload the flv video.

Step 4. Embed a free video player. Jose found a very nice looking online flv embedable player on Advanced Flash Components. We're also using the commercial version on www.prazniki.net. Here's a link to the free embedable flv player. There you also find the instructions on how to embed the player into your website.

Below is a sample for one of the videos that I've edited on the fly some time ago for B4Learning - now is Piflar's Web.

Technorati tags: , , , , ,

Turn off the lights

Don't forget today to turn off the lights. Read more about it here. Also if you can please help me spread the word about the survey of how much you saved by sending e-cards.

Maybe some of us will also turn off servers ;-).

Technorati tags: ,

1/29/2007

New Paint.NET available

Today I've received an auto-update of Paint.NET to version 3.0. Super. Just at a first glance, here are some features:

  • Multi-document interface
  • Gradients integrated into the Tools pane
  • User defined color paletes
  • New effects

And the thing I love the most (being also a PhotoShop user) - now you can switch primary and secondary color with just pressing key X. Small but I missed that a lot :) Thumbs up!

So if you don't have auto-update turned on, or you don't have this program yet, click here to download the latest version of paint.net

1/28/2007

IE 6 can support transparent png

Even though the new IE doesn't have problems with semi-transparency in png images we would believe that we still have to be careful - a lot of people is still using Internet Explorer 6. In my previous posts I've already shown that one solution is to use additional CSS for ie6 and older.

I've found that with the help of a simple JavaScript fix also the old IE can display transparent pngs properly.

Read about how to enable transparent png-s in Internet Explorer 6 and older here.

We still need a separate CSS for other incompatibilities :)