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

What are the possible reasons?

Hello, friends, this has driven us nuts!

We created a COM component using VB 6.0. This component was put in a .aspx
page (v1.1) like the follows:

<object style='Z-INDEX: 129; LEFT: 172px; WIDTH: 328px; POSITION:
absolute; TOP: 308px; HEIGHT: 184px'
classid='clsid:988B1FEA-AA93-4FAD-B354-E97543C4ABB8'>
<PARAM NAME='_ExtentX' VALUE='8678'>
<PARAM NAME='_ExtentY' VALUE='4868'>
</object>
We also added the .ocx as a reference to our project and VS.Net created a
interop .dll. Both files were found in /bin directory after deployment.

It worked fine in my local machine (i.e., IIS was running locally). However,
after I put this page in production IIS server and tried to access it through
port 7788 using internet, this control did not work. I saw only an empty box
in the specified location of the page.

I registered this control in both IIS server and client machine.

What are the possible reasons? Any ideas?

Thanks a lot for your help

Nov 27 '06 #1
4 1289
Is that possible COM in .aspx does not like any other port, except port 80 ??

"Andrew" wrote:
Hello, friends, this has driven us nuts!

We created a COM component using VB 6.0. This component was put in a .aspx
page (v1.1) like the follows:

<object style='Z-INDEX: 129; LEFT: 172px; WIDTH: 328px; POSITION:
absolute; TOP: 308px; HEIGHT: 184px'
classid='clsid:988B1FEA-AA93-4FAD-B354-E97543C4ABB8'>
<PARAM NAME='_ExtentX' VALUE='8678'>
<PARAM NAME='_ExtentY' VALUE='4868'>
</object>
We also added the .ocx as a reference to our project and VS.Net created a
interop .dll. Both files were found in /bin directory after deployment.

It worked fine in my local machine (i.e., IIS was running locally). However,
after I put this page in production IIS server and tried to access it through
port 7788 using internet, this control did not work. I saw only an empty box
in the specified location of the page.

I registered this control in both IIS server and client machine.

What are the possible reasons? Any ideas?

Thanks a lot for your help
Nov 27 '06 #2

Andrew wrote:
Is that possible COM in .aspx does not like any other port, except port 80 ??

"Andrew" wrote:
Hello, friends, this has driven us nuts!

We created a COM component using VB 6.0. This component was put in a .aspx
page (v1.1) like the follows:

<object style='Z-INDEX: 129; LEFT: 172px; WIDTH: 328px; POSITION:
absolute; TOP: 308px; HEIGHT: 184px'
classid='clsid:988B1FEA-AA93-4FAD-B354-E97543C4ABB8'>
<PARAM NAME='_ExtentX' VALUE='8678'>
<PARAM NAME='_ExtentY' VALUE='4868'>
</object>
We also added the .ocx as a reference to our project and VS.Net created a
interop .dll. Both files were found in /bin directory after deployment.

It worked fine in my local machine (i.e., IIS was running locally). However,
after I put this page in production IIS server and tried to access it through
port 7788 using internet, this control did not work. I saw only an empty box
in the specified location of the page.

I registered this control in both IIS server and client machine.

What are the possible reasons? Any ideas?
Firewall?

Nov 27 '06 #3
the control only needs to be on the client machine (no interop is required).
is you control marked safe for scripting? if not security is preventing it.
try making the webserver a full trusted site. aslo if the control has a ui,
you will need to have javascript genterate the object tag to prevent the
click to activate message.
-- bruce (sqlwork.com)

"Andrew" <An****@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
Hello, friends, this has driven us nuts!

We created a COM component using VB 6.0. This component was put in a .aspx
page (v1.1) like the follows:

<object style='Z-INDEX: 129; LEFT: 172px; WIDTH: 328px; POSITION:
absolute; TOP: 308px; HEIGHT: 184px'
classid='clsid:988B1FEA-AA93-4FAD-B354-E97543C4ABB8'>
<PARAM NAME='_ExtentX' VALUE='8678'>
<PARAM NAME='_ExtentY' VALUE='4868'>
</object>
We also added the .ocx as a reference to our project and VS.Net created a
interop .dll. Both files were found in /bin directory after deployment.

It worked fine in my local machine (i.e., IIS was running locally).
However,
after I put this page in production IIS server and tried to access it
through
port 7788 using internet, this control did not work. I saw only an empty
box
in the specified location of the page.

I registered this control in both IIS server and client machine.

What are the possible reasons? Any ideas?

Thanks a lot for your help

Nov 28 '06 #4
if the control has a ui, you will need to have javascript genterate the
object tag to prevent the click to activate message.

Yes, it does have ui. But, how to "have javascript genterate the object tag
to prevent the click to activate message"? Any reference paper or sample
source code?

Thanks a lot, Bruce.
"bruce barker (sqlwork.com)" wrote:
the control only needs to be on the client machine (no interop is required).
is you control marked safe for scripting? if not security is preventing it.
try making the webserver a full trusted site. aslo if the control has a ui,
you will need to have javascript genterate the object tag to prevent the
click to activate message.
-- bruce (sqlwork.com)

"Andrew" <An****@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
Hello, friends, this has driven us nuts!

We created a COM component using VB 6.0. This component was put in a .aspx
page (v1.1) like the follows:

<object style='Z-INDEX: 129; LEFT: 172px; WIDTH: 328px; POSITION:
absolute; TOP: 308px; HEIGHT: 184px'
classid='clsid:988B1FEA-AA93-4FAD-B354-E97543C4ABB8'>
<PARAM NAME='_ExtentX' VALUE='8678'>
<PARAM NAME='_ExtentY' VALUE='4868'>
</object>
We also added the .ocx as a reference to our project and VS.Net created a
interop .dll. Both files were found in /bin directory after deployment.

It worked fine in my local machine (i.e., IIS was running locally).
However,
after I put this page in production IIS server and tried to access it
through
port 7788 using internet, this control did not work. I saw only an empty
box
in the specified location of the page.

I registered this control in both IIS server and client machine.

What are the possible reasons? Any ideas?

Thanks a lot for your help


Nov 28 '06 #5

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

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
41
by: Mountain Bikn' Guy | last post by:
What is the current preferred way to save user preferences in dotnet? Is the registry the right place to do this? Can anyone recommend a good article (or book) for this topic? Thanks.
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
39
by: ferrad | last post by:
I am trying to open a file for appending. ie. if the file exists, open it for appending, if not, create it. I am getting back a NULL pointer, and do not know why. Here is my code: FILE...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
9
by: xz | last post by:
What sense do h files make in c/cpp? I never thought about this question before. Does the existence of h files make sense at all? Why do we need to declare functions in h files and...
22
by: Peter | last post by:
Hi I was wondering, why use properties instead of get and set methods? I have a colleague who dislikes properties - and much prefers to write "string GetName()" and "void SetName(string name)"...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...

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.