Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 15th, 2008, 11:23 AM
Authorized User
 
Join Date: Feb 2007
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to toddw607 Send a message via Yahoo to toddw607
Default Running an ActiveX ocx from server-side

Hi all,
      I have an ASPX page that is supposed to bring up a Computer Graphics Metafile (.cgm) by way of an ActiveX viewer but when the ASPX page is opened from the client-side nothing is displayed. The activeX program is setup up so that when it is initially run the viewer is automatically installed as a IE plug-in and nothing more is needed to be done. This has already been setup on the client-side and when I attempt to run the setup on the server-side windows gives me a pop-up error that says "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item". I don't understand this because I am setup as an administrator on the server. Could there be permissions within the actual viewer (.ocx file)? Or do I need to setup my aspx pages to accept this specific viewer? I had a previous viewer which I never setup anything for it, it would just display in IE using that previous plugin. This new viewer is an in-house development written by someone around the office but I'm thinking the problem is not with the viewer but with my aspx pages or with the IIS permissions on the server side. Could anyone please give me some insight on this. Thanks.

 
Old January 15th, 2008, 11:38 AM
Authorized User
 
Join Date: Feb 2007
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to toddw607 Send a message via Yahoo to toddw607
Default

Found the initial problem: when attempting the give myself full control over the app I found out that I was not able to do it. The person who created the app set himself as the owner of the viewer, which is an .ocx file. This being placed on the server does not have the ability to reference the other needed elements from which the launch icon points to. I also come to this conclusion by attempting to display a CGM strictly over the server without being placed in an ASPX page and nothing would display. All in all, I'm going to need him to turn over dominate permissions to me. I guess this would be the ideal way to deploy the viewer for marketing but when this app is needed to support someone else in-house then it would be preferable to set the permissions to the administrator or Everyone. Hope someone else gains some knowledge from this.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Converting Client-side to Server-side Code kwilliams ASP.NET 2.0 Professional 1 November 21st, 2007 05:25 PM
HOW TO create an ActiveX ocx from VB.Net ? samuelpizarro Pro VB.NET 2002/2003 1 June 2nd, 2005 07:44 AM
Firing server side events at client side codes mehdi62b ASP.NET 1.0 and 1.1 Basics 6 May 18th, 2005 09:11 AM
sharing a server-side variable with client-side pigtail Javascript How-To 6 November 4th, 2004 02:01 AM
Accessing Server Side Data on Client Side steve456 Classic ASP Professional 3 October 15th, 2003 02:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.