System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Login failed for user 'useriwa'.<br>   at Imovelweb.Controller.DataAccess.DataAccessBase`1.GetDataRecordCollection(String procedureName, SqlParameter[] parameters) in C:\IWA\trunk\Projetos\Imovelweb.Controller.DataAccess\DataAccessBase.cs:line 879<br>   at Imovelweb.Business.Login.DataAccess.ParceiroLoginDataAccess.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\DataAccess\ParceiroLoginDataAccess.cs:line 47<br>   at Imovelweb.Business.Login.Manager.ParceiroLoginManager.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\Manager\ParceiroLoginManager.cs:line 20<br>   at Imovelweb.Services.Autenticacao.ValidarAcesso(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\SegurancaBusca.cs:line 28<br>   at Imovelweb.Services.wsBusca.ValidarAutenticacao(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 84<br>   at Imovelweb.Services.wsBusca.efetuarBuscaLocalizacao(Nullable`1 _idOperacao, Nullable`1 _idSubOperacao) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 1383<br>   --- End of inner exception stack trace ---

Server Error in '/noticias' Application.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Login failed for user 'useriwa'.
  at Imovelweb.Controller.DataAccess.DataAccessBase`1.GetDataRecordCollection(String procedureName, SqlParameter[] parameters) in C:\IWA\trunk\Projetos\Imovelweb.Controller.DataAccess\DataAccessBase.cs:line 879
  at Imovelweb.Business.Login.DataAccess.ParceiroLoginDataAccess.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\DataAccess\ParceiroLoginDataAccess.cs:line 47
  at Imovelweb.Business.Login.Manager.ParceiroLoginManager.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\Manager\ParceiroLoginManager.cs:line 20
  at Imovelweb.Services.Autenticacao.ValidarAcesso(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\SegurancaBusca.cs:line 28
  at Imovelweb.Services.wsBusca.ValidarAutenticacao(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 84
  at Imovelweb.Services.wsBusca.efetuarBuscaLocalizacao(Nullable`1 _idOperacao, Nullable`1 _idSubOperacao) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 1383
  --- End of inner exception stack trace ---

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ServiceModel.FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Login failed for user 'useriwa'.
  at Imovelweb.Controller.DataAccess.DataAccessBase`1.GetDataRecordCollection(String procedureName, SqlParameter[] parameters) in C:\IWA\trunk\Projetos\Imovelweb.Controller.DataAccess\DataAccessBase.cs:line 879
  at Imovelweb.Business.Login.DataAccess.ParceiroLoginDataAccess.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\DataAccess\ParceiroLoginDataAccess.cs:line 47
  at Imovelweb.Business.Login.Manager.ParceiroLoginManager.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\Manager\ParceiroLoginManager.cs:line 20
  at Imovelweb.Services.Autenticacao.ValidarAcesso(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\SegurancaBusca.cs:line 28
  at Imovelweb.Services.wsBusca.ValidarAutenticacao(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 84
  at Imovelweb.Services.wsBusca.efetuarBuscaLocalizacao(Nullable`1 _idOperacao, Nullable`1 _idSubOperacao) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 1383
  --- End of inner exception stack trace ---

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Login failed for user 'useriwa'.
   at Imovelweb.Controller.DataAccess.DataAccessBase`1.GetDataRecordCollection(String procedureName, SqlParameter[] parameters) in C:\IWA\trunk\Projetos\Imovelweb.Controller.DataAccess\DataAccessBase.cs:line 879
   at Imovelweb.Business.Login.DataAccess.ParceiroLoginDataAccess.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\DataAccess\ParceiroLoginDataAccess.cs:line 47
   at Imovelweb.Business.Login.Manager.ParceiroLoginManager.ValidarAcesso(String login, String senha, AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Business.Login\Manager\ParceiroLoginManager.cs:line 20
   at Imovelweb.Services.Autenticacao.ValidarAcesso(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\SegurancaBusca.cs:line 28
   at Imovelweb.Services.wsBusca.ValidarAutenticacao(AtividadesParceiro atividade) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 84
   at Imovelweb.Services.wsBusca.efetuarBuscaLocalizacao(Nullable`1 _idOperacao, Nullable`1 _idSubOperacao) in C:\IWA\trunk\Projetos\Imovelweb.Services\wsBusca.asmx.cs:line 1383
   --- End of inner exception stack trace ---]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +10260714
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +539
   wsBusca.wsBuscaSoap.efetuarBuscaLocalizacao(efetuarBuscaLocalizacaoRequest request) +0
   wsBusca.wsBuscaSoapClient.wsBusca.wsBuscaSoap.efetuarBuscaLocalizacao(efetuarBuscaLocalizacaoRequest request) +38
   wsBusca.wsBuscaSoapClient.efetuarBuscaLocalizacao(Autenticacao Autenticacao, Nullable`1 _idOperacao, Nullable`1 _idSubOperacao) +103
   CMSWebParts_MyWebParts_wucBuscaGeral.BuscarLocalizacao(Nullable`1 idOperacao, Nullable`1 idSubOperacao) +469
   CMSWebParts_MyWebParts_wucBuscaGeral.Inicializar() +87
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   CMS.PortalControls.CMSAbstractWebPart.OnLoad(EventArgs e) +165
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456