Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Connectivity
  New Posts New Posts RSS Feed - Getting "Host not found" error but it works anyway
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedGetting "Host not found" error but it works anyway

 Post Reply Post Reply
Author
Message
annarouse View Drop Down
Newbie
Newbie


Joined: December 02 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote annarouse Quote  Post ReplyReply Direct Link To This Post Topic: Getting "Host not found" error but it works anyway
    Posted: December 02 2009 at 5:18am
We have an application that works with Accuterm.  It works properly on my machine, but on most machines it gets an error "Host not found" when we start up the application.  You click OK and it continues and works just fine.  It's more an annoyance than anything
 
What would cause Accuterm to display the "Host not found" message, but work normally, it obviously found the host?
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: December 02 2009 at 5:43am
Hi Anna -

For users that are getting the error message, how are you starting AccuTerm? Are you launching it from a saved session file (.atcf file) or a shortcut to a session file? After the error message how is the user able to open their session?

Thanks,

Pete
Back to Top
annarouse View Drop Down
Newbie
Newbie


Joined: December 02 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote annarouse Quote  Post ReplyReply Direct Link To This Post Posted: December 02 2009 at 8:53am
Hi Pete
 
We are launching it using an atcf file through our application.  During installation I set the hostname to be the IP address of the Unix system they are connecting to.  So it's not a DNS issue, as it's already an IP address.  They get the "Host not Found", click OK, then the login prompt is displayed and they can continue.
 
I am fairly certain it has something to do with how our application is integrated to Accuterm, but it's difficult to debug, as it works on the developer machines, it just doesn't work on the end user machines.  I have asked the programmer who works on that application (it's written in C++ and I'm a VB and InstallShield programmer) to put in additional displays for me to try to figure out where the problem lies) 
 
Thanks
 
Anna
Back to Top
annarouse View Drop Down
Newbie
Newbie


Joined: December 02 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote annarouse Quote  Post ReplyReply Direct Link To This Post Posted: December 03 2009 at 10:21am
It seems that the error comes as soon as we do a load of the atcf file from inside of our code.  I can run the atcf file manually and it will not give the host not found error.  If I load it through the code it does.  This also does not seem to happen on any machine that has the Microsoft Development Environment installed.
 
The following is the code that loads the atcf file  (note - it is selecting the correct atcf file to use, so that functionality does work correctly)  Any ideas?
 
 

void TerminalView::OnInitialUpdate()

{

            CFormView::OnInitialUpdate();

 

            CSettings Set;

            CFileStatus fStatus;

           

            TerminalView::pEmulator = &cAtEmulator;

            Set = cAtEmulator.Settings(TRUE);

 

            // Look for files

            if (CFile::GetStatus("Prism.atcf", fStatus))

                        Set.Load("Prism.atcf");

            else if (CFile::GetStatus("Jcon.atcf", fStatus))

                        Set.Load("Jcon.atcf");

            else if (CFile::GetStatus("Ultimate.atcf", fStatus))

                        Set.Load("Ultimate.atcf");

            else

                        Set.Load("sco5.atcf");

}

 
cAtEmulator is defined as such
C_AtEmulator cAtEmulator;
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: December 04 2009 at 3:51am
Hi Anna -

You might want to install the debugging version of AccuTerm and run the asdebuglog.exe program to see what's going on underneath. You can set logging options in atemu2k2 and atcomm32.

Thanks,

Pete
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.