Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2007

Tip: Looking for answers? Try searching our database.

Winforms security issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
news.microsoft.com - 30 Oct 2007 05:35 GMT
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
Norman Yuan - 30 Oct 2007 15:08 GMT
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).

>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
[quoted text clipped - 5 lines]
>
> Bill
BillG - 30 Oct 2007 16:00 GMT
I just created a directory on the server and copied the files and dlls that
I needed to that directory.

> Explain more "install on the server" and "run on the server", since it
> runs on your machine.
[quoted text clipped - 24 lines]
>>
>> Bill
Norman Yuan - 30 Oct 2007 18:15 GMT
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!

>I just created a directory on the server and copied the files and dlls that
>I needed to that directory.
[quoted text clipped - 27 lines]
>>>
>>> Bill
BillG - 30 Oct 2007 19:13 GMT
It will normally be run from the clients machines.  I was just trying to
test it out first on the server.

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
[quoted text clipped - 32 lines]
>>>>
>>>> Bill

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.