Webservices Deployment

  • Hi,

    Please some one let me know how to deploy web services on local machine.

    I created self certificate in IIS and then build the solution in the visual studio. After I build the solution, I found that automatically it created the virtual directories for the web services under the default website in the IIS Manager. When I click and select the browse it is not working.

    Some one give me the solution

    Thanks,

    Ramana

  • Can you post the error message you get?

  • Hi Adam,

    The error message is

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Detailed Error Information:

    Module

    IIS Web Core

    Notification

    BeginRequest

    Handler

    Not yet determined

    Error Code

    0x80070021

    Config Error

    This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

    Config File

    \\?\C:\localpath\web.config

    Requested URL

    http://localhost:80/

    Physical Path

    C:\

    Logon Method

    Not yet determined

    Logon User

    Not yet determined

    Config Source:

    282: <system.webServer>

    283: <modules runAllManagedModulesForAllRequests="true">

    284: <!-

    Thanks,

    Ramana

  • Try this:

    Click "Start button"

    in the search box, enter "Turn windows features on or off"

    in the features window, Click: "Internet Information Services"

    Click: "World Wide Web Services"

    Click: "Application Development Features"

    Check (enable) the features. I checked all but CGI.

  • Thanks for the information. I checked all. I will see the result

  • Hi Adam,

    Some one told me we need to create application pool for each service that we want to localize. Is that right? What is the application pool does? Please let me know

    Thanks

  • Hi,

    Actually what I understand is I have to run those web services under my user name in iis. I created the app pool with my user name but it is always showing in stopped mode only. I changed to always running mode but still it is stopping always.

  • You will probably want to set up your app pool with a service account that has the necessary permissions to run your application.

  • Hi Adam,

    Thank you. What kind of service account do you want to me create. This is my first time working with iis. How to create that service account for app pool? Please let me know.

    Thanks

  • Hi,

    Instead of application identity, I choose local system identity. Let me know, Is it works or do I need to change?

    Thanks

  • That should also work, depending on permissions needed.

  • Hi,

    Is there any website like this to discuss about the .net or iis related queries.

Viewing 12 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic. Login to reply