Monthly Archives: March 2008

Making the UpdatePanel accessible

Bertrand has written a great article for the dotnetslackers web site on how to make the UpdatePanel acessible. Great read, don”t miss it!

Windows 2000 Resource Kit Tools for administrative tasks

Windows 2000 Resource Kit Tools for administrative tasks

DNSCMD Reference

Fellow Directory Services MVP Mark Minasi has a great table that shows a ton DNS commands using dnscmd. For those of you getting ready to use Server Core here is yet another list of commands that will come in handy. All I can say is WOW!!!


Function

DNSCMD option

Example

Comments

Do any dnscmd command on a remote system

dnscmd servername command

dnscmd main.bigfirm.com /zoneprint bigfirm.com

   

Create a primary zone

dnscmd /zoneadd zonename /primary

dnscmd /zoneadd bigfirm.com /primary

   

Create a secondary zone

dnscmd /zoneadd zonename /secondary master IP address

dnscmd /zoneadd bigfirm.com /secondary 192.168.1.1

   

Host a zone on a server based on an existing (perhaps restored) zone file

dnscmd /zoneadd zonename /primary /file filename /load

dnscmd /zoneadd bigfirm.com /primary /file bigfirm.com.dns /load

   

Delete a zone from a server

dnscmd /zonedelete zonename [/f]

dnscmd /zonedelete bigfirm.com /f

(without the /f, dnscmd asks you if you really want to delete the zone)

Show all of the zones on a DNS server

dnscmd /enumzones

dnscmd /enumzones

   

Dump (almost) all of the records in a zone

dnscmd /zoneprint zonename

dnscmd /zoneprint bigfirm.com

Doesn”t show glue records.

Add an A record to a zone

dnscmd /recordadd zonename hostname A ipaddress

dnscmd /recordadd bigfirm.com mypc A 192.168.1.33

   

Add an NS record to a zone

dnscmd /recordadd zonename @ NS servername

dnscmd /recordadd bigfirm.com @ dns3.bigfirm.com

   

Delegate a new child domain, naming its first DNS server

dnscmd /recordadd zonename childname NS dnsservername

dnscmd /recordadd bigfirm.com test NS main.bigfirm.com

This would create the “test.bigfirm.com” DNS child domain unter the bigfirm.com DNS domain

Add an MX record to a zone

dnscmd /recordadd zonename @ MX priority servername

dnscmd /recordadd bigfirm.com @ MX 10 mail.bigfirm.com

   

Add a PTR record to a reverse lookup zone

dnscmd /recordadd zonename lowIP PTR FQDN

dnscmd /recordadd 1.168.192.in-addr.arpa 3 PTR pc1.bigfirm.com

This is the PTR record for a system with IP address 192.168.1.3

Modify a zone”s SOA record

dnscmd /recordadd zonename @ SOA primaryDNSservername responsibleemailipaddress serialnumber refreshinterval retryinterval expireinterval defaultTTL

dnscmd /recordadd bigfirm.com @ SOA winserver.bigfirm.com mark.bigfirm.com 41 1800 60 2592000 7200

Ignores the serial number if it”s not greater than the current serial number

Delete a resource record

dnscmd /recorddelete zonename recordinfo [/f]

dnscmd /recorddelete bigfirm.com @ NS main.bigfirm.com /f

Again, “/f” means “don”t annoy me with a confirmation request, just do it.”

Create a resource record and incorporate a nonstandard TTL

dnscmd /recordadd zonename leftmostpartofrecord TTL restofrecord

dnscmd /recordadd bigfirm.com pc34 3200 A 192.168.1.4

   

Reload a zone from its zone file in windowssystem32dns

dnscmd /zonereload zonename

dnscmd /zonereload bigfirm.com

Really only useful on primary DNS servers

Force DNS server to flush DNS data to zone file

dnscmd /zonewriteback zonename

dnscmd /zonewriteback bigfirm.com

   

Tell a primary whom to allow zone transfers to

dnscmd /zoneresetsecondaries zonename /nonsecure|securens

dnscmd /zoneresetsecondaries bigfirm.com /nonsecure

That example says to allow anyone who asks to get a zone transfer

Enable/disable DNS NOTIFY

dnscmd /zoneresetsecondaries zonename /notify|/nonotify

dnscmd /zoneresetsecondaries bigfirm.com /nonotify

Example disables DNS notification, which is contrary to the default settings.

Tell a secondary DNS server to request any updates from the primary

dnscmd /zonerefresh zonename

dnscmd /zonerefresh bigfirm.com

   

Enable or disable dynamic DNS on a zone

dnscmd /config zonename /allowupdate 1|0

1 enables, 0 disables, 0 is default

   

Stop the DNS service

Either net stop dns or sc stop dns

   

(No dnscmd command for this)

Start the DNS service

Either net start dns or sc start dns

   

(No dnscmd command for this)

Install the DNS service on a 2008 full install system

servermanagercmd -install dns

   

   

Install the DNS service on a 2008 Server Core system

ocsetup DNS-Server-Core-Role

   

Case matters — ocsetup dns-server-core-role would fail

Uninstall the DNS service on a 2008 Server full install system

servermanagercmd -remove dns

   

   

Uninstall the DNS service on a 2008 Server Core system

ocsetup /uninstall DNS-Server-Core-Role

   

   

Evaluación: Colligo Contributor 3.0 Pro

Colligo-Contributor-Pro

Siguiendo con la serie de posts de evaluaci√≥n de productos, que todo sea dicho la he tenido un poco abandonada, hoy quiero hablaros de un producto que realmente me ha evitado un mont√≥n de trabajo. Se trata de Colligo Contributor 3.0 Pro y es un cliente de escritorio de SharePoint que permite hacer un mont√≥n de cosas √ļtiles, como por ejemplo:

  • Sincronizar el contenido de librer√≠as de documentos en una cach√© guardada en el cliente, para as√≠ trabajar de forma desconectada (a mi juicio mejor que Groove). Ideal para usuarios con port√°tiles.
  • Soporte para Drag & Drop, de modo que si arrastramos un archivo a una biblioteca de documentos se a√Īadir√° de forma autom√°tica. Esto es v√°lido tambi√©n para mensajes de correo electr√≥nico e incluso los archivos adjuntos que contienen. Por si fuera poco, si nuestra biblioteca tiene columnas como “From”, “To” o “Subject”, la aplicaci√≥n mapear√° autom√°ticamente las propiedades como valores de √©stas columnas. Great!
  • Pero a mi juicio la mejor de todas (o la que m√°s trabajo me ha ahorrado), es la de subir m√ļltiples archivos de golpe a una biblioteca y poder asignarles un tipo de contenido y los valores de las columnas a la vez. Esto es una caracter√≠stica que cuando una empresa se enfrenta a una migraci√≥n de cientos de miles de documentos, se agradece sobremanera.

scn-config-options-pro-sm scn-forms-libraries-sm scn-sync-resolution-sm

De hecho, no pod√≠a creerme que SharePoint no incorpore esta caracter√≠stica ‘de f√°brica’, ya que es vital para cualquier empresa que desea traspasar toda su documentaci√≥n a este fant√°stico entorno de trabajo. Es totalmente inviable pensar en subir m√°s de 100.000 documentos uno a uno para modificar sus metadatos.

Así que, hace un par de semanas empecé a plantearme la posibilidad de realizar yo mismo una utilidad para éste propósito. De modo que hablé con Jorge Serrano y con Carlos Segura, que son unos fenómenos de los que se están peleando a diario con SharePoint y les encantó la idea, ya que es una necesidad que tienen muchas empresas en este momento (Carlos incluso me planteó la posibilidad de empezar un proyecto en CodePlex :-P).

Dicho y hecho, empec√© a tirar cuatro l√≠neas de c√≥digo para ver si era factible (y razonablemente sencillo, que todos vamos muy apurados de tiempo) conectar con el WebService de SharePoint apropiado, obtener y modificar el contenido de listas y bibliotecas, acceder a los tipos de contenido y sobretodo a los valores de las columnas que contienen. Y la verdad es que no es nada complicado, espero publicar pronto alg√ļn post al respecto.

Peeeeeeero, cuando más animado estaba y me disponía a contactar de nuevo con esos dos elementos me llegó un mail de Barry W. Jinks, de Colligo avisándome del release de la nueva versión 3.0 y mandándome una licencia NFR (es un tipo de licencia Not For Resale para MVPs de Microsoft) para su evaluación. Empecé a probar el producto y la verdad es que tras un par de días ya tengo claro que no voy a continuar con mi utilidad, puesto que esta aplicación tiene casi todo lo que necesitaba.

La verdad es que cosas as√≠ pasan pocas veces, as√≠ que quer√≠a compartirlo con vosotros y si alguno se encuentra en la misma situaci√≥n os aconsejo darle un buen vistazo al producto. Vale la pena…

Link: Colligo Networks ‚Äď Collaboration Made Easy

Un saludo desde Andorra,


** crossposting desde el blog de Lluís Franco en geeks.ms **

El chiki-chiki

be-water-bruce-lee

Hace sólo unos minutos acabo de leerlo en el blog del colega Luis Ruiz Pavón.

Somos frikis. Por si no bastaba con aquella adaptaci√≥n del BE WATER MY FRIEND al argot ‘developer’, ahora otro developer (porque me juego algo que ha tenido que ser un developer, enfermo como todos) se acaba de currar una versi√≥n de esta popular canci√≥n que tanto suena √ļltimamente.

Os copio la letra y os dejo también un link al video por si alguno no la conoce todavía:

La letra del chiki- chiki:

¬°¬°¬°Teclea, teclea!!!

El javascripy mola mogollón,
funciona en explorer y también en firefox.
Ponle javascripy a esa paginita,
que el javascripy la deja muy bonita.

Abre ventanas,
muestra mensajes,
valida formularios,
mi amol ya tu sabes!

Programan los seniors,
Programan los juniors,
Programa mi jefe con acentos en el function!

Y el javascripy se programa así:

1-El tag <script>
2-el function vars
3-el alert-confirm
4-el return tr√ļ

Programa el javascripy,
Programa el javascripy,
programan los heavys también los frikis

Programan en la offis, programan en la uni,
Programan los fruittis y también los lunnis.
Programa Maradona esnifando una raya,
y Juan Carlos le dice: ¬ŅPorque no usas ajax?

En el formulario de un triste portal,
pusieron javascripy y ya pudo validar
¬°¬°¬°Validar!! ¬°¬°Validar, validarr, validarrr!!!

Y el javascripy se programa así:

1-El tag <script>
2-el function vars
3-el alert-confirm
4-el return tr√ļ

El video:

[Youtube:Ku34NOwoij0]

http://es.youtube.com/watch?v=Ku34NOwoij0

Un saludo a todos y buen fin de semana,

Server Core Commands

It”s been quite awhile since my last Server Core blog so I feel obligated to share some of the other findings that I have.  I”ve been asked several times how to configure TCP/IP settings on a Server Core server.

To configure the IP address we will have to remember (or learn) Netsh.

Configure a Static IP Address on Server Core:

Netsh int ipv4 set address ‚ÄúLocal Area Connection‚ÄĚ static 10.1.1.10 255.255.255.0 10.1.1.1

Netsh int ipv4 set dnsserver ‚ÄúLocal Area Connection‚ÄĚ static 10.1.1.5 primary

Netsh int ipv4 set winsserver ‚ÄúLocal Area Connection‚ÄĚ static 10.1.1.6 primary

Configure a Dynamic (DHCP) IP Address on Server Core:

Netsh int ipv4 set address ‚ÄúLocal Area Connection‚ÄĚ source=dhcp

Change the name of the network interface on Server Core:

Netsh int set interface name = ‚ÄúLocal Area Connection‚ÄĚ newname = ‚ÄúPrimary Network‚ÄĚ

 

And another little handy command that I thought you might like.

List of installed patches:

wmic qfe list

 

Hope that helps those that are in need.

Windows Vista Remote Server Administration Tools (RSAT) Finally Released

It looks like Microsoft finally released RSAT for Windows Vista.  What a relief.  We can finally effectively manage our environment with Vista.  It can be downloaded in two versions, 32bit or 64bit. 

What Is Included in RSAT?


This is the list of Windows Server 2008 administration tools which are included in RSAT:


Role Administration Tools:


·         Active Directory Certificate Services (AD CS) Tools ·         Active Directory Domain Services (AD DS) Tools ·         Active Directory Lightweight Directory Services (AD LDS) Tools ·         DHCP Server Service Tools ·         DNS Server Service Tools ·         Shared Folders Tools ·         Network Policy and Access Services Tools ·         Terminal Services Tools ·         Uniiversal Description, Discovery, and Integration (UDDI) Services Tools


Feature Administration Tools:


·         BitLocker Drive Encryption Tools ·         Failover Clustering Tools ·         Group Policy Management Tools ·         Network Load Balancing Tools ·         SMTP Server Tools ·         Storage Manager for SANs Tools ·         Windows System Resource Manager Tools


The tools in the following list are fully supported managing Windows Server 2003 servers as well:


·         Active Directory Domain Services (AD DS) Tools ·         Active Directory Lightweight Directory Services (AD LDS) Tools ·         Active Directory Certificate Services (AD CS) Tools ·         DHCP Server Tools ·         DNS Server Tools ·         Group Policy Management Tools ·         Network Load Balancing Tools ·         Terminal Services Tools ·         Universal Description, Discovery, and Integration (UDDI) Services Tools  



 Thanks Kendall for the heads up email on this.

WCF again: the slow problem attacks again

On a different set of machines…I”m stumped. I mean, I though I”d nailed it with the proxy problem, but unfortunately there are still some machines where the 1st call is really really slow and removing the proxy isn”t helping. I”ve even profiled the code but  I still can”t see where the problem lies. I”ve written a post on the WCF forum, but there are still no clues on how to solve this. Anyone wants to give it a try?

Top support issues for the Exchange information store SBS 2003

Top support issues for the Exchange information store


Third-party antivirus or backup software contention

Exchange information store database reaches 16 GB limit

Exchange information store transaction log files are missing or are corrupted

Hardware problems cause Exchange information store file damage

Exchange information store performance issues

Restoring or repairing damaged Exchange information store database files

Exchange information store database transaction log drive full

Expired evaluation or trial versions of Microsoft Exchange Server

Will the Real FTP Service Please Stand Up?

I”m confused…really confused.  One of Windows Server 2008”s new touted upgrades is IIS7.  Maybe it”s just me but I”ve always thought FTP was part IIS…and it is in Windows Server 2008.  So why am I so confused.  Well apparently Microsoft and the IIS team (which I”m a big fan of!) released another version of FTP as a separate download.  Oh and get this, it”s name is FTP7. 


Yes you heard correct.  FTP7 is not the same FTP service that is included with IIS7.  I saw this over at IIS.net which is the home of the IIS team.  Take a look for yourself but I snatched the main bullets below:


  • Integration with IIS 7.0: IIS 7.0 has a brand-new administration interface and configuration store, and the new FTP service is tightly integrated with this new design. The old IIS 6.0 metabase is gone, and a new configuration store that is based on the .NET XML-based *.config format has taken its place. In addition, IIS 7.0 has a new administration tool, and the new FTP server plugs seamlessly into that paradigm.
  • Support for new Internet standards: One of the most significant features in the new FTP server is support for FTP over SSL. The new FTP server also supports other Internet improvements such as UTF8 and IPv6.
  • Shared hosting improvements: By fully integrating into IIS 7.0, the new FTP server makes it possible to host FTP and Web content from the same site by simply adding an FTP binding to an existing Web site. In addition, the FTP server now has virtual host name support, making it possible to host multiple FTP sites on the same IP address. The new FTP server also has improved user isolation, now making it possible to isolate users through per-user virtual directories.
  • Extensibility and custom authentication: The new FTP server supports developer extensibility, making it possible for software vendors to write custom providers for FTP authentication. Microsoft is using this extensibility feature to implement two new methods for using non-Windows accounts for FTP authentication for IIS Managers and .NET Membership.
  • Improved logging support: FTP logging has been enhanced to include all FTP-related traffic, unique tracking for FTP sessions,FTP sub-statuses,additional detail fields in FTP logs, and much more.
  • New supportability features: IIS 7.0 has a new option to display detailed error messages for local users, and the FTP server supports this by providing detailed error responses when logging on locally to an FTP server. The FTP server also logs detailed information using Event Tracing for Windows (ETW), which provides additional detailed information for troubleshooting.

My first thought was one of confusion but then I started to think a little further.  Now that it is a separate download perhaps I could install it on Server 2003 or Vista or DOS…ok so maybe not DOS.  Well here is what you get when you try to install it on anything but Server 2008. :(


FTP


You will have to have IIS7 installed for this to work but you will have to ensure that the FTP portion is uninstalled before you install this one.  Head on over to IIS.net to download the latest revision of FTP7.

Recent Comments

ÔĽŅ