I've figured it out. Thanks to Rick Strahl's weblog.
http://west-wind.com/weblog/posts/1572.aspxKurt
>I'm trying to use the TcpClient class within an ASP web page to retrieve data from a remote scale on our network. When I just try to create the object using the code below:
>
>< %
>...
>TcpClient client = new TcpClient();
>...
>% >
>
>
>I get the following error:
>
>"The requested service provider could not be loaded or initialized"
>
>I've also created a C# application that does exactly the same thing and it works correctly from my pc so I beleive the problem has to do with the account that the ASP page runs under. How do I configure my ASP application to allow network access to other resources?
>
>Thanks,
>Kurt