Professional Web Applications Themes

Compilation Error - ASP.NET Web Services

Hi all, Sometimes after building a project, or uploading it to the server, when we go to view the page, we get the following error. To overcome this we have to end the aspnet_wp.exe process and then it works fine. But it is annoying to terminal into the server and do this. Is there a possible cause for this error, and hopefully a fix? Thanks!! Krissy Server Error in '/administration' Application. ---------------------------------------------------------------------------- ---- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your ...

  1. #1

    Default Compilation Error

    Hi all,

    Sometimes after building a project, or uploading it to the server, when we
    go to view the page, we get the following error.

    To overcome this we have to end the aspnet_wp.exe process and then it works
    fine.

    But it is annoying to terminal into the server and do this.

    Is there a possible cause for this error, and hopefully a fix?

    Thanks!!

    Krissy




    Server Error in '/administration' Application.
    ----------------------------------------------------------------------------
    ----

    Compilation Error
    Description: An error occurred during the compilation of a resource required
    to service this request. Please review the following specific error details
    and modify your source code appropriately.

    Compiler Error Message: BC31011: Unable to load referenced library
    'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
    files\administration\a6343a9b\5682fec7\assembly\dl 2\5e40f7ec\f0600eb1_7626c3
    01\admin.net.dll': Access is denied.

    Source Error:



    [No relevant source lines]


    Source File: vbc : Line: 0



    Krissy Guest

  2. #2

    Default Re: Compilation Error

    This is probably happening due to the DLL file being locked in some way.
    Usually this happens because the file is in use by some process. I'm not
    sure what you might be doing to cause this, however.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Complex things are made up of
    lots of simple things.

    "Krissy" <krissi___hotmail.com> wrote in message
    news:3f28b01a$1quokka.wn.com.au...
    > Hi all,
    >
    > Sometimes after building a project, or uploading it to the server, when we
    > go to view the page, we get the following error.
    >
    > To overcome this we have to end the aspnet_wp.exe process and then it
    works
    > fine.
    >
    > But it is annoying to terminal into the server and do this.
    >
    > Is there a possible cause for this error, and hopefully a fix?
    >
    > Thanks!!
    >
    > Krissy
    >
    >
    >
    >
    > Server Error in '/administration' Application.
    > --------------------------------------------------------------------------
    --
    > ----
    >
    > Compilation Error
    > Description: An error occurred during the compilation of a resource
    required
    > to service this request. Please review the following specific error
    details
    > and modify your source code appropriately.
    >
    > Compiler Error Message: BC31011: Unable to load referenced library
    > 'c:\winnt\microsoft.net\framework\v1.1.4322\tempor ary asp.net
    >
    files\administration\a6343a9b\5682fec7\assembly\dl 2\5e40f7ec\f0600eb1_7626c3
    > 01\admin.net.dll': Access is denied.
    >
    > Source Error:
    >
    >
    >
    > [No relevant source lines]
    >
    >
    > Source File: vbc : Line: 0
    >
    >
    >

    Kevin Spencer Guest

  3. #3

    Default Compilation Error

    Please help me with this problem. Thanks

    Regards
    Robin



    Description: An error occurred during the compilation of a resource required
    to service this request. Please review the following specific error details
    and modify your source code appropriately.

    Compiler Error Message: BC30002: Type 'NameSpaceHersh.SqlService' is not
    defined.

    Source Error:



    Line 36: End SubLine 37: Sub ReBind()Line 38: Dim t As
    NameSpaceHersh.SqlService = New NameSpaceHersh.SqlService()Line 39:
    Dim vsql as stringLine 40: Dim ds as DataSet






    Robin Guest

  4. #4

    Default Re: Compilation Error

    Hi,

    From what you have specified it looks like you have not added reference to
    the assembly which has 'NameSpaceHersh.SqlService' defined.

    Also, in the following line

    NameSpaceHersh.SqlService = New NameSpaceHersh.SqlService()Line 39:

    You have not specified the object reference. It should be

    NameSpaceHersh.SqlService someObj = New NameSpaceHersh.SqlService();

    Regards
    Akila
    [MVP | MCAD]


    Saurabh Nandu Guest

Similar Threads

  1. error message: Microsoft JScript compilation error '800a03ec'
    By blacksmith77 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: November 15th, 02:47 PM
  2. ASP.NET Compilation Error
    By Michael Anderson in forum ASP.NET Web Services
    Replies: 3
    Last Post: June 10th, 03:24 PM
  3. Replies: 4
    Last Post: September 9th, 02:55 AM
  4. VB compilation error in ASP page
    By Raphael Gluck in forum ASP
    Replies: 2
    Last Post: August 13th, 10:27 AM
  5. Compilation Error at runtime
    By Daniel Melo in forum ASP.NET General
    Replies: 0
    Last Post: July 15th, 02:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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