index > Windows Forms Sample Applications > Problem after moving WS to QA Server

Problem after moving WS to QA Server

I moved the webservice from localhost to our QA server. Now I cannot connect at all through the log in, alothough I can test it fine through a browser (get a ticket, return a ds). 

What do I need to do to get the web service up and running. I changed the host information from localhost to the servername. I didn't change the namespace from tempuri though.

This is my first attempt at webservices, but I was working fine on localhost connecting to a remote SQL server. 

Any thoughts?
WinFormsUser
could it be a network problem, like the company firewall not letting you through?
WinFormsUser
Not a firewall issue. The guy who handles all the servers is on vacation so I set upd the virtual directory and ftp site myself. Since I can test the WS via the web, I assumed everything was fine. What permissions need to be on the actual folder and virtual dir?

There are literally a million things in the debugger for m_WsAuth. What should I be looking for? It seems to have the domain name correct; and the uri; the port is 80; the namespace is correct; under binding it has to entries for location, one is 'nothing' and the other is "". 

Other than that...
WinFormsUser
The request failed with HTTP status 401: Access Denied. Is this a folder permission? 
WinFormsUser
Sorry, didn't dig deep enough in the debugger. Not that I understand this message:

errorMessage"The request failed with HTTP status 401: Access Denied.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at HRCApp.AuthWS.AuthService1.GetAuthorizationTicket(String userName, String password) in C:\Projects\HRCApp\Web References\AuthWS\Reference.vb:line 42
   at HRCApp.DataLayer.GetAuthorizationTicket() in C:\Projects\HRCApp\Component\DataLayer.vb:line 82"String
WinFormsUser
On the web service virtual dir I checked 'Allow anonymous access. and it connected fine.  What are the potential dangers of this? This is just a Test server but in terms of the production server?
WinFormsUser
it means anybody will be able to see the webservice, but unless they have a correct username and password, they won't be able to do anything.
WinFormsUser
reply 7

You can use google to search for other answers

 

More Articles

• Server Running Okay... How to get animals?
• How to play Terrarium
• Animal Farm?
• Wanted someone with a suitable terrarium for herbivore introducti...
• Mitch- next version?
• FotoVision Navigation Images
• Is there a way to ONLY install the source code...
• Concurrent update checking does not appear to work
• Local Stats
• Problems with Server
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• VS.net 2002 installation errors off issu
• How can we increase performance in vb.ne
• Unstable terrarium
• Getting error when trying to introduce n
• taskvision can not work on w2k3
• ASP.Net Client for TaskVision?
• why?
• Debug Error. Species by same name alrea
• Smart Client Offline Application Block (
• application updater problem
• help!!!
• SQLHelper.ExecuteReader error.
• WebService tickets
• Defect in MainForm.MainForm_Load()
• The Server is not showing anything!

Hot Articles

• Complete overhaul of Task vision Web ser
• TaskVision
• Terrarium Setup Help
• PocketVision fix...
• not able to download xml files
• Cannot access a disposed object named &q
• Incorrect parameter
• Is the third light supposed to be red?
• Adding Fields
• Clarification
• Reintroducing updated organism
• Invalid 'integrated security' value in t
• CRM 3.0 sample senario
• ERROR INSTALLING TERRARIUM CLIENT...
• Code Downloads? Animal Farm?

Recommend Articles

• [ANN] Cool new stuff in the Animal Farm.
• Code Downloads? Animal Farm?
• HELP - application blocks
• Problem With TextDescription Field
• Transactions?
• Is FotoVision an ongoing development pro
• How To run Pocket TaskVision??
• email encode easy to thwart?
• Smart client template solution ???
• .NET Terrarium
• Terrarium 1.2 Server -> Peercount fix
• PocketVision fix...
• What is the user id and password for tas
• source installation error "incorrec
• The small report screen doesn't work