Commerce Server General - FP1 - Issues with Web Services - update

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > July 2004 > FP1 - Issues with Web Services - update





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author FP1 - Issues with Web Services - update
Ravi Shankar

2004-05-19, 5:49 pm

This is what is logged in the event viewer when I access
the site configuration through "Catalog Manager"

The environment is Windows Server 2003, Commerce Server
2002, SP2, NO 1.0 framework, SQL Server 2000 + OLAP +
SP3a for both... had a functional Retail2002 site..

- Event viewer message ---
Event Type: Error
Event Source: CS Biz UI
Event Category: None
Event ID: 100
Date: 5/19/2004
Time: 7:12:52 PM
User: N/A
Computer: DEMO2K3E
Description:
Microsoft.CommerceServer.UI.ServiceConnectionException:
The Catalog Web
Service "http://localhost/CatalogWebService/CatalogWebServ
ice.asmx" is currently unavailable. The Web Service might
be experiencing technical difficulties, or you may need
to adjust your connection settings. --->
System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was
unable to process request. --->
System.IO.FileNotFoundException: File or assembly name
6hg1vdzs.dll, or one of its dependencies, was not found.
File name: "6hg1vdzs.dll"
at System.Reflection.Assembly.nLoad(AssemblyName
fileName, String codeBase, Boolean isStringized, Evidence
assemblySecurity, Boolean throwOnFileNotFound, Assembly
locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad
(AssemblyName assemblyRef, Boolean stringized, Evidence
assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName
assemblyRef, Evidence assemblySecurity)
at
System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
ly()
at
System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
ly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor
(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.FromMappings
(XmlMapping[] mappings)
at System.Web.Services.Protocols.SoapServerType..ctor
(Type type, ProtocolsEnum versionsSupported)
at
System.Web.Services.Protocols.SoapServerProtocol.Initializ
e()
at
System.Web.Services.Protocols.ServerProtocolFactory.Create
(Type type, HttpContext context, HttpRequest request,
HttpResponse response, Boolean& abortProcessing)

=== Pre-bind state information ===
LOG: Where-ref bind. Location =
C:\WINDOWS\TEMP\6hg1vdzs.dll
LOG: Appbase =
file:///c:/inetpub/wwwroot/CatalogWebService
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time
(private, custom, partial, or location-based assembly
bind).
LOG: Attempting download of new URL
file:///C:/WINDOWS/TEMP/6hg1vdzs.dll.

--- End of inner exception stack trace ---

at
Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodEx
ception(Exception ex, SoapHttpClientProtocol serviceProxy)

at
Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
ce.AuthorizedInvoke(String methodName, Object[]
parameters)

at
Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
ce.GetServiceVersion()

at
Microsoft.CatalogServer.Agent.CatalogContext.ValidateWebSe
rviceVersion()

at Microsoft.CatalogServer.Agent.CatalogContext.Create
(ServiceAgent serviceAgent, DebugContext debugContext)

at Microsoft.CatalogServer.CatalogContext.Create
(CatalogServiceAgent catalogServiceAgent, DebugContext
debugContext)

at
Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
ogService(String catalogServiceUrl, String[] authMethods,
IPromptForCredentials credentialPrompter, IWebProxy proxy)

--- End of inner exception stack trace ---

at
Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
ogService(String catalogServiceUrl, String[] authMethods,
IPromptForCredentials credentialPrompter, IWebProxy proxy)

at
Microsoft.CommerceServer.UI.CatalogManager.NewConnection.b
tnOKClick(Object sender, EventArgs e)

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



>-----Original Message-----
>Hi,
>
>I'm having some problem with the Web Services installed
>as part of the FP1. I'm able to access the
>http://localhost/CatalogWebService/...WebService.asmx


>through the browser and get a list of the services, when
>I access the "GetVersion" I get the page where if I
>invoke I get a similar error to the one I'm pasting
>below. The funny thing is that every time the ".dll"
>listed is different. I've gone through the steps listed
>in the documentation (even repaired my installation) but
>to no avail...
>
>What could be wrong ?
>
>Regards.
>---- The error I get in the browser -----
>System.IO.FileNotFoundException: File or assembly name
>0x1gew0n.dll, or one of its dependencies, was not found.
>File name: "0x1gew0n.dll"
> at System.Reflection.Assembly.nLoad(AssemblyName
>fileName, String codeBase, Boolean isStringized,

Evidence
>assemblySecurity, Boolean throwOnFileNotFound, Assembly
>locationHint, StackCrawlMark& stackMark)
> at System.Reflection.Assembly.InternalLoad
>(AssemblyName assemblyRef, Boolean stringized, Evidence
>assemblySecurity, StackCrawlMark& stackMark)
> at System.Reflection.Assembly.Load(AssemblyName
>assemblyRef, Evidence assemblySecurity)
> at
>System.CodeDom.Compiler.CompilerResults.get_CompiledAssem

b
>ly()
> at
>System.CodeDom.Compiler.CompilerResults.get_CompiledAssem

b
>ly()
> at System.Xml.Serialization.Compiler.Compile()
> at System.Xml.Serialization.TempAssembly..ctor
>(XmlMapping[] xmlMappings)
> at System.Xml.Serialization.XmlSerializer.FromMappings
>(XmlMapping[] mappings)
> at
>System.Web.Services.Protocols.XmlReturn.GetInitializers
>(LogicalMethodInfo[] methodInfos)
> at
>System.Web.Services.Protocols.XmlReturnWriter.GetInitiali

z
>ers(LogicalMethodInfo[] methodInfos)
> at
>System.Web.Services.Protocols.MimeFormatter.GetInitialize

r
>s(Type type, LogicalMethodInfo[] methodInfos)
> at System.Web.Services.Protocols.HttpServerType..ctor
>(Type type)
> at
>System.Web.Services.Protocols.HttpServerProtocol.Initiali

z
>e()
> at
>System.Web.Services.Protocols.ServerProtocolFactory.Creat

e
>(Type type, HttpContext context, HttpRequest request,
>HttpResponse response, Boolean& abortProcessing)
>
>=== Pre-bind state information ===
>LOG: Where-ref bind. Location =
>C:\WINDOWS\TEMP\0x1gew0n.dll
>LOG: Appbase =
>file:///c:/inetpub/wwwroot/CatalogWebService
>LOG: Initial PrivatePath = bin
>Calling assembly : (Unknown).
>===
>
>LOG: Policy not being applied to reference at this time
>(private, custom, partial, or location-based assembly
>bind).
>LOG: Attempting download of new URL
>file:///C:/WINDOWS/TEMP/0x1gew0n.dll.
>
>
>
>.
>

Vinayak Tadas[MSFT]

2004-05-19, 5:49 pm

I think you will have to give write permissions for the account running
aspnet process to the c:\windows\temp folder
This thread might help http://www.mcse.ms/archive105-2004-3-457497.html

Thanks
Vinayak Tadas
Microsoft
http://blogs.msdn.com/vinayakt

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure! For more info visit http://www.microsoft.com/security. Please
reply to the newsgroups only. Thanks



"Ravi Shankar" <shankar.nospam@hp.com> wrote in message
news:f39b01c43da8$a8692680$a001280a@phx.gbl...[vbcol=seagreen]
> This is what is logged in the event viewer when I access
> the site configuration through "Catalog Manager"
>
> The environment is Windows Server 2003, Commerce Server
> 2002, SP2, NO 1.0 framework, SQL Server 2000 + OLAP +
> SP3a for both... had a functional Retail2002 site..
>
> - Event viewer message ---
> Event Type: Error
> Event Source: CS Biz UI
> Event Category: None
> Event ID: 100
> Date: 5/19/2004
> Time: 7:12:52 PM
> User: N/A
> Computer: DEMO2K3E
> Description:
> Microsoft.CommerceServer.UI.ServiceConnectionException:
> The Catalog Web
> Service "http://localhost/CatalogWebService/CatalogWebServ
> ice.asmx" is currently unavailable. The Web Service might
> be experiencing technical difficulties, or you may need
> to adjust your connection settings. --->
> System.Web.Services.Protocols.SoapException:
> System.Web.Services.Protocols.SoapException: Server was
> unable to process request. --->
> System.IO.FileNotFoundException: File or assembly name
> 6hg1vdzs.dll, or one of its dependencies, was not found.
> File name: "6hg1vdzs.dll"
> at System.Reflection.Assembly.nLoad(AssemblyName
> fileName, String codeBase, Boolean isStringized, Evidence
> assemblySecurity, Boolean throwOnFileNotFound, Assembly
> locationHint, StackCrawlMark& stackMark)
> at System.Reflection.Assembly.InternalLoad
> (AssemblyName assemblyRef, Boolean stringized, Evidence
> assemblySecurity, StackCrawlMark& stackMark)
> at System.Reflection.Assembly.Load(AssemblyName
> assemblyRef, Evidence assemblySecurity)
> at
> System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
> ly()
> at
> System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
> ly()
> at System.Xml.Serialization.Compiler.Compile()
> at System.Xml.Serialization.TempAssembly..ctor
> (XmlMapping[] xmlMappings)
> at System.Xml.Serialization.XmlSerializer.FromMappings
> (XmlMapping[] mappings)
> at System.Web.Services.Protocols.SoapServerType..ctor
> (Type type, ProtocolsEnum versionsSupported)
> at
> System.Web.Services.Protocols.SoapServerProtocol.Initializ
> e()
> at
> System.Web.Services.Protocols.ServerProtocolFactory.Create
> (Type type, HttpContext context, HttpRequest request,
> HttpResponse response, Boolean& abortProcessing)
>
> === Pre-bind state information ===
> LOG: Where-ref bind. Location =
> C:\WINDOWS\TEMP\6hg1vdzs.dll
> LOG: Appbase =
> file:///c:/inetpub/wwwroot/CatalogWebService
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
>
> LOG: Policy not being applied to reference at this time
> (private, custom, partial, or location-based assembly
> bind).
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/TEMP/6hg1vdzs.dll.
>
> --- End of inner exception stack trace ---
>
> at
> Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodEx
> ception(Exception ex, SoapHttpClientProtocol serviceProxy)
>
> at
> Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
> ce.AuthorizedInvoke(String methodName, Object[]
> parameters)
>
> at
> Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
> ce.GetServiceVersion()
>
> at
> Microsoft.CatalogServer.Agent.CatalogContext.ValidateWebSe
> rviceVersion()
>
> at Microsoft.CatalogServer.Agent.CatalogContext.Create
> (ServiceAgent serviceAgent, DebugContext debugContext)
>
> at Microsoft.CatalogServer.CatalogContext.Create
> (CatalogServiceAgent catalogServiceAgent, DebugContext
> debugContext)
>
> at
> Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
> ogService(String catalogServiceUrl, String[] authMethods,
> IPromptForCredentials credentialPrompter, IWebProxy proxy)
>
> --- End of inner exception stack trace ---
>
> at
> Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
> ogService(String catalogServiceUrl, String[] authMethods,
> IPromptForCredentials credentialPrompter, IWebProxy proxy)
>
> at
> Microsoft.CommerceServer.UI.CatalogManager.NewConnection.b
> tnOKClick(Object sender, EventArgs e)
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>
>
>
> Evidence
> b
> b
> z
> r
> z
> e


Ravi Shankar

2004-05-20, 2:43 am

Hello Vinayak,

Thank you. That thread helped resolve this problem.

Regards.

>-----Original Message-----
>I think you will have to give write permissions for the=20

account running
>aspnet process to the c:\windows\temp folder
>This thread might help http://www.mcse.ms/archive105-

2004-3-457497.html
>
>Thanks
>Vinayak Tadas
>Microsoft
>http://blogs.msdn.com/vinayakt
>
>This posting is provided "AS IS" with no warranties, and=20

confers no rights.
>You assume all risk for your use. =A9 2002 Microsoft=20

Corporation. All rights
>reserved.
>Use of included script samples are subject to the terms=20

specified at
>http://www.microsoft.com/info/cpyright.htm
>Get Secure! For more info visit=20

http://www.microsoft.com/security. Please
>reply to the newsgroups only. Thanks
>
>
>
>"Ravi Shankar" <shankar.nospam@hp.com> wrote in message
>news:f39b01c43da8$a8692680$a001280a@phx.gbl...
access[vbcol=seagreen]
Service "http://localhost/CatalogWebService/CatalogWebServ[vbcol=seagreen]
might[vbcol=seagreen]
found.[vbcol=seagreen]
Evidence[vbcol=seagreen]
System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb[vbcol=seagreen]
System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb[vbcol=seagreen]
System.Xml.Serialization.XmlSerializer.FromMappings[vbcol=seagreen]
System.Web.Services.Protocols.SoapServerType..ctor[vbcol=seagreen]
System.Web.Services.Protocols.SoapServerProtocol.Initializ[vbcol=seagreen]
System.Web.Services.Protocols.ServerProtocolFactory.Create[vbcol=seagreen]
Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodEx[vbcol=seagreen]
serviceProxy)[vbcol=seagreen]
Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi[vbcol=seagreen]
Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi[vbcol=seagreen]
Microsoft.CatalogServer.Agent.CatalogContext.ValidateWebSe[vbcol=seagreen]
Microsoft.CatalogServer.Agent.CatalogContext.Create[vbcol=seagreen]
Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal[vbcol=seagreen]
authMethods,[vbcol=seagreen]
proxy)[vbcol=seagreen]
Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal[vbcol=seagreen]
authMethods,[vbcol=seagreen]
proxy)[vbcol=seagreen]
Microsoft.CommerceServer.UI.CatalogManager.NewConnection.b[vbcol=seagreen]
installed[vbcol=seagreen]
>http://localhost/CatalogWebService/...WebService.asmx
when[vbcol=seagreen]
listed[vbcol=seagreen]
but[vbcol=seagreen]
found.[vbcol=seagreen]
Assembly[vbcol=seagreen]
Evidence[vbcol=seagreen]
>System.CodeDom.Compiler.CompilerResults.get_CompiledAssem
>System.CodeDom.Compiler.CompilerResults.get_CompiledAssem
System.Xml.Serialization.XmlSerializer.FromMappings[vbcol=seagreen]
>System.Web.Services.Protocols.XmlReturn.GetInitializers
>System.Web.Services.Protocols.XmlReturnWriter.GetInitiali
>System.Web.Services.Protocols.MimeFormatter.GetInitialize
System.Web.Services.Protocols.HttpServerType..ctor[vbcol=seagreen]
>System.Web.Services.Protocols.HttpServerProtocol.Initiali
>System.Web.Services.Protocols.ServerProtocolFactory.Creat
time[vbcol=seagreen]
>
>
>.
>

Nigel

2004-06-28, 8:47 am



"Ravi Shankar" wrote:

> Hello Vinayak,
>
> Thank you. That thread helped resolve this problem.
>
> Regards.
>
> account running
> 2004-3-457497.html
> confers no rights.
> Corporation. All rights
> specified at
> http://www.microsoft.com/security. Please
> access
> Service "http://localhost/CatalogWebService/CatalogWebServ
> might
> found.
> Evidence
> System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
> System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
> System.Xml.Serialization.XmlSerializer.FromMappings
> System.Web.Services.Protocols.SoapServerType..ctor
> System.Web.Services.Protocols.SoapServerProtocol.Initializ
> System.Web.Services.Protocols.ServerProtocolFactory.Create
> Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodEx
> serviceProxy)
> Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
> Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
> Microsoft.CatalogServer.Agent.CatalogContext.ValidateWebSe
> Microsoft.CatalogServer.Agent.CatalogContext.Create
> Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
> authMethods,
> proxy)
> Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
> authMethods,
> proxy)
> Microsoft.CommerceServer.UI.CatalogManager.NewConnection.b
> installed
> when
> listed
> but
> found.
> Assembly
> Evidence
> System.Xml.Serialization.XmlSerializer.FromMappings
> System.Web.Services.Protocols.HttpServerType..ctor
> time
>

Nigel

2004-06-28, 8:47 am

Hello all:

Too add my 2 cents, I encountered the same problem, the reason being one of my child classes to be serialized did not have a public constructor.

Nigel

"Ravi Shankar" wrote:

> Hello Vinayak,
>
> Thank you. That thread helped resolve this problem.
>
> Regards.
>
> account running
> 2004-3-457497.html
> confers no rights.
> Corporation. All rights
> specified at
> http://www.microsoft.com/security. Please
> access
> Service "http://localhost/CatalogWebService/CatalogWebServ
> might
> found.
> Evidence
> System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
> System.CodeDom.Compiler.CompilerResults.get_CompiledAssemb
> System.Xml.Serialization.XmlSerializer.FromMappings
> System.Web.Services.Protocols.SoapServerType..ctor
> System.Web.Services.Protocols.SoapServerProtocol.Initializ
> System.Web.Services.Protocols.ServerProtocolFactory.Create
> Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodEx
> serviceProxy)
> Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
> Microsoft.CatalogServer.WebService.Proxies.CatalogWebServi
> Microsoft.CatalogServer.Agent.CatalogContext.ValidateWebSe
> Microsoft.CatalogServer.Agent.CatalogContext.Create
> Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
> authMethods,
> proxy)
> Microsoft.CommerceServer.UI.ConnectionCheck.ConnectToCatal
> authMethods,
> proxy)
> Microsoft.CommerceServer.UI.CatalogManager.NewConnection.b
> installed
> when
> listed
> but
> found.
> Assembly
> Evidence
> System.Xml.Serialization.XmlSerializer.FromMappings
> System.Web.Services.Protocols.HttpServerType..ctor
> time
>

Alex

2004-07-09, 3:11 pm

Hi All,

I had the same issue. First of all go to SQL Enterprise Manager and
check user roles for your _commerce database. In case of right
installation of FP1 you should have 7 roles with prefix mktg_. If you
don't - check all steps of installation procedure. If you (lucky man)
have them - go to SQL Server Group/local (or whatever)/Security/Logins
and open Properties for ASPNET account. Select "Database Access" tab
and under "Specify which databases bla bla bla ..." select your
_commerce database. Then under "Database roles for ..." check:
[x] public
[x] db_owner
[x] mktg_marketingService_role

In theory it should work
Good luck!
Alex[vbcol=seagreen]
> installed
> http://localhost/CatalogWebService/...WebService.asmx
> when
> listed
> but
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com