Showing posts with label applications. Show all posts
Showing posts with label applications. Show all posts

Saturday, March 31, 2012

WEB SERVER error - connection could not be established

Can anyone help with the problem below?
Thanks.
-----------

Dear All,

I was attempting to open up one of my Web applications when I
received this message:
The Web server reported the following error when
attempting to create or open the Web project located at
URL: 'http:localhost/TravelLifeQuote'.'A connection could not be
established.

I tried reinstalling the IIS server, that did not help in terms of
establishing the connection. I also tried followed the recommended
help steps i.e. typing in 'aspnet_regiis /i' but unfortunately this
showed no effect.

Does anyone know how this problem can be solved. Your help would be
greatly appreciated.

Regards,

ReplyI tried reinstalling the IIS server, that did not help in terms of
establishing the connection. I also tried followed the recommended
help steps i.e. typing in 'aspnet_regiis /i' but unfortunately this
showed no effect.

---

Please try deleting the contents of the:
\Documents and Settings\<user>\VSWebCache\

Directory.

This might help.

Thursday, March 22, 2012

Web service stopped working

Hi,I have two web applications that run on the same server. Oneapplication publishes couple of web service methods. The otherapplication consumes this web service. Everything was working fine.Last week we moved our applications to a new server, behind a firewall.Ever since I get this error message from the second application thatconsumes the web service "The underlying connection was closed: Unableto connect to the remote server." Is there any firewall setting that iscausing this?Thanks.Well, try turning the firewall off... does it keep happening?

Hi,

I got the same problem so I deleted the web reference and added it again and it started working fine :)

The problem is that ASP.NET 2.0 built in server uses different ports to access the server. So, the port that you used yesterday might not be valid today.


I can't turn off the firewall and test it. its a hardware firewall,I don't have access to it. If I can be sure its the firewall blockingsome port, I can ask the ISP guys to open up the port.

I tried deleting and adding the reference. It did not help.


I would try using a packet analyzer or port monitor to see what ports the service is trying to use.

Monday, March 12, 2012

Web Services - communicating between apps

I would like to educate myself on web services, for the ability to define a possible solution or stategy to communicate between multiple applications on different servers located within different locations. We need the ability to exchange data between different databases, seemless logins etc Does anyone know a good tutorial or book to read. I'm waaaaaay out of my league on this one :) ThanksTry reading MS book for exam 70-310. Gives a good grounding on WebServices and the framework its built on. .Net Remoting.

The sort of B2B process you talk about is possible. Although I am pretty sure you would need to use an agreed schema of some sort with your partners.

The book should also review security for web services.

Beleive me the majority of it is way out of my head and I have passed the exam lol. Amazing what you forget when you dont use what you learn. I dont really have any call for Web Services. Although at least its given me a good grounding. Would just have to go back to my study notes if I needed to do something again.