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...
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.
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
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...
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.
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...
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()...
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.
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?
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.