Hi there,
I'm not sure if anyone here can help me but I'm pretty desperate at this point.
I've developed a web application that sends emails periodically. Everything works fine in the test environment (Visual Studio 2005's server emulator) but not when I publish it to the real IIS server. The IIS server is on the same machine that I am developing on.
After reviewing the Windows Event log I discovered that our WinSock firewall is preventing my application from sending emails. There is no way to turn off this firewall so I have to work around it.
Since the web-app works in the test environment, I'm sure there's a way to get it to work on the real server as well. I assumed that the test environment doesn't use the ASPNET user account; but instead uses the account credentials that I'm logged into while developing and so it has permissions to send emails. So I've tried to impersonate a user that has authority to send emails (by using the same account that I'm assuming is used in the testing environment) but only get the error:
"A socket operation encountered a dead network"
Could someone please point me in the right direction?
Is this error being caused by my WinSock Proxy Server?
How do I get around this?
Any help would be appreciated.
Thanks in advanced,
-F
I'm not sure if anyone here can help me but I'm pretty desperate at this point.
I've developed a web application that sends emails periodically. Everything works fine in the test environment (Visual Studio 2005's server emulator) but not when I publish it to the real IIS server. The IIS server is on the same machine that I am developing on.
After reviewing the Windows Event log I discovered that our WinSock firewall is preventing my application from sending emails. There is no way to turn off this firewall so I have to work around it.
Since the web-app works in the test environment, I'm sure there's a way to get it to work on the real server as well. I assumed that the test environment doesn't use the ASPNET user account; but instead uses the account credentials that I'm logged into while developing and so it has permissions to send emails. So I've tried to impersonate a user that has authority to send emails (by using the same account that I'm assuming is used in the testing environment) but only get the error:
"A socket operation encountered a dead network"
Could someone please point me in the right direction?
Is this error being caused by my WinSock Proxy Server?
How do I get around this?
Any help would be appreciated.
Thanks in advanced,
-F
Comment