"The catalog web service is currently unavailable. The web service might be experiencing te

Hey All,

I have a persistent problem that i can't seem to shake off and am hoping someone has a solution.I've tried setting up Commerce Server 2007 on a Windows Server 2003 machine in the office and i've been using the Installation Guide that came with the setup files from the Microsoft website and it has failed on both occassions that i've tried it. I don't understand why it's failing because i've followed the steps closely. I've tried unpacking the CSharpSite that came with the installation and as i open up the CatalogManager it tells me "The catalog web service is currently unavailable. The web service might be experiencing technical difficulties, or you may need to adjust your connection settings." If I try to access the web service directly it tells me "Services Unavailable". Any ideas as to how i would proceed. I've checked the File and Folder Permissions, Granted Web Application and Windows Services Access to the databases and enabled the secure sockeet layer and assigned permission to the IIS worker process account. I'm not too sure what else i should be looking for. I'm hoping someone out there has a clue what i'm takling about and can help me solve this. Thanks in advance.

Regards,

John

[1538 byte] By [JohnMathews] at [2008-1-28]
# 1
Can you double check that the web sites are running ASP.NET 2.0? The server event log may offer some clues.
AndyMiller at 2007-9-4 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 2

Hi John,

I have faced similar situation in near past and I posted my query on the forum. There are couple of issues related to it. More closely it is SSL which on enabling goes into HTTPS from HTTP. But try going through this posting - http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?&guid=&sloc=en-us&dg=microsoft.public.commerceserver.general&p=1&tid=aff2b570-b6b5-4a8e-9ed9-f92274d86677&mid=aff2b570-b6b5-4a8e-9ed9-f92274d86677

I am sure you would be able to get some answer or direction. If still you are struggling let us know.

Regards,
Shriroop.

Shriroop at 2007-9-4 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 3

Hi John,

  • Are there any events in the application or system event log around the time that you experienced the failure?
  • Is the application pool stopped after the call?
  • Is the virtual directory set for ASP.NET 2.0?

One other tip that I can provide is that I generally avoid setting file and folder permissions as outlined in the installation guide. Instead I use the AspNet_RegIIS.exe tool's grant access parameter (-ga swtich) to apply the necessary rights and permissions. I would highly recommend using that for enable your application pool identities to function correctly on the system.

Cheers,
Colin

ColinBowern at 2007-9-4 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 4

Hey Colin,

I had a look at the Event Log and this is what i fished out.

"Event Type: Error
Event Source: Commerce Server Health
Event Category: Commerce Server Monitor
Event ID: 13071
Date: 11/17/2006
Time: 10:24:28 AM
User: N/A
Computer: MYCBJ01A510013
Description:
An exception occured while performing the Commerce Server State Monitoring. The exception information is: Microsoft.CommerceServer.HealthMonitor.Monitoring.DependencyFailureException > System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.AuthorizedInvoke(String methodName, Object[] parameters)
at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.GetServiceVersion()
at Microsoft.CommerceServer.Catalog.CatalogAgentContext.GetServiceVersion()
at Microsoft.CommerceServer.Catalog.CatalogContext.ValidateWebServiceVersion()
at Microsoft.CommerceServer.Catalog.CatalogContext.InternalCreate(CatalogServiceAgent catalogServiceAgent, DebugContext debugContext)
at Microsoft.CommerceServer.Catalog.CatalogContext.Create(CatalogServiceAgent catalogServiceAgent)
at Microsoft.CommerceServer.HealthMonitor.Services.CatalogService.StartContext()
End of inner exception stack trace
at Microsoft.CommerceServer.HealthMonitor.Services.CatalogService.StartContext()
at Microsoft.CommerceServer.HealthMonitor.Services.CSService.GetMonitorResult()
at Microsoft.CommerceServer.HealthMonitor.Services.CSService.Monitor()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."

Also, you're right the application pool stopped on error and my virtual directory is set to ASP.NET 2.0

I've also setup SSL so that rules that problem out.

Cheers,

John

JohnMathews at 2007-9-4 > top of Msdn Tech,Commerce Server,Commerce Server 2007...
# 5

Hey Colin,

I tried your suggestion with using aspnet_regiis.exe -ga <user> (Grant the specified user or group access to the IIS metabase and other directories used by ASP.NET) for all the users of the application pool and it worked perfect. I also think running aspnet_regiis.exe -i (Install this version of ASP.NET and update scriptmaps at the IIS metabase root and for all scriptmaps below the root. Existing scriptmaps of lower version are upgraded to this version.) prior to that helped.

Thanks for your time, all.

Cheers,

John

JohnMathews at 2007-9-4 > top of Msdn Tech,Commerce Server,Commerce Server 2007...