Search

You searched for the word(s): userid:331216

Matching Posts

  • Trouble Installing .Net Updates

    Something weird has happened on my .Net system ... a long time ago I downloaded several security updates for .Net. It's been so long I don't recall why I didn't install them at that time. In any event when I do a Windows Update now it reports that these four updates need to be installed but it noticies that they are already downloaded and just starts the installation process ... but the installtion of each update fails. I get a summary mesage saying the installation of each of the foloiwng
    Posted to Installation and Setup (Forum) by fripper on 9/24/2007
  • Re: File Access at Medium Trust Level

    I was in the computer systems and operations business for 40 years before retiring a few years ago ... and I have NEVER had such a frustrating and perplexing a programming problem as I have had with trying to figure out how to do simple file IO operations under .Net 2.0 at Medium Trust level. I simply cannot get help from any quarter ... my sense is that .Net 2.0 at Medium Trust is MUCH more restrictive than .Net 1.1 but I don't know why people aren't up in arms over it (maybe because everyone
  • Access to IO Functions from .Net 2.0 at Medium Trust

    I have a VB 2005 web site running on a server under .Net 2.0 at Medium Trust level. When the site calls freefile() in prepartion for doing some file IO I get a security.permission exception. I believe this is caused by the Medium Trust level not allowing me to call "unmanaged" code ... apparently freefile() is "unmanaged". Is there some way that I can access freefile and all the other IO functions (fileopen, fileget, etc.) from a Medium Trust site running under .Net 2.0 and not cause this exception
    Posted to Configuration and Deployment (Forum) by fripper on 2/27/2007
  • File Access at Medium Trust Level

    I am trying to get a web site that was originally created with VB 2003 and then converted to VB 2005 and .Net 2.0 to run. It works fine on my development machine but when I upload it to the server it fails. The problem has to do with running at the Medium Trust level (which the server I am using insists I do). As I understand it (even in Medium Trust) I should have full read/write access to files within my virtual directory yet whenever I try to open files in, say, the _private directory (which is
  • Re: Unmanaged Code ... what is it?

    Thanks for the reply Vivek ... but I have one big question. You say that "all file handling" are "unmanaged" ... and hence would cause a security exception under Medium Trust level. My question is how DO I do file I/O on a web site running at Medium Trust? Surely I can read/write files within the site's virtual directory ... if I cannot use things like freefile(), fileopen,fileget, fileclose, etc. then how DO I do IO on a web site? This problem has been bugging me for two weeks ... I have not found
    Posted to Getting Started (Forum) by fripper on 2/24/2007
  • Unmanaged Code ... what is it?

    In running a VB 2005 web site (converted from VB 2003) under .Net 2.0 the host server I use requires that I run at Medium Trust level. When I do this I get a security permission exception when I access a data file in my _private directory using a call to freefile() to get a file number, fileopen to open a random file, fileget and finally fileclose(). As I read the literature it is likely that the exception is caused by my calling "unmanaged code". I certainly have heard the terms managed and unmanaged
    Posted to Getting Started (Forum) by fripper on 2/23/2007
  • Migrating to 2005 and Getting Security Exception

    I am converting a web site from VB 2003 to VB 2005 and .Net 2.0. I am having problems getting System.Security.SecurityException when trying to access a data file located in my wwwroot/_private directory (which is located in my virtual directory ... the directory that contains my site). When I use the Freefile() function to get a file number in preparation to open the file I want to use the exception is raised. Strangely, when I avoid using Freefile() and use IO.streamreader I can access the file
  • Re: Security Exception (VB 2003 to VB 2005 Conversion)

    As I investigsate this propblem further I have determined the following ... any page in the site that accesses at least one data file in the _private directory will cause the security exeption to be thrown when the END SUB statement is executed. Any page that does not access a file in _private works fine.
  • Security Exception (VB 2003 to VB 2005 Conversion)

    I am at my wits end trying to get a VB 2003/.Net 1.1 web site converted to VB 2005/Net 2.0. I am using Visual Studio 2005. I have a ton of questions about the conversion process [eg. What is all this business about a Web Application Project option?] but my immediate problem seems straightforward although I cannot fix it. After converting the site on my decvelopment machine [using the conversion wizard] I am able to compile/debug/run the site under IIS but when I upload the site to the server I use
  • Re: Security Exception in .Net 2.0

    Al ... Thanks for your reply. I think that you are probably correct about my referencing .Net 1.x rather than .Net 2.0 but I still don't understand how to fix it. When I open the web.config file in Notepad I do not see any references to .Net 1.x or 2.0 explicitly. I do find the following element (which I am suspicious of): <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705"> My guess is the "v1.0.3705" is referring to the version of .Net framework but I am not sure
    Posted to Security (Forum) by fripper on 2/16/2007
Page 1 of 4 (34 items) 1 2 3 4 Next >