Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Trevahaha

  1. Trevahaha

    Telnet port 25 remotely but not on Localhost

    I am running MailEnable and am trying to connect to telnet port 25 from the server itself, however it is unable to connect. I am able to connect to the server via port 25 from a client. I disabled MailEnable's SMTP (since I thought it may be the problem) and enabled the IIS SMTP, but same...
  2. Trevahaha

    w32time - not able to start (urgent)

    Ah yes. I see the problem now. I downloaded the W32Time from Microsoft's FTP site - seems to work, though it's still not synchronizing users between the two servers. I guess the problem is larger than I thought.
  3. Trevahaha

    w32time - not able to start (urgent)

    Okay. So this is weird. In my services, W32Time on the server not working says the path the executable is: c:\winnt\system32\W32Time.exe (which doesn't exist) the server that is functioning says this: d:\winnt\system32\services.exe
  4. Trevahaha

    w32time - not able to start (urgent)

    I've noticed that two domain controllers are unable to synchronize and I think it's because one of the servers is unable to start the Windows Time Service. None of the accounts are able to synchronize! When I type: net start w32time I get back: System error 2 has occurred. The system cannot...
  5. Trevahaha

    System.Byte[] instead of String (SOAP)

    Sorry.. I read up on StringBuilder... weird enough.. I still got System.Byte[] returned to the client. I can send back other strings just fine.. it sends back System.Byte[]: (length: 13) I'm just clueless. hmm.
  6. Trevahaha

    System.Byte[] instead of String (SOAP)

    Well.. that was server side. But it says: Cannot implicitly convert type 'string' to 'byte[]' I'm just confused why I can't get this string to work... Here's the entire method (on the server): public string getFirstString(string q) { string t=""; try { MySQLConnection conn = new...
  7. Trevahaha

    System.Byte[] instead of String (SOAP)

    I have a web service that is connects to a mySQL database, pulls a large text field and returns it to the client. Example: string sql = "SELECT Essay FROM essay WHERE ((EssayID)='1234');"; MySQLCommand cmd = new MySQLCommand(sql, conn); MySQLDataReader reader = cmd.ExecuteReaderEx()...
  8. Trevahaha

    SOAP, PHP and IIS

    Actually... Let me clarify that. printf(""); -- or else it's not a valid XML file.
  9. Trevahaha

    SOAP, PHP and IIS

    OK I got it to work.. and for future people with this problem.. it seems you have to insert the line: [code] printf("HTTP/1.0 200 OK\n"); [code] simply putting Header("Status: 200") or even header("HTTP/1.0 200 OK") does not work.
  10. Trevahaha

    SOAP, PHP and IIS

    More discovery... Could it be related to the libxml2.dll? I noticed if I remove this completely.. I get the same error. Could it not be generating XML correctly?
  11. Trevahaha

    SOAP, PHP and IIS

    sorry.. here's also the other stuff: server1.php <?php class QuoteService { private $quotes = array("ibm"=>98.42); public function getQuote($symbol){ if (isset($this->quotes[$symbol])){ return $this->quotes[$symbol]; }else{ throw new SoapFault("Server","Unknown Symbol...
  12. Trevahaha

    SOAP, PHP and IIS

    Well how would I do that? My client script is this: <?php $client = new SoapClient("http://xxxxxx/StockQuote/stockquote.wsdl",array("trace"=>1, "exceptions"=>0)); $client->getQuote("ibm"); print "<pre>\n"; print "Request :\n" . htmlspecialchars($client->__getLastRequest()) . "\n"; print...
  13. Trevahaha

    SOAP, PHP and IIS

    I've enabled SOAP for PHP and have successfully used the client side of PHP SOAP. I'm trying to get basic "stockquote server" example to work. When I try to do make a SOAP server I get the following error: The specified CGI application misbehaved by not returning a complete set of HTTP...
  14. Trevahaha

    More Efficient - Calculated Column reuse?

    I got it from googling a BUNCH - lots of places want to charge you for it -- even the USPS! It's free from codeproject.com: http://www.codeproject.com/useritems/zipcodemapping.asp Here's the direct link to the zip file. It contains some code for mapping (VS/.net) as well as the MS Access...
  15. Trevahaha

    More Efficient - Calculated Column reuse?

    Thanks cLFlaVA and TonyGroves for your suggestions. I think I'm going to stick to my original code -- it's doing okay with the 45,000ish zip codes right now, taking just a couple seconds to execute. I'd be afraid that creating a table would take extra time, since I'm only using the information...

Part and Inventory Search

Back
Top