I have a have a webservice deployed onto a production server that only works
when client is executed from a machine with VS.NET installed.
When executing client from test machine (no VS.NET) & deployment laptop,
client timeout fires at 200 seconds ( I've set this in proxy class). When
executing development client ( VS.NET ) installed, code executes & returns
expected values in about 3 seconds. Test client is connected to same LAN as
development client. I've enabled the trace functionality & checked the
servers http logs. No http code for these requests ( b/c no response sent --
correct ?) The connection object never attempts connection ( I've a profiler
trace set on the connected SQL server for logins ) from test client or
production laptop -- success from development client.
The web config file authentication is set at "none" & allow all users (*). I
have exhausted all ideas & cannot explain this behavior. Any ideas or
possible directions to explore ?
Webservice Code
<WebMethod(Desc ription:="Submi t Producer Complaints")> Public Function
SubmitProducerC omplaint(ByVal c As Complaint) As ReturnValues
Dim RetVals As New ReturnValues()
Try
Dim objcon As New SqlConnection(" data source=(obscure d);initial
catalog=(obscur ed);user id=complaint;pa ssword=complain t")
objcon.Open()
Web.config
<authenticati on mode="None" />
<authorizatio n>
<allow users="*" />
</authorization>
when client is executed from a machine with VS.NET installed.
When executing client from test machine (no VS.NET) & deployment laptop,
client timeout fires at 200 seconds ( I've set this in proxy class). When
executing development client ( VS.NET ) installed, code executes & returns
expected values in about 3 seconds. Test client is connected to same LAN as
development client. I've enabled the trace functionality & checked the
servers http logs. No http code for these requests ( b/c no response sent --
correct ?) The connection object never attempts connection ( I've a profiler
trace set on the connected SQL server for logins ) from test client or
production laptop -- success from development client.
The web config file authentication is set at "none" & allow all users (*). I
have exhausted all ideas & cannot explain this behavior. Any ideas or
possible directions to explore ?
Webservice Code
<WebMethod(Desc ription:="Submi t Producer Complaints")> Public Function
SubmitProducerC omplaint(ByVal c As Complaint) As ReturnValues
Dim RetVals As New ReturnValues()
Try
Dim objcon As New SqlConnection(" data source=(obscure d);initial
catalog=(obscur ed);user id=complaint;pa ssword=complain t")
objcon.Open()
Web.config
<authenticati on mode="None" />
<authorizatio n>
<allow users="*" />
</authorization>