ASP.net using UNC references and IIS 5.0

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

  1. #1

    Default ASP.net using UNC references and IIS 5.0

    I am having trouble getting ANY asp.net application (either .aspx or .asmx)
    working when IIS is configured to use a "share located on another computer"
    via a UNC reference. Any .aspx or .asmx generates the following error when
    I try to browse to the page:

    Parser Error Message: Could not load type 'dummyASPX.Global'.

    Source Error:

    Line 1: <%@ Application Codebehind="Global.asax.vb"
    Inherits="dummyASPX.Global" %>


    Source File: \\jrahqa491689wk\issdwwwroot\dummyASPX\global.asax Line: 1

    However, when I set IIS to use "A directory located on this computer" for
    it's content, and hit the same .aspx or .asmx application - it runs fine.

    This particular test, called dummyASPX is just an .aspx page with a label
    control which is set to "TEST", so there is nothing complex going on as far
    as references or anything. I'm using IIS 5.0 on a Win 2K server, and I have
    tried a UNC share on a remote machine, as well as just as pointing to a
    share on my local server via UNC name.

    I have given the account specified in the IIS "connect as..." field full
    control over the resource that the UNC name points to, as well as assigned,
    "Act As Part of the Operating System" rights to the account on the IIS
    box... I even gave it full control over the ASP.net temp files folder... but
    nothing seems to resolve this issue.

    Any ideas would be greatly appreciated.

    Erik Lindeblom
    Information Tech. Application Specialist


    Erik Lindeblom Guest

  2. Similar Questions and Discussions

    1. Web References
      hi, There are 10 machines which run the same webservice. I have 10 webreferences in my client. Only during runtime, will i decide which webservice...
    2. Getting references
      How does one get a reference to a previously created object? Here's the scenario. I'm writing a web application, so there's a listener object...
    3. [PHP-DEV] References
      The current support for references is mediocre at best. For instance: class foobar { var $variable; function foobar() { $variable =...
    4. references help
      Hi, I need some desperate help with my references usage in the code below. I'd appreciate the help enormously. Following is the input in the...
    5. references
      Ok lets see I have the following two functions one calls the other Function a (&$myref) { ...something... then calls function b b($myref); ...
  3. #2

    Default Re: ASP.net using UNC references and IIS 5.0

    You need also to give full access permissions to
    all dll files coming from this share.
    You can do it from Adminirtative Tools -> Microsft .net framework
    configuration tool.
    HTH

    "Erik Lindeblom" <lindeed@dshs.wa.gov> wrote in message
    news:uxVa4w3WDHA.1480@tk2msftngp13.phx.gbl...
    > I am having trouble getting ANY asp.net application (either .aspx or
    ..asmx)
    > working when IIS is configured to use a "share located on another
    computer"
    > via a UNC reference. Any .aspx or .asmx generates the following error
    when
    > I try to browse to the page:
    >
    > Parser Error Message: Could not load type 'dummyASPX.Global'.
    >
    > Source Error:
    >
    > Line 1: <%@ Application Codebehind="Global.asax.vb"
    > Inherits="dummyASPX.Global" %>
    >
    >
    > Source File: \\jrahqa491689wk\issdwwwroot\dummyASPX\global.asax Line: 1
    >
    > However, when I set IIS to use "A directory located on this computer" for
    > it's content, and hit the same .aspx or .asmx application - it runs fine.
    >
    > This particular test, called dummyASPX is just an .aspx page with a label
    > control which is set to "TEST", so there is nothing complex going on as
    far
    > as references or anything. I'm using IIS 5.0 on a Win 2K server, and I
    have
    > tried a UNC share on a remote machine, as well as just as pointing to a
    > share on my local server via UNC name.
    >
    > I have given the account specified in the IIS "connect as..." field full
    > control over the resource that the UNC name points to, as well as
    assigned,
    > "Act As Part of the Operating System" rights to the account on the IIS
    > box... I even gave it full control over the ASP.net temp files folder...
    but
    > nothing seems to resolve this issue.
    >
    > Any ideas would be greatly appreciated.
    >
    > Erik Lindeblom
    > Information Tech. Application Specialist
    >
    >

    Anatoly 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