|
-
Oct 25th, 2005, 01:31 AM
#1
Thread Starter
Frenzied Member
Deploy Web Service
I am a web services newbie - need some help to deploy a project.
Works fine on my local server but when I run "Copy Project" to a local directory and copy the required files (.asmx file. web.config, global.asax and the bin directory) to a remote server and then try to reference in another project via "Add Web Reference", I get an error message:
"The proxy settings on this computer are not configured correctly for web discovery."
-
Oct 25th, 2005, 01:32 AM
#2
Addicted Member
Re: Deploy Web Service
Can you tell me how do u generate those files...i m also working in web service..do u use any command line..
-
Oct 25th, 2005, 08:34 AM
#3
Re: Deploy Web Service
Did you create a Virtual Directory on the remote machine?
-
Nov 8th, 2005, 10:14 PM
#4
Thread Starter
Frenzied Member
Re: Deploy Web Service
No, I have been doing it using the VS IDE.
No, I didn't create a virtual directory on the target machine. How do I do that?
-
Nov 9th, 2005, 12:44 AM
#5
Thread Starter
Frenzied Member
Re: Deploy Web Service
OK, it worked fine when I put the asmx file and the bin directory in the root of the server. How do I get it to work from a folder off the root?
Is using web services the preferred way to connect to a remote SQL database via a windows app? ie.authenticate via a public method and connect to and retrieve/edit data in your database via a private method.
-
Nov 9th, 2005, 08:23 AM
#6
Re: Deploy Web Service
 Originally Posted by robertx
No, I have been doing it using the VS IDE.
No, I didn't create a virtual directory on the target machine. How do I do that?
Your control panel will allow you to create a new directory on the server. That should inherently imply the creation of a virtual directory. Uploading your files after that should make it work.
-
Nov 9th, 2005, 08:25 AM
#7
Re: Deploy Web Service
 Originally Posted by robertx
OK, it worked fine when I put the asmx file and the bin directory in the root of the server. How do I get it to work from a folder off the root?
Is using web services the preferred way to connect to a remote SQL database via a windows app? ie.authenticate via a public method and connect to and retrieve/edit data in your database via a private method.
It works from the root folder because it already has 'virtual directory' status (for a lack of better description). For a folder, see my previous post.
Use web services if you feel you need to. If the remote sql server is somewhere on the Internet, then it may actually be a good idea to use a web service.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|