Access denied da un web service

mercoledì 11 aprile 2007 - 14.51

andreapavia Profilo | Senior Member

Scusatemi....


ho aggiunto questo metodo al WS e lo richiamo da un winform....


<WebMethod()> Function pippo(ByVal strConn As String) As Integer

Dim ttttt As Integer = 1234
Return ttttt

End Function



Eccezione non gestita di tipo "System.Net.WebException" in system.web.services.dll
Informazioni aggiuntive: Richiesta non riuscita con codice di stato HTTP 401: Access Denied.

Poi....

ho creato un nuovo metodo dove mi faccio tornare un dataset e funziona... se mi faccio tornare una stringa o un integer mi da l'errore....


qulcuno sa dirmi xche'?????
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2023
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5