Usuário com melhor resposta
Erro Service model no exchange 2010

Pergunta
-
boa tarde, estou com um problema no meu exchange 2010 ele esta apresenanto o problema abaixo nos logs, e agora nao consigo incluir mensagem de ausencia temporaria para ninguem, entre outro problemas, alguem ja viu ou sabe como solucionar esse problema???
obrigado
System.ServiceModel 3.0.0.0
WebHost failed to process a request.
Sender Information:
System.ServiceModel.ServiceHostingEnvironment+HostingManager/27717712
Exception: System.ServiceModel.ServiceActivationException: The service
'/EWS/Exchange.asmx' cannot be activated due to an exception during
compilation. The exception message is: This collection already contains
an address with scheme http. There can be at most one address per scheme
in this collection.
Parameter name: item. ---> System.ArgumentException: This collection
already contains an address with scheme http. There can be at most one
address per scheme in this collection.
Parameter name: item
at
System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
at
System.Collections.Generic.SynchronizedCollection`1.Add(T item)
at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[]
addresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType,
Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type
serviceType, Uri[] baseAddresses)
at
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String
constructorString, Uri[] baseAddresses)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String
normalizedVirtualPath)
at
System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String
normalizedVirtualPath)
at
System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String
normalizedVirtualPath)
--- End of inner exception stack trace ---
at
System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String
normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String
relativeVirtualPath)
Process Name: w3wp
Process
ID: 4372
Respostas
-
Olá Felipe, tudo bem?
Isso pode ocorrer quando o diretorio /EWS não está configurado corretamente no IIS.
Da uma olhada nesse link:
Diogo Molina MCP, MCSA, MCSE, MCTS, MCITP. Ajude manter o forum organizado, se util classifique! Http://www.msitpro.com.br MSITPRO uma nova comunidade técnica Microsoft, venha participar!
- Marcado como Resposta Richard Juhasz quarta-feira, 28 de março de 2012 13:18
Todas as Respostas
-
Olá Felipe, tudo bem?
Isso pode ocorrer quando o diretorio /EWS não está configurado corretamente no IIS.
Da uma olhada nesse link:
Diogo Molina MCP, MCSA, MCSE, MCTS, MCITP. Ajude manter o forum organizado, se util classifique! Http://www.msitpro.com.br MSITPRO uma nova comunidade técnica Microsoft, venha participar!
- Marcado como Resposta Richard Juhasz quarta-feira, 28 de março de 2012 13:18
-
-
agora esta ocorrendo o erro abaixo. e normal?
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/28/2012 6:08:39 PM
Event time (UTC): 3/28/2012 9:08:39 PM
Event ID: 2733c1f5adfe4173ba2eb67960442aed
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/EWS-11-129774425196572495
Trust level: Full
Application Virtual Path: /EWS
Application Path: C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\exchweb\EWS\
Machine name: SOC-EX2K1001
Process information:
Process ID: 5828
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: HttpException
Exception message: Could not load file or assembly 'Microsoft.Exchange.Net, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Request information:
Request URL: https://mail.socopa.com.br:443/EWS/Exchange.asmx
Request path: /EWS/Exchange.asmx
User host address: 125.58.0.14
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 17
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
Custom event details: