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

.NET Applet

hello..
I have an applet written in C#(Windows.Forms.UserControl) and I import
it into an ASP.NET 2.0 page with <objecttag and the assembly is in
the same folder with the aspx page.
<object id="applet"classid="http:Assembly.dll#Namespace.My Class"></
object>
When I run the Application (F5 in VS2005) the applet is showed but
when someone in my intranet network want to acces the page, the applet
is not showed.

Why is that?

If I write the URL to the applet dll, I am asked if I want to download
the dll. So I am thinking that the IE is not downloading the dll into
Temporary Internet Files. Am I right? And if I am, how can I set IE to
download the dll?

Jun 19 '07 #1
4 1943
eusebiu,

Well, the first thing I would do is check to see if the framework is
configured on each of the machines with the appropriate permissions to run
the control in IE. You have to go to the Framework Configuration utility
(under Administrative Tools) and specify that the assembly has the
appropriate permissions.

The permissions should be the same as they are on your machine, which
already is set up correctly, given that the applet runs.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"eusebiu" <Ma**********@gmail.comwrote in message
news:11**********************@n2g2000hse.googlegro ups.com...
hello..
I have an applet written in C#(Windows.Forms.UserControl) and I import
it into an ASP.NET 2.0 page with <objecttag and the assembly is in
the same folder with the aspx page.
<object id="applet"classid="http:Assembly.dll#Namespace.My Class"></
object>
When I run the Application (F5 in VS2005) the applet is showed but
when someone in my intranet network want to acces the page, the applet
is not showed.

Why is that?

If I write the URL to the applet dll, I am asked if I want to download
the dll. So I am thinking that the IE is not downloading the dll into
Temporary Internet Files. Am I right? And if I am, how can I set IE to
download the dll?

Jun 19 '07 #2
On Jun 19, 7:47 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
eusebiu,

Well, the first thing I would do is check to see if the framework is
configured on each of the machines with the appropriate permissions to run
the control in IE. You have to go to the Framework Configuration utility
(under Administrative Tools) and specify that the assembly has the
appropriate permissions.

The permissions should be the same as they are on your machine, which
already is set up correctly, given that the applet runs.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

"eusebiu" <MarcuEuse...@gmail.comwrote in message

news:11**********************@n2g2000hse.googlegro ups.com...
hello..
I have an applet written in C#(Windows.Forms.UserControl) and I import
it into an ASP.NET 2.0 page with <objecttag and the assembly is in
the same folder with the aspx page.
<object id="applet"classid="http:Assembly.dll#Namespace.My Class"></
object>
When I run the Application (F5 in VS2005) the applet is showed but
when someone in my intranet network want to acces the page, the applet
is not showed.
Why is that?
If I write the URL to the applet dll, I am asked if I want to download
the dll. So I am thinking that the IE is not downloading the dll into
Temporary Internet Files. Am I right? And if I am, how can I set IE to
download the dll?- Hide quoted text -

- Show quoted text -
I have uninstalled .NET Framework 2.0 and installed it again on my
machine. I've added the assembly in GAC and now I can;t see the applet
in my application on my developer machine.... And I can't see the
configuration utility either...

Jun 20 '07 #3
I can't find the utility because I don't have the SDK installed. But I
think that`s stupid... How can I set ON A CLIENT MACHINE the
permisions of an assembly if I don`t want to install the SDK? On a
client machine I don`t want to develop anything... (SDK = Software
Development Kit)...
Thanks

Jun 20 '07 #4
On Jun 20, 1:18 pm, eusebiu <MarcuEuse...@gmail.comwrote:
I can't find the utility because I don't have the SDK installed. But I
think that`s stupid... How can I set ON A CLIENT MACHINE the
permisions of an assembly if I don`t want to install the SDK? On a
client machine I don`t want to develop anything... (SDK = Software
Development Kit)...
Thanks
beside that the Configuration utility is found only in SDK is a stupid
thing, I had to use caspol and adding fulltrust to an URL(-url
option). check out MSDN for more informations.

Jun 21 '07 #5

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

Similar topics

1
by: nathanlaan | last post by:
This is the stupidest thing I have ever seen. Java 1.2, 1.3, and 1.4.1, and 1.4.2 all define the Applet.getDocumentBase() method differently! How am I supposed to get the directory of the document...
0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
1
by: Charlie Kim | last post by:
Here is gnome applet source of mine. -------------------------------------------------- #!/usr/bin/env python import pydic import gtk import gnome.applet
1
by: Tormod Omholt-Jensen | last post by:
Ď need to dynamically insert an applet into a document. In IE 6.0 my code works fine, but there seems to be problems in Opera 7. The page looks like there is allocated space for an applet. ...
2
by: Roberto Gallo | last post by:
Hi; I have two problems regarding Scripts and Applets. I need to construct a page that has some instances of the same Applet. These instances are responsible to get informations from the user...
8
by: DKM | last post by:
Here are the source code files to a Java applet that utilizes LiveConnect to communicate with Javascript, and the HTML file. The thing works both in IE 6.0 and FireFox 1.4. but with some...
0
by: ankur | last post by:
WHEN I RUN THIS WEB APPLICATION ON Tomcat5.5.9 SERVER MY HttpChatApplet sccessfully Loaded from ChatDispatch but running on some another PC HttpChatApplet not loaded my Coad ...
0
by: shanmukhi | last post by:
Hi All I got a problem in running java Applet i am not able to run java applet while running i got a problem as Loading Java Applet Failed java.lang.NoClassDefFoundError: App (wrong name:...
4
by: tudyfruity18 | last post by:
I'm suppose to write an applet that contains two buttons Investment calculator and Loan Calculator. When the Investment Calculator button is clicked, a frame appears in a new window for calculating...
1
by: sheephead86 | last post by:
Hi, I'm pretty new to java, and I have a small problem involving drawing a rectangle on a java applet.Firstly this is not a plea for someone to help me with this peice of work, I just need pointing...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
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...
0
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.