How-To


June 18, 2007: 4:47 pm: hcanoErrors, Exchange, How-To, KB, SySAdmin, Windows

You got the error “Process INETINFO.EXE (PID=1748). Topology Discovery failed, error 0×8007077f. ”
On your event viewer after you changed the IP from your server, and you don´t know what is it.
This error can appear on DSQuery, OWA, OMA and others Exchange 2003 and 2007 Servers.
What this error means?
It means the Exchange Server doesn´t know wich site it is located.
There is a great possibility you don´t include the new subnet on the list of your sites..
So Let´s fix It.

1. Open Active Directory Sites and Services
2. Go to Subnets

Check if your new IP has an subnet there. If not Include it.

3. Include the new subnet (remember class c = 255.255.255.0)

4. Wait 15 minutes or replicate the server manually.

I restart the server just to make sure he gets the new info.

After that your problems should go away :)
Any more questions enter in the forum.

December 28, 2006: 5:37 pm: hcanoBug, Exchange, How-To, Outlook, SySAdmin, Windows

Your fellow users, start to get their vacations and complain about this error on Outlook 2003 or 2007.

So what you do now?

This is a tricky problem, frequently this is an error on your local Outlook profile, If you go to the OWA everything will work without problem.

You may try running Outlook with the /cleanrules swith or just delete the .ost files and start a new perfil.

Remember .OST files. This files are created for the outlook cache function.

If you havy any comments or questions please visit our forum

http://www.geekadmin.com/forums

December 7, 2006: 7:16 pm: hcanoApplications, Compile, Developer, How-To, SySAdmin, Visual Studio, Windows

So you need to develop some applications to your enterprise, and you need to call some c++ ou vc++.

Everything is working but when you deploy your application, common is one executable, it gives error and says

“This Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”

And you start to scratch your head.

So what is the problem:

  1. You want to just deploy or execute one simple program compiled no dlls, ou another files;
  2. You want it to be easy, just click and run

Now the solution:

In Visual Studio, you have to tell it to compile and link the dependencies and libraries together in executable.

Now stop talking and let´s go to solution:

  1. Open the Projects Proprierties
  2. Go to Configuraration – General
  3. In the use of MFC choose statically like in the picture below

General Proprierties

4. After that go to Linker -> Input and put all your libs that your executable needs like picture below:

Linker Input Static

Build it and be happy!

Did you like it? Resolve your problem? Please be nice and leave a comment it is comforting :)

June 4, 2006: 10:59 pm: hcanoHow-To, Linux, SySAdmin, X

So you just finished installing your brand new distro, starts to browser some internet pages and the trackwhell doesnt work?

And you are so used using the trackwheel…

No problem….

use your preferred editor and put this line on the mouse section

Option “ZAxisMapping” “4 5″ 

My whole mouse block look like this but remember I use a cheap mouse, no money for better…

# Identifier and driver

Identifier  “Mouse1″
Driver      “mouse”
Option “Protocol” “Auto”
Option “Device”      “/dev/input/mice”
Option “ZAxisMapping” “4 5″

So if it really works to you leave a comment or if will feel good consider going to my amazon wish list 

May 31, 2006: 8:34 pm: hcanoApplications, How-To, SySAdmin, Windows

Did you have that cool program that only runs in interactive mode?

Are you needing to put some files working in the “service” mode?

So this the is the real juice.

To make a program run like a service you need two things:

  1. SrvInstW: this program is located on Resource Kit from Microsoft
  2. SrvAny : another tool from microsoft

The srvany is like an interface between your application and the windows systems, in fact you use the SrvInstW to run the srvany, and you put your program to run by parameter.

This works in this way:

Srvany -> runs srvany –> runs your program in service mode.

Ok, enough of theory here is the real thing:

First run the SrvInstW

and follow these steps

  1. OPen the InsSrvW Opening

2. Next , choose local machine Opening

3. Next, enter the name of the new serviceName of The Service

4. Next, choose the appilcation !! use srvany.exe !!Choose srvany.exe

5. Next, SrvinstW-5.JPG

6. Use the System account or enter the logon user,System Account
7. Choose the automatic and Finish!Automatic

Ok, Now you are thinking:

“I am done with the srvany.exe and what about MY APPLICATION????”

Now polish your skills in regedit and do this:

Use Regedit:

go to HLK\Local Machine\System\CurrentControlSet\Service\Your service name

Make another key: Parameteres

Make a new string sz called Application

Put the full path of your application on this string like this picture

Regedit

And it is done….

If you have more questions on anything related to this, please enter in our forum, we are friendly and don’t bite :)

Next Page »