S
Simon960
Hi,
I wonder if someone would help me please? I am trying to redirect a
..NET web service ASMX page to a new server (from
https://localhost/webservices/syncdata.asmx for test) to
https://vault1.secured-url.com/fundamentumfais/webservices/syncdata.asmx)
so that my VB .NET standalone client app connects to the new server. I
can not change the standalone app as it is in use in several locations
around the country and I can't change them all on the same day (so data
would be split across two DBs, etc).
I have created a redirect on IIS for the folder webservices on the test
server redirecting to:
https://vault1.secured-url.com/fundamentumfais/webservices$S$Q and
ticked "exact URL above" and this seems to work fine in a browser.
If I type in
https://localhost/webservices/syncdata.asmx?op=GetChangedTableData then
it redirects to
https://vault1.secured-url.com/fundamentumfais/webservices/syncdata.asmx?op=GetChangedTableData
and it seems fine. However if I run my standalone VB app it gives an
error. I'm afraid I can't be more specific on the error because it
just gives me a friendly error "Communications Error".
By changing the client app's configuration file I can set it to connect
directly to https://vault1.secured-url.com/fundamentumfais/webservices/
(the app itself completes the rest of the URL, because it uses a couple
of web services) and that works perfectly so its not a network/
password issue or anything along those lines.
Is there some reason why asmx pages can't redirected in this way? As I
said its strange that it seems to work fine in a browser, but then I'm
new to .NET and I'm not a developer. Is there an easy way to make this
redirect work in code? I'm not a coder but I could certainly open a
file and stick a server.redirect or something at the top of it
Many thanks indeed for any help offered
Simon
spdale A T gmail.com
I wonder if someone would help me please? I am trying to redirect a
..NET web service ASMX page to a new server (from
https://localhost/webservices/syncdata.asmx for test) to
https://vault1.secured-url.com/fundamentumfais/webservices/syncdata.asmx)
so that my VB .NET standalone client app connects to the new server. I
can not change the standalone app as it is in use in several locations
around the country and I can't change them all on the same day (so data
would be split across two DBs, etc).
I have created a redirect on IIS for the folder webservices on the test
server redirecting to:
https://vault1.secured-url.com/fundamentumfais/webservices$S$Q and
ticked "exact URL above" and this seems to work fine in a browser.
If I type in
https://localhost/webservices/syncdata.asmx?op=GetChangedTableData then
it redirects to
https://vault1.secured-url.com/fundamentumfais/webservices/syncdata.asmx?op=GetChangedTableData
and it seems fine. However if I run my standalone VB app it gives an
error. I'm afraid I can't be more specific on the error because it
just gives me a friendly error "Communications Error".
By changing the client app's configuration file I can set it to connect
directly to https://vault1.secured-url.com/fundamentumfais/webservices/
(the app itself completes the rest of the URL, because it uses a couple
of web services) and that works perfectly so its not a network/
password issue or anything along those lines.
Is there some reason why asmx pages can't redirected in this way? As I
said its strange that it seems to work fine in a browser, but then I'm
new to .NET and I'm not a developer. Is there an easy way to make this
redirect work in code? I'm not a coder but I could certainly open a
file and stick a server.redirect or something at the top of it
Many thanks indeed for any help offered
Simon
spdale A T gmail.com