Blog Home  Home RSS 2.0 Atom 1.0 CDF  
Mark Iwaszko's Technical Blog - Monday, February 20, 2006
An IT Liverymans Technocal Blog
 
 Monday, February 20, 2006

After finding a very good File Sync and pier to pier application for normal files.  Here is a list of items which take this to the next level.  Images, Video and even TV can be streamed from your home machine to authorised users via the Net. (Microsoft is also rumoured to be developing this feature on their Windows Media platform)

www.orb.com

Hardware solutions:

2/20/2006 12:47:52 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Technical  |  Trackback
 Sunday, February 19, 2006

On instaling an Iomega 250Gb network (1Gb) external harddrive I was surprised that it had access to a service called Foldershare.

This is an online service that allows Folders to be sync'd and files accessed remotely from your home PC or device.  Because the Iomega has the FolderShare software built in it just works.

HOWEVER Microsoft found this such a good piece of technology that they have bought it and the service is to terminate.  Presumably some form of Foldershare will appear in MSN Live, however until it does here are some links to other apps that do a similar thing. (None of them seem to rate as highly as FolderShare)

BelSync

BearShare Pro 4.0 Full review

Morpheus 2.0

Qtraxmax 1.0.4

PC Mag article (full version)

Today, however, there are any number of inexpensive, Web-based applications that let you move files between point A and point B. You can use a remote access tools like Laplink Everywhere or 01 Communique's I'm InTouch. And if you'd like to swap files with friends, family, and colleagues, you can use private peer-to-peer apps like Grouper, Qnext, or ShareDirect. Then there are apps like BeInSync and ByteTaxi's FolderShare. With these tools, you can easily swap files among your own machines and also with friends and family. And you can automatically synchronize files and folders across multiple machines, avoiding manual transfers entirely. If you change a file on one machine, it's automatically changed on all the others.

2/19/2006 2:46:50 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]   Technical  |  Trackback
 Saturday, February 04, 2006
2/4/2006 12:01:53 PM (GMT Standard Time, UTC+00:00)  #    Comments [3]   Technical  |  Trackback
 Saturday, January 28, 2006
ProduKey is a small utility that displays the ProductID and the CD-Key of MS-Office, Windows, and SQL Server installed on your computer.

http://www.nirsoft.net/utils/product_cd_key_viewer.html

1/28/2006 4:37:55 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Technical  |  Trackback
 Sunday, January 22, 2006

Note: Updated 1st April 2006 for SP2

I needed to create an eventsync in Windows Sharepoint Portal 2.0.  This should have been reasonably straight forward, however with the scenario I found myself in it has taken 3 days of research and pondering to get the job done.

This is my environment and I explain after that how I managed to do it.

Dev Machine
XPSP2, VS2005
Dev Server
W2k3, Sharepoint Services 2.0

  • First thing was to copy the Microsoft.SharePoint.dll from the Server to the Dev Machine so a reference could be made to it.
  • Create a class library and add a reference to the sharepoint dll

Example using C#

using Microsoft.SharePoint;

namespace
iwaszko.com.STS_EventHandler
{
  public class BaseEventSync : Microsoft.SharePoint.IListEventSink
 
{
   
void IListEventSink.OnEvent(Microsoft.SharePoint.SPListEvent evt)
    {
       DispEvt(evt);
    }
  }
}

  • Strong name
    Because a strong name is needed for the assembly then in VS2003 you would normally had the path to an assemblykey as an assembly attribute:
    Such as [assembly: AssemblyKeyFile("Local_Drive:\\DocLibHandler.snk")]

    However it is different for VS2005.  You need to open the properties of the Project->Signing, tick the sign the assembly check box and add a path to the strong name keyfile.
    (you can create a new Strong name key file in this section if required)
  • Build your project and the next stage is to add your dll to the servers GAC.  You can do this by dragging you dll into the c:\windows\assembly directory
    However this is where things started to go wrong !
  • Firstly make sure you have dotNet 2.0 installed on the server.  Adding a dotNet 2.0 assembly to a machine without it gives and odd and unhelpful error.
    (I found a reboot of the server after installing dotNet 2.0 helped as well but this may not be required)
  • Normally, to configure Sharepoint Services to handle events with your assembly you just need to enter its information into the document library advanced settings, however there are a few steps you need to watch out for !

a) Because VS2005 creates a dotNet 2.0 assembly and Sharepoint 2.0 is working on dotNet 1.x you cant register your event handler

I didnt want to revert to VS2003 so I tried to see if you could use dotNet 1.x with VS2005 - according to Microsoft you cant !

"Visual Studio 2005 ships with version 2.0 of the .NET Framework. Visual Studio 2005 does not allow you to choose to support version 1.0 or version 1.1 of the .NET Framework. You can only create projects that support version 2.0."  Details here

b) Thus I need to make Sharepoint on the Dev server run on dotNet 2.0
 1) You must make sure that the Sharepoint 2.0 SP2 upgrade is installed.  This will allow Sharepoint to run on dotNet 2.0

 2) Open IIS Administrator, open the properties on the Sharepoint Web Site, Choose the ASP.Net Tab, select 2.0.x as the ASP.Net version.
    Note: This will temporarily break you sharepoint installation, but dont panic!

If you try to access the site you will recieve the following message: This Windows SharePoint Services virtual server has not been configured for use with ASP.NET 2.0.50727.42. For more information, please refer to Knowledge Base article 894903 at
http://go.microsoft.com/fwlink/?LinkId=42660
.

 2) Because of the different security model in dotNet 2.0 you must run the following On the Sharpoint server [full details here]:
      stsadm.exe –o upgrade –forceupgrade –url http://URLOftheVirtualServer

3) Register and install your dotNet 2.0 assembly into the EventHandler section for the Document Library you require.  (Information below from Sharepoint SDK)      

    • On the Virtual Server General Settings page in SharePoint Central Administration, select On in the Event Handlers section to enable use of event handlers on the virtual server.
      Note: To implement the handler in a document library, versioning must be enabled on the Document Library Settings page for the library.

    • From a view of the document library to which you want to attach the event handler assembly, click Modify settings and columns, and then click Change advanced settings on the page for customizing the document library.
    • On the Document Library Advanced Settings page, type the strong name for the assembly in the Assembly Name box. For example, DocLibHandler, Version=1.0.0.0, Culture=Neutral, PublicKeyToken=0fafac2a0cc92888. You can get the values used in the strong name by right-clicking the DLL of your assembly in the Local_Drive:\WINDOWS\assembly directory and then clicking Properties on the shortcut menu.
    • Type the fully qualified, case-sensitive name of the class in the Class Name box, which in this example is DocLibEventHandler.DocVersionHandler.
    • Reset IIS by typing iisreset at a command prompt.

I can now use VS2005 with dotNet 2.0 dll's handling the events for Sharepoint Services site which is running on dotNet 2.0 - The best of all worlds - its just a shame these things take so long the first time around. So if you need to do something similar I hope this helps.

1/22/2006 9:24:43 PM (GMT Standard Time, UTC+00:00)  #    Comments [4]   Technical  |  Trackback
 Tuesday, January 17, 2006

Testing Office 12 is both a delight and a challenge.  Its integration into Sharepoint 3.0 is fantastic.

Reviews on office 12 are available at the following:

Andre de Costa

Paul Thurrott's

Ed Bott

1/17/2006 12:45:16 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Technical  |  Trackback
 Sunday, January 08, 2006

STSADM.exe (sharepoint administration tool) is a complex tool and it is difficult to remember all the parameters.  Here is a GUI version from MS

Other usefull tools at SharePoint Products and Technologies Web Component Directory.  I found this via Tim Heuers blog 

 

1/8/2006 2:49:20 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Technical  |  Trackback
 Friday, January 06, 2006
Ive found a utility that allows you to drag and drop emails from Outlook into STS and SPS site document libraries and it works a dream.
 
It consists of a webservice that runs on the server and a dotNet client that adds into Outlook, both use dotNet 1.1
 
Now I know that Office12 might do something similar, but its a long way off, so until then this works and its FREE from a UK company. at http://www.tesl.com
 
 
Update
Release 3 (Beta 4):

Note: we have released this, though still in beta as we haven't tested as much as we would like to, because it is stable and we have high demand for the new features.  New features include:

  • The ability to upload mail messages to announcement lists and discussion boards. The mail body is used as the item body text and the mail message is added as an item attachment.
  • Support for dragging and dropping many objects, not just mail messages. E.g. attachments and files from windows explorer.
  • The ability to run in the system tray so that you can use it outside Outlook.
  • Extension points so that developers can add support for custom metadata
  • Various bug fixes
  • 1/6/2006 4:09:46 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Technical  |  Trackback
    Copyright © 2008 Mark Iwaszko. All rights reserved.
    DasBlog 'Portal' theme by Johnny Hughes.
    Pick a theme: