.NET and 'Administrative Rights'

Posted on 2005-05-12
Last Modified: 2010-04-23
We've developed a Visual Basic 6 application (connecting to an Access database) that we're trying to market, but we frequently run into problems where 'Administrative Rights' are a problem and trying to get a software package approved through IT Departments is frequently becoming a challenge.

I'm trying to get my hands around the whole .NET concept. If we were to upgrade/rewrite the application down the road in .NET, would that mean that any computer that had the .NET Framework installed would be able to run the application without needing an Install routine (we currently use Installshield X)? I'm guessing the install routine is what most IT managers worry about (some stray DLL causing system instability). Our application uses mostly standard Microsoft components (Graphs, DAO, Exporting to Excel/Word).

I presume 'Administrative Rights' would be necessary to run the application, though.

We've used Citrix before and that's worked well, but the costs are so high per user.

Also, how has everyone's experience been upgrading applications from VB6 to VB.NET?

Thanks guys!

Kirk Hilles
Question by:kirkhilles
    LVL 38

    Accepted Solution

    Administrative rights aren't necessary to run the programs, however assembly security policies may have to be altered when deploying, and that is the administrators job.

    Deployment can be as easy as xcopy deployment.  Even third party components will generally allow this option when they are refererenced with Copy Local = True.  However, security policies have to be in place to allow your application to function properly.  For example, an untrusted assembly will not be allowed to access a Sql Server... the policy must be adjusted to either give trust to the assembly, or give all assemblies a certain level of trust.  

    >Also, how has everyone's experience been upgrading applications from VB6 to VB.NET?

    For us, it required a total rewrite.  The process to upgrade existing code would have resulted in a lousy code base and, to my thought, would have limited our options for future changes.
    LVL 38

    Expert Comment

    Security policies for the .NET runtime are described in the documentation that comes with the runtime SDK.
    LVL 3

    Expert Comment

    Well I rolled out my first Net app to server location and Security told me to get stuffed. So I developed a wee loader exe that sits on the the drive... and copys all files from a folder (actual app exe and word dll) down to C drive... and runs it from there.

    If you change the exe then you put it in the Network folder... and loader checks to see if date stamp is newer... if it is its copied down

    I did not have time to learn Security polices... and did not want to battle Administrator to change it.

    This is short term solution that worked for me

    cheers George

    Author Comment

    Thanks for your help!

    Kirk Hilles

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now