Ren smiles on the web

My friend and workmate Rene started to write his own blog recently 😀

Though it’s his private blog many topics are DirectSmile related. Find written articles about new features or even screen casts showing new things in action.

Rensmile

Find Rene’s blog here (http://rensmiles.spaces.live.com)

 

Advertisements

How to enable 32 Bit mode on IIS6 (64Bit)

Run the command line vb script adsutil using the following parameters:

adsutil.vbs set w3svc/apppools/enable32bitapponwin64 “true”

You can find the script in the \inetpub\adminsScripts folder

Network drives disappeared in DriveListBox on Windows 7

If you are running a windows application in elevated mode you may not see any mapped drives to network shares, though the mapped drives appear in you window explorer and you can access the containing files.

The problem I ran in was that I mapped the shares from a not elevated user session, because I usually have my UAC activated. The windows program that enumerated the drives ran in elevated mode i.e. in a different user session.

What I was to blind to see was that I simply create my mappings using an elevated explorer or an administrators cmd.   

What ports/protocols do I have to open when I’m using DSMO?

Must have

HTTP – (obviously) for the front end
HTTPS – Some parts inside DSMO can only be access securely

Optional

FTP – If you want to transfer DirectSmile resources like Sets, Documents from an offline DirectSmile app to DSMO. To have a convenient experience using DirectSmile consider this as required.

SMTP – optional, if you want to receive error message  and warnings from DSMO

Optional but tricky

If you want to run the Backend Monitor Silverlight App as part of DSMO you have to open the ports below, because the Silverlight client app opens a socket connection to the DSMO backend.

943 – Silverlight Policy Port

4530-4535 – Silverlight TCP Portrange for custom Socket connections

Reseed Identity column in T-SQL

DBCC CHECKIDENT(<tablename>)
prints out to current IDENTITY seed value of the table.

DBCC CHECKIDENT(<tablename>, RESEED, 1)
Resets the IDENTITY seed back to value to 1.