Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Absolutely weird exception using COM Interop & VB.net

Reply
 
Old 04-14-2008   #1 (permalink)
ZaM


 
 

Absolutely weird exception using COM Interop & VB.net

Hi all,

We'd been developing some COM libraries in .net, one of them is a kind
of proxy who consumes some web services, traslates the XML output of
these WS to JSON using Newtonsoft.JSON, and then returns the parsed
JSON back to IIS/ASP 3.

Everything works fine in my development environment and QA also works
well. But in the production server, Server.CreateObject creates an
instance, but calling any method of the proxy throws this exception:


mscorlib error '80070005'

Access to the path '\Microsoft Corporation\Microsoft(R) Windows (R)
2000 Operating System\5.00.2195.6692' is denied.

/login_fs.asp, line 18


even if the method just returns a hard coded string (just for testing
purposes) the invocation always throws the same error.

..net framework 2.0 is installed in both QA and Production server, the
same Windows 2000 Advanced server, the same domain policies, but
something goes wrong in production.

I disabled the settings, the error log and everything that could try
to access any file in the server filesystem.

any idea??????

Thanks in advance.


My System SpecsSystem Spec
Old 04-16-2008   #2 (permalink)
Roger Tranchez


 
 

RE: Absolutely weird exception using COM Interop & VB.net

Hello,

Did you make the registration for the ASP.NET libraries (take care about its
version) on the production server ?

Also, do you have enough permissions to publish on the IIS folder ?

I hope it helps,

--
Roger Tranchez
MCTS
..NET 2005 and DB developer


"ZaM" wrote:
Quote:

> Hi all,
>
> We'd been developing some COM libraries in .net, one of them is a kind
> of proxy who consumes some web services, traslates the XML output of
> these WS to JSON using Newtonsoft.JSON, and then returns the parsed
> JSON back to IIS/ASP 3.
>
> Everything works fine in my development environment and QA also works
> well. But in the production server, Server.CreateObject creates an
> instance, but calling any method of the proxy throws this exception:
>
>
> mscorlib error '80070005'
>
> Access to the path '\Microsoft Corporation\Microsoft(R) Windows (R)
> 2000 Operating System\5.00.2195.6692' is denied.
>
> /login_fs.asp, line 18
>
>
> even if the method just returns a hard coded string (just for testing
> purposes) the invocation always throws the same error.
>
> ..net framework 2.0 is installed in both QA and Production server, the
> same Windows 2000 Advanced server, the same domain policies, but
> something goes wrong in production.
>
> I disabled the settings, the error log and everything that could try
> to access any file in the server filesystem.
>
> any idea??????
>
> Thanks in advance.
>
>
My System SpecsSystem Spec
Old 04-17-2008   #3 (permalink)
ZaM


 
 

Re: Absolutely weird exception using COM Interop & VB.net


Hi
AFAIK, the installation procedure was the same in preproduction and
production servers and, again AFAIK, both servers has the same
configuration.

I've found a very interesting fact. In our development server we have
found a file named dllhost.log in a folder called C:\Microsoft
Corporation\Microsoft® Windows® Operating System\5.1.2600.2180. The
file is empty.

Why dllhost is trying to make a log file? And why in that location??

Thanks in advance


On Apr 16, 3:59 am, Roger Tranchez <run1...@xxxxxx> wrote:
Quote:

> Hello,
>
> Did you make the registration for the ASP.NET libraries (take care about its
> version) on the production server ?
>
> Also, do you have enough permissions to publish on the IIS folder ?
>
> I hope it helps,
>
> --
> Roger Tranchez
> MCTS
> .NET 2005 and DB developer
>
> "ZaM" wrote:
Quote:

> > Hi all,
>
Quote:

> > We'd been developing some COM libraries in .net, one of them is a kind
> > of proxy who consumes some web services, traslates the XML output of
> > these WS to JSON using Newtonsoft.JSON, and then returns the parsed
> > JSON back to IIS/ASP 3.
>
Quote:

> > Everything works fine in my development environment and QA also works
> > well. But in the production server, Server.CreateObject creates an
> > instance, but calling any method of the proxy throws this exception:
>
Quote:

> > mscorlib error '80070005'
>
Quote:

> > Access to the path '\Microsoft Corporation\Microsoft(R) Windows (R)
> > 2000 Operating System\5.00.2195.6692' is denied.
>
Quote:

> > /login_fs.asp, line 18
>
Quote:

> > even if the method just returns a hard coded string (just for testing
> > purposes) the invocation always throws the same error.
>
Quote:

> > ..net framework 2.0 is installed in both QA and Production server, the
> > same Windows 2000 Advanced server, the same domain policies, but
> > something goes wrong in production.
>
Quote:

> > I disabled the settings, the error log and everything that could try
> > to access any file in the server filesystem.
>
Quote:

> > any idea??????
>
Quote:

> > Thanks in advance.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Microsoft.VirtualServer.Interop.dll and the Microsoft.VMRCClientControl.Interop.dll Virtual Server
Exception stack is corrupt when catching and storing the exception .NET General
Vista Install Error: Exception Unknown Software Exception Vista installation & setup
Using an interop assembly with interop dependencies PowerShell
Absolutely NOTHING has worked! Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46