Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > CreateObject Exception in ASP - Win2003 & IIS6

Reply
Thread Tools

CreateObject Exception in ASP - Win2003 & IIS6

 
 
shall@uaex.edu
Guest
Posts: n/a
 
      01-23-2008
I copied ASP( Classic) pages from NT4 to Server2003.
One asp page calls a Foxpro DLL.

Active Server Pages error 'ASP 0241'

CreateObject Exception

/mypage.asp

The CreateObject of '(null)' caused exception C0000005

Microsoft Active Server Pages error '80020009'

An external object raised an error. No Error Description Available.

/mypage.asp, line 123

'''''''''''''''''''''''''' Below is the line of code that bombs ==

set oDLL = Server.CreateObject("PgmPow.fcsPow")

This exception happens sporadically.
I have registered the DLL. It works a few days or over a week before I
get the above error.

Comments?
TIA
Steve

 
Reply With Quote
 
 
 
 
Anthony Jones
Guest
Posts: n/a
 
      01-23-2008
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I copied ASP( Classic) pages from NT4 to Server2003.
> One asp page calls a Foxpro DLL.
>
> Active Server Pages error 'ASP 0241'
>
> CreateObject Exception
>
> /mypage.asp
>
> The CreateObject of '(null)' caused exception C0000005
>
> Microsoft Active Server Pages error '80020009'
>
> An external object raised an error. No Error Description Available.
>
> /mypage.asp, line 123
>
> '''''''''''''''''''''''''' Below is the line of code that bombs ==
>
> set oDLL = Server.CreateObject("PgmPow.fcsPow")
>
> This exception happens sporadically.
> I have registered the DLL. It works a few days or over a week before I
> get the above error.
>



There is a fault in the DLL. C0000005 is an Access Violation. Is this DLL
expecting to be use in a multithreaded server environment?


--
Anthony Jones - MVP ASP/ASP.NET


 
Reply With Quote
 
 
 
 
shall@uaex.edu
Guest
Posts: n/a
 
      01-24-2008
On Jan 23, 12:52*pm, "Anthony Jones" <(E-Mail Removed)> wrote:
> <(E-Mail Removed)> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
>
>
> > I copied ASP( Classic) *pages from NT4 to Server2003.
> > One asp page calls a Foxpro DLL.

>
> > Active Server Pages error 'ASP 0241'

>
> > CreateObject Exception

>
> > /mypage.asp

>
> > The CreateObject of '(null)' caused exception *C0000005

>
> > Microsoft Active Server Pages error '80020009'

>
> > An external object raised an error. No Error Description Available.

>
> > /mypage.asp, line 123

>
> > '''''''''''''''''''''''''' *Below is the line of code that bombs ==

>
> > set oDLL = Server.CreateObject("PgmPow.fcsPow")

>
> > This exception happens sporadically.
> > I have registered the DLL. It works a few days or over a week before I
> > get the above error.

>
> There is a fault in the DLL. *C0000005 is an Access Violation. *Is this DLL
> expecting to be use in a multithreaded server *environment?
>
> --
> Anthony Jones - MVP ASP/ASP.NET- Hide quoted text -
>
> - Show quoted text -


Yes- I created the DLL as a multithreaded object.
We could have several people calling this DLL from the same web page.

Thanks.
Steve

 
Reply With Quote
 
Anthony Jones
Guest
Posts: n/a
 
      01-24-2008
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>On Jan 23, 12:52 pm, "Anthony Jones" <(E-Mail Removed)> wrote:
>
>Yes- I created the DLL as a multithreaded object.
>We could have several people calling this DLL from the same web page.


Apartment Threaded
Retain In Memory
Unattended

?

What about its dependant components. Something in this binary is generating
an access violation which usually means either there is a buggy component at
play or a component is being used in an unexpected way.


--
Anthony Jones - MVP ASP/ASP.NET


 
Reply With Quote
 
shall@uaex.edu
Guest
Posts: n/a
 
      01-24-2008
On Jan 24, 10:52*am, "Anthony Jones" <(E-Mail Removed)> wrote:
> <(E-Mail Removed)> wrote in message
>
> news:(E-Mail Removed)...
>
> >On Jan 23, 12:52 pm, "Anthony Jones" <(E-Mail Removed)> wrote:

>
> >Yes- I created the DLL as a multithreaded object.
> >We could have several people calling this DLL from the same web page.

>
> Apartment Threaded
> Retain In Memory
> Unattended
>
> ?
>
> What about its dependant components. *Something in this binary is generating
> an access violation which usually means either there is a buggy component at
> play or a component is being used in an unexpected way.
>
> --
> Anthony Jones - MVP ASP/ASP.NET


Not sure- When I build it ,on server 2003, in Visual Foxpro 6, I
select option "Multi-threaded COM server (dll)
like I always have. I did NOT have this problem on NT4.
I did a "regsvr32 " on my DLL, like I always have.
I'll do some reserach on it.

Thanks.Steve



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server.CreateObject Vs CreateObject Sagar ASP General 2 01-15-2008 07:15 PM
server.createobject("cdo.message") from asp is giving error Server.CreateObject Failed ashish ASP General 1 08-14-2007 10:01 PM
ASP CreateObject Exception - Win2003& IIS6 Lynn Zou ASP General 1 01-12-2007 05:38 AM
CreateObject not working in Win2003 David ASP General 5 06-11-2004 12:44 PM
if in asp is CreateObject("Microsoft.XMLHTTP"). Is in asp.net this Server.CreateObject("MSXML2.ServerXMLHTTP") ? Raúl Martín ASP .Net 1 05-13-2004 03:47 AM



Advertisments