darrenrm's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
New Members
Active Posts:
4 (0.01 per day)
Joined:
14-November 12
Profile Views:
146
Last Active:
User is offline Dec 04 2012 04:18 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   darrenrm has not set their status

Posts I've Made

  1. In Topic: WebRequest in a CGI

    Posted 27 Nov 2012

    I got some help from Microsoft:

    1)
    add this before webrequest.create:
    AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", " c:\inetpub\wwwroot\testpgm.exe.config")

    This resolves an issue with an invalid path. The config file doesn't even have to exist. It just needs that valid path.

    2)
    add this after webrequest.create if you are using a proxy
    myRequest.Proxy = new WebProxy(“Http://10.0.0.15:8081”,true)
    replace 10.0.0.15:8081 with your proxy.
  2. In Topic: WebRequest in a CGI

    Posted 26 Nov 2012

    If it is the code that is wrong then WebRequest.Create should fail when running as an application and under the IDE during debugging, right? WebRequest.Create works perfectly in those two instances.

    These are the IMPORTS I am using:

    Imports System
    Imports System.Collections
    Imports System.IO
    Imports System.Text
    Imports System.Xml
    Imports System.Xml.Serialization
    Imports System.Net
    
    

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

darrenrm hasn't added any friends yet.

Comments

darrenrm has no profile comments yet. Why not say hello?