473,387 Members | 1,722 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,387 software developers and data experts.

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

CJM
I've built an application in VB6 does some processing - it's not really
important what it does...

The application consists of a single DLL which does all the hard work, and a
simple EXE which acts as the front-end.

I designed it this way in the hope that I could also build an intranet app
that controls the same component (DLL).

I'm building the intranet page now, but I get this error when I try to
instantiate the component. Rather than fiddle aimlessly with the
permissions, I thought I'd post here and find out what I am missing.

What permissions do I need to set up and where?

Thanks


Jul 19 '05 #1
9 39194
Start--Run--dcomcnfg

Select your component, pull up the properties, go to the security tab, and
give your IUSR account the rights to access and launch the component.

Ray at work
"CJM" <cj*******@newsgroups.nospam> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl...
I've built an application in VB6 does some processing - it's not really
important what it does...

The application consists of a single DLL which does all the hard work, and
a
simple EXE which acts as the front-end.

I designed it this way in the hope that I could also build an intranet app
that controls the same component (DLL).

I'm building the intranet page now, but I get this error when I try to
instantiate the component. Rather than fiddle aimlessly with the
permissions, I thought I'd post here and find out what I am missing.

What permissions do I need to set up and where?

Thanks

Jul 19 '05 #2
CJM
Ray,

None of my components are listed!

I saw the previous post regarding this which pointed to this page:
http://support.microsoft.com/default...b;en-us;198432

I assumed that since my components weren't listed that it wasnt applicable
to me.

However, you seem to be offering the same advice... Have I missed something
out of the compilation stage?

Cheers

Chris
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:OU**************@TK2MSFTNGP14.phx.gbl...
Start--Run--dcomcnfg

Select your component, pull up the properties, go to the security tab, and
give your IUSR account the rights to access and launch the component.

Ray at work
"CJM" <cj*******@newsgroups.nospam> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl...
I've built an application in VB6 does some processing - it's not really
important what it does...

The application consists of a single DLL which does all the hard work, and a
simple EXE which acts as the front-end.

I designed it this way in the hope that I could also build an intranet app that controls the same component (DLL).

I'm building the intranet page now, but I get this error when I try to
instantiate the component. Rather than fiddle aimlessly with the
permissions, I thought I'd post here and find out what I am missing.

What permissions do I need to set up and where?

Thanks


Jul 19 '05 #3
I honestly don't know what makes it show up in that list. I thought that if
you regsvr32'ed it, it'd show up there, but honestly, this is beyond the
scope of my knowledge. If no one else chimes into this thread with ideas, I
suggest inquiring about how to get your component to show up in there in an
ActiveX group or a VB group perhaps.

Ray at work

"CJM" <cj*******@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Ray,

None of my components are listed!

I saw the previous post regarding this which pointed to this page:
http://support.microsoft.com/default...b;en-us;198432

I assumed that since my components weren't listed that it wasnt applicable
to me.

However, you seem to be offering the same advice... Have I missed
something
out of the compilation stage?

Cheers

Chris
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:OU**************@TK2MSFTNGP14.phx.gbl...
Start--Run--dcomcnfg

Select your component, pull up the properties, go to the security tab,
and
give your IUSR account the rights to access and launch the component.

Ray at work
"CJM" <cj*******@newsgroups.nospam> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl...
> I've built an application in VB6 does some processing - it's not really
> important what it does...
>
> The application consists of a single DLL which does all the hard work, and > a
> simple EXE which acts as the front-end.
>
> I designed it this way in the hope that I could also build an intranet app > that controls the same component (DLL).
>
> I'm building the intranet page now, but I get this error when I try to
> instantiate the component. Rather than fiddle aimlessly with the
> permissions, I thought I'd post here and find out what I am missing.
>
> What permissions do I need to set up and where?
>
> Thanks
>
>
>
>



Jul 19 '05 #4
CJM
Ok, thanks Ray.

I'll repost in vb.general, and I'll post the result back here...

Chris

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:OM**************@TK2MSFTNGP12.phx.gbl...
I honestly don't know what makes it show up in that list. I thought that
if you regsvr32'ed it, it'd show up there, but honestly, this is beyond the
scope of my knowledge. If no one else chimes into this thread with ideas,
I suggest inquiring about how to get your component to show up in there in
an ActiveX group or a VB group perhaps.

Ray at work


Jul 19 '05 #5
Hello,

What is the type of your DLL file, an ActiveX DLL project? What is the OS'
version? If you temporarily add the IUser_ComputerName to local
administrator group, can this problem be resolved?

Luke

Jul 19 '05 #6
CJM
Luke,

Yes, the DLL is an ActiveX DLL (VB6). And I'm running on XPSP1.

I tried adding the IUSR user to the local admins group but that didnt make
any difference.

Any ideas why any of my components dont appear on the DCOM lists?

Cheers

Chris

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:$i**************@cpmsftngxa06.phx.gbl...
Hello,

What is the type of your DLL file, an ActiveX DLL project? What is the OS'
version? If you temporarily add the IUser_ComputerName to local
administrator group, can this problem be resolved?

Luke

Jul 19 '05 #7
Hi Chris,

Since administrator also cannot invoke the component, it seemd be a COm
register issue. You may try following steps:

1. unregister the dll with "regsvr32 /u filaname.dll"
2. copy the DLL to the Windows\System32 folder
3. register it again with its new path

will this fix the problem?

Luke

Jul 19 '05 #8
CJM
Luke,

There are two objects from two DLLs that I want to instantiate.

After unregistering the DLLs and moving & re-registering in System32, I had
some partial success.

With the first (less important) one, I could create the object, but it didnt
seem to recognise its properties.

With the second ( & important) one, the move seemed to work. However this
meant that the windows version of the program no longer worked.

I rebooted, then recompiled , moved and re-registered the components, and
then tried again but this time nothing worked.

[30 min detour]

I've just installed the ASP code and the components on a development server,
and had much more success. Both components can be instantiated, and the I've
figured out the problem with the first component's properties being
recognised:

The VB application is using interfaces, but ASP can't handle interfaces.
Therefore, PropertyName will not be recognised, so instead I must refer to
it as Interface_PropertyName. This also appears to work.

I still have no idea why it doesnt work on my machine... Even though there
is the complication of it being the development machine, it should still
work. If you have any ideas why this might be I'd like to pursue this issue,
but at least I know I can finish the project on the seperate server...

Thanks

Chris

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:n1*************@cpmsftngxa06.phx.gbl...
Hi Chris,

Since administrator also cannot invoke the component, it seemd be a COm
register issue. You may try following steps:

1. unregister the dll with "regsvr32 /u filaname.dll"
2. copy the DLL to the Windows\System32 folder
3. register it again with its new path

will this fix the problem?

Luke

Jul 19 '05 #9
Hi Chris,

Thank you for the information. I think the main reason for it worked on the
development server is the development is a clean computer for the COM
component. On your original computer, the component had been registered for
times and its inface may get changed for times. There may be some registry
errors. A possible soultion is create a new project with a new name and
copy all code to the new project. And we had better use binary
compatibility for the project.

Luke

Jul 19 '05 #10

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

Similar topics

0
by: Anurag Saxena | last post by:
If someone can solve this problem,I am using ASP3.0 and IIS on windows 2000 server The complete Error is '''''''''''''''''''''''''''''''''' Server object error 'ASP 0177 : 800401f3' ...
0
by: greg_s_007 | last post by:
Just wanted to share a solution I found to this common problem that I have not yet seen posted. I am in the process of migrating an application from NT/IIS 4.0/SQL 6.5 to Win2003. The SQL...
6
by: Bob | last post by:
Having trouble getting started. I created an instance of MSDE called VSDOTNET on a computer with the name of sysdev. Using MS SQL Web Adminstrator I created a database called temp with a...
1
by: ssp | last post by:
G'Day All, I have a web application sitting on my laptop and a Sql Server 2000 database on our INTRANET server running Windows 2003. Up until recently I was able to access the database using my...
4
by: geodev | last post by:
I have developed a small application using ASP.NET and VB.NET on my development machine it works great. When I copy across the files manually to my test machine and create a Virtual Directory all...
12
by: karen | last post by:
Hi all : this is going to be a long post. So i apologize in advance :) i am converting a java program in VB right now. I am a java programmer by trade. so i am no expert in this department. I...
2
by: javelin | last post by:
I'm studying "Visual Basic Developer's Guid to ASP & IIS", and I am following instructions an pp 72-75. I am creating a WebClass, and enter code as instructed, and it all is entered correctly. ...
1
by: Atia Amin | last post by:
Hi, I am a new member. Hello to every one. I am new in ASP.NET area. I wrote an ASP.NET web application which was running ok with my old laptop. Currently I have given a new laptop. Now I copied...
1
by: vamshika | last post by:
hi, I got a serious Problem. I get "Server does not exist or access denied" with 80004005 as the error code. the win2003 server uses all the latest components(like iis6,jet..etc) and is upto date....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.