This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / .NET 问题:我有一个Queued COM+, 我首先在一个Form button click里测试,可以得到预期结果。后从windows service里调用,Event Viewer里出现有错信息。详情请进:
-lilyba(sunshine困惑不懂装懂);
2003-12-12
{936}
(#1512058@0)
-
change your windows service Logon as user from LocalSystem to current logon user and try again
-guestagain(guest again);
2003-12-12
(#1512192@0)
-
谢谢你。这个queued com+的属性如下。我现在在一个domain里面,会不会因为我没有足够的权限?我用aspnet用户名logon,但是start service时,出错。<Assembly: ApplicationActivationAttribute(ActivationOption.Server)>
<Assembly: ApplicationQueuingAttribute(Enabled:=True, QueueListenerEnabled:=True)>
-lilyba(sunshine困惑不懂装懂);
2003-12-12
{152}
(#1512483@0)
-
恐怕是我没有说清楚。首先,记住你在运行Form button click测试时登陆windows的用户,我估计应该是个domin user。然后control panel -->Administrative Tools-->Services ,找到你的windows service,点击鼠标右键,选properties。在properties里选logon tab,选中this account,点Browse..,找到那个用户并选中,输入该用户的密码。
之后,重新运行该Service,再试试看。
-guestagain(guest again);
2003-12-12
{325}
(#1512818@0)
-
Thanks. Although another error pops up, I think at least I am making some progress.
-lilyba(sunshine困惑不懂装懂);
2003-12-16
(#1517120@0)
-
What error?
-guestagain(guest again);
2003-12-16
(#1517122@0)
-
因为我现在没法compile solution,因此用的是原来的windows service & queued com+,出现的错误信息见内:The com+ Queued Components Player was unable to create an instance of Queued Component. CPlayer BindToObject.
Event ID: 4772
我想明天重新compile,注册。。。。,看看结果如何。
你觉得可能是什么方面的问题呢?我查到可能是因为版本的问题。
谢谢你。
-lilyba(sunshine困惑不懂装懂);
2003-12-16
{251}
(#1517124@0)
-
too limited infomation.
-guestagain(guest again);
2003-12-16
(#1517130@0)
-
More details: source com+, Category(103), type: error, event Id 4772.
-lilyba(sunshine困惑不懂装懂);
2003-12-16
{592}
(#1517135@0)
-
谢谢,解决了问题,是因为版本问题。重新注册queued com+之后,可以正常运行了。
-lilyba(sunshine困惑不懂装懂);
2003-12-17
(#1518697@0)
-
nice to know
-guestagain(guest again);
2003-12-17
(#1519607@0)