ASP.NET - Ayuda por favor

 
Vista:

Ayuda por favor

Publicado por laura (5 intervenciones) el 02/09/2005 00:06:19
Hice un servicio Web que hace una consulta a una base de datos y regresa un dataset, cuando lo llamo desde una pagina web falla mandando el siguiente mensaje:

The request failed with HTTP status 401: Access Denied.

Source Error:
Line 40: <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/WSPrueba1/Service1/GetData", RequestNamespace:="http://tempuri.org/WSPrueba1/Service1", ResponseNamespace:="http://tempuri.org/WSPrueba1/Service1", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Line 41: Public Function GetData() As System.Data.DataSet
Line 42: Dim results() As Object = Me.Invoke("GetData", New Object(-1) {})
Line 43: Return CType(results(0),System.Data.DataSet)
Line 44: End Function

Source File: C:\Inetpub\wwwroot\WAPrinting\Web References\localhost\Reference.vb L ine: 42

Stack Trace:

[WebException: The request failed with HTTP status 401: Access Denied.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
WAPrinting.localhost.Service1.GetData() in C:\Inetpub\wwwroot\WAPrinting\Web References\localhost\Reference.vb:42
WAPrinting.WebForm1.Button1_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\WAPrinting\WebForm1.aspx.vb:35
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain() +1292


Al parecer es un problema de permisos , alguien tiene idea de como solucionar esto?
(soy nueva en .NET)
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Ayuda por favor

Publicado por Pablo Iñareta (73 intervenciones) el 05/09/2005 14:47:33
q tipo de base de datos estas utilizando?
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:Ayuda por favor

Publicado por laura (5 intervenciones) el 06/09/2005 17:07:54
SQL Server
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar