Hi,
Is it possible to access global assembly cache on user's machine from
asp.net web page.
The user will download assembly, wich will be installed in gac.When he opens
the web page I need to add control from that assembly to a page.
I can host win control in web form but it must be on server and that's not
it.
Pleas help
budhA 11 1332
I don't know where to start. First, I'd love to know how you plan to install
a .Net DLL into the user's GAC from a web page, without any executable on
the client (other than a browser, which certainly WON'T do it). Secondly,
I'd love to see how an HTML document (which is what an ASPX page is on the
client) is going to load an assembly.
I think it's time to step back and take a look at your requirements, as this
solution is NOT going to work. Perhaps if you explain your business
requirements, we can suggest some workable solutions. IOW, what
service/functionality is this app supposed to provide for your user?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"budhA" <bu***@fly.srk. fer.hr> wrote in message
news:cs******** **@bagan.srce.h r... Hi,
Is it possible to access global assembly cache on user's machine from asp.net web page. The user will download assembly, wich will be installed in gac.When he opens the web page I need to add control from that assembly to a page. I can host win control in web form but it must be on server and that's not it. Pleas help
budhA
O.K.
We have an app that represents the map of a city. User can find a street,
find a path between 2 spots, etc.
We want to download that app to the user and when he loads our page in his
web browser app shuld load from user's machine and should be located inside
web form. The idea is to load app(class) into web form via object
tag(hosting a conctrol in web form). I have to reference that class(.dll)
with classid (for example classid =
"http://loacalhost/WebApp/class.dll#class .MyClass).
Since that .dll file shoud be on user's machine I don't know how to access
it with classid.
Hope U understood.
btw thnx for helping me.
Ok, that's a little more to go on, thanks.
Your best bet is NOT to have the browser download anything. If it does,
you're looking at hosting a .Net Windows form in a browser. However, if you
look at the various mapping services out there (MapPoint and MapQuest come
to mind), you'll notice that neither requires any software other than a
browser. It's really not necessary to put a thick client on the client
machine. You might want to try it their way.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"budhA" <bu***@fly.srk. fer.hr> wrote in message
news:cs******** **@bagan.srce.h r... O.K. We have an app that represents the map of a city. User can find a street, find a path between 2 spots, etc. We want to download that app to the user and when he loads our page in his web browser app shuld load from user's machine and should be located inside web form. The idea is to load app(class) into web form via object tag(hosting a conctrol in web form). I have to reference that class(.dll) with classid (for example classid = "http://loacalhost/WebApp/class.dll#class .MyClass). Since that .dll file shoud be on user's machine I don't know how to access it with classid.
Hope U understood. btw thnx for helping me.
> Your best bet is NOT to have the browser download anything. If it does, you're looking at hosting a .Net Windows form in a browser.
But taht's the way it has to be :(
We would like to have (host) an application (.Net Windows Form) on the
client
machine so he wouldn't have to download it each time he opens teh page.
That's the idea.
However, if you look at the various mapping services out there (MapPoint
and MapQuest come to mind), you'll notice that neither requires any software other than a browser. It's really not necessary to put a thick client on the client machine. You might want to try it their way.
And where is this Windows Form supposed to get all of that mapping data?
You're talking about a multi-gigabyte download there. Have you ever seen the
installation CDs for MapPoint? There are 2 of them, and they both contain
compressed data. Might have something to so with why these online mapping
apps don't have a thick client...
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"budhA" <bu***@fly.srk. fer.hr> wrote in message
news:cs******** **@bagan.srce.h r... Your best bet is NOT to have the browser download anything. If it does, you're looking at hosting a .Net Windows form in a browser.
But taht's the way it has to be :( We would like to have (host) an application (.Net Windows Form) on the client machine so he wouldn't have to download it each time he opens teh page. That's the idea.
However, if you look at the various mapping services out there (MapPoint and MapQuest come to mind), you'll notice that neither requires any software other than a browser. It's really not necessary to put a thick client on the client machine. You might want to try it their way.
> And where is this Windows Form supposed to get all of that mapping data?
Mapping dada would be on a server
But the question was can I do that and how?
Thnx.
While it is possible to do this, a better question is should you do this.
No, you shouldn't. This will most likely require a lot of hacks and ugly,
ugly code. Not to mention some potentialy serious security holes that will
probably be opened doing things this way. Also, any user who understands and
cares about security will probably not want to install the activex control
needed and you will drive them to a competitor's product.
Okay, your data is on a server. Why then do you need a thick client?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"budhA" <bu***@fly.srk. fer.hr> wrote in message
news:cs******** **@bagan.srce.h r... And where is this Windows Form supposed to get all of that mapping data?
Mapping dada would be on a server
But the question was can I do that and how?
Thnx.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DDE |
last post by:
Hi everybody,
I developed an assembly common to all my Web Services, so I registered it
and put it in the Global Assembly Cache. Now, I modified this assembly, but
cannot succed to have this new assembly used by my Web Services. Whatever I
do, the old assembly is still used!! I try to unregister it, put the new
version in the assembly cache nothing works. I also repplaced the dll fil in
:\WINNT\Microsoft.NET\Framework\v1.1.4322 , same...
|
by: JerryW |
last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET
Web Applications to work). I first did a complete uninstall of .NET
2003, .NET Framework 1.1, and IIS. I also completely deleted
c:\inetpub\wwwroot and rebooted before reinstalling.
I created a new virtual directory from within IIS (e.g. MyWebTest).
Then I tried to create a new Visual C# ASP.NET Web Application
pointing to the location http://localhost/MyWebTest. I get...
|
by: Wolfgang Kaml |
last post by:
I am not sure if this is more of an expert question, but I am sure that they
are out there.
I'd like to setup a general application or bin directory on my Win2003.Net
Server that will hold some useful utils that more pages on that server can
use.
As an example, I have created a Page Counter class that opens an Access .mdb
file, counts the current entries for that page, and adds a new entry with
some information regarding the current...
|
by: Shailesh Humbad |
last post by:
I figured out what was causing the "Access is Denied" error when
calling functions from referenced DLLs in my service. I've tried to
be very detailed, so bear with me.
It turns out that libraries I made myself were not having this
problem, but it only happened with a zip library I downloaded and
copied into my program's directory. When using classes from this
library, my service threw an "Access Is Denied" FileLoadException,
which...
|
by: Ray |
last post by:
Dear all,
Now, I am using Global Assembly Cache to share assembly between server
and clients. However, it seems that the server and clients use individual
Global Assembly Cache. For example, the assembly is placed in U drive, I
have to use the Global Assembly Cache Tool in the client PC to add the
assembly to the Global Assembly Cache of the client PC manually. Should I
set something in the Global Assembly Cache Tool in the client PC in...
| |
by: ctk70 |
last post by:
When I try to run an ASP.NET 2.0 application on my Windows 2000 SP4 computer
with IIS 5.0 installed, I receive the following message:
Failed to execute the request because the ASP.NET process identity does not
have read permissions to the global assembly cache. Error: 0x80070005 Access
is denied.
Why does it need access to the GAC?
Any ideas on how to resolve this?
|
by: Lyle Fairfield |
last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp
The Joy of Interoperability
Sometimes a revolution in programming forces you to abandon all that's
come before. To take an extreme example, suppose you have been writing
Visual Basic applications for years now. If you're like many
developers, you will have built up a substantial inventory of code in
that time. And if you've been following...
|
by: =?Utf-8?B?SmFu?= |
last post by:
I have a .NET 2.0 application divided in two assemblies; the exe and a dll.
The application generates a plugin-dll which is then loaded in a separate
AppDomain (along with a second instance of my application dll).
It's been working for months and now the it's not working from my
application exe anymore but still working from NUnit when testing the dll.
What could have changed in my exe? Some configuration thing in my VS2005
project?
|
by: Joe Withawk |
last post by:
I have a solution consisting of a c# project as win application and a c++
project as classlibrary. Both are .net 2.0
The classlibrary handles some loading of quicktime movies, but that should
not be relevant.
On my development machine I build the exe and dll and run the exe which has
a reference to the dll. At some point it uses featured in the dll.
This works fine.
Then I copy my exe and dll to the target system and when the featured...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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: 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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |