Jacob’s Lifestream

Stranger things have happened... 
Filed under

Microsoft

 

MS CRM 4.0 Rollup 7+8 MEGA FAIL MICROSOFT !

Right.

The original CRM 4.0 installer was friggin’ crap to deploy via SMS.

How glad I am to see that the rollup 7 and 8 installers support /passive and /norestart. Great ! Happy ol’ me J

I set them up in SMS. Deploy them to my test pc. What’s that the help screen says:

What do I normally expect from /passive installations deployed via SMS ? I expect an installation UI, but otherwise FRIGGIN’ PASSIVENESS ! NO BUTTONS ! Just “SHOW ME THE INSTALLER !” – and that’s it.

Seeing as I’ve linked together the Rollup 7 and Rollup 8 installers together in an SMS job, PLEASE Microsoft, explain to me the reason behind this friggin’ dialog popping up after each rollup has been installed:

Would you get your act together with the CRM installers, PLEEEEEEASE !

And if you did, DOCUMENT IT IN THE INSTALLER HELP SCREEN !

AAAAAAAAAAAAAAAAAAAAAAAARGH !

Loading mentions Retweet
Filed under  //   Microsoft   MS CRM 4.0  

Comments [0]

IISADMPWD on Server 2008 x64 and IIS7 - Change user domain password via a webpage

I needed to be able for users to change passwords in a different active directory, than our production domain.

I googled it a lot, and found out that the iisadmpwd isn’t actually included with IIS 7 and Server 2008.

But… I found this guide:

http://blogs.msdn.com/asiatech/archive/2009/03/17/how-to-manage-my-windows-user-password-through-iis-web-portal.aspx

There are, however, some hiccups in that guide, which is why I choose to share my way of doing this. Read that guide however, if

you need to get this functionality on a 32-bit Server 2008.

This is for the 64-bit Server 2008. Right, let’s begin !

First of all, on the Server 2008 machine, you install the Web Server Role. Remember to include ASP and the IIS6 features in that installation.

When that’s done…

You find some Server 2003 IIS server. On that server, you find the folder “c:\windows\system32\inetsrv\iisadmpwd”.

Copy that folder to the Server 2008 machine, to the path “C:\Windows\SysWOW64\inetsrv\iisadmpwd”

Open a command prompt with elevated rights (Start, right click the command prompt, Run As Administrator).

In the elevated command prompt write:

regsvr32 C:\Windows\SysWOW64\inetsrv\iisadmpwd\iispwchg.dll

NB: It is VERY important that you write the complete path, or the DLL won’t register !

In that same elevated command prompt, you write:

cscript.exe c:\inetpub\adminscripts\adsutil.vbs set w3svc/passwordchangeflags 1

This should be the response:

NB: This specific value (1) will allow password change on non-secure ports, which is what I used for my test (I might add to this article, adding IP range security and SSL, depends on a talk I’ll be having tomorrow with a colleague).

The list of values are (snatched from the msdn blog post, for completeness, in case that blog post goes away at some point):

·       0: This is the default value. This value indicates that you must use a Secure Sockets Layer (SSL) connection when you change the password.

·       1: This value permits password changes on non-secure ports. This value is useful if SSL is not enabled.

·       2: This value disables the Password Change functionality.

·       4: This value disables the advance notification of password expiration.

Ok, goodie.  Now you need to create an application pool on the Server 2008 IIS.

On the Server 2008 machine, start the Server Manager. Go to the “Roles/Web Server (IIS)/Internet Information Services (IIS) Manager” node.

Right click on Application Pools, and Add Application Pool.

This is what it should look like (You may or may not be able to use different settings. I used these, and they work for me):

Now go to the Default Web Site and right click it. Choose Add Application.

This is what it should look like:

NB: Very important that you call it “iisadmpwd”. I tried calling it something else, but seems the alias is hardcoded into one of the asp files. The password change page tried to return to a site by that name. When I created the application with the above name, it just worked.

Now press the “Connect as” button. Enter the account name using this format, and whatever password fits that account:

Press OK, return to the previous dialog, and press Test Settings. This should be the result of test settings (I removed the username of course):

And that’s it.

·         If you registered the DLL correctly.

·         If you got the OK from the admin vbscript.

·         If you setup the application pool.

·         If you added the application to the default web site.

You should be able to access the page on the URL:

http://server.domain.local/iisadmpwd/aexp4b.asp

And this is how it should look like in the browser:

When I’ve changed password, and want to use the “Back” link, I get an error (a 404 if I remember correctly). Given my time constraints,

I’m pretty sure I won’t be investigating this, as just entering the above URL again, will have you back on the password change page.

That’s it J Hope you can use this, I sure could’ve myself.

Loading mentions Retweet
Filed under  //   IIS   Microsoft   Server 2008  

Comments [1]

Making Office 2007 documents work on Sharepoint 2003

When you start using Office 2007, and you’re still on Sharepoint 2003, Office 2007 documents won’t show up properly in the document libraries.

There’s a good article on how to make that work here: http://therightstuff.de/CommentView,guid,edab2641-4283-492c-8156-e4ddadfc2ee3.aspx

However, you also need to perform a little extra work, and Microsoft has a KB article on that here: http://support.microsoft.com/kb/936909

To save some time, I’ve created a guide that should make the process a bit more straightforward:

Go to link 1. Download the Office 2007 icons. Unpack them.

On your Sharepoint 2003 server, go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\IMAGES, and copy the images here.

Edit the file C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\XML\docicon.xml, and add the following lines under the ByExtension element:

<Mapping Key="docx" Value="docx.gif" EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="docm" Value="docm.gif" EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="dotx" Value="dotx.gif" EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="dotm" Value="dotm.gif" EditText="Microsoft Office Word" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="xlsx" Value="xlsx.gif" EditText="Microsoft Office Excel" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="xlsm" Value="xlsm.gif" EditText="Microsoft Office Excel" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="xltx" Value="xltx.gif" EditText="Microsoft Office Excel" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="xltm" Value="xltm.gif" EditText="Microsoft Office Excel" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="xlsb" Value="xlsb.gif" EditText="Microsoft Office Excel" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="xlam" Value="xlam.gif" EditText="Microsoft Office Excel" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="pptx" Value="pptx.gif" EditText="Microsoft Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="pptm" Value="pptm.gif" EditText="Microsoft Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="potx" Value="potx.gif" EditText="Microsoft Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="potm" Value="potm.gif" EditText="Microsoft Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="ppam" Value="ppam.gif" EditText="Microsoft Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="ppsx" Value="ppsx.gif" EditText="Microsoft Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>

<Mapping Key="ppsm" Value="ppsm.gif" EditText="Microsoft Office PowerPoint" OpenControl="SharePoint.OpenDocuments"/>

 

Edit the file C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\XML\htmltransinfo.xml, and add the following lines:

 

<Mapping Extension="docx" AcceptHeader="application/msword" HandlerUrl=""  ProgId="SharePoint.OpenDocuments.2"/>

<Mapping Extension="pptx" AcceptHeader="application/vnd.ms-powerpoint" HandlerUrl=""  ProgId="SharePoint.OpenDocuments.2"/>

<Mapping Extension="xlsx" AcceptHeader="application/vnd.ms-excel" HandlerUrl="" ProgId="SharePoint.OpenDocuments.2"/>

 

Run iisreset.exe in a command prompt on the Sharepoint 2003 server. You should be all set.

Go to link 1, download the pack of test documents and unpack them. Upload them to a document repository on the server, to see if it recognizes the Office 2007 documents. 

Loading mentions Retweet
Filed under  //   Microsoft   Office 2007   Sharepoint 2003  

Comments [0]

The Courier Tablet - awesome concept !

Watch it. Really cool concept. I would LOVE to get my hands on a device like that.

But I dare not think about the price of the final product.

Loading mentions Retweet
Filed under  //   Microsoft   Tablet  

Comments [0]