You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cli-users@httpd.apache.org by WD...@nobleenergyinc.com on 2006/02/09 01:37:13 UTC
[cli-users] NullReferenceException
I installed mod_aspdotnet and have not been able to get it to serve an
ASP.Net page properly. When I request the URL, I get a regular .Net error
page, like one would see if there was an error in an ASP.Net page being
served by IIS. The error is a NullReferenceException. I have tried a
couple of simple sample pages and built a page using WebMatrix that it was
able to run ok. They all give the same error. Here is one of the pages:
<%@ Page Language="C#" %>
<script runat="server">
// Insert page code here
//
</script>
<html>
<head>
</head>
<body>
This is a test
</body>
</html>
It doesn't assign any variables, so I don't know where the error is coming
from.
Here is the trace:
System.Web.UnsafeNativeMethods.DirMonOpen(String dir, Boolean
watchSubtree, UInt32 notifyFilter, NativeFileChangeNotification callback,
IntPtr& pCompletion) +0
System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir,
Boolean watchSubtree, UInt32 notifyFilter) +79
System.Web.DirectoryMonitor.StartMonitoring() +42
System.Web.DirectoryMonitor.StartMonitoringFile(String file,
FileChangeEventHandler callback, String alias) +154
System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String
dir, FileChangeEventHandler callback) +278
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +316
I appreciate anyone's insight on this.
Wes Dyk, Production Systems Analyst
Noble Energy Production, Inc.
Direct Dial: (303)228-4206
RE: [cli-users] How to tell what account you are running in?
Posted by siegfried <si...@heintze.com>.
I looked in my list of users and I see no such users.
_____
From: Johan Arens [mailto:johan.arens@gmail.com]
Sent: Friday, April 14, 2006 12:11 PM
To: cli-users@httpd.apache.org
Subject: Re: [cli-users] How to tell what account you are running in?
Hi Siegfried
I think that even if the web server was running the same user account as
access, you could not open access anyway, by default access is mono-user.
I think you might have some options to enable that within access, but I can
not help you with that, I'm not an access specialist.
Btw if you want to know what user account is running, there is a tool in the
ressource kit called whoami (like the unix one), just call it from a test
cron job.
Have a nice day
Johan
On 4/14/06, siegfried <si...@heintze.com> wrote:
How do I determine what account I am running? I have cygwin cron jobs
populating a Microsoft Access database. Simultaneously, httpd/cli is
querying that database. Which account are the latter using?
The problem is that the cron jobs are running in the administrator account
and are creating a .mdl (MSAccess lock file) that httpd/cli cannot open
(because httpd is running in some other account?)
Thanks,
Siegfried
Re: [cli-users] How to tell what account you are running in?
Posted by Johan Arens <jo...@gmail.com>.
Hi Siegfried
I think that even if the web server was running the same user account as
access, you could not open access anyway, by default access is mono-user.
I think you might have some options to enable that within access, but I can
not help you with that, I'm not an access specialist.
Btw if you want to know what user account is running, there is a tool in the
ressource kit called whoami (like the unix one), just call it from a test
cron job.
Have a nice day
Johan
On 4/14/06, siegfried <si...@heintze.com> wrote:
>
> How do I determine what account I am running? I have cygwin cron jobs
> populating a Microsoft Access database. Simultaneously, httpd/cli is
> querying that database. Which account are the latter using?
>
>
>
> The problem is that the cron jobs are running in the administrator account
> and are creating a .mdl (MSAccess lock file) that httpd/cli cannot open
> (because httpd is running in some other account?)
>
>
>
> Thanks,
>
> Siegfried
>
[cli-users] How to tell what account you are running in?
Posted by siegfried <si...@heintze.com>.
How do I determine what account I am running? I have cygwin cron jobs
populating a Microsoft Access database. Simultaneously, httpd/cli is
querying that database. Which account are the latter using?
The problem is that the cron jobs are running in the administrator account
and are creating a .mdl (MSAccess lock file) that httpd/cli cannot open
(because httpd is running in some other account?)
Thanks,
Siegfried