Re: zero touch deployment problem

From: Daryl (Daryl_at_somewhere.net)
Date: 06/26/04


Date: Sat, 26 Jun 2004 19:11:19 +1200

Rajiv,

There are a few things you need to do depending on how you want to deploy
your application.

db--> web service --> Smartclient app

For this config above if it is all on the same server you should be OK.
You may need to [assembly: AllowPartiallyTrustedCallers] to your
AssembyInfo.cs file and sign your assembly using sn.exe (strong name
assembly).
If you use any special items like registry, file system etc then you will
also need to deploy a code group and permission set.

Regards
Daryl

"Rajiv" <Rajiv@discussions.microsoft.com> wrote in message
news:39E05114-6DE7-4853-8F95-91FD252D51D7@microsoft.com...
> Hi Daryl,
> So if I use a Web Service to access my database, will it solve the
Security problem?. Do I need to do anything else. Please let me know. If you
have any links which explain this problem please let me know.
> Thanks a lot .
> --
> Rajiv
>
>
> "Daryl" wrote:
>
> > Hi Rajiv,
> >
> > If you use the data access components in a application then full trust
is
> > required.
> > This is more than the full trust you can grant in a code group.
> > You need to extract the data access stuff into a web service and call
the
> > web service from the application.
> >
> > Hope this helps
> > Daryl
> >
> > "Rajiv" <Rajiv@discussions.microsoft.com> wrote in message
> > news:5B5DA65B-9BFA-4EA4-8F37-B78999EF60D7@microsoft.com...
> > > I tried to deploy an .exe file on a web server by copying the .exe
file to
> > a web directory in the web server. The web server is the intranet server
in
> > my company. I changed the level of trust for intranet in IE options to
Full
> > Trust.
> > > Yet it is giving me a SecurityException. It works fine when I run it
off
> > my local disk.
> > > It is a very simple application written in VB.net which has only one
form
> > which populates a datagrid with values from a database.
> > > Please let me know if I need to something else to make this zero touch
> > deployment work. Thanks in advance.
> > > --
> > > Rajiv
> >
> >
> >



Relevant Pages

  • Re: zero touch deployment problem
    ... If you use the data access components in a application then full trust is ... This is more than the full trust you can grant in a code group. ... a web directory in the web server. ... The web server is the intranet server in ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Breakpoint on a web service
    ... First let us clarify how the website works. ... hosted in a web server process. ... Development Server in Visual Studio, Visual Studio will create built-in web ... I suppose that your website and web service are all ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dataset / Pacifice Timezone Question
    ... >>>I have a Web Service on a Web Server on the East Coast ... >>> different time zone, the datetime columns have ... >>> between server and client. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: MFC Question
    ... >I basically have to another layer for the conversion to my app. ... >seems that I don't necessarily have to make a web service as I can simply ... If you have a web server that is external to your ... Good luck, Russ ...
    (microsoft.public.vc.mfc)
  • Re: How to create a Web Server?
    ... web service" which are quite different problems. ... A Web server is, in general, a fairly ... connection is established on the socket, you now have a connection on which you can send ... Select a camera from a list of all cameras ...
    (microsoft.public.vc.mfc)