Results 1 to 7 of 7

Thread: Deploy Web Service

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    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."

  2. #2
    Addicted Member
    Join Date
    Oct 2005
    Posts
    182

    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..

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Deploy Web Service

    Did you create a Virtual Directory on the remote machine?

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    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?

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    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.

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Deploy Web Service

    Quote 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.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Deploy Web Service

    Quote 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
  •  



Click Here to Expand Forum to Full Width