Results 1 to 5 of 5

Thread: Webservice (HTTPS)

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2011
    Posts
    52

    Webservice (HTTPS)

    Hi, i'm new to web services and IIS. My web service is running well using HTTP (binding type, which I guess is the default). I can access it on my program and via web browser. Just now, I shift from HTTP to HTTPS and also select the SSL Certificate of our server, i tried to access it via web browser and I received this error

    403 - Forbidden: Access is denied.
    You do not have permission to view this directory or page using the credentials that you supplied.


    Any idea? Let me know please if there's something that I need to change on the config.

    Thanks

  2. #2
    Fanatic Member
    Join Date
    Nov 2016
    Location
    Slovenia
    Posts
    575

    Re: Webservice (HTTPS)

    I can access it on my program and via web browser
    Are you using WebBrowser control on your form ? I don't quite understand your question, but I think It might be something wrong with the site. If you're not a PC administrator then Windows firewall might prevent to load this web page. Another thing I would do is to check If that specific site is trusted under Internet EXplorer>Internet Options>Security (again, If you're not administrator then GPO settings in Active Directory might prevent you something).

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Webservice (HTTPS)

    Did you change the CREDENTIALS that IIS uses to run the worker threads?

    Can you locally browse to it by right-clicking the web server in IIS and browsing to it?

    If you put the binding back to http and use port 80 does the page still work?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2011
    Posts
    52

    Re: Webservice (HTTPS)

    Quote Originally Posted by LuckyLuke82 View Post
    Are you using WebBrowser control on your form ? I don't quite understand your question, but I think It might be something wrong with the site. If you're not a PC administrator then Windows firewall might prevent to load this web page. Another thing I would do is to check If that specific site is trusted under Internet EXplorer>Internet Options>Security (again, If you're not administrator then GPO settings in Active Directory might prevent you something).
    Hi, what i'm trying to say is that I was able to consume the web service using my vb.net program. I was also able to view the functions of my web service when I enter the URL on web browser.

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2011
    Posts
    52

    Re: Webservice (HTTPS)

    Quote Originally Posted by szlamany View Post
    Did you change the CREDENTIALS that IIS uses to run the worker threads?
    Not yet, where I can find that settings?

    Quote Originally Posted by szlamany View Post
    Can you locally browse to it by right-clicking the web server in IIS and browsing to it?
    Yes, I can locally locate the files. I can also see the files when I access the web service using URL via web browser.


    Quote Originally Posted by szlamany View Post
    If you put the binding back to http and use port 80 does the page still work?
    Yes, it works fine with HTTP:80.



    Anyway, it is working now. Before, i created a copy of the web service files, put it in a different folder and tried using HTTPS on it. Its not working and I deleted it.


    Just now, I tried to modify the original web service i had (the HTTP), I just created a new binding using HTTPS and deleted the HTTP. And it works

Tags for this Thread

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