473,397 Members | 2,028 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,397 software developers and data experts.

ASP to ASP.NET Error 80070005 (JScript.NET)

Hello. I have a ASP webpage that I'm converting to ASP.NET. The ASP
is writen with <%@ Language=JScript %>.

I'm having a problem with the 'var oTestObject =
Server.CreateObject("Test.class");' The page just shows up as pure
white with the following message.

-------------
Error: Retrieving the COM class factory for component with CLSID
{xxx1} failed due to the following error: 80070005.5022Retrieving the
COM class factory for component with CLSID {xxx1} failed due to the
following error: 80070005.
-------------

It looks like the ASPNET user doesn't have access, however, I searched
the registry for "xxx1" and found the entry.

LocalServer32: C:\Program Files\X\TestU.exe
ProgID: Test.class.1
TypeLib: xxx2
I then run DCOMCNFG, and find the "TestU" (with Application ID xxx2)
under "DCOM Config". I right click Properties Security" and add
"ASPNET" on "Location: MyComName".

It adds the "ASP.NET Machine Account (MyComName:ASPNET)" and I grant
it Allow for all 4 options.

I repate that for "Launch and Activation Permissions" "Access
Permissions" and "Configuration Permissions" then save. I still get
the exact same error when reloading the .aspx file. I also tried
restarting.

This may be a newbie question but is there a special step to get my
COM object working for ASPNET (using JScript.NET). It works 100% in
normal ASP.

Thanks
NB
Nov 16 '07 #1
1 4662
On Nov 16, 11:52 am, NvrBst <nvr...@gmail.comwrote:
Hello. I have a ASP webpage that I'm converting to ASP.NET. The ASP
is writen with <%@ Language=JScript %>.

I'm having a problem with the 'var oTestObject =
Server.CreateObject("Test.class");' The page just shows up as pure
white with the following message.

-------------
Error: Retrieving the COM class factory for component with CLSID
{xxx1} failed due to the following error: 80070005.5022Retrieving the
COM class factory for component with CLSID {xxx1} failed due to the
following error: 80070005.
-------------

It looks like the ASPNET user doesn't have access, however, I searched
the registry for "xxx1" and found the entry.

LocalServer32: C:\Program Files\X\TestU.exe
ProgID: Test.class.1
TypeLib: xxx2

I then run DCOMCNFG, and find the "TestU" (with Application ID xxx2)
under "DCOM Config". I right click Properties Security" and add
"ASPNET" on "Location: MyComName".

It adds the "ASP.NET Machine Account (MyComName:ASPNET)" and I grant
it Allow for all 4 options.

I repate that for "Launch and Activation Permissions" "Access
Permissions" and "Configuration Permissions" then save. I still get
the exact same error when reloading the .aspx file. I also tried
restarting.

This may be a newbie question but is there a special step to get my
COM object working for ASPNET (using JScript.NET). It works 100% in
normal ASP.

Thanks
NB
Ahh. To get it working I had to remove the "Internet Guest Account"
and then Add the ASPNET Account, and restart the computer. On another
computer (where manually moving/adding -restarting didn't work) I
had to unregister the COM object completly and re-add it. Then added
the ASPNET permissions and it worked.

NB
Nov 20 '07 #2

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

Similar topics

1
by: Bohous | last post by:
I create an ASP application for Windows 2003 server (Czech) with Exchange 2003. When I want to create new user in Active Directory from my application - this error occurs: Active Directory error...
1
by: tigerjade | last post by:
I'm trying to add some simple functionality to an intranet, allowing the app to display current tasks, calendar entries, and count the number of unread in the inbox. It works fine through Cassini,...
9
by: =?Utf-8?B?QmFkaXM=?= | last post by:
Hi, I'm using automation and it's working fine when I run it from my local machine. but if I try to access it from another machine it's giving me this Error: Retrieving the COM class factory...
2
by: CrystalBlue | last post by:
I've got a silly little problem when I'm trying to map a drive using shell script. Basically, I need the program to open up to a specific folder on a shared server and throw a zip file onto it, then...
3
by: Michael Bender | last post by:
Hello everybody, after reinstalling Windows XP (incl. IIS) it is not possible to create new webs on the local IIS in the likeweise reinstalled Visual Interdev 6.0. After typing in the name of...
1
by: =?Utf-8?B?VGFubmVy?= | last post by:
for some odd reason i cannot log into windows live messager, because some "error code 80070005" keeps poping up, and i have absolutly no idea on how to fix this...plz comment me back or email me...
1
by: NvrBst | last post by:
I'm having a problem with a "Member not found. (Exception from HRESULT: 0x80020003 DISP_E_MEMBERNOTFOUND))" error. The origional ASP is JScript, and the ASP.NET is JScript.NET. I'm creating an...
1
by: =?Utf-8?B?Y29tcHV0ZXJzdHVwaWQ=?= | last post by:
When I try to use windows update on Vista I get this error code 80070005, and it will not let me check for updates. I can not find this anywhere on the help site. Can anyone tell me what it is, and...
4
by: Mike | last post by:
I have an asp page that is calling the msxml2.dll to open a XML file. When I load the page for the first time I get msxml3.dll error '80070005' Access Denied Error but when I refresh the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.