473,396 Members | 1,915 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Absolutely weird exception using COM Interop & VB.net

ZaM
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.

Jun 27 '08 #1
2 1707
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:
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.

Jun 27 '08 #2
ZaM

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...@community.nospamwrote:
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:
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.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Wolfgang Kaml | last post by:
Hello All, I have been researching newsgroups and knowledgebase all morning and not found a solution that would solve the problem I have. I am having an ASP or ASPX web page that implement a...
0
by: roy | last post by:
I try to call com written in VB 6.0. When I use VS.net Studio to do the debuging, some time it works fine, some time I got the following message: Server Error in '/GISOnlineReservation'...
11
by: Les Paul | last post by:
I'm trying to design an HTML page that can edit itself. In essence, it's just like a Wiki page, but my own very simple version. It's a page full of plain old HTML content, and then at the bottom,...
13
by: Stan Sainte-Rose | last post by:
Hi, I have a problem with an asp.net application. It worked fine when I used Windows2000 and since I move to windows 2003, I get this error Exception From Hresult : 0x800ac352 I use a specific...
1
by: Dan Weatherman | last post by:
Hi all, Using WMI I am attempting to catch and exception when doing a managementscope.connect operation. From the looks of things, this method starts a new worker thread through Interop that then...
1
by: SQLJunkie | last post by:
Hi, I have installed SQL 2005 RTM on a new server and I keep getting this error (described below) quite frequently. Was wondering if anyone has a clue on what's happening here. I tried googling...
2
by: Richard Collette | last post by:
Hi, I have a service, that runs perfectly when executed outside of the web service environment. When called as a web service I get the exception listed below sporadically. A call to the web...
0
by: neo | last post by:
Hi to all I am nitin, my problem is that i am trying to automate word application using asp.net. I am using visual studio 2005 and added following dlls as references(Microsoft Word 11.0 Obejct...
0
by: Roman Optio | last post by:
Hi, I am currently working on a tool to transfer addressbook data such as contacts and organizations between Vondle and Outlook. For those of you who are wondering what Vondle is, it is an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.