|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Winforms security issueI have installed a winforms net 2 app on a windows 2000 server. I am just
trying to run it on the server at this point and I am getting an error as soon as the program tries to start. I know that its a security error which I can see from the error signature in the sendto Microsoft dialog box. I have even tried running the app as the administrator. Any suggestions. The app works fine on my machine. I know that it has to be with a security issue. Bill Explain more "install on the server" and "run on the server", since it runs
on your machine. Does the server have .NET framework installed? Does "run on the server" means some log onto the server computer and run the app? Does " install on the server" means all dependecies of the app is available on the computer? Or, you just place the app as file(s) on the server's folder as network share, and run the application from other computer(s). If it is the case, you did not install your app on the server, and you did not run the app on the server, you just load .NET code (app files) from somewhere outside the running computer, and you WILL get security error if you did not configure ..NET CAS (Code Access Security) for the running computer. This is how .NET is designed. I am going further on this topic before knowing what exactly you mean "on the server" and what type of app you are doing (Win Form or Web app). Show quote "news.microsoft.com" <billgo***@charter.net> wrote in message news:%23jrpP5qGIHA.280@TK2MSFTNGP03.phx.gbl... >I have installed a winforms net 2 app on a windows 2000 server. I am just >trying to run it on the server at this point and I am getting an error as >soon as the program tries to start. I know that its a security error which >I can see from the error signature in the sendto Microsoft dialog box. I >have even tried running the app as the administrator. Any suggestions. >The app works fine on my machine. I know that it has to be with a security >issue. > > Bill > > I just created a directory on the server and copied the files and dlls that
I needed to that directory. Show quote "Norman Yuan" <NoAddr***@NoEmail.fake> wrote in message news:eIU$V6vGIHA.4956@TK2MSFTNGP06.phx.gbl... > Explain more "install on the server" and "run on the server", since it > runs on your machine. > > Does the server have .NET framework installed? > Does "run on the server" means some log onto the server computer and run > the app? > Does " install on the server" means all dependecies of the app is > available on the computer? > > Or, you just place the app as file(s) on the server's folder as network > share, and run the application from other computer(s). If it is the case, > you did not install your app on the server, and you did not run the app on > the server, you just load .NET code (app files) from somewhere outside the > running computer, and you WILL get security error if you did not configure > .NET CAS (Code Access Security) for the running computer. This is how .NET > is designed. I am going further on this topic before knowing what exactly > you mean "on the server" and what type of app you are doing (Win Form or > Web app). > > > "news.microsoft.com" <billgo***@charter.net> wrote in message > news:%23jrpP5qGIHA.280@TK2MSFTNGP03.phx.gbl... >>I have installed a winforms net 2 app on a windows 2000 server. I am just >>trying to run it on the server at this point and I am getting an error as >>soon as the program tries to start. I know that its a security error >>which I can see from the error signature in the sendto Microsoft dialog >>box. I have even tried running the app as the administrator. Any >>suggestions. The app works fine on my machine. I know that it has to be >>with a security issue. >> >> Bill >> >> > Do you run the app on the server or do you actually run it on other computer
but only loading the application files (exe and dll) from the server's file system (a folder on the server box)? That makes things completely different! Show quote "BillG" <billgo***@charter.net> wrote in message news:5244AFB8-2193-4718-BCBE-A58D641F05C0@microsoft.com... >I just created a directory on the server and copied the files and dlls that >I needed to that directory. > > "Norman Yuan" <NoAddr***@NoEmail.fake> wrote in message > news:eIU$V6vGIHA.4956@TK2MSFTNGP06.phx.gbl... >> Explain more "install on the server" and "run on the server", since it >> runs on your machine. >> >> Does the server have .NET framework installed? >> Does "run on the server" means some log onto the server computer and run >> the app? >> Does " install on the server" means all dependecies of the app is >> available on the computer? >> >> Or, you just place the app as file(s) on the server's folder as network >> share, and run the application from other computer(s). If it is the case, >> you did not install your app on the server, and you did not run the app >> on the server, you just load .NET code (app files) from somewhere outside >> the running computer, and you WILL get security error if you did not >> configure .NET CAS (Code Access Security) for the running computer. This >> is how .NET is designed. I am going further on this topic before knowing >> what exactly you mean "on the server" and what type of app you are doing >> (Win Form or Web app). >> >> >> "news.microsoft.com" <billgo***@charter.net> wrote in message >> news:%23jrpP5qGIHA.280@TK2MSFTNGP03.phx.gbl... >>>I have installed a winforms net 2 app on a windows 2000 server. I am >>>just trying to run it on the server at this point and I am getting an >>>error as soon as the program tries to start. I know that its a security >>>error which I can see from the error signature in the sendto Microsoft >>>dialog box. I have even tried running the app as the administrator. Any >>>suggestions. The app works fine on my machine. I know that it has to be >>>with a security issue. >>> >>> Bill >>> >>> >> > It will normally be run from the clients machines. I was just trying to
test it out first on the server. Bill Show quote "Norman Yuan" <NoAddr***@NoEmail.fake> wrote in message news:OO%23oWixGIHA.1164@TK2MSFTNGP02.phx.gbl... > Do you run the app on the server or do you actually run it on other > computer but only loading the application files (exe and dll) from the > server's file system (a folder on the server box)? That makes things > completely different! > > > "BillG" <billgo***@charter.net> wrote in message > news:5244AFB8-2193-4718-BCBE-A58D641F05C0@microsoft.com... >>I just created a directory on the server and copied the files and dlls >>that I needed to that directory. >> >> "Norman Yuan" <NoAddr***@NoEmail.fake> wrote in message >> news:eIU$V6vGIHA.4956@TK2MSFTNGP06.phx.gbl... >>> Explain more "install on the server" and "run on the server", since it >>> runs on your machine. >>> >>> Does the server have .NET framework installed? >>> Does "run on the server" means some log onto the server computer and run >>> the app? >>> Does " install on the server" means all dependecies of the app is >>> available on the computer? >>> >>> Or, you just place the app as file(s) on the server's folder as network >>> share, and run the application from other computer(s). If it is the >>> case, you did not install your app on the server, and you did not run >>> the app on the server, you just load .NET code (app files) from >>> somewhere outside the running computer, and you WILL get security error >>> if you did not configure .NET CAS (Code Access Security) for the running >>> computer. This is how .NET is designed. I am going further on this topic >>> before knowing what exactly you mean "on the server" and what type of >>> app you are doing (Win Form or Web app). >>> >>> >>> "news.microsoft.com" <billgo***@charter.net> wrote in message >>> news:%23jrpP5qGIHA.280@TK2MSFTNGP03.phx.gbl... >>>>I have installed a winforms net 2 app on a windows 2000 server. I am >>>>just trying to run it on the server at this point and I am getting an >>>>error as soon as the program tries to start. I know that its a security >>>>error which I can see from the error signature in the sendto Microsoft >>>>dialog box. I have even tried running the app as the administrator. >>>>Any suggestions. The app works fine on my machine. I know that it has >>>>to be with a security issue. >>>> >>>> Bill >>>> >>>> >>> >> > |
|||||||||||||||||||||||