|
Home > Archive > Commerce Server General > November 2006 > CS2007 Starter Site SampleDataImport.exe: Element Not Found Except
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 |
CS2007 Starter Site SampleDataImport.exe: Element Not Found Except
|
|
|
| When running the SampleDataImport.exe I get the following error:
C:\TEMP\CS2007StarterSiteCTP>SampleDataImport
C:\Work\CS2007StarterSiteCTP\StarterSite
Loading data into site: StarterSite
Connecting to Catalog system: Done.
Connecting to Orders system: Done.
Connecting to Marketing system: Done.
Adding the user [domain]\[username] to AzMan policy files:
CatalogAuthorizationStore.xml
Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80070490): Element not found. (Exception from HRESULT: 0x80070490)
at
Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.OpenApplicati
on(String bstrApplicationName, Object varReserved)
at CommerceSite.SampleDataImport.AddUserToRole(String userName, String
policy
FilePath, String policyApplicationName, String policyRoleName)
at CommerceSite.SampleDataImport.SetWebServiceAuthorization()
at CommerceSite.SampleDataImport.Run()
at CommerceSite.SampleDataImport.Main(String[] args)
| |
| David Messner [MSFT] 2006-09-16, 7:28 pm |
| Hi Carl,
Had to you made any changes to the CatalogAuthorizationStore.xml policy
file? It seems that SampleDataImport is trying to find the
CatalogandInventorySystem AzApplication node in the policy file and can't
find it. You might try copying a new version of the file from a freshly
unpacked application just in case.
You could always manually update the authorization policy using the
AuthorizationManager MMC tool - all it's doing is adding you (the current
user running SampleDataImport) to the authorization policy as a catalog and
inventory administrator.
Thanks
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
--------------------
From: =?Utf-8?B?Q2FybA==?= <Carl@discussions.microsoft.com>
Subject: CS2007 Starter Site SampleDataImport.exe: Element Not Found Except
Date: Wed, 13 Sep 2006 02:40:02 -0700
When running the SampleDataImport.exe I get the following error:
C:\TEMP\CS2007StarterSiteCTP>SampleDataImport
C:\Work\CS2007StarterSiteCTP\StarterSite
Loading data into site: StarterSite
Connecting to Catalog system: Done.
Connecting to Orders system: Done.
Connecting to Marketing system: Done.
Adding the user [domain]\[username] to AzMan policy files:
CatalogAuthorizationStore.xml
Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80070490): Element not found. (Exception from HRESULT: 0x80070490)
at
Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.OpenApplicati
on(String bstrApplicationName, Object varReserved)
at CommerceSite.SampleDataImport.AddUserToRole(String userName, String
policy
FilePath, String policyApplicationName, String policyRoleName)
at CommerceSite.SampleDataImport.SetWebServiceAuthorization()
at CommerceSite.SampleDataImport.Run()
at CommerceSite.SampleDataImport.Main(String[] args)
| |
| Shriroop 2006-11-03, 7:19 am |
| Hi Carl,
I am facing similar sort of problem. Can you be kind enough to send me the
CatalogAuthorizationStore.xml in an email or post it here it would be great
help. The thing is that I don't have that file and CS2007 Starter site Sample
Data Import tool is giving me an error that it cannot find it.
Many thanks.
"Carl" wrote:
> When running the SampleDataImport.exe I get the following error:
>
> C:\TEMP\CS2007StarterSiteCTP>SampleDataImport
> C:\Work\CS2007StarterSiteCTP\StarterSite
>
> Loading data into site: StarterSite
>
> Connecting to Catalog system: Done.
> Connecting to Orders system: Done.
> Connecting to Marketing system: Done.
>
> Adding the user [domain]\[username] to AzMan policy files:
> CatalogAuthorizationStore.xml
>
> Unhandled Exception: System.Runtime.InteropServices.COMException
> (0x80070490): Element not found. (Exception from HRESULT: 0x80070490)
> at
> Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.OpenApplicati
> on(String bstrApplicationName, Object varReserved)
> at CommerceSite.SampleDataImport.AddUserToRole(String userName, String
> policy
> FilePath, String policyApplicationName, String policyRoleName)
> at CommerceSite.SampleDataImport.SetWebServiceAuthorization()
> at CommerceSite.SampleDataImport.Run()
> at CommerceSite.SampleDataImport.Main(String[] args)
| |
| David Messner [MSFT] 2006-11-07, 1:22 am |
| Hi,
You can unpack the CatalogWebService application from either Csharp.pup or
the StarterSite pup package. Either way, the vroot for the application
should contain the CatalogAuthorizationStore file, for example:
C:\Inetpub\wwwroot\CatalogWebService\Cat
alogAuthorizationStore.xml
Since you already have a site, you can run the "custom" mode of Pup.exe and
just add another instance of CatalogWebService to an existing site (give it
a new name & location), then later remove it once you've grabbed the
authorization policy file.
-David
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
--------------------
From: =?Utf-8?B?U2hyaXJvb3A=?= <Shriroop@discussions.microsoft.com>
Subject: RE: CS2007 Starter Site SampleDataImport.exe: Element Not Found
Except
Date: Fri, 3 Nov 2006 04:10:01 -0800
Hi Carl,
I am facing similar sort of problem. Can you be kind enough to send me the
CatalogAuthorizationStore.xml in an email or post it here it would be great
help. The thing is that I don't have that file and CS2007 Starter site
Sample
Data Import tool is giving me an error that it cannot find it.
Many thanks.
"Carl" wrote:
> When running the SampleDataImport.exe I get the following error:
>
> C:\TEMP\CS2007StarterSiteCTP>SampleDataImport
> C:\Work\CS2007StarterSiteCTP\StarterSite
>
> Loading data into site: StarterSite
>
> Connecting to Catalog system: Done.
> Connecting to Orders system: Done.
> Connecting to Marketing system: Done.
>
> Adding the user [domain]\[username] to AzMan policy files:
> CatalogAuthorizationStore.xml
>
> Unhandled Exception: System.Runtime.InteropServices.COMException
> (0x80070490): Element not found. (Exception from HRESULT: 0x80070490)
> at
> Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.OpenApplicati
> on(String bstrApplicationName, Object varReserved)
> at CommerceSite.SampleDataImport.AddUserToRole(String userName, String
> policy
> FilePath, String policyApplicationName, String policyRoleName)
> at CommerceSite.SampleDataImport.SetWebServiceAuthorization()
> at CommerceSite.SampleDataImport.Run()
> at CommerceSite.SampleDataImport.Main(String[] args)
|
|
|
|
|