.NET Applet

E

eusebiu

hello..
I have an applet written in C#(Windows.Forms.UserControl) and I import
it into an ASP.NET 2.0 page with <object> tag and the assembly is in
the same folder with the aspx page.
<object id="applet"classid="http:Assembly.dll#Namespace.MyClass"></
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?
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
E

eusebiu

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]
- (e-mail address removed)




hello..
I have an applet written in C#(Windows.Forms.UserControl) and I import
it into an ASP.NET 2.0 page with <object> tag and the assembly is in
the same folder with the aspx page.
<object id="applet"classid="http:Assembly.dll#Namespace.MyClass"></
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...
 
E

eusebiu

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
 
E

eusebiu

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top