Ask a Question related to ASP.NET Security, Design and Development.
-
takbax #1
Windows Services - COM
I have a .net windows service which calls into a PowerBuilder COM object to
format some data. The windows service does emailing, logging to text file,
logging to eventlogs etc through system.diagnostics as well as calls web
services.
Everything works great when running my windows service under a domain\user
account. However, when running under local system or local administrator it
fails with when attempting to instanciate the COM object with...
10:28:58 AM ####ERROR: Order #59293
Failed-Reason:System.IO.FileNotFoundException: The specified module could not
be found.
I need to understand why this is failing because ideally i need to run under
a local system account not a domain account.
Please help...
--
Aaron W.
..NET developer
--
Aaron
takbax Guest
-
Coldfusion services stop working when windows 2000hotfix patches are installed on the windows 2000 operatingsystem
The following windows 2000 hotfix patches were installed on windows 2000 operating system - KB917537 KB917159 KB914388 Coldfusion service... -
Windows services in PERL
Hi I am trying to create a win32 service using the module win32:deamon. I wrote a simple code and tried to get that running before I went to the... -
using windows services
Hi, I have developed a vb.net assembly which I use in existing asp.net pages. I also want to execute it every night at 12. I am new to windows... -
Windows services
I have a service running on my system and trying to access a file available on the server connected by VPN. It is giving access denied. -
Windows SharePoint Services (WSS)
Hi all, I'm a bit new to WebServices. So i apologise in advance if this is a newbie question... - I've created a WebService locally that... -
Chris Rolon #2
Re: Windows Services - COM
Try running the FusLogVw utility. This will tell you what module it could
not find to load. In addition, handle the exception in the service and log
the error. This should give you the information that you need to understand
what is happening.
--
Chris Rolon
"takbax" <takbax@discussions.microsoft.com> wrote in message
news:3199D3FF-674E-45C9-BFC6-8C0F44F6A423@microsoft.com...to> I have a .net windows service which calls into a PowerBuilder COM objectfile,> format some data. The windows service does emailing, logging to textit> logging to eventlogs etc through system.diagnostics as well as calls web
> services.
>
> Everything works great when running my windows service under a domain\user
> account. However, when running under local system or local administratornot> fails with when attempting to instanciate the COM object with...
>
> 10:28:58 AM ####ERROR: Order #59293
> Failed-Reason:System.IO.FileNotFoundException: The specified module couldunder> be found.
>
> I need to understand why this is failing because ideally i need to run> a local system account not a domain account.
>
> Please help...
>
> --
> Aaron W.
>
> .NET developer
>
> --
> Aaron
>
Chris Rolon Guest
-
takbax #3
Re: Windows Services - COM
I am unable to get fuslogvw to show me anything for my windows service while
running as a service. I'll keep trying. However, in the mean time here it
the specific error details
{System.IO.FileNotFoundException}
[System.IO.FileNotFoundException]: {System.IO.FileNotFoundException}
HelpLink: Nothing
InnerException: Nothing
Message: "The specified module could not be found."
Source: "mscorlib"
StackTrace: " at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Tessitura.TicketFormatter.Engine.GetFormattedTicke t(DataSet ds) in
C:\aWork\Projects\TessituraAPI_Version5.0\Tessitur aTicketFormatter\Engine.vb:line 82"
TargetSite: {System.Reflection.RuntimeMethodInfo}
Which occurs at the createinstance line of code...
oType = Type.GetTypeFromProgID("PB90.n_ticketformat")
oCOMTicket = Activator.CreateInstance(oType)
PB90.n_ticketformat has been registered using regsvr32 and is not referenced
in my vb.net class library. the class library is called from my windows
service.
Additional facts:
*It only works when running under domain\user and does not use any network
users.
*fails under localSystem,localService,NetworkService,Admin
*tried installed class library into the gac. no luck
*succeeds running in debug mode but not when running as windows service
attaching to process then debugging
*vb.net class library takes in a dataset coverts it to an adodb recordset to
pass to the powerbuild COM. Powerbuilder formats data, that's it. It then
returns an adodb recordset and translates it back into a dataset.
*the windows service using system.diagnostics, mail, and web services
Thanks,
"Chris Rolon" wrote:
> Try running the FusLogVw utility. This will tell you what module it could
> not find to load. In addition, handle the exception in the service and log
> the error. This should give you the information that you need to understand
> what is happening.
>
>
> --
>
> Chris Rolon
>
> "takbax" <takbax@discussions.microsoft.com> wrote in message
> news:3199D3FF-674E-45C9-BFC6-8C0F44F6A423@microsoft.com...> to> > I have a .net windows service which calls into a PowerBuilder COM object> file,> > format some data. The windows service does emailing, logging to text> it> > logging to eventlogs etc through system.diagnostics as well as calls web
> > services.
> >
> > Everything works great when running my windows service under a domain\user
> > account. However, when running under local system or local administrator> not> > fails with when attempting to instanciate the COM object with...
> >
> > 10:28:58 AM ####ERROR: Order #59293
> > Failed-Reason:System.IO.FileNotFoundException: The specified module could> under> > be found.
> >
> > I need to understand why this is failing because ideally i need to run>> > a local system account not a domain account.
> >
> > Please help...
> >
> > --
> > Aaron W.
> >
> > .NET developer
> >
> > --
> > Aaron
> >
>
>takbax Guest



Reply With Quote

