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

Web page calling COM+ DLL

I have a web server that has a COM+ DLL. This is successfully called by a
web page running on that server.

I exported the COM+ package (as an MSI and NOT as a proxy stub) and imported
it onto a new machine. I set up the web application in (I believe) an
identical fashion. When I run the ASP page it errors - permission denied;
can not create object.

Things I have checked:
1 - the COM+ package runs under the LOCAL ADMINISTRATOR account (same as on
the other server).
2 - the NTFS permissions on the DLL (sitting in C:\Program Files\ComPlus
Applications\{xxxxxx} are identical on both machines
3 - the IIS security and NTFS permissions on the script are identical
4 - I've ensured that the DLL is registered correctly (using regsvr32)

I'm at a loss to see what else could be the problem. The COM+ DLL only
references standard Windows components that exist on the server.

Any suggestions please?

Thanks

Griff
Sep 2 '05 #1
2 2018
I know you said "3 - the IIS security and NTFS permissions on the script are
identical", but nevertheless verify that the IIS security really is
identical. There are a huge number of places things have to be set up.
Enabling full IIS tracing to see where the problem may be.

"Griff" <Ho*****@The.Moon> wrote in message
news:uN****************@tk2msftngp13.phx.gbl...
I have a web server that has a COM+ DLL. This is successfully called by a
web page running on that server.

I exported the COM+ package (as an MSI and NOT as a proxy stub) and
imported it onto a new machine. I set up the web application in (I
believe) an identical fashion. When I run the ASP page it errors -
permission denied; can not create object.

Things I have checked:
1 - the COM+ package runs under the LOCAL ADMINISTRATOR account (same as
on the other server).
2 - the NTFS permissions on the DLL (sitting in C:\Program Files\ComPlus
Applications\{xxxxxx} are identical on both machines
3 - the IIS security and NTFS permissions on the script are identical
4 - I've ensured that the DLL is registered correctly (using regsvr32)

I'm at a loss to see what else could be the problem. The COM+ DLL only
references standard Windows components that exist on the server.

Any suggestions please?

Thanks

Griff

Sep 4 '05 #2
You will need to check the "launch and activation" permissions in your DCOM
application's properties in the Component Services. You may have to check the
"access permissions" as well. Make sure that the IUSR_xxxx has access to
this component so that it can launch/run this app.

Hope this helps,
AL
"Mark Yudkin" wrote:
I know you said "3 - the IIS security and NTFS permissions on the script are
identical", but nevertheless verify that the IIS security really is
identical. There are a huge number of places things have to be set up.
Enabling full IIS tracing to see where the problem may be.

"Griff" <Ho*****@The.Moon> wrote in message
news:uN****************@tk2msftngp13.phx.gbl...
I have a web server that has a COM+ DLL. This is successfully called by a
web page running on that server.

I exported the COM+ package (as an MSI and NOT as a proxy stub) and
imported it onto a new machine. I set up the web application in (I
believe) an identical fashion. When I run the ASP page it errors -
permission denied; can not create object.

Things I have checked:
1 - the COM+ package runs under the LOCAL ADMINISTRATOR account (same as
on the other server).
2 - the NTFS permissions on the DLL (sitting in C:\Program Files\ComPlus
Applications\{xxxxxx} are identical on both machines
3 - the IIS security and NTFS permissions on the script are identical
4 - I've ensured that the DLL is registered correctly (using regsvr32)

I'm at a loss to see what else could be the problem. The COM+ DLL only
references standard Windows components that exist on the server.

Any suggestions please?

Thanks

Griff


Sep 8 '05 #3

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

Similar topics

3
by: fig000 | last post by:
Hi, I'm relatively new to Javascript so please bear with me on what might sound like silly questions. This is what I want to do: I'm working in classic asp (I have to for this project). I...
4
by: Manuel Lopez | last post by:
Hello, I need to know on evry request the page name, my problem is when use the method server.transfer, i always get the name of the calling page. I use context.Current.Request.Url, but I am...
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
2
by: Harold | last post by:
I have page A with form field and a button and when button is clicked it opens page B in another window. Page B has a treeview control and that is all. When something is selected I want the page...
1
by: desmcc | last post by:
Hi, I am launching a modal dialog through the usual javascript (window.showmodaldialog). When the modal dialog is complete (ie user selects OK), the calling page then refreshes itself by setting...
3
by: Jason | last post by:
I have an ASP.NET application in which I would like to call my button click event (imgSubmitSearch_Click) on the page load if certain criteria are met. Is this possible? What is the correct...
1
by: Hank | last post by:
My boss wants the font on reports to be user selectable on a Configuration screen. I open the Font Dialog and one is selected. When the report opens, I call a funtion that changes the font of all...
5
by: knowdotnet | last post by:
Hi all, Which is the best way to return a value back to the web page from a pop up page? I have a asp.net web application which opens a popup page on a link button click. The Link button is...
0
by: jobs | last post by:
I have a page where users select from a bunch of gridviews, setting session variables and then hit an a New or Edit button which redirects them to a formview in edit or insert mode. While in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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...

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.