Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TcpClient error in ASP.NET page
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01255316
Message ID:
01255323
Vues:
10
I've figured it out. Thanks to Rick Strahl's weblog.

http://west-wind.com/weblog/posts/1572.aspx

Kurt
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform