Mystic Slayer's Bloggie

DirSync for BPOS: Set-CoexistingConfiguration Error

by admin on Mar.06, 2010, under Active directory, BPOS

For the first time I've met the error 'Set-CoexistingConfiguration' with BPOS DirSync. What happend you think?

Well I've did all the planning and configuration of the Active Directory at a customer for using Directory Synchronization with BPOS. But the customer had a Parent-Child domain configuration, so this was new for me using DirSync.

I ran the configuration with our normal domain admin account and with the made account above. Both running into the Set-CoexistingConfiguration error. When I use the ADInsight tool supplied by Sysinternals I see the follow data:

ConfigWizard.exe:0212 modify _sa_adsync ..local: 1 mods 2/0 ctrls CONSTRAINT_VIOLATION 1.488ms

You would say there is an error using the DirSync or a configuration problem on the machine. So we've checked everything. We could do everything with the account supplied with the setup, but yet we found out that wasn't enough.

So we used another account that was made at both domains. So the parent-child had the same account. Yet we thought that couldn't work, but it did some how. I've talked with the experts at Microsoft regarding these problems, but even they didn't know what this error was. So also Microsoft we'll be checking what this means.

Leave a Comment :, , , , , , , more...

Windows Server 2008 R2 with WSS 3.0 Error 10016: DCOM IIS WAMReg admin service

by admin on Feb.20, 2010, under MOSS, Software, WSS, Windows Server 2008

Well it was the first time I did a deployment of WSS 3.0 on Windows Server 2008 R2 at a customer... the installation went very well I could say but yet I found out that I had a strange DCOM error. Not the DCOM error I would suspect...

Type: Error
Source: DCOM
Category: None
Event ID: 10016
Description:
The application-specific permissions settings do not grant Local Activation permission for the COM Server application with CLSID {61738644-F196-11D0-9953-00C04FD919C1} to the user DomainName\UserName SID {61738644-F196-11D0-9953-00C04FD919C1}. This security permission can be modified using the Component Services administration tool.

So after searching on BING.com I found out that this has the do with the DCOM IIS WAMReg admin service. Normally you would say that this has to do with the location activation of the DCOM service. But when I found out that the DCOM service couldn't be changed I had to figure out that I had to change some settings. I knew that you can activitate the DCOM service, but Microsoft had to change this DCOM service with the new release of Windows Server 2008 R2. On BING I found out that someone had this error.

So check the blog of Wictor Wilen It saves you a lot of time to figure it out.

Leave a Comment :, , , , , , , , , more...

Unable to cast object of type ‘Microsoft.SqlServer.Management.Smo.SimpleObjectKey’

by admin on Feb.03, 2010, under Software, sql server

Today I was doing some tasks on SQL Server 2005 with SP2. I had some problems with adding jobs and getting the following error message:

Unable to cast object of type 'Microsoft.SqlServer.Management.Smo.SimpleObjectKey' to type 'Microsoft.SqlServer.Management.Smo.Agent.JobObjectKey'.

The issue was using client tools without SP2. You can't add jobs to a SQL Server 2005 with SP2 with SQL Server 2005 RTM Client Tools.

Leave a Comment :, , , , , more...

MOSS 2007 / MSS 2010 virtualization problems.

by admin on Jan.20, 2010, under Virtualization

In the last couple of years I installed alot of different farms for SPS2003, MOSS 2007 and yet I started with the installation of MSS 2010.
Most organizations started using Virtualization software like VMWare ESX of other virtualization software. As far as I know I had to most problems with MOSS 2007 on virtual boxes. The most problems where database servers or badly configured boxes.

When you're using SQL Server or other database server you'll will see that when they are bad configured your farm is performing very very bad. Why?

One of the biggest reasons is that when you're running a database direct on a Virtual Hard Drive it will not perform as well. Why? Mostly the vhd's are using the same LUN on a SAN or physical disk. The best option here is to use pass-through disk to a LUN on a SAN.

Second when you're running a DB server on a Virtual Box and you allocate shared memory and shared CPU's it will also cost performance. This is also for MOSS or SP2010. You should use one-on-one CPU. So if you need 4 virtual CPU's you'll also need 4 cores and not sockets. For another example check your NUMA(Non Uniform Memory Access).

If you have a virtualbox with 8 cores and 32 GB of memory then your NUMA is 4 GB. So you can maximum allocate 4 GB of memory to a virtual server. If you allocate more memory it can cost your performance.

If your using VLAN's and you have multiple Virtual Switches ensure that your MOSS or SP2010 environment is using the same Virtual Switch. If the latency is higher then 1ms your performance will drop. MOSS and SP2010 will only have a good performance with a very low latency.

Also if you're running an AD server and this server is also running poorly your SharePoint environment will also perform poorly. SharePoint authenticates alot.

Most hardware performance issues are written above. Look at it when you're making SharePoint environment virtualized. 80% of the problems are the DB server of the Indexing Server of your SharePoint environment.

Leave a Comment :, , , , , , , , more...

MSS 2010 / .NET 3.5 / Farm

by admin on Dec.12, 2009, under blog

Well I installed a complete new infrastructure to test the first beta of Microsoft SharePoint Server 2010. So configured a SQL Server 2008 R2 CTP with Windows Server 2008 R2 EE on Hyper-V.

Everything done. And let's play with MSS 2010. Well I was happy to say that I had the option of installing a farm. Well when the installation was running I could say I was disappointed by the fact that SQL Server 2008 was installed on the APP server. So I concluded that the first installation I had no choice that SQL Server was running on the same machine.

The second conclusion is the unforsaken Ribbon of Office 2007. You have alot more options, but if you can say that everything will be worked out better? Well I can say that MOSS 2007 was allready full with bugs with the initial RTM release, and how many bugs can we have with MSS 2010? Well hopefully not that much like MOSS 2007 RTM, because we can wait again for along time to see the first SP. The naming of WSS to Foundation isn't not too bad, but if you can say if it is a Foundation?

The next thing is the fact that not ASP.NET 4.0 Beta 2 is used by MSS 2010. So we're going not upwards, but standing still with the same framework. Also noticed that you have to
use some regfixes to fix some bugs for MSS 2010. Too bad!

First conclusion:

MSS 2010 is alot faster.
MSS 2010 has .NET Framework 2.0/3.5 and not .NET 4.0
Beta and farm installation is too bad.
MSS 2010 has alot of new features and options (also Lotes Notes included).

And yet more to come.

Leave a Comment :, , , more...

Windows 7 Installation

by admin on Oct.12, 2009, under Hardware, Software, maintenance

Well finally I had the time to make a clean install for Windows 7 Ultimate x64.

It took me 1,5 half hour to be up and running again... that means Install Windows 7, full updates, Office 2007 Ultimate and MSN to work with.
Well that wasn't to hard, except for the Realtek RTL8111 drivers for my LAN. The drivers supplied by Microsoft Update ruined the LAN connection, so I had to download new drivers from Realtek by itself.

After that I was happy that I finally installed it :-)

Update: 10/15/2009 12:16 AM

So the first important things I've noticed is:

  • Network connections are stable, and no disconnected FTP transfers
  • System is not slow when going out of sleep mode
  • VMWare workstation seems to working better
  • When doing multiple processes like decompressing (WinRar) and opening a Solution with Visual Studio 2008 doesn't cause any lack on WinRar
  • No unresponsive mouse when updating(installing) Windows patches and what so ever
  • Java seems not using big amounts of memory like in Windows Vista
  • Now let's keep playing with Windows 7.

    Owwh yeah my system configuration:

    CPU: AMD Phenom II X4 940
    Mainboard: Gigagyte GA-MA790GP-DS4H RF3
    Memory: OCZ DDR2-800 Reaper 4x2GB CL4 OCZ2RPR800C44GK
    Graphics cards: 2xSapphire 4850 1GB
    Disk config: 3x320gb RAID 5 for OS
    Disk config 2: 3x1TB RAID 5 for DATA
    Sound: Soundblaster 2 Audigy 24bit Advanced
    Screens: 2x IIyama 26"

    Leave a Comment :, more...

    Moved site to Hosting

    by admin on Oct.10, 2009, under maintenance

    I used to host my own sites, but since KPN disconnected every port I'd used I had to get some Hosting party to host my sites and email.

    Damnit, there goes my own stuff..

    Leave a Comment :, , more...

    Server went down for some reason

    by admin on Aug.03, 2009, under blog, maintenance

    A strange thing happend last day is that for some reason my Web Server went down in action... I couldn't explain why it happend, but I managed to gave it a rebirth of the server.

    After 30 days without reboot, wow :-S It went down, and yet I cannot figure out why. Nothing changed, and I saw my logfiles and even there it didn't show anything. So, what happened then? I don't know.

    Leave a Comment :, , , more...

    Timestamp and validation

    by admin on Jul.13, 2009, under Programming, SSIS, sql server

    Timestamp in SQL Server:

    1) The SQL Server timestamp data type has nothing to do with times or dates. SQL Server timestamps are binary numbers that indicate the relative sequence in which data modifications took place in a database. The timestamp data type was originally implemented to support the SQL Server recovery algorithms.

    2) It further states Never use timestamp columns in keys, especially primary keys, because the timestamp value changes every time the row is modified.

    For a customer we made some changes. And the situation is as follows. We exported the data to excel. Multiple tabels are exported. We changed the data in the excel file and the customer validated the data. We also did export the timetamp with the data. Why? Because we had to import it again to the database. If a Timestamp changed, we should not update the data from the excel file. That's why.

    Problem situation:

    Because a timestamp isn't a varchar, or numeric value, but a binary(8) value we had to convert it. Because we import the data by SSIS back into the database. But the data we imported is from a flat text file. So every column was read as a DT_STR by SSIS, and timestamp in the stored procedure was a datatype of Timestamp. So we did a comparison of a varchar against a timestamp. Well that situation didn't work out that well.

    So what we did was to change the parameter of the stored procedure to varchar. Well SQL Server can't handle a comparison of varchar against timestamp inside the stored procedure. Of course, so we did try it to convert it to a varbinary(8) or binary(8) and then validate it against the timestamp. Well that didn't work out that well.

    declare @timestamp varbinary(8)
    set @timestamp = CONVERT(varbinary(8), '0x0000000001F4AD88')
    print @timestamp
    
    returned: 0x3078303030303030
    
    declare @timestamp varbinary(8)
    set @timestamp = CONVERT(varbinary(8), 0x0000000001F4AD88)
    
    print @timestamp
    
    returned: 0x0000000001F4AD88
    

    That comparison didn't work well. So I had to figure an other way to validate on timestamp. When I almost lost my hope I wrote a function in SQL Server.

    create function [dbo].[sp_hexadecimal] ( @var varbinary(255) )
    returns varchar(255)
    as
    
    begin
          declare @charval varchar(255)
          declare @i int
          declare @length int
          declare @hex char(16)
    
          select @charval = '0x'
          select @i = 1
          select @length = datalength(@var)
          select @hex = '0123456789abcdef'
    
          while (@i <= @length)
          begin
                declare @tempint int
                declare @firstint int
                declare @secondint int
    
                select @tempint = convert(int, substring(@var,@i,1))
                select @firstint = floor(@tempint/16)
                select @secondint = @tempint - (@firstint*16)
                select @charval = @charval +
                substring(@hex, @firstint+1, 1) +
                substring(@hex, @secondint+1, 1)
    
                select @i = @i + 1
          end
    
    return ( @charval )
    end
    

    So what I did was the other. I managed to validate the data on the other way.

    sphexadecimal1
    it did the trick...

    Leave a Comment :, , , , , , , , , more...

    DataFlow in SSIS and OLE DB Command

    by admin on Jul.11, 2009, under Programming, SSIS, sql server

    I've been working for the first time with a DataFlow of updating data in a SQL Database with SSIS. The only problem is that a colleaque did made it, but he forget something with it. After reading some documentation about the DataFlow in SSIS and the using of a OLE DB command to execute a Stored Procedure I came to a certain problem.

    The problem is that a OLE DB Command can execute a Stored Procedure, but the error handling is really a issue. Why, you can give a output parameter with it, but for some reason it doesn't work well. The question is why they didn't use a SQL Task to execute a Stored Procedure. Now I'm searching why my stored procedure isn't fired well.

    Well the problem is that the stored procedure contains a error handling not supported by the OLE DB Command. And when you have error handling handled by you SSIS you get a Error Number 0 returned. So your searching for a problem with Error number 0? That's really crap. So I get rid of the Error handling in the stored procedure, and well the funny thing is that the stored procedure really is fired well and with filled parameters. But another problem is now that there are not enough parameters filled to execute the Stored Procedure properly.

    So I have to search for that issue to solve the problem....

    Leave a Comment :, , , , , , , more...

    Looking for something?

    Use the form below to search the site:

    Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

    Visit our friends!

    A few highly recommended friends...