|
Home > Archive > Commerce Server General > July 2005 > Unable to initialize logging to file
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 |
Unable to initialize logging to file
|
|
| Mahanteshgouda 2005-07-21, 5:52 pm |
| Hi,
I am new to commerce server, i created a site as said in
NorthWindTraders example but while running it throws an error in
Basket.aspx at
userProfile = profContext.GetProfile(ctx.UserID,"UserObject");
PipelineInfo info = new PipelineInfo("basket");
info["CacheName"] = "discounts";
info.Profiles.Add("User", CommerceContext.Current.UserProfile);
basket.RunPipeline(info);
saying that
Unable to initialize logging to file :
c:\inetpub\wwwroot\HoneywellCommerceWebA
pp\pipelines\log\{45AAC1E5-D7C1-4C3E-93A9-BED4990E49F9}.pipelog
(orderform=default)
i am using developer version of cssever and xp so please help me it's
Urgent
note that i have created pipeline & log folder before i run the
pipeline
| |
|
| Hi
Its probably a security thing , you need to have writing rights on the log
directory.
(the user that try to write to the log)
check your security event log to see which user tries to write to the
pipeline log
arik
"Mahanteshgouda" wrote:
> Hi,
>
> I am new to commerce server, i created a site as said in
> NorthWindTraders example but while running it throws an error in
> Basket.aspx at
>
> userProfile = profContext.GetProfile(ctx.UserID,"UserObject");
> PipelineInfo info = new PipelineInfo("basket");
> info["CacheName"] = "discounts";
> info.Profiles.Add("User", CommerceContext.Current.UserProfile);
> basket.RunPipeline(info);
>
> saying that
> Unable to initialize logging to file :
> c:\inetpub\wwwroot\HoneywellCommerceWebA
pp\pipelines\log\{45AAC1E5-D7C1-4C3E-93A9-BED4990E49F9}.pipelog
> (orderform=default)
>
> i am using developer version of cssever and xp so please help me it's
> Urgent
>
> note that i have created pipeline & log folder before i run the
> pipeline
>
>
| |
| Colin Bowern 2005-07-24, 5:50 pm |
| Hi,
It looks like it possibly a permissions problem. I would recommend grabbing
a copy of FileMon from Sysinternals (www.sysinternals.com). With it
monitoring reproduce the error and then look at the log file. If you see an
access denied you will also see what account it is and then assign the
necessary permissions.
Cheers,
Colin
"Mahanteshgouda" <mantu.patil@gmail-dot-com.no-spam.invalid> wrote in
message news:sL6dndrSJoPaTULfRVn_vA@giganews.com...
> Hi,
>
> I am new to commerce server, i created a site as said in
> NorthWindTraders example but while running it throws an error in
> Basket.aspx at
>
> userProfile = profContext.GetProfile(ctx.UserID,"UserObject");
> PipelineInfo info = new PipelineInfo("basket");
> info["CacheName"] = "discounts";
> info.Profiles.Add("User", CommerceContext.Current.UserProfile);
> basket.RunPipeline(info);
>
> saying that
> Unable to initialize logging to file :
> c:\inetpub\wwwroot\HoneywellCommerceWebA
pp\pipelines\log\{45AAC1E5-D7C1-4C3E-93A9-BED4990E49F9}.pipelog
> (orderform=default)
>
> i am using developer version of cssever and xp so please help me it's
> Urgent
>
> note that i have created pipeline & log folder before i run the
> pipeline
>
| |
| Vinod Kumar[MSFT] 2005-07-24, 5:50 pm |
| Are you able to get around this problem? Probably you need to provide write access to the account with which you've configured your application pool for your logfile folder.
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: "Colin Bowern" <colin.bowern@nospam.officialcommunity.com>
References: <sL6dndrSJoPaTULfRVn_vA@giganews.com>
Subject: Re: Unable to initialize logging to file
Date: Sun, 24 Jul 2005 13:37:50 -0400
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
Message-ID: <#CxLqZHkFHA.1044@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: mail.officialcommunity.net 207.188.77.211
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:3069
X-Tomcat-NG: microsoft.public.commerceserver.general
Hi,
It looks like it possibly a permissions problem. I would recommend grabbing
a copy of FileMon from Sysinternals (www.sysinternals.com). With it
monitoring reproduce the error and then look at the log file. If you see an
access denied you will also see what account it is and then assign the
necessary permissions.
Cheers,
Colin
"Mahanteshgouda" <mantu.patil@gmail-dot-com.no-spam.invalid> wrote in
message news:sL6dndrSJoPaTULfRVn_vA@giganews.com...
> Hi,
>
> I am new to commerce server, i created a site as said in
> NorthWindTraders example but while running it throws an error in
> Basket.aspx at
>
> userProfile = profContext.GetProfile(ctx.UserID,"UserObject");
> PipelineInfo info = new PipelineInfo("basket");
> info["CacheName"] = "discounts";
> info.Profiles.Add("User", CommerceContext.Current.UserProfile);
> basket.RunPipeline(info);
>
> saying that
> Unable to initialize logging to file :
> c:\inetpub\wwwroot\HoneywellCommerceWebA
pp\pipelines\log\{45AAC1E5-D7C1-4C3E-93A9-BED4990E49F9}.pipelog
> (orderform=default)
>
> i am using developer version of cssever and xp so please help me it's
> Urgent
>
> note that i have created pipeline & log folder before i run the
> pipeline
>
|
|
|
|
|