过去,我记得在尝试将写入事件日志但不记得具体内容时会遇到各种与安全相关的问题。是否有问题 创建新来源? 如果您使用的是ASP.NET帐户或网络服务,您可以写吗 帐户?这是用.NET v2.0和/或Win 2003 SP1改变了吗? 谢谢,
In the past, I remember all kinds of security related issues when trying to write to the event log but don''t remember the specifics. Was there an issue with creating a new source? Can you write if you are using the ASP.NET account or Network Services account? Did this change with .NET v2.0 and/or Win 2003 SP1? thanks,
推荐答案Ysgrifennodd安德鲁罗宾逊: Ysgrifennodd Andrew Robinson: 过去,我记得在尝试写入事件日志时写出各种与安全相关的问题,但是不记得具体细节了。创建新来源是否存在 问题? 如果您使用的是ASP.NET帐户或网络服务,可以编写吗? b $ b帐户?这是用.NET v2.0和/或Win 2003 SP1改变的吗? 谢谢, In the past, I remember all kinds of security related issues when trying to write to the event log but don''t remember the specifics. Was there an issue with creating a new source? Can you write if you are using the ASP.NET account or Network Services account? Did this change with .NET v2.0 and/or Win 2003 SP1? thanks,
是的。我的理解是你可以写一个创建了'b '的日志,但你不能创建一个新的日志。 我们有一个小的Windows.Forms应用程序,它创建一个具有给定名称的日志。 ASP.NET和Web服务应用程序然后可以写入该日志。 这是否是最好的解决方案,我不知道,但它对我们来说是有效的。 :-) 彼得
" Peter Bradley" < p。******* @ dsl.pipex写信息 新闻:XM ******************** *@pipex ... "Peter Bradley" <p.*******@dsl.pipexwrote in message news:XM*********************@pipex... 是的。我的理解是你可以写一个已创建的日志, 但是你不能创建一个新的日志。 Yes. My understanding is that you can write to a log that''s been created, but you can''t create a new log.
这也是我的理解......
That''s also my understanding...
我们有一个小的Windows.Forms应用程序这将创建一个具有给定名称的日志。 然后,ASP.NET和Web服务应用程序可以写入该日志。无论是否这是最好的解决方案,我不知道,但它对我们有用。 We have a little Windows.Forms app that creates a log with a given name. ASP.NET and Web service applications can then write to that log. Whether or not this is the best solution, I have no idea, but it works for us.我有类似的东西... - www.markrae
I have something similar... -- www.markrae
问题还在那里。您无法创建新来源。但是既然你只需要一个桌面程序就可以运行它并在 管理员帐户下运行它。 然后你的ASP.NET将能够写入事件日志。 George " Andrew Robinson" < ne **** @ nospam.nospamwrote in message news:%2 ****************** @ TK2MSFTNGP03.phx.gbl。 .. The "issue" is still there. You can not create new source. But since you do it only once simply have a desktop program that does it and run it under Admin account. Then your ASP.NET will be able to write into event log. George "Andrew Robinson" <ne****@nospam.nospamwrote in message news:%2******************@TK2MSFTNGP03.phx.gbl... 过去,我记得尝试 写入事件日志时所有与安全相关的问题,但不要''记住具体细节。创建新来源是否存在 问题? 如果您使用的是ASP.NET帐户或网络服务,可以编写吗? b $ b帐户?这是用.NET v2.0和/或Win 2003 SP1改变了吗? 谢谢, In the past, I remember all kinds of security related issues when trying to write to the event log but don''t remember the specifics. Was there an issue with creating a new source? Can you write if you are using the ASP.NET account or Network Services account? Did this change with .NET v2.0 and/or Win 2003 SP1? thanks,
更多推荐
从ASP.NET记录事件
发布评论