Webservice Not Working After Publish
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Webservice Not Working After Publish

  1. #1
    Join Date
    May 2014
    Posts
    2

    Webservice Not Working After Publish

    HELP!

    I am working on creating a webservice that uses a .dll reference file from an application that then creates an XML output which will be integrated into SAP.

    I have created a localhost website and the webservice, which works perfectly in visual studio 2010, however after publishing it to the IIS localhost I do not get the same return.

    Furthermore as I am very new to VB I cannot debug the published website to see specifically what is happening. I have used a caveman style debugging technique and have found that it seems to have something to do with the functions within the .dll file that is being referenced. My gut tells me it is a security issue, but I don't know why it would be working fine in visual studio, but does not return any value after publishing.

    HELP!

    And thank you kindly in advance for any information.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,197

    Re: Webservice Not Working After Publish

    Set up the WebService to use an AppPool with an account that has the necessary permissions.

  3. #3
    Join Date
    May 2014
    Posts
    2

    Re: Webservice Not Working After Publish

    The website I created on the IIS has the security permissions of an app pool with read & execute. the app pool also has permissions to the dll file as well.

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,197

    Re: Webservice Not Working After Publish

    In the visual studio project settings, set up the project to use IIS when debugging. See if you can repro the issue that way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center