Best Online Resource For Non-Resident Indians      SEARCH COOLNRI.COM
 HOME  FORUMS  PORTALS & REVIEWS  RECIPES  INDIAN RESTAURANTS  GROCERY  CLASSIFIEDS  MOVIES / TV  CHAT  NEWS  HOROSCOPE  PAINTINGS  CONTACT  LOGIN
Welcome Guest Search | Active Topics | Members | Log In | Register

Web Service works on development machine but not on web server Options
vijayanandta
Posted: Sunday, May 17, 2009 1:48:42 AM
Rank: Member
Groups: Member

Joined: 10/9/2008
Posts: 1
Hi,

I just wondered if anyone had any ideas why I'm getting the following problem.

I have a web service and a seperate web application that talks to the web service. It all works perfectly on my development machine but as soon as I put the service onto a seperate web server, update the web reference and then run the web app, I get the error:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at UserSession.CreateNewUser(String username, Bot bot, Hashtable userHash)
at Service.createUser(String Username)

As far as I can understand, it seems as though the string from the web app isn't passing to the web service which causing the null reference error. It obviously does work as it works on the development machine and I haven't changed any code. Could this be some sort of permissions issue? The web server is running on Windows 2003 and IIS 6 and I'm using Visual Studio 2008.

I should also point out that if I type in the name of the asmx file in a web browser on the web server, I get response from the web service.
gbyomman
Posted: Sunday, May 17, 2009 1:49:40 AM
Rank: Member
Groups: Member

Joined: 2/1/2008
Posts: 1
I had this same thing happen and it turned out it was the firewall on my production server that was stopping the SOAP request.

I wont pretend to be a server admin and tell you how to fix it, I got our server admin to fix it It's definitely worth looking into though.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

COOLNRI.COM 2006-2011 |  TERMS OF USE |  PRIVACY STATEMENT |  SEARCH 
ProjectGlide - Free Effective Project Management