Hello,
I am building an ASPX application. I have a DLL that connects to the
DataBase and return all what I need in the n-tier ways. I try to write in
the event log when an exception is raise. I get all kind of messages like
Access denied or can't access the registry. Is there a tutorial or some one
that can help me to demystify all those security problems?
--
Marc R.
E-mail
Dim strAddr As String =Convert.ToStri ng(String.Forma t("{0}.{2}@{3}. {1}",
"mxrc", "cx", "robitxille ", "xrs-solutions")).Re place("x", "a") 2 1416
I had the same problem, and this article helped me out http://support.microsoft.com/?id=329291
It suggests either making a registry edit
or
Creating a project inheriting from the installer class which will alow you
to log under a specified Event Log Source
Good Luck
"Marc Robitaille" <ma************ *@ars-solutions.caa> wrote in message
news:uL******** ******@TK2MSFTN GP14.phx.gbl... Hello,
I am building an ASPX application. I have a DLL that connects to the DataBase and return all what I need in the n-tier ways. I try to write in the event log when an exception is raise. I get all kind of messages like Access denied or can't access the registry. Is there a tutorial or some one that can help me to demystify all those security problems?
-- Marc R. E-mail Dim strAddr As String =Convert.ToStri ng(String.Forma t("{0}.{2}@{3}. {1}", "mxrc", "cx", "robitxille ", "xrs-solutions")).Re place("x", "a")
Thank you
--
Marc R.
E-mail
Dim strAddr As String =Convert.ToStri ng(String.Forma t("{0}.{2}@{3}. {1}",
"mxrc", "cx", "robitxille ", "xrs-solutions")).Re place("x", "a")
"Grant Merwitz" <gr***@workshar e.com> a écrit dans le message de news:
%2************* **@TK2MSFTNGP10 .phx.gbl... I had the same problem, and this article helped me out
http://support.microsoft.com/?id=329291
It suggests either making a registry edit or Creating a project inheriting from the installer class which will alow you to log under a specified Event Log Source
Good Luck
"Marc Robitaille" <ma************ *@ars-solutions.caa> wrote in message news:uL******** ******@TK2MSFTN GP14.phx.gbl... Hello,
I am building an ASPX application. I have a DLL that connects to the DataBase and return all what I need in the n-tier ways. I try to write in the event log when an exception is raise. I get all kind of messages like Access denied or can't access the registry. Is there a tutorial or some one that can help me to demystify all those security problems?
-- Marc R. E-mail Dim strAddr As String =Convert.ToStri ng(String.Forma t("{0}.{2}@{3}. {1}", "mxrc", "cx", "robitxille ", "xrs-solutions")).Re place("x", "a")
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Angelos Karantzalis |
last post by:
Hi y'all,
recently I've come across a situation where a web service needs to deal
with an exception that might arise, originating from a COM+ component. It
then returns an int value (please don't ask me why) indicating that there
was something wrong with the requested operation.
Assuming that I don't really know all the posible exceptions that might
arise from the COM+ layer, and therefore I can't accurately return an int
identifying...
|
by: Suhail Salman |
last post by:
Dear all,
why do i get the following exception when i try to write to the event
log from a webform. and how can i resolve it?
Description:
The application attempted to perform an operation not allowed by the
security policy. To grant this application the required permission please
contact your system administrator or change the application's trust level in
the configuration file.
|
by: Bijoy Naick |
last post by:
My standard asp application contains a page that does something like
this..
- runs a query, the result set of which looks like
1, "Event 1", "Event 1 Problem 1", "resolution"
1, "Event 1", "Event 1 Problem 2", "resolution"
2, "Event 2", "Event 2 Problem 1", "resolution"
2, "Event 2", "Event 2 Problem 2", "resolution"
|
by: G |
last post by:
Hi, I have an aspx file that has a table with a couple of grids in it
that I'm using as a template to build html files(please give me
guidence if there is a better way). I would like to build this page
and then write the html it produces to a file in the asp.net
application. I tried the code below, but it only writes a blank html
file.
Thanks,
C
|
by: Lloyd Dupont |
last post by:
I created a
==============
public class LangModule : IHttpModule
{
public void Dispose() {}
public void Init(HttpApplication application)
{
HttpContext context = application.Context;
HttpCookie lc = context.Request.Cookies;
| |
by: John |
last post by:
Is there any special code I have to write to log event to Security
Event Log? The following code give me "Very Easy Question, How to
write log to SECURTY Event Log? Please help" Error
// Create an EventLog instance and assign its source.
EventLog myLog = new EventLog();
myLog.Source = "Security";
// Write an informational entry to the event log.
myLog.WriteEntry("Writing warning to event log.",
|
by: sk.rasheedfarhan |
last post by:
Hi all,
According to my project requirement I have to write the NT Event
information of SQL Server into EventLog viewer.
For more clear I want to write the following information into
Application log file:
------------------------------------------------------------------------------------------------------
|
by: Jerry C |
last post by:
I am trying to write to the event log with the My.Log.WriteEntry("MyMessage")
The call does nothing. I think that I need to set up the Listeners in the
config file. Is there any information on how to set up the listener for the
Application log and how to setup new logs for the app.
Thank you,
--
Jerry
|
by: brad.serbus |
last post by:
I am trying to figure out a way to have health monitoring throw
different Event IDs into the event log, and am having a hard time.
None of the customization that I have looked through so far has been
helpful, yet.
As an example, here's a text copy of a typical unhandled exception
from the event log:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |