Connecting Tech Pros Worldwide Help | Site Map

Interop fails with ASP

Manjula Dinesh
Guest
 
Posts: n/a
#1: Nov 19 '05
Hi, I am trying to consume a C# library from ASP through interOP, this
is to read some configuration settings from the machine.config file. But
for some reason the interOP works fine with a VB client but not with
ASP, though ASP can create the instance it fails executing the method.

Would be nice if any of you could help me to figure out whats wrong.

many thanks,

-Manjula
Scott Allen
Guest
 
Posts: n/a
#2: Nov 19 '05

re: Interop fails with ASP


Hi Manjula:

Do you see an error message or exception?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 01 Mar 2005 17:03:33 +0600, Manjula Dinesh
<sakkraya@hotmail.com> wrote:
[color=blue]
>Hi, I am trying to consume a C# library from ASP through interOP, this
>is to read some configuration settings from the machine.config file. But
>for some reason the interOP works fine with a VB client but not with
>ASP, though ASP can create the instance it fails executing the method.
>
>Would be nice if any of you could help me to figure out whats wrong.
>
>many thanks,
>
>-Manjula[/color]

Kevin Spencer
Guest
 
Posts: n/a
#3: Nov 19 '05

re: Interop fails with ASP


The first thing I would do is look at permissions.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Manjula Dinesh" <sakkraya@hotmail.com> wrote in message
news:42244C05.5090705@hotmail.com...[color=blue]
> Hi, I am trying to consume a C# library from ASP through interOP, this is
> to read some configuration settings from the machine.config file. But for
> some reason the interOP works fine with a VB client but not with ASP,
> though ASP can create the instance it fails executing the method.
>
> Would be nice if any of you could help me to figure out whats wrong.
>
> many thanks,
>
> -Manjula[/color]


Manjula Dinesh
Guest
 
Posts: n/a
#4: Nov 19 '05

re: Interop fails with ASP


Hi Scott, its a generic exception like this,

System error '80131902'

Could not create EC.Configuration.ConfigSectionHandler, EC.Configuration

/test/testInterOp.asp, line 7

Anyway this was in Windows 2003, but after some permisison changes it
worked in Windows 2000 Server. Still I am trying to figure out what is
causing in Windows 2003.

Thanks,

-Manjula


Scott Allen wrote:[color=blue]
> Hi Manjula:
>
> Do you see an error message or exception?
>
> --
> Scott
> http://www.OdeToCode.com/blogs/scott/
>
> On Tue, 01 Mar 2005 17:03:33 +0600, Manjula Dinesh
> <sakkraya@hotmail.com> wrote:
>
>[color=green]
>>Hi, I am trying to consume a C# library from ASP through interOP, this
>>is to read some configuration settings from the machine.config file. But
>>for some reason the interOP works fine with a VB client but not with
>>ASP, though ASP can create the instance it fails executing the method.
>>
>>Would be nice if any of you could help me to figure out whats wrong.
>>
>>many thanks,
>>
>>-Manjula[/color]
>
>[/color]
Manjula Dinesh
Guest
 
Posts: n/a
#5: Nov 19 '05

re: Interop fails with ASP


Yes, that helped, after changing permission settings it worked in
Windows Server 2000, but not yet in Windows 2003, just wondering what I
am missing?

thanks again,

-Manjula


Kevin Spencer wrote:[color=blue]
> The first thing I would do is look at permissions.
>[/color]
Closed Thread