• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

moving a cab file to a web server

i have created an activex control on my desktop machine and compiled it as a cab for internet distribution.

now i have to place this cab file on the webserver, how do i do that?

0
augblay
Asked:
augblay
  • 4
  • 3
  • 3
  • +2
1 Solution
 
peteyhigginsCommented:
Set up an ftp virtual directory from within iis manager that points to the folder the cab file is in.  Then provide a hyperlink to that file from wherever users will go to download the file.
0
 
augblayAuthor Commented:
can't i just copy that folder unto the server and then point them to that in my web server. my desktop is not always on the network, so your solutions will not work
0
 
Nitin SontakkeDeveloperCommented:
Yes, you can. Use FTP for that.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
peteyhigginsCommented:
You should make sure that the folder you use for ftp is on the webserver, not your local machine.
0
 
augblayAuthor Commented:
won't the guid generated by the setup program change since i am moving that from one machine to another? if yes, how can i get a new guid for this activex control with just copying the internet package folder to the web server
0
 
Anthony PerkinsCommented:
To upload and/or download files to a web server you can also use HTTP.  There are some free and commercial third party components that do this using ASP.

Anthony
0
 
augblayAuthor Commented:
i think i am being misunderstood, my problem is not about uploading and downloading, my problem is about migrating an activex control cab file from one machine to another web server. my concern is about the GUID when calling the the control in html from another server.

right now this is how i am calling it on my server.


<OBJECT id=chameleon style="LEFT: 0px; TOP: 0px" codeBase=control.CAB#version=1,0,0,0
     classid=CLSID:561F2239-D54A-451C-A514-3D51ECA1D3BF>
OBJECT>
0
 
peteyhigginsCommented:
I believe that the GUID is created when you compile your file.  Each computer that it is used on will access it via the same GUID.  There shouldn't be an issue about it having a different one when it's on different servers.

If I'm wrong about this, then you can just go into the registry on the web server and check what the GUID is for it there.  This will also let you know whether or not this changes between machines.  That fact that it's called a 'Global' Unique IDentifier leads me to think that it won't.
0
 
Nitin SontakkeDeveloperCommented:
augblay,

To prevent happening this in future do following:

Project | Properties | Component tab, select "Binary compatibility" and in text box tell vb the location of your current compiled version

This prevents generating new GUID between compilations.
0
 
Richie_SimonettiIT OperationsCommented:
Create your package, then run P&DW again and select deplyment on first screen.
0
 
augblayAuthor Commented:
i did that , although the control works fine on my local machine, it does not show up when i upload it to the server. i am calling the html that was generated by the package and deployment wizard
0
 
Nitin SontakkeDeveloperCommented:
Have you registered the control on Server?
Do you have an access to server registry?
Can you please search for the GUID in html in registry? You must find it.

Did you unregister the previous control before registering the new one?

0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 3
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now