Re: How can I get an accurate NS address?

JC,
Create an ExternalConnection object in the partition, and use the
GetDotAddress method on it. That will give you the IP address of wherever
your partition is running. You can do this with one line:
MyIP : TextData = new( value = ExternalConnection().GetDotAddress() );
Don
At 05:18 PM 8/20/97 -0500, J.C. Hamlin wrote:
We have an application that needs to establish a TCP/IP connection to a
non-Forte service also running on the same server machine as Forte. We
would like to not store the IP Address of this server, as it will always
be the same IP address as the NS address (of course, the port will be
different). I'm trying to find a way to get the IP address of the name
server, and it must be without accessing a distributed reference to an
object on the server (i.e. it must be stored locally in the client
partition). I know it has to be stored somewhere, as Forte reads the
value from "FORTE_NS_ADDRESS", and the "-fns" command line flag can
override that value. But can I access it?
I could always do a task.part.operatingSystem.getEnv("FORTE_NS_ADDRESS")
but I don't think that will always be accurate, as the -fns flag can
override the value stored in that environment variable for a particular
ftexec process.
Anyone know where this might live and how I can access it?
Thanks in advance!
J.C. Hamlin, Senior Consultant
Forte National Practice
Born Information Services Group, Wayzata, MN
Phone: (612) 404-4162 Fax: (612) 404-4440
<[email protected]>
====================================
Don Nelson
Senior Consultant
Forte Software, Inc.
Denver, CO
Corporate voice mail: 510-986-3810
aka: [email protected]
====================================
"Tigers are natural-born tree climbers.........Of course, we usually have
grappling hooks, ropes and utility belts." - Hobbes

J.C. Hamlin wrote:
>
We have an application that needs to establish a TCP/IP connection to a
non-Forte service also running on the same server machine as Forte. We
would like to not store the IP Address of this server, as it will always
be the same IP address as the NS address (of course, the port will be
different). I'm trying to find a way to get the IP address of the name
server, and it must be without accessing a distributed reference to an
object on the server (i.e. it must be stored locally in the client
partition). I know it has to be stored somewhere, as Forte reads the
value from "FORTE_NS_ADDRESS", and the "-fns" command line flag can
override that value. But can I access it?
I could always do a task.part.operatingSystem.getEnv("FORTE_NS_ADDRESS")
but I don't think that will always be accurate, as the -fns flag can
override the value stored in that environment variable for a particular
ftexec process.
Anyone know where this might live and how I can access it?
Thanks in advance!
J.C. Hamlin, Senior Consultant
Forte National Practice
Born Information Services Group, Wayzata, MN
Phone: (612) 404-4162 Fax: (612) 404-4440
<[email protected]>
Hi JC,
So you want to connect to the Non-Forte Service on the same server as
Forte is running on, from the Client, whose fns might be passed as a
command line argument.
Try getting it from task.part.CmdLineArgs which returns an array of
Textdata of the all the arguments passed.
Bala Cuddalore
Sage Solutions
[email protected]

Similar Messages

  • How can i get my e-mail address linked to my skype...

    I need help!!!!
    How can i get my e-mail address linked to my skype user name.
    Regards Gerald

    You can use a different email account, but it will not appear on icloud.com as iCoud only hosts iCloud email.  Just add your account to the email client on your PC as you would any other email account.  To add the account on your iOS devices (iPhone), go to Settings>Mail,Contacts,Calendars>Add Account, choose your provider and provide your account details.
    You can't redownload purchased ringtones from iCloud for free but you can sync them to your 5c using iTunes.  To do so, connect your iPhone 4 to your computer, open iTunes and go to File>Devices>Transfer Purchases.  Then go to the Tones folder of your iTunes library and confirm that the ringtones appear there.  (If you don't see the Tones folder, go to Edit>Preferences>General and make sure Tones is checked in the Show options.)
    Then connect your 5c to your computer, open iTunes, click on the name of your phone in iTunes, go to the Tones folder of your iTunes sync settings, then check Sync Tones and click Apply at the bottom to sync your phone.

  • How can I get my e-mail address associated with Adobe Digital Editions?

    How can I get my e-mail address associated with Adobe Digital Editions?

    gjortega,
    Your sidekick may be relaying through a different server. If its on AT&T, it could be using cwmx.com for outgoing. However, cwmx.com only works for AT&T/Cingular EDGE customers. When on Wi-fi it won't allow you to send through it.
    Many internet providers, but not all, provide an authenticating SMTP server to use when travelling. If you configured your outgoing server to use the email providers authenticating SMTP server information on a port different from port 25, you will be able to use it on most networks. Some wireless networks filter a wider range of ports, such as some work places.
    This article discusses the issue in more detail:
    http://docs.info.apple.com/article.html?artnum=305634
    Hope this helps,
    Nathan C.

  • HT3529 how can I get a rescue email address ?

    how can I get a rescue email address ?

    Click here for information. If you can't do it through the method described in that article(it requires correctly answering two of the security questions), contact the iTunes Store staff via the link in the 'Additional Information' section.
    (101081)

  • How can I get my Yahoo email address book onto my blackberry tour?

    This is my first blackberry and I am lost.  How can I get my Yahoo email address book onto my blackberry tour?
    Solved!
    Go to Solution.

    Hi and Welcome to the forums!
    Was it there before and it is now gone? Or are you wanting to configure Yahoo email for the first time? See this demo information:
    http://na.blackberry.com/eng/support/blackberry101/setup.jsp#tab_tab_email
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How  can i get the system ip address through d2k/oracle

    hi
    how can i get the I.P. address of the System, whether any builtin function is available oracle/d2k.
    please do needful help

    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:510222107880

  • I am trying to change or add the email address which is attached to my itunes account. I keep getting a notice saying email address is already verified for another Apple ID. Im sure its one of my devices. How can I get my current email address added?

    My itunes account is attached to an email account that I no longer have and cannot retrieve. I have been having trouble with purchases made to my itunes account and want to view my purchases. The support center said that they would email me the purchase history. However, I don't have that email address. When I go to change my email address to my current one, I get a message in red saying that "the email address is already verified for another Apple I.D." I'm sure it is one of my devices as we have 4 ipods and 2 iphones. How can I get my account to use my current email address? If one of my devices was registered using my current email address as it apparently was, do I need to figure out which device that is and remove the email address from that account? I'm so confused. I just want ALL my devices to use my current email address. I need to replace the old email address with my current one. How do I do that?
    thanks for any assistance.

    Your best bet would be to try resetting the password to the account that you would like to use via iForgot
    Once you log in to that account change the email address to anything, it can even be fake its just a placeholder
    After you do that you will be free to change your old email address on your appleID to the new one that is now free to be used as it is no longer attached to the other account.

  • How can i get the SMTP IP address for gmail

    Hello,
    sapian,
              I want to schedule a webi document through BI Launch Pad to users email address gmail.So while configuring the AdaptiveJobServer in CMC i need to give SMTP details such as
    Domain name:
    Host:
    Port:
    So for scheduling a webi document to a gmail user i need the above details for gmail SMTP server.Can any one suggest me how can i get the above details for gmail SMTP server.
    Thanks in advance.
    Regards,
    Kishor Kumar S

    Hi Hrishikesh,
    i have configured the 'stunnel.conf' file with the following details
    accept  =static ip address of the machine colon port number where the stunnel is installed
    connect = smtp.gmail.com:465
    and i saved the file.
    when i go to
    Start->Stunnel->service install
    it is giving error as follows
    Error binding ssmtp to (ip address and port number which i have given in stunnel.conf file 'accept')
    bind: No error (0)
    Can you suggest me the solution for the above error.
    Thanks in advance,
    Regards,
    Kishor

  • How can I get an accurate count of computers (workstations) logged in to my SQL Server database?

    We license our software by number of workstations.
    I have a query that I have used for years to get an accurate count of the workstations logged in to my SQL Server database. For simplicity, all users use the same login name/password. This is built in to the script that attaches to the DB. They
    have access only to that DB with the exception of
    USE [Master] GRANT VIEW SERVER STATE to MyUser
    The query that has been working is below:
    Basically this relies on the mac address (Master.dbo.sysprocesses.net_addre
    SELECT COUNT(Users) AS UserCount FROM (SELECT COUNT(Master.dbo.sysprocesses.hostname) AS Users FROM Master.dbo.sysprocesses LEFT OUTER JOIN Master.dbo.sysdatabases ON Master.dbo.sysdatabases.dbid = Master.dbo.sysprocesses.dbid WHERE (Master.dbo.sysdatabases.name = 'MyDatabase') GROUP BY Master.dbo.sysprocesses.net_address) AS UserCount_1
    ss), since both Workstation names and ip addresses can be duplicated.
    Recently this has stopped working at a number of customers. Suddenly individual workstations are showing multiple net addresses for the same workstation causing a substantial overcount of users. This may be related to SQL Server 2012 - not sure.
    What I need is a very reliable way to get a count of workstations logged in to my database.
    If anyone can tell me why I am suddenly getting multiple net_addresses for each workstation and how to prevent that that would be one possible solution.
    Otherwise if anyone can give me a rock solid way to get a workstation count other than the above that would be great. Our largest customer is 50 users by the way.
    Thanks in advance for any help.
    Kim

    I think your count is getting skewed because of duplicate rows in sysprocesses because of parallelism. Add DISTINCT to your query:
    SELECT COUNT(Users) AS UserCount
    FROM
    ( SELECT COUNT(DISTINCT Master.dbo.sysprocesses.hostname) AS Users
    FROM Master.dbo.sysprocesses LEFT OUTER JOIN Master.dbo.sysdatabases
    ON Master.dbo.sysdatabases.dbid = Master.dbo.sysprocesses.dbid
    WHERE (Master.dbo.sysdatabases.name = 'MyDatabase'
    GROUP BY Master.dbo.sysprocesses.net_address) AS UserCount_1
    Satish Kartan www.sqlfood.com

  • HT1920 I don't have the same email account as the one I originally started with, so when I try to log into the Apple store or iTunes it wants to send my password to my email.  How can I get my new email address and password?

    I would like to change my email address on my itunes account so I can get email updates.  How can I change it on my phone to correspond with my computer?And when I tried to get iheart radio on my iphone it gave me the "terms and conditions" pages but no button to "agree".  I need help.

    You can try getting the password reset via this page : http://iforgot.apple.com
    If you can't then you will need to contact iTunes Support / Apple in your country to get the password and your questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address to your account for potential future use : http://support.apple.com/kb/HT5312

  • How can we get Sun Ray DHCP address in Windows XP?

    We need the DHCP address (served by Windows) of our Sun Rays as a variable in our Windows XP session (served by VDI 3 / vBox 2.0.10). Customer wants to use this for a windows script which maps the room printer to the Sun Rays Windows XP session. So the user can get always the room printer automatically mapped as the default and don't need to choice the right printer. How can we do this and will this work wor hotdesking too?

    currently you can not use SGD and Sun VDI on dual monitors. There is a Request for Feature Enhancement to provide this feature in a future version.

  • How can I get the client IP address correctly?

    Hi,
    I am having a problem with getting the client ip address correctly using jsp. I am currently using the method request.getRemoteAddr() (JSP)to get the remote client IP. This method works fine with intranet addresses.
    However, when I am using a dial-up connection through a ISP (internet service provider), it could not detect the actual IP that is assigned to my client PC, but instead got another IP address.
    Could anyone advise me on that? And could anyone advise me on how to obtain the correct client ip address correctly using any of the java technologies?
    Thanks,
    Damien

    >
    I don't believe so. You can't establish aconnection
    over the internet using a private IP. As far as I
    know most, if not all routers, block them so itwon't
    even move over the backbone.Well with port-mapping it is definately possible to
    allow an external ip to "connect" to an internal ip, i
    have done this very thing myself...Not the same.
    You are addressing the external server with a public IP address. That is then translated into the internal connection.
    That is not the same as using a private IP on the internet.
    As I said, the backbone will not let a private IP through.
    >
    >
    Yes, but my point is that at any given time, in the
    world, many boxes might have one address. Even ifit
    is a private IP is it still that IP for aparticular
    box. So if you use java to get its IP that is theIP
    that it gets. And that IP is useless for anything
    unless that IP is meaningful for the othercomputer.
    But all ips must be unique in a designated "internet"
    be it an "intranet" or whatever, there cannot be a
    situation where two identical ips in the same
    "internet", such that an ip that is achieved from a
    page-hit is valid and meangingful in order to send the
    data it is requesting back to it, or find out more
    about that computer, or log and report it if it is
    doing something illegal; i don't think its that
    meangingless is it?Yes it is. You can't use an IP to uniquely identify a box, and that is the sole criteria, when there might be two boxes with the same IP.
    When you use java on a client box to get the IP of the box, it doesn't necessarily return an IP that it meaningful to the anyone outside the lan on which the box lives.
    Because of this internet systems must do one of the following:
    -Do not use the IP as an identifier.
    -Require that the client has a public IP. This is often static. At least some security systems use this to validate users.

  • How can I get the e-mail address (reply addr.) once connected to a server

    My application ask the user to enter the POP3 server host name (+ port) more the
    POP3 server userId and password .... I can get the e-mails and show the to the user ....
    Now, the user want to send a message from that "account" and what I need
    is to know the "reply address" (the "from address") to set to the outgoing message ...
    I would like to get it somehow (from the API or in anotherway) without asking the
    user to enter it ...
    So, oonce connected to the POP3 mail server (successful login) is it
    possible to get the e-mail address of that guy ??
    please let me know if you have a solution ....
    many thanks / regards / Max

    You are of course trying to get an email address in the format of [email protected] You already have "username" the trick is the somedomain.com. I don't believe that the pop3 server has anyway to tell you this. Unless your host name is "fully qualified", i.e. pop3.somedomain.com, I don't know that you can get this information. Maybe you could take the IP address and do a reverse DNS lookup? Still you wouldn't really know if that is the domain the user really wants. For example I retrieve and send my email from aaa.com, but my domain for my reply-to is bbb.com. Your goal is noble, but perhaps not practical. That is why Outlook Express requires the user to enter their email address when setting up an account. Hope this helps.

  • How can I get my e-mail addresses working

    I synchronize my Touch with outlook 2003. The imported e-mail adresses are mainly unusable. Outlook displays the addresses by the name of the contact instead of the complete address. The touch imports the displayed name and not the e-mailaddress. This means that I can't send mails from the Touch using my imported address book. Who recognizes the problem and who knows how to solve it?

    BasHIDAP -
    I too sync with Outlook 2003 as well. I am confused on your comment about not being able to send messages from your iPhone. Quick question – I am going to assume that you are working Exchange as well.
    Though you may not able to view e-mail details when using the Contact list. When compose a message and start typing a name in the ‘To’ filed the phone starts to filter names and at that point you can see the full e-mail address.
    As I mentioned above I seem to have no problems send and receiving messages on my iPhone. If this is not the case can you provide additional information as to what happens when you try to send mail?
    Respectfully –
    BH

  • How can I get rid of email address not in use

    I have an email address which I used to set up my Apple ID. That address is now disabled so I have gone to my details and updated them to the new address. But I can't sign in to iCloud or update my apps as it keeps telling me to sign in using the now disabled email address. In iTunes I can change it to my new address, but not apps or iCloud. When I go to reset the password I am asked to change the password in my new address but that's not what I want to do. I've tried all the different passwords I can think of when using the old address but none work. Also I selected personal details rather than email as it would never get through, obviously, and so put in my birthday.  But they say my birthday date is not in their records!  What?  So I go to my details and there it is, in black and white, exactly what I was typing in! This is driving me insane. Is there any way I can delete my original, without having to put in the password for that ID?  I really hope someone can help me.  I did see a section somewhere which said did I want to delete an old email address but again, I had to put in the password for that email address and I DON'T HAVE IT!
    By the way, I am an OAP. So I would appreciate it if anyone who can help makes it easy to understand!  Many thanks.

    After you sign in with the old ID and are presented with the option to keep the information on the iPad, you should say yes to that. Then you should be able to delete the account on the device. After you delete the account, you can - or you should be able to - sign in with the new Apple ID.
    I tried these very same steps on my Pod Touch and it worked exactly the way that I'm describing. When you sign in again with the new ID, you will be given the option to merge Reminders, Bookmarks, Etc, with those in iCloud.com. I selected the option to merge all of the information. Nothing was duplicated and everything was exactly as it was before I deleted the iCloud account.
    So ... sign into your new ID in Settings>iTunes & App Store. Tap the old ID and sign out. Then sign in with the new ID. Then delete the old iCloud account like I explained above and then sign in with the new Apple ID, all of your purchased content and iCloud content should be good to go.

Maybe you are looking for

  • Error: Invalid Export dll when exporting to Excel from VB,NET 2008

    Version: Crystal Report 2008 Front End: Visual Basic 2008 Hello, I am trying to export a report to Microsoft Excel [2003] when I get the error "Error in File_Temp......Invalid Export dll or export format". from the Windows Form Viewer. I have looked

  • How can i open a ppt files or a work document on my ipad and save it?

    I have been opening ppt or .doc from school on safari, but i don't know how to save it in my ipad so i don't have to go back online eveytime for those documents. So far i have been only able to save pdf in ibooks. I appreciate your help. Thanks

  • Exporting from iMovie back to camera

    Still have iMovie 6.0.3 and for the first time, when exporting back to the camera, I get the sound but not the video. So, what have I failed to do. Having made about 80 movies, all of a sudden some new problems that I should be able to solve. And I h

  • BI content and SAP Enterprise portal connection

    Hello All, i m new to SAP enterprise portal , can anyone explain me the connection of BI content and Enterprise Portal.Please explain me the flow of publishing the Bi reports to EP. Thnks in advc.

  • Do i need to reinstall office when we change volume licensing to O365

    Hi, We have Office pro plus installed and licensed with open value licensing. Now we have plans to order O365 midsize plan. Do we have to reinstall all desktop offices or could we use that office version what we have installed under volume licensing?