Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The remote server returned an error: (405) Method Not Al
Message
De
27/08/2004 04:07:26
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00936436
Message ID:
00936898
Vues:
22
>Hi all,
>
>I am stuck on this error "The remote server returned an error: (405) Method Not Allowed."
>
>I am using remoting to return an array of bytes.
>The code is straight forward:
>
>RemotingConfiguration.Configure("Winforms.exe.config")
> oCensus = Activator.GetObject(GetType(SharedCensus.CensusQuery), "http://localhost/binarystream")
> bytearray = oCensus.GetDataStream(" some query ")
>
>
>It fails when method GetDataStream(sQuery as string) as byte() is being called.
>I have doubts that the error is caused by the code. I think it is a permission issue but dont know where to look to fix it. I gave aspnet worker permissions to all folders and I have anonymous on iis folder.
>
>Thanks,
>
>Vlad

Vlad,

Is "bytearray" a local variable or a parameter to the Web Method?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform