PC Review


Reply
 
 
xs4all-news
Guest
Posts: n/a
 
      28th Aug 2003
Hi,

Im trying to get a c# 'applet' to work. Like demonstrated here:
http://samples.gotdotnet.com/quickst...IESourcing.htm

but I can't get it running on my local server (so security should not be a
problem)
I tried simple examples like:
http://www.csharphelp.com/archives/archive109.html

but all I get is an empty object box.

I use Visual Studio 2003 and windows 2000 professional.
I there anything else I need to know?
Do I need to sign the assembly of something?
Do I need windows server to run a proper IIS.
Could a different internal-external IP be a problem?

thnx in advance,
Paul.










 
Reply With Quote
 
 
 
 
Paul
Guest
Posts: n/a
 
      28th Aug 2003
I got is working now. I had to set the permission of the virutal directory
to Scripts instead of Execute, which seems pretty weird to me. Is there a
reason for this?

This is from IIS help:
a.. Scripts Enables a script engine to run in this directory without having
Execute permission set. Use Script permission for directories that contain
ASP scripts, Internet Database Connector (IDC) scripts, or other scripts.
Script permission is safer than Execute permission because you can limit the
applications that can be run in the directory. If a client sends a request
to run a script in a folder that does not have Scripts permission, the Web
server returns an error. By default, all directories created during setup
have Scripts permission.
a.. Execute Enables any application to run in this directory, including
script engines and Windows 2000 binaries (.dll and .exe files). For security
purposes, do not give content folders Execute permission.

Paul.


"Shrawan" <(E-Mail Removed)> wrote in message
news:001a01c36d76$d8c9acd0$(E-Mail Removed)...
> Hi,
>
> Could u please try changing the setting of u'r IE. Try
> changing it to default setting & try whether it works.
> The problem might be it is not downloading the control to
> u'r local computer.
>
> -Shrawan
>
> >-----Original Message-----
> >Hi,
> >
> >Im trying to get a c# 'applet' to work. Like demonstrated

> here:
> >http://samples.gotdotnet.com/quickst...orms/Samples/I

> eSourcing/VB/IESourcing.htm
> >
> >but I can't get it running on my local server (so

> security should not be a
> >problem)
> >I tried simple examples like:
> >http://www.csharphelp.com/archives/archive109.html
> >
> >but all I get is an empty object box.
> >
> >I use Visual Studio 2003 and windows 2000 professional.
> >I there anything else I need to know?
> >Do I need to sign the assembly of something?
> >Do I need windows server to run a proper IIS.
> >Could a different internal-external IP be a problem?
> >
> >thnx in advance,
> >Paul.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >.
> >



 
Reply With Quote
 
Jerry III
Guest
Posts: n/a
 
      29th Aug 2003
The reason is that when IE requests the applet DLL IIS tries to execute that
DLL as an ISAPI extension on the server. Once you tell IIS not to do that
(by setting the execute to scripts only or not allowing execution at all)
IIS will simply send the DLL to the client.

Jerry

"Paul" <(E-Mail Removed)> wrote in message
news:3f4e86b8$0$49114$(E-Mail Removed)...
> I got is working now. I had to set the permission of the virutal directory
> to Scripts instead of Execute, which seems pretty weird to me. Is there a
> reason for this?
>
> This is from IIS help:
> a.. Scripts Enables a script engine to run in this directory without

having
> Execute permission set. Use Script permission for directories that contain
> ASP scripts, Internet Database Connector (IDC) scripts, or other scripts.
> Script permission is safer than Execute permission because you can limit

the
> applications that can be run in the directory. If a client sends a request
> to run a script in a folder that does not have Scripts permission, the Web
> server returns an error. By default, all directories created during setup
> have Scripts permission.
> a.. Execute Enables any application to run in this directory, including
> script engines and Windows 2000 binaries (.dll and .exe files). For

security
> purposes, do not give content folders Execute permission.
>
> Paul.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet =?Utf-8?B?SmltSGVhdmV5?= Microsoft ASP .NET 1 28th Apr 2007 03:26 AM
user accounts applet .cpl applet (nusrmgr.cpl) =?Utf-8?B?cHN5YmVy?= Windows XP Help 0 23rd Apr 2006 09:07 PM
I wrote an applet . It works well in applet viewer but not in IE .... ebramcity@gmail.com Microsoft Frontpage 2 14th Jul 2005 11:00 AM
Converting Java-Applet -> .NET-Applet Bernhard Geyer Microsoft Dot NET Framework 2 24th Sep 2004 03:57 PM
FTP Applet 2.3 - A Java 1.1 FTP client applet. Gordon Darling Freeware 0 20th May 2004 08:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:23 AM.