Hii all,
I have a this internal use portal i am working on deployed on a server.
My app uses some dlls that are instantiated from the asp pages using
server.createob ject
Now I want to deploy the new versions of the web app on the same machine for
testing thus making production and staging machines same, running the actual
site as well as test site
I have modified the dlls. So I want the old site to use old dll and new site
to use newer version
IIS 5,, W2K
How can I?
Thank U in advance
ak 5 4102
You could give them different class names. You can't register the same name
twice, afaik, so they'd have to have different names. The other option is
to put the new dll on your test server. Test server? Come on, we all have
piles of test servers all over the place. ;]
Ray at home
"ack" <ak******@hotma il.com> wrote in message
news:uo******** ********@TK2MSF TNGP11.phx.gbl. .. Hii all,
I have a this internal use portal i am working on deployed on a server. My app uses some dlls that are instantiated from the asp pages using server.createob ject Now I want to deploy the new versions of the web app on the same machine
for testing thus making production and staging machines same, running the
actual site as well as test site I have modified the dlls. So I want the old site to use old dll and new
site to use newer version
IIS 5,, W2K
How can I?
Thank U in advance
ak
Is there no way by which i can specify which version of the dll to load?
As far as i believe, when a dll registered it creates the entries in the
registry storing all the information like GUIDs, Threading Models etc,
including path.
I am not sure if i understand the COM model exactly, but still these are my
thoughts
Shld thr be any mechanism by which one wld be able to load the appropriate
info.
"Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message
news:ue******** ******@TK2MSFTN GP10.phx.gbl... You could give them different class names. You can't register the same
name twice, afaik, so they'd have to have different names. The other option is to put the new dll on your test server. Test server? Come on, we all
have piles of test servers all over the place. ;]
Ray at home
"ack" <ak******@hotma il.com> wrote in message news:uo******** ********@TK2MSF TNGP11.phx.gbl. .. Hii all,
I have a this internal use portal i am working on deployed on a server. My app uses some dlls that are instantiated from the asp pages using server.createob ject Now I want to deploy the new versions of the web app on the same machine for testing thus making production and staging machines same, running the actual site as well as test site I have modified the dlls. So I want the old site to use old dll and new site to use newer version
IIS 5,, W2K
How can I?
Thank U in advance
ak
I don't believe so. There isn't any third argument to accept version info
or anything, so it'd have to be in the class string. But I don't know about
all this for sure. (In other words, if someone else is following thread and
knows for sure, feel free to chime in.)
Creates and returns a reference to an Automation object.
CreateObject(se rvername.typena me [, location])Arguments
servername
Required. The name of the application providing the object.
typename
Required. The type or class of the object to create.
location
Optional. The name of the network server where the object is to be
created.
Ray at work
"ack" <ak******@hotma il.com> wrote in message
news:Oy******** ******@tk2msftn gp13.phx.gbl... Is there no way by which i can specify which version of the dll to load?
As far as i believe, when a dll registered it creates the entries in the registry storing all the information like GUIDs, Threading Models etc, including path.
I am not sure if i understand the COM model exactly, but still these are
my thoughts
Shld thr be any mechanism by which one wld be able to load the appropriate info.
You cannot do this with VB components but you should be able to do it with
C++ components. You'll have to set up different versions in the registry.
For an example of how this works have a look at the MSXML2.XMLHTTP object in
the registry. You will probably see at least 2 versions.
CreateObject("m sxml2.xmlhttp") will give you the "standard" version.
probably 3.0
CreateObject("m sxml2.xmlhttp.2 .6") will give you the 2.6 version
CreateObject("m sxml2.xmlhttp.3 .0") will give you the 3.0 version
CreateObject("m sxml2.xmlhttp.4 .0") will give you the 4.0 version
Put the desired ProgIDs in an include file so you can change them easily.
If the objects are in VB components you will need to change the project and
DLL name and recompile the dlls. Then put the new ProgID in an include file
as above. For example:
CreateObject("s omedll1.someobj ect") version 1 application
CreateObject("s omedll2.someobj ect") version 2 application
--
Mark Schupp
Head of Development
Integrity eLearning www.ielearning.com
"ack" <ak******@hotma il.com> wrote in message
news:Oy******** ******@tk2msftn gp13.phx.gbl... Is there no way by which i can specify which version of the dll to load?
As far as i believe, when a dll registered it creates the entries in the registry storing all the information like GUIDs, Threading Models etc, including path.
I am not sure if i understand the COM model exactly, but still these are
my thoughts
Shld thr be any mechanism by which one wld be able to load the appropriate info. "Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message news:ue******** ******@TK2MSFTN GP10.phx.gbl... You could give them different class names. You can't register the same name twice, afaik, so they'd have to have different names. The other option
is to put the new dll on your test server. Test server? Come on, we all have piles of test servers all over the place. ;]
Ray at home
"ack" <ak******@hotma il.com> wrote in message news:uo******** ********@TK2MSF TNGP11.phx.gbl. .. Hii all,
I have a this internal use portal i am working on deployed on a
server. My app uses some dlls that are instantiated from the asp pages using server.createob ject Now I want to deploy the new versions of the web app on the same
machine for testing thus making production and staging machines same, running the actual site as well as test site I have modified the dlls. So I want the old site to use old dll and
new site to use newer version
IIS 5,, W2K
How can I?
Thank U in advance
ak
I have never worked with VC++ and dunno kno exactly wut to be done, but
certainly will try my hands about this some time.
I have done the same thing as Mark had said, but I wanted to avoid that.
Neways, this seems the only way out.
I have compiled the project with another name and have created a applicatin
level variable application("DL LNAME").
By using it in Server.CreateOb ject( Application("DL LNAME" & ".ClassName "), I
have achieved it. So while deploying other versions I will need to change
the application level variable in global.asa
:( Ofcourse I am not happy with this and will try my hands on VC, sometime
Sorry for being late, wasnot working this weekend.
neways, thank you Mark n Ray
Ak
"Mark Schupp" <ms*****@ielear ning.com> wrote in message
news:uV******** ******@TK2MSFTN GP09.phx.gbl... You cannot do this with VB components but you should be able to do it with C++ components. You'll have to set up different versions in the registry. For an example of how this works have a look at the MSXML2.XMLHTTP object
in the registry. You will probably see at least 2 versions.
CreateObject("m sxml2.xmlhttp") will give you the "standard" version. probably 3.0 CreateObject("m sxml2.xmlhttp.2 .6") will give you the 2.6 version CreateObject("m sxml2.xmlhttp.3 .0") will give you the 3.0 version CreateObject("m sxml2.xmlhttp.4 .0") will give you the 4.0 version
Put the desired ProgIDs in an include file so you can change them easily.
If the objects are in VB components you will need to change the project
and DLL name and recompile the dlls. Then put the new ProgID in an include
file as above. For example:
CreateObject("s omedll1.someobj ect") version 1 application CreateObject("s omedll2.someobj ect") version 2 application
-- Mark Schupp Head of Development Integrity eLearning www.ielearning.com
"ack" <ak******@hotma il.com> wrote in message news:Oy******** ******@tk2msftn gp13.phx.gbl... Is there no way by which i can specify which version of the dll to
load? As far as i believe, when a dll registered it creates the entries in the registry storing all the information like GUIDs, Threading Models etc, including path.
I am not sure if i understand the COM model exactly, but still these are my thoughts
Shld thr be any mechanism by which one wld be able to load the
appropriate info. "Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message news:ue******** ******@TK2MSFTN GP10.phx.gbl... You could give them different class names. You can't register the
same name twice, afaik, so they'd have to have different names. The other
option is to put the new dll on your test server. Test server? Come on, we all have piles of test servers all over the place. ;]
Ray at home
"ack" <ak******@hotma il.com> wrote in message news:uo******** ********@TK2MSF TNGP11.phx.gbl. .. > Hii all, > > I have a this internal use portal i am working on deployed on a server. > My app uses some dlls that are instantiated from the asp pages using > server.createob ject > Now I want to deploy the new versions of the web app on the same machine for > testing thus making production and staging machines same, running
the actual > site as well as test site > I have modified the dlls. So I want the old site to use old dll and
new site > to use newer version > > IIS 5,, W2K > > > How can I? > > Thank U in advance > > ak > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ken Durden |
last post by:
I'm working on a client-server application where the client is
controlling two devices (aka servers) which both implement the same
interface contract.
We have a set of about 4 assemblies which specify the interfaces and
the data types which flow through the interfaces. Initially, we
thought this would be enough for the client to talk with the server.
In general it is, but when an exception is generated by the server it
fails to...
|
by: Anna |
last post by:
Hi,
I'm using VS.NET 2003 on Win2000 (SP3).
I am trying to import a dll developed in VC++6.0 into my
VC.net project. I keep getting linker errors complaining
about GetThisClass and GetThisMessageMap functions from
RUNTIME_CLASS and BEGIN_MESSAGE_MAP respectively. The
problem I found was in the redefinition of these macros.
The old versions, used in VC6.0 didn't have these
|
by: |
last post by:
I try to build dll in VC .NET,
In that project I use dlls that were built in VC6, and I get a lot of errors.
(for example <iostream.h> instead of <iostream> etc.)
I am not aloud to change anything inthe code of projects that were built in vc6.
I need to make it works together(dlls that were built in vc6 and the one that was built in .NET).
The main problem is that the vc6 header files that were included in .net source code raise such errors...
|
by: Reini |
last post by:
We are developing an Asp.Net 2.0 application (Web Administration) for the IIS
5.0 to 6.0 and the W2K to W2K3 operating system. The application consists of
several layers. One layer is a .Net 2.0 Classlibrary (DxuCoreClr.dll) written
in managed C++, that is encapsulating several native Api's in form of native
Win32 dlls (i.e. dxldaputils.dll). The Classlibrary and the native dlls are
installed to the bin directory of the Asp.Net 2.0...
|
by: HarryH |
last post by:
I am finding that the linker for a C++ application in VS 2005 is generating a
manifest with old version #s for DLLs such as mfc80.dll.
How do I make sure that the linker generates a manifest that reflects the
correct versions numbers of the DLLs?
My application appears not to run on the target XP because of this mismatch.
Thanks!
| |
by: Dave |
last post by:
Hello all,
Firstly I hate Citrix, especially their programming interface MFCOM.
There are multiple versions, that seem to need to match an SDK Version
<----Citrix Server Version
This is bad enough, however all SDKs though incompatible use the
NameSpace "MetaFrameCOM" so if I load more than one version of MFCom
they overlap and Visual Studio reports ambiguous namespaces and to
fully qualify things (well I can't because the namespace is
|
by: Olegus |
last post by:
Hello,
in order to perform backup/restore MSSQL database using SMO, one needs
to reference several namespaces in a backup class :
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
Unfortunately, MSSQL 2005 and MSSQL Express keep them in different
place.
For MSSQL2005 they are located in C:\Program Files\Microsoft SQL Server
\90\SDK\Assemblies and for MSSQL Express you can find them in C:
|
by: Patrick Stinson |
last post by:
Is it a correct to assume that you can use multiple instances of
python altogether if each is loaded from a separate dll? For instance,
if I write a couple of dll/so libs, and each has python statically
linked in, is it safe to assume that since dlls use their own address
space then each dll would have it's own GIL, and will therefore
coexist safely within the same app? This is correct across all
platforms, yes?
I ask because I will be...
|
by: Bob Altman |
last post by:
Hi all,
I have authored several native DLLs (call them A, B, and C). These
libraries have references between each other (A calls B which calls C).
These libraries are built and made available to callers both in "debug" and
"release" versions. The release versions of the libraries are A, B, and C
(.lib and .dll), while the debug versions are A_debug, B_debug, and C_debug
(.lib and .dll).
Now, because these libraries maintain internal...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |