none
Automating a Website with WebBrowser control, but proxy is getting in the way

    Question

  • Hi

    I am trying to automate a website query through SSIS, I have a dll that uses the WebBrowser control to download the page, run the query and parse the returned page for detail.

    This works well on my development machine, including in the Agent, but as soon as I try it on a server I run into issues with Proxy. I need to use a proxy to get out onto the internet, but the account that is running as the base is just a service account so setting the Internet Settings in the registry fails because it hasn't really go a full user hive and as soon as I try to set it with Registry.SetValue I get Access Denied, when I look at the account it has no complete hive, hence the error

    Any help much appretiated

    Andy


    CRM 4, SQL Server and .Net developer using C#

    Monday, July 14, 2014 4:24 AM

Answers

  • At the risk of sounding silly, I am answering my own post.

    There is a project on Code Plex which is the perfect answer, the project is called CSWebBrowserwithProxy. This code is very well written and answers my question perfectly


    CRM 4, SQL Server and .Net developer using C#

    • Marked as answer by MayBoy Sunday, October 12, 2014 8:42 PM
    Sunday, October 12, 2014 8:41 PM

All replies

  • Hi Andy,

    Thank you for your question. I am currently looking into this issue and will give you an update as soon as possible.

    Thank you for your understanding and support.

    If you have any feedback on our support, please click here.


    Elvis Long
    TechNet Community Support

    Wednesday, July 16, 2014 5:23 AM
    Moderator
  • At the risk of sounding silly, I am answering my own post.

    There is a project on Code Plex which is the perfect answer, the project is called CSWebBrowserwithProxy. This code is very well written and answers my question perfectly


    CRM 4, SQL Server and .Net developer using C#

    • Marked as answer by MayBoy Sunday, October 12, 2014 8:42 PM
    Sunday, October 12, 2014 8:41 PM