bad file name or number

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: bad file name or number

    I'm assuming your VB.NET dll does some kind of file access.
    When it runs from ASP.NET, you're (by default) running under the ASPNET user
    account.
    Make sure this user account has the necessary permissions to the folder(s)
    that your DLL is accessing.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Rajesh Ranglani" <rajeshr@infobahnlimited.com> wrote in message
    news:uD%23fpq5WDHA.2568@tk2msftngp13.phx.gbl...
    > Hi
    > I have created an ASP .NET application which invokes a VB.NET dll
    > On my development server this application woks fine but when i install it
    > (using the installer or even manually)
    > on the production server it gives me an error
    > system.io.exception bad file name or number
    >
    > Tried to resolve this error but have been going round in circles
    > can some one help me break this loop
    >
    > The production server has the .net Framework installed version 1.03##
    > tried after installing version 1.1 but to no avail
    >
    > Please help me
    >
    >

    Steve C. Orr, MCSD Guest

  2. Similar Questions and Discussions

    1. Count Number of Downloads for PDF File
      Is there a way using Cold Fusion to count the number of times a particular PDF (or Word) file is downloaded by site visitors? Thanks
    2. install HTML::Template - Problem reading cache file / Bad file number
      i get the following error when i try to install HTML::Template to my local space, ie, not as root: +---------------------------- % perl -MCPAN...
    3. Can I display a month from a number in a csv file?
      Greetings from a second day newbie to php. I think I have figured out a way to explode a field in a csv file (like 11-08-03) and implode it as...
    4. File system number restriction on AIX
      Alejandra Recio <arecio@campus.mty.itesm.mx> wrote in message news:<3F4E6193.C5BFB7F@campus.mty.itesm.mx>... You can create 512 LV's on a VG, so...
    5. select() max number of file descriptors
      It seems that my system's select call has a limitation of 1024 open file descriptors. I need to learn about this restriction as I am programming...
  3. #2

    Default Re: bad file name or number

    Thanks man
    it worked like acharm
    had to remove all the writeofile calls
    and the dll is perfect
    i am really grateful
    Thanks again
    Rajesh
    "Rajesh Ranglani" <rajeshr@infobahnlimited.com> wrote in message news:...
    > Hi
    > I have created an ASP .NET application which invokes a VB.NET dll
    > On my development server this application woks fine but when i install it
    > (using the installer or even manually)
    > on the production server it gives me an error
    > system.io.exception bad file name or number
    >
    > Tried to resolve this error but have been going round in circles
    > can some one help me break this loop
    >
    > The production server has the .net Framework installed version 1.03##
    > tried after installing version 1.1 but to no avail
    >
    > Please help me
    >
    >

    Rajesh Ranglani Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139