|
Home > Archive > Commerce Server General > February 2004 > Help with Event Log
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 |
Help with Event Log
|
|
|
| Can't seem to resolve this (below). The Commerce Server
Event Logging COM+ application has it's identity set to an
admin account (I event turned enforce access checks off).
Can anyone help?
[COMException (0x80070006): Commerce Server was unable to
log an event. Use Component Services to set the identity
account of the Commerce Server Event Logging COM+
application to an account that is a member of the local
Administrators group.]
Microsoft.VisualBasic.CompilerServices.LateBinding.Internal
LateCall(Object o, Type objType, String name, Object[]
args, String[] paramnames, Boolean[] CopyBack, Boolean
IgnoreReturn) +789
Microsoft.VisualBasic.CompilerServices.LateBinding.LateCall
(Object o, Type objType, String name, Object[] args, String
[] paramnames, Boolean[] CopyBack) +23
SharedFns.WriteToEventLog(String& sString, Int16&
iLogType, Int32& iEventID) +249
Microsoft.CommerceServer.Interop.Configuration.SiteConfigRe
adOnlyFreeThreaded.Initialize(String bstrSiteName) +4215
Microsoft.CommerceServer.Runtime.Configuration.CommerceReso
urceCollection..ctor(String siteName) +217
[CommerceException: Error intializing
SiteConfigReadOnlyThreaded object for site.
SiteName='hgiwebapp']
Microsoft.CommerceServer.Runtime.Configuration.CommerceReso
urceCollection..ctor(String siteName) +281
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.
InitializeApplication() +195
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.
Init(HttpApplication appInstance) +76
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext
context, HttpApplicationState state, MethodInfo[]
handlers) +1295
System.Web.HttpApplicationFactory.GetNormalApplicationInsta
nce(HttpContext context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance
(HttpContext context) +256
System.Web.HttpRuntime.ProcessRequestInternal
(HttpWorkerRequest wr) +414
| |
| James Walters [MSFT] 2004-02-07, 9:37 am |
| What environment are you running in? If you are running Windows 2003, have
you run the Enablecs2002settings.vbs script located in the SP2 folder?
-James
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
Can't seem to resolve this (below). The Commerce Server
Event Logging COM+ application has it's identity set to an
admin account (I event turned enforce access checks off).
Can anyone help?
[COMException (0x80070006): Commerce Server was unable to
log an event. Use Component Services to set the identity
account of the Commerce Server Event Logging COM+
application to an account that is a member of the local
Administrators group.]
Microsoft.VisualBasic.CompilerServices.LateBinding.Internal
LateCall(Object o, Type objType, String name, Object[]
args, String[] paramnames, Boolean[] CopyBack, Boolean
IgnoreReturn) +789
Microsoft.VisualBasic.CompilerServices.LateBinding.LateCall
(Object o, Type objType, String name, Object[] args, String
[] paramnames, Boolean[] CopyBack) +23
SharedFns.WriteToEventLog(String& sString, Int16&
iLogType, Int32& iEventID) +249
Microsoft.CommerceServer.Interop.Configuration.SiteConfigRe
adOnlyFreeThreaded.Initialize(String bstrSiteName) +4215
Microsoft.CommerceServer.Runtime.Configuration.CommerceReso
urceCollection..ctor(String siteName) +217
[CommerceException: Error intializing
SiteConfigReadOnlyThreaded object for site.
SiteName='hgiwebapp']
Microsoft.CommerceServer.Runtime.Configuration.CommerceReso
urceCollection..ctor(String siteName) +281
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.
InitializeApplication() +195
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.
Init(HttpApplication appInstance) +76
System.Web.HttpApplication.InitModules() +100
System.Web.HttpApplication.InitInternal(HttpContext
context, HttpApplicationState state, MethodInfo[]
handlers) +1295
System.Web.HttpApplicationFactory.GetNormalApplicationInsta
nce(HttpContext context) +392
System.Web.HttpApplicationFactory.GetApplicationInstance
(HttpContext context) +256
System.Web.HttpRuntime.ProcessRequestInternal
(HttpWorkerRequest wr) +414
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
| |
| newsgroup user 2004-02-07, 9:37 am |
| Running on Windows Server 2003.
I had run the script, but I had also setup a number of different users (per the Securing you server doc) before running setup and specified these user accounts for the various components.
I uninstalled everything and reinstalled using an Administrator user for all components and then ran the script. Works like a champ (though, I will need to go back and tighten down security at some point).
| |
| Patrick 2004-02-13, 4:37 am |
|
>-----Original Message-----
>Running on Windows Server 2003.
>
>I had run the script, but I had also setup a number of
different users (per the Securing you server doc) before
running setup and specified these user accounts for the
various components.
>
>I uninstalled everything and reinstalled using an
Administrator user for all components and then ran the
script. Works like a champ (though, I will need to go back
and tighten down security at some point).
>
>.
>
What about if you are running on Windows 2000? In my
situation, I am running Commerce Server 2002 with SP1 and
had a set of sites that were the "original" site. Then we
developed a significant improvement - the "new" site
(actually a set of CS sites that all work together). When
we went to the new site, I turned off all the other IIS
sites and we started testing on the new site. Just the
other day I went in and cleaned out the original site:
Deleted the Commerce Server Sites
Deleted all Global Resources for the old sites
Deleted the IIS web servers for the old sites
Deleted the directories in the InetPub root
Now the new sites don't work and I am seeing this "unable
to access... Event Logger" error in the log whenever I try
to access one. The sites are giving one of two
messages: "Object expected Application("..")"
or "Exception occurred". I have verified that the user
the event logger is running as is in the local
Administrators group (and has been for like 9 months!).
One complicating factor is that I re-used the IP addresses
of the old sites for the new ones since I had the old ones
shut down. Don't know if that's even relevant though.
Any help would be appreciated.
Patrick Bennett
Conscious Media, Inc.
| |
|
| >What about if you are running on Windows 2000? In my
[snip...]
>shut down. Don't know if that's even relevant though.
>
>Any help would be appreciated.
So I download SP2 (which the client isn't much interested
in upgrading to) and looked at the script James
mentioned. I commented out everything but the part that
sets the Event Logging access checks to false. I ran that
and it said "0 entries updated", meaning that the access
checks were already false. So why is this complaining at
me in my event log?
Patrick
|
|
|
|
|