Posts Tagged Microsoft

Reading MSSQL BLOG column data with PHP

I was working on a migration script to transfer data from legacy desktop software to Portal we have developed. While migrating attachments (stored as TIFF files) in BLOB (Binary Large Object) in Microsoft SQL Database Server using PHP it was not a cake-walk. When I observed every time it was creating a file of same size (4KB). I quickly understood that there is some limitation (of size) for reading records in PHP configuration.

I searched through PHP.INI file and found following settings:

; Valid range 0 - 2147483647.  Default = 4096.
;mssql.textlimit = 4096
 
; Valid range 0 - 2147483647.  Default = 4096.
;mssql.textsize = 4096

I removed ";" and made values as zero, thinking that it will let PHP read unlimited size of data but didn't work out. So changed it to max value specified as following and worked perfect: Read the rest of this entry »

Tags: , , , , ,

Cannot load HTML template: No launch page defined in template at c:\Program Files (x86)\Microsoft Expression\Encoder 4\Templates\en\…

While trying my hands on Expression Encoder 4, I came across this issue that my template was not loading . When I checked my Activity log I found that:

Cannot load HTML template: No launch page defined in template at c:\Program  Files (x86)\Microsoft Expression\Encoder  4\Templates\en\SmoothStreamingMediaElement.
Cannot load HTML template: No  launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\PlugInMSSCtrl.
Cannot load HTML template:  No launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\OfflineShared.
Cannot load HTML template:  No launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\MediaPlayer.
Cannot load HTML template: No  launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\ExpressionPlayer.
 

The reason for this Error was due to the version change. In Expression Encoder 4 > Templates tab is separated from output tab. So simply I added the tab & selected appropriate template I wanted & the error was removed. It also created the necessary packages required

To Add the Templates Tab, simply go to Windows option and Click Templates.

Tags: , ,

Microsoft Internet Explorer 9 Preview available for Download

Microsoft Internet Explorer 9 - Preview has been made available for download. Though you won't be able to use it in your day to day browsing as of yet as it is in quite row format without any navigational/address bar. We have to click Page > Open > Type in the Web URL to open. Beta series should start in couple of months once things are better managed for end users. Currently it's for enthusiasts who wants to see and test their website/web-app behavior in IE9.

Internet Explorer9 is supposed to be a new breed of browser from Microsoft which would complies with Standards, Faster Javascript in comparison to previous IE versions, HTML5, CSS3, SVG and much more..!

Here are some snaps, I have taken:

Internet Explorer 9 Preview

Internet Explorer 9 Preview

Read the rest of this entry »

Tags: , , ,

Installing Apache on Windows 2008

I would like to share my experiences with Apache installation on Windows 2008 Server.
It's not a easy drive when you are installing deploying your open-source application on Microsoft Windows 2008 Server. There was a nasty UAC - User Account Control which makes it difficult to configure Apache if we don't know about UAC on Windows 2008.

So if we are installing Apache on Windows 2008 then first thing to take care is go to Control Panel > User Accounts > Enable or Disable UAC. Un-check the checkbox and Finish wizard. It will require a reboot. Once it is done Apache should be able to start without any problem. If you don't do that it gives really wired error which is "Unable to open logs" which really does not make any sense that why this is happening.

Tags: ,

Steve Jobs and Bill Gates Together

Today it was Sunday and most of my time I spent on working for Server migration I did on Saturday for my Company's server. I tested multiple applications and found something wrong and corrected back the versions of Apache/PHP to fix something. But apart from all this most interesting thing today I went through was some of the YouTube videos of Steve Jobs and Bill Gates.

I went to YouTube from one of the funny videos of Steve Ballmer - Microsoft CEO and then one by one I got to the series of 11 videos where Steve Jobs and Bill Gates were together on a TV Show (D5 All things Digital) in 2007. It was awesome and I recommend it to go through it once for all.

I would love to pin them on my post.. and so here they are:

Steve Jobs and Bill Gates Together: Part 1

Read the rest of this entry »

Tags: , , ,

Windows Terminal Server and User Auto Log-Off for RDP

If you are one who has ever faced issues due to people disconnecting from the Windows Terminal Server (RDP) and not logging off? Then here is a small change you can make and it will auto-log-off Users after specific interval of disconnection.

User > Properties > Session

User > Properties > Session

Open Local Users and Groups, select User and then right click and open Properties window. Click on Sessions tab. It will show up screen similar to one above. Change "End a disconnected session: <N>" to specific time you want after which a disconnected User Session will be logged off.

So basically this is a small trick to avoid issues while Users tends to forget to log-off their sessions.

I have faced problems in the past when maximum limit for Users to connect comes to an end and you don't have any choice but to Restart the server, even "mstsc /console" don't work..! I had such experience with one of the dedicated Windows server on 1and1.com.

Tags: ,

Paying the bills.!