Professional Web Applications Themes

Looking for files in wrong directory - ASP.NET General

Hi Setup: Windows 2003 Server Exchange 2003 Server ..NET framework 1.1 I have created an ASP.NET web application and registered it as the application to use when opening messages from the Exchange store. This works very well and the application can read the message's various properties. However, when I push a button in the web application that results in a postback to the server, I get the following message in the browser: Server Error in '/' Application. -------------------------------- Access denied to '\.\BackOfficeStorage\MyServer\Public Folders\My folder\Charlie\web.config'. Failed to start monitoring file changes. The file that is missing can be anything (e.g an ...

  1. #1

    Default Looking for files in wrong directory

    Hi

    Setup:

    Windows 2003 Server
    Exchange 2003 Server
    ..NET framework 1.1

    I have created an ASP.NET web application and registered
    it as the application to use when opening messages from
    the Exchange store. This works very well and the
    application can read the message's various properties.
    However, when I push a button in the web application that
    results in a postback to the server, I get the following
    message in the browser:

    Server Error in '/' Application.
    --------------------------------
    Access denied to '\\.\BackOfficeStorage\MyServer\Public
    Folders\My folder\Charlie\web.config'. Failed to start
    monitoring file changes.

    The file that is missing can be anything (e.g an aspx
    file), depending on the button pressed in the web
    application.

    My question is, why does it look for the web application
    files in the Exchange message store (i.e. from where the
    application is launched) and not where the files really
    reside?

    / Thanks in advance
    Poul Dam
    Systems Engineer
    Systematic Software Engineering
    Poul Guest

  2. #2

    Default Re: Looking for files in wrong directory

    Hi,

    Its security issue. server 2003 has very tight security rules. the user
    that activate asp.net (IIS_wpg) dont have rights to access Exchange .

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    Natty Guest

  3. #3

    Default Re: Looking for files in wrong directory

    Hi!

    Thanks for the answer, but I do not think that rights is
    the problem here. The problem is that it is looking for
    the web application files in the wrong directory -- the
    message store, from where the application is launched by
    double-clicking a message in OWA -- instead of where the
    web app is installed.

    / Poul Dam
     
    rules. the user 
    access Exchange . 
    *** 
    Poul Guest

  4. #4

    Default Re: Looking for files in wrong directory

    Hi,

    every time that i saw "Access denied" it was security issue. try to
    change the anonymous user to administrator JUST TO CHECK if its realy
    security issue.

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    Natty Guest

Similar Threads

  1. Replies: 0
    Last Post: December 4th, 03:20 PM
  2. Server pulls pages from wrong directory
    By Richard Bewley in forum Coldfusion Server Administration
    Replies: 1
    Last Post: April 4th, 07:54 PM
  3. wrong directory
    By Chris in forum PHP Development
    Replies: 3
    Last Post: October 28th, 04:17 AM

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