Author Archives: admin

IIS returns HTTP 404 for Office 2007 file downloads

This is kind of an old issue, but since I mostly work on corporate projects, we’re a bit slow on adopting new versions of anything.
I ran into this issue with Microsoft Word 2007 documents, but the same error will occur with any other file type that isn’t properly configured on the web server.

Symptoms
Microsoft Word 2007 documents return a HTTP 404 error when users attempt to download the documents. The web server uses Microsoft IIS 6.0.

Cause
IIS does not have a wildcard mapping for unknown MIME types and the file type is not known to the web server. This prevents IIS 6.0 to serve the file.

Resolution

To resolve the errors, add the missing MIME types to IIS.
Instructions

1. Open IIS Management Console (via Computer Manager->Services and Applications->Internet Information Service)
2. Right click on “Web Sites”.
3. Choose Properties
4. Activate “HTTP Headers” tab
5. Click “File Types” button in the MIME Map groupbox
6. Click “New Type”
7. Enter the MIME type data from the below table

Associated
Extension
Content type (MIME)
(remove any spaces below)
docx application/vnd.openxmlformats- officedocument.wordprocessingml.document
pptx application/vnd.openxmlformats- officedocument.presentationml.presentation
xlsx application/vnd.openxmlformats- officedocument.spreadsheetml.sheet

Hyper-V Licensing Explained!

I’ve spoken to a lot of people who have expressed a lot of confusion about the OS licensing model when virtualizing systems using Hyper-V products.

There are some simple guidelines to observe when planning your Hyper-V infrastructure to take advantage of the licensing models for each edition of Windows Server 2008.

First, a term definition: Microsoft uses the term “OSE” to refer to an operating system environment, either physical or virtual. Also, Microsoft refers to a “processor” in the context of a single processor socket on the motherboard. This calculation is not affected when considering multiple core processors or hyper-threading capabilities on certain processor types.

posted in: http://msmvps.com/blogs/virtualreality

read more »

Antivírus gratuito da Microsoft disponível em português

A Microsoft Portugal lançou hoje a versão portuguesa do Microsoft Security Essentials, uma solução gratuita de segurança para os computadores pessoais dos utilizadores do sistema operativo Windows.

Este antivírus está disponível a partir de hoje para download gratuito na página do produto e oferece aos utilizadores de tecnologia Microsoft uma protecção contra vírus, spyware e outros tipos de software malicioso, sendo compatível com os sistemas operativos Windows XP, Windows Vista e Windows 7.

security-essentials

homepage: www.microsoft.com/security_essentials

read more »

Windows Powershell

powershelllogo

Powershell is a command line tool which devloped by Microsoft. Exchange Server 2007 script ability has been depaned on the Windows powershell command line. here we have some important commands of powershell.

Powershell :-Launch a powershell session
Write-Debug :-Write a debug message to the host display
Write-Error:- Write an object to the error pipeline.
Write-Output:- echo Write an object to the pipeline
Write-Progress:- Display a progress bar
Write-Verbose:- Write a string to the host’s verbosedisplay
Write-Warning :-Write a warning message
Set:-Acl Set permissions
Get:-Eventlog Get eventlog data
Get:-ExecutionPolicy Get the execution policy for the shell
Measure:-Command Measure running time
Trace:-Command Trace an expression or command
Clear:-Host clear/cls Clear the screen
Out:-Printer lp Send the output to a printer
Out:-String Send objects to the host as strings
Join:-Path Combine a path and child-path
Resolve:-Path rvpa Resolves the wildcards in a path
Split:-Path Return part of a path
Clear:-Variable clv Remove the value from a variable
Where:-Object where Filter input from the pipeline
While:- (condition) {action} else {action}
Get:-WMIobject Get WMI class information

# :-Comment / Remark

Windows Server 2008 Workstation Converter

Convert Windows Server 2008 to Workstation Manual

If you don’t want to configure all options to convert Windows Server 2008 to a Workstation manually, sawo now made it possible to use a tool for this. He has done a great job by creating this converter to automate all steps of the manual!

Get the Windows Server 2008 Workstation Converter

  • Download Serv08Convert12.zip (13.2MB)
  • View previous versions.

http://converter.win2008workstation.com/

read more »

open source pdf

Ports & Tools…
http://www.foolabs.com/xpdf/

PDFjet Open Source Edition is a library for dynamic generation of PDF documents from Java and .NET. The PDFjet Open Source Edition has the following features: * Drawing support for: points, lines, boxes, circles, bezier curves, polygons, stars, complex paths and shapes.
http://java-source.net/open-source/pdf-libraries
As always, full source code is available under LGPL license! Enjoy! Paolo … Open Source Projects … Unable to add and open pdf files
http://www.paologios.com/
Open Source 100% Java PDF Renderer/Viewer … Last week I told you we had a secret new open source project to release. Think of it as an early Christmas present. A project that you’ve never heard of and has nothing to do with JavaFX (which is partially untrue, but I’ll get to that in a second).
http://weblogs.java.net/blog/joshy/archive/2007/12/the_big_secret.html

Top Sites in Portugal

The top 100 sites in Portugal. The sites in the top sites lists are ordered by their 1 month alexa traffic rank.
The 1 month rank is calculated using a combination of average daily visitors and pageviews over the past month. The site with the highest combination of visitors and pageviews is ranked #1.

1.google.pt
2.youtube.com
3.facebook.com
4.google.com
5.live.com
6.hi5.com
7.sapo.pt
8.blogger.com
9.msn.com
10.wikipedia.org
11.yahoo.com
12.xl.pt
13.abola.pt
14.iol.pt
15.wordpress.com
16.microsoft.com
17.livejasmin.com
18.bp.blogspot.com
19. olx.pt
20.clix.pt

http://www.alexa.com/topsites/countries/PT

The domain name life cycle

When you buy a domain name from a registrar, you are usually given the option to specify how many years you want to register it for. After that, you can transfer your name to a web hosting company that will either build and host your website, or just host it.

When you “buy” a domain name, you’re actually just leasing it for the period of time you paid for when you registered it. As that period nears its end, a series of stages occurs which ends in the domain name being “deleted”.
read more »

Visual Studio 2010 and .NET Framework 4 Release Candidate

Visual Studio 2010 is an integrated development environment that simplifies the entire development lifecycle, from design to deployment.

available on MSDN

Markdown

Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Thus, “Markdown” is two things: (1) a plain text formatting syntax; and (2) a software tool, written in Perl, that converts the plain text formatting to HTML. See the Syntax page for details pertaining to Markdown’s formatting syntax. You can try it out, right now, using the online Dingus.

The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters, the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.

http://daringfireball.net/projects/markdown/