|
Home > Archive > Commerce Server General > May 2005 > Commerce.AppConfig.Initialize error
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 |
Commerce.AppConfig.Initialize error
|
|
| mpaine@htxml.com 2005-05-05, 8:47 pm |
| I have defined a global.asa file on a CS2k2 system such that:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart
DIM MSCSConfig
DIM MSCSSite
Set MSCSConfig = Server.CreateObject("Commerce.AppConfig")
Call MSCSConfig.Initialize("site") ' (A)
Set MSCSSite = MSCSConfig.GetOptionsDictionary("") (B)
End Sub
</SCRIPT>
will produce:
HTTP 500 - Internal server error
until global.asa can be loaded once by commenting out (A) and (B);
Afterwards, executing (A) will cause:
'80020009' /LM/w3svc/1487960592/Root/site/global.asa, line 8
and executing (B) will cause
'80040007' /LM/w3svc/1487960592/Root/site/global.asa, line 9
What are some possibilities that is causing this. Note that I setup
the site using the blank.pup file and have FP1 installed.
Thank you,
Michael Paine
| |
| Sudha Raghavan [MSFT] 2005-05-06, 5:57 pm |
| Try to use the "Commerce Server Manager " and browse to the "Site" and
access the Site resources and their properties. If you are not able to do
that then you might have a problem with the instlal of COmmerce Server or
unpup of the site.
Thanks
Sudha
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
--------------------
From: mpaine@htxml.com
Newsgroups: microsoft.public.commerceserver.general
Subject: Commerce.AppConfig.Initialize error
Date: 5 May 2005 17:25:02 -0700
Organization: http://groups.google.com
Lines: 37
Message-ID: <1115339102.358665.249960@o13g2000cwo.googlegroups.com>
NNTP-Posting-Host: 161.114.32.112
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1115339106 9906 127.0.0.1 (6 May 2005 00:25:06
GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 6 May 2005 00:25:06 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: o13g2000cwo.googlegroups.com; posting-host=161.114.32.112;
posting-account=olbFCQwAAABO5C7iNc-e-_B4ZROILjU-
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!news.glorb.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-fo
r-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2706
X-Tomcat-NG: microsoft.public.commerceserver.general
I have defined a global.asa file on a CS2k2 system such that:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart
DIM MSCSConfig
DIM MSCSSite
Set MSCSConfig = Server.CreateObject("Commerce.AppConfig")
Call MSCSConfig.Initialize("site") ' (A)
Set MSCSSite = MSCSConfig.GetOptionsDictionary("") (B)
End Sub
</SCRIPT>
will produce:
HTTP 500 - Internal server error
until global.asa can be loaded once by commenting out (A) and (B);
Afterwards, executing (A) will cause:
'80020009' /LM/w3svc/1487960592/Root/site/global.asa, line 8
and executing (B) will cause
'80040007' /LM/w3svc/1487960592/Root/site/global.asa, line 9
What are some possibilities that is causing this. Note that I setup
the site using the blank.pup file and have FP1 installed.
Thank you,
Michael Paine
| |
| mpaine@htxml.com 2005-05-06, 5:57 pm |
|
Thanks for replying Sudha.
I ran the mscs2k2info.vbs script and it did in fact access the site (as
seen below). Do you know if this could be a permissions problem.
Perhaps a COM/DCOM object could have been locked down via
EnableCS2002Settings.vbs or some other means?
- Michael
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Commerce 2002 Configuration Information.
This report was generated on 5/6/2005 12:14:17 PM.
This report does not contain the Connection Strings check.
Commerce 2002 Version.
Commerce Server 2002 Enterprise edition is installed
Commerce Server 2002 Service Pack 1 is not installed.
The recorded Error Number is -2147024894 with a description of Invalid
root in registry key
" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Inst
aller\Patches\07265CC45C5A9704F9DD=
3FE8CC1D96A0\SourceList\PackageName"..
Commerce Server 2002 Service Pack 2 is not installed.
The recorded Error Number is -2147024894 with a description of Invalid
root in registry key
" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Inst
aller\Patches\B61D2DF7C4EB48944B53=
312FABE52A50\SourceList\PackageName"..
Commerce Server 2002 Service Pack 3 is installed.
Commerce Server 2002 Feature Pack 1 is installed.
Commerce 2002 Global Information.
Global Resources Installed
CS Authentication(eSite)
Direct Mail on CACNEPWSDEV01
Predictor on CACNEPWSDEV01
Profiles(CACNEPWSDEV01_eSite_commerce)
There are 1 site/sites installed.
Commerce 2002 Site/Sites Information.
The following sites are installed.
SiteName =3D 'eSite'
Applications Installed for site eSite
bizdesk site
The Configuration Options for the site: eSite are.
i_AuctionsOptions 1
s_AltCurrencyCode EUR
S_BizTalkSourceQualifierValue
s_CommerceProviderConnectionString
url=3Dmscop://InProcConnect/ Server=3DCACNEPWSDEV01:Database=3DeSite_
commerc=
e:Catalog=3DProfile
Definitions:Trusted_Connection=3Dtrue:
i_AddItemRedirectOptions 1
s_CatalogConnectionString Provider=3DSQLOLEDB.1;Integrated
Security=3DSSPI;Initial Catalog=3D"eSite_commerce";Data
Source=3DCACNEPWSDEV01;
i_AddressBookOptions 2
s_PupParam1
s_BaseCurrencySymbol $
i_FormLoginTimeOut 60
i_BizTalkOptions 0
i_SiteDefaultLocale 1033
i_SiteRegistrationOptions 1
..=2E..etc...
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Sudha Raghavan [MSFT] wrote:
> Try to use the "Commerce Server Manager " and browse to the "Site"
and
> access the Site resources and their properties. If you are not able
to do
> that then you might have a problem with the instlal of COmmerce
Server or
> unpup of the site.
>
> Thanks
> Sudha
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use. =A9 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
> --------------------
> From: mpaine@htxml.com
> Newsgroups: microsoft.public.commerceserver.general
> Subject: Commerce.AppConfig.Initialize error
> Date: 5 May 2005 17:25:02 -0700
> Organization: http://groups.google.com
> Lines: 37
> Message-ID: <1115339102.358665.249960@o13g2000cwo.googlegroups.com>
> NNTP-Posting-Host: 161.114.32.112
> Mime-Version: 1.0
> Content-Type: text/plain; charset=3D"iso-8859-1"
> X-Trace: posting.google.com 1115339106 9906 127.0.0.1 (6 May 2005
00:25:06
> GMT)
> X-Complaints-To: groups-abuse@google.com
> NNTP-Posting-Date: Fri, 6 May 2005 00:25:06 +0000 (UTC)
> User-Agent: G2/0.2
> Complaints-To: groups-abuse@google.com
> Injection-Info: o13g2000cwo.googlegroups.com;
posting-host=3D161.114.32.112;
> posting-account=3DolbFCQwAAABO5C7iNc-e-_B4ZROILjU-
> Path:
>
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
>
ne.de!news.glorb.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-fo
> r-mail
> Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.commerceserver.general:2706
> X-Tomcat-NG: microsoft.public.commerceserver.general
>
> I have defined a global.asa file on a CS2k2 system such that:
>
>
> <SCRIPT LANGUAGE=3DVBScript RUNAT=3DServer>
> Sub Application_OnStart
>
> DIM MSCSConfig
> DIM MSCSSite
> Set MSCSConfig =3D Server.CreateObject("Commerce.AppConfig")
> Call MSCSConfig.Initialize("site") ' (A)
> Set MSCSSite =3D MSCSConfig.GetOptionsDictionary("") (B)
>
> End Sub
> </SCRIPT>
>
>
> will produce:
>
> HTTP 500 - Internal server error
>
> until global.asa can be loaded once by commenting out (A) and (B);
> Afterwards, executing (A) will cause:
>
> '80020009' /LM/w3svc/1487960592/Root/site/global.asa, line 8
>
> and executing (B) will cause
>
> '80040007' /LM/w3svc/1487960592/Root/site/global.asa, line 9
>
>
> What are some possibilities that is causing this. Note that I setup
> the site using the blank.pup file and have FP1 installed.
>=20
>=20
> Thank you,
> Michael Paine
| |
| mpaine@htxml.com 2005-05-06, 8:46 pm |
|
UPDATE: I am able to replicate this error on a totally different CS2002
machine running defaults of:
vmware 4.52
w2k3 sp1
mdac 2.8
mssql 2000 sp3
CS2002 SP3+FP1
MSXML 4.0 sp2
.NET framework 1.0 sp3
blank.pup "quick unpack" [also tried test with sitename=3Dblanksite]
mpa...@htxml.com wrote:
> Thanks for replying Sudha.
>
> I ran the mscs2k2info.vbs script and it did in fact access the site
(as
> seen below). Do you know if this could be a permissions problem.
> Perhaps a COM/DCOM object could have been locked down via
> EnableCS2002Settings.vbs or some other means?
>
> - Michael
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> Commerce 2002 Configuration Information.
> This report was generated on 5/6/2005 12:14:17 PM.
> This report does not contain the Connection Strings check.
>
>
> Commerce 2002 Version.
> Commerce Server 2002 Enterprise edition is installed
> Commerce Server 2002 Service Pack 1 is not installed.
> The recorded Error Number is -2147024894 with a description of
Invalid
> root in registry key
>
" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Inst
aller\Patches\07265CC45C5A9704F9DD=
3FE8CC1D96A0\SourceList\PackageName"..
> Commerce Server 2002 Service Pack 2 is not installed.
> The recorded Error Number is -2147024894 with a description of
Invalid
> root in registry key
>
" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Inst
aller\Patches\B61D2DF7C4EB48944B53=
312FABE52A50\SourceList\PackageName"..
> Commerce Server 2002 Service Pack 3 is installed.
> Commerce Server 2002 Feature Pack 1 is installed.
>
>
> Commerce 2002 Global Information.
>
>
> Global Resources Installed
> CS Authentication(eSite)
> Direct Mail on CACNEPWSDEV01
> Predictor on CACNEPWSDEV01
> Profiles(CACNEPWSDEV01_eSite_commerce)
>
>
>
>
> There are 1 site/sites installed.
>
>
>
>
> Commerce 2002 Site/Sites Information.
> The following sites are installed.
>
>
> SiteName =3D 'eSite'
>
>
> Applications Installed for site eSite
> bizdesk site
>
>
> The Configuration Options for the site: eSite are.
> i_AuctionsOptions 1
> s_AltCurrencyCode EUR
> S_BizTalkSourceQualifierValue
> s_CommerceProviderConnectionString
>
url=3Dmscop://InProcConnect/ Server=3DCACNEPWSDEV01:Database=3DeSite_
commerc=
e:Catalog=3DProfile
> Definitions:Trusted_Connection=3Dtrue:
> i_AddItemRedirectOptions 1
> s_CatalogConnectionString Provider=3DSQLOLEDB.1;Integrated
> Security=3DSSPI;Initial Catalog=3D"eSite_commerce";Data
> Source=3DCACNEPWSDEV01;
> i_AddressBookOptions 2
> s_PupParam1
> s_BaseCurrencySymbol $
> i_FormLoginTimeOut 60
> i_BizTalkOptions 0
> i_SiteDefaultLocale 1033
> i_SiteRegistrationOptions 1
> ....etc...
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
>
>
> Sudha Raghavan [MSFT] wrote:
> and
> to do
> Server or
> rights.
All[vbcol=seagreen]
> rights
at[vbcol=seagreen]
> 00:25:06
> posting-host=3D161.114.32.112;
>
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
>
ne.de!news.glorb.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-fo[vbcol=seagreen]
> microsoft.public.commerceserver.general:2706
setup[vbcol=seagreen]
| |
| Vinod Kumar[MSFT] 2005-05-09, 5:50 pm |
| One easy way to troubleshoot this issue would be to check if this code works outside the global.asa.
Try creating a small vb script and see if it works. If it works there then it might be permission issue. If it does not then it might provide you better error message.
Thanks
-Vinod
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.
--------------------
From: mpaine@htxml.com
Newsgroups: microsoft.public.commerceserver.general
Subject: Re: Commerce.AppConfig.Initialize error
Date: 6 May 2005 16:56:49 -0700
Organization: http://groups.google.com
Lines: 197
Message-ID: <1115423809.212536.321730@z14g2000cwz.googlegroups.com>
References: <1115339102.358665.249960@o13g2000cwo.googlegroups.com>
<9CmDV4lUFHA.2184@TK2MSFTNGXA01.phx.gbl>
<1115407447.576863.62760@f14g2000cwb.googlegroups.com>
NNTP-Posting-Host: 70.6.9.144
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1115423813 3415 127.0.0.1 (6 May 2005 23:56:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 6 May 2005 23:56:53 +0000 (UTC)
In-Reply-To: <1115407447.576863.62760@f14g2000cwb.googlegroups.com>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=70.6.9.144;
posting-account=olbFCQwAAABO5C7iNc-e-_B4ZROILjU-
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2715
X-Tomcat-NG: microsoft.public.commerceserver.general
UPDATE: I am able to replicate this error on a totally different CS2002
machine running defaults of:
vmware 4.52
w2k3 sp1
mdac 2.8
mssql 2000 sp3
CS2002 SP3+FP1
MSXML 4.0 sp2
.NET framework 1.0 sp3
blank.pup "quick unpack" [also tried test with sitename=blanksite]
mpa...@htxml.com wrote:
> Thanks for replying Sudha.
>
> I ran the mscs2k2info.vbs script and it did in fact access the site
(as
> seen below). Do you know if this could be a permissions problem.
> Perhaps a COM/DCOM object could have been locked down via
> EnableCS2002Settings.vbs or some other means?
>
> - Michael
>
> ========================
>
> Commerce 2002 Configuration Information.
> This report was generated on 5/6/2005 12:14:17 PM.
> This report does not contain the Connection Strings check.
>
>
> Commerce 2002 Version.
> Commerce Server 2002 Enterprise edition is installed
> Commerce Server 2002 Service Pack 1 is not installed.
> The recorded Error Number is -2147024894 with a description of
Invalid
> root in registry key
>
" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Inst
aller\Patches\07265CC45C5A9704F9DD3FE8CC
1D96A0\SourceList\PackageName"..
> Commerce Server 2002 Service Pack 2 is not installed.
> The recorded Error Number is -2147024894 with a description of
Invalid
> root in registry key
>
" HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Inst
aller\Patches\B61D2DF7C4EB48944B53312FAB
E52A50\SourceList\PackageName"..
> Commerce Server 2002 Service Pack 3 is installed.
> Commerce Server 2002 Feature Pack 1 is installed.
>
>
> Commerce 2002 Global Information.
>
>
> Global Resources Installed
> CS Authentication(eSite)
> Direct Mail on CACNEPWSDEV01
> Predictor on CACNEPWSDEV01
> Profiles(CACNEPWSDEV01_eSite_commerce)
>
>
>
>
> There are 1 site/sites installed.
>
>
>
>
> Commerce 2002 Site/Sites Information.
> The following sites are installed.
>
>
> SiteName = 'eSite'
>
>
> Applications Installed for site eSite
> bizdesk site
>
>
> The Configuration Options for the site: eSite are.
> i_AuctionsOptions 1
> s_AltCurrencyCode EUR
> S_BizTalkSourceQualifierValue
> s_CommerceProviderConnectionString
>
url=mscop://InProcConnect/ Server=CACNEPWSDEV01:Database=eSite_comm
erce:Catalog=Profile
> Definitions:Trusted_Connection=true:
> i_AddItemRedirectOptions 1
> s_CatalogConnectionString Provider=SQLOLEDB.1;Integrated
> Security=SSPI;Initial Catalog="eSite_commerce";Data
> Source=CACNEPWSDEV01;
> i_AddressBookOptions 2
> s_PupParam1
> s_BaseCurrencySymbol $
> i_FormLoginTimeOut 60
> i_BizTalkOptions 0
> i_SiteDefaultLocale 1033
> i_SiteRegistrationOptions 1
> ....etc...
>
> ==========================
>
>
> Sudha Raghavan [MSFT] wrote:
> and
> to do
> Server or
> rights.
All[vbcol=seagreen]
> rights
at[vbcol=seagreen]
> 00:25:06
> posting-host=161.114.32.112;
>
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
>
ne.de!news.glorb.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-fo[vbcol=seagreen]
> microsoft.public.commerceserver.general:2706
setup[vbcol=seagreen]
|
|
|
|
|