Click to See Complete Forum and Search --> : ASP & Excel in Win2000


Ilse
01-08-2002, 02:30 AM
I have an ASP where I display charts generated by Excel.
On NT4-servers, it works perfect.
When I try it on a W2000-server I get an error on the statement Set myExcel
= Server.CreateObject("Excel.Application").
The error in the event viewer is: The server did not register with DCOM within
the required timeout (Event ID = 10010).

Does anyone know how to solve this problem?

Thanks,
Ilse

Harish Kumar
01-08-2002, 07:36 AM
What is the error number that you're getting? Guess probably it's arising
because of the inherent DCOM configuration settings in W2K. You need to use
this utility(dcomcnfg.exe) to the settings for launching Microsoft Excel
in the web server.

For more info on using this tool please refer to -
http://support.microsoft.com/default.aspx?scid=kb;EN-GB;q268550

Though this article talks about VB DCOM Application, it should at least give
you some idea abt using dcomcnfg utility.

But another option available to you is wrapping the creation of Excel charts
into a COM+ component. Here you do not have to worry about altering DCOM
configuration settings at all.

Harish
"Ilse" <ilsedecokere@hotmail.com> wrote:
>
>I have an ASP where I display charts generated by Excel.
>On NT4-servers, it works perfect.
>When I try it on a W2000-server I get an error on the statement Set myExcel
>= Server.CreateObject("Excel.Application").
>The error in the event viewer is: The server did not register with DCOM
within
>the required timeout (Event ID = 10010).
>
>Does anyone know how to solve this problem?
>
>Thanks,
>Ilse
>