Solved

Exchange 2003 OMA testing error

Posted on 2014-01-05
17
315 Views
Last Modified: 2014-04-22
Hi All,

I have a problem with Exchange 2003. When I wanted to access the OMA through web browser using a PC I received the following error:

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 
What do you think what could be the problem?
0
Comment
Question by:agriboy1980
17 Comments
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757186
Hi

This does not look like the error you recieved but more a hint to get more detailed errors by adding <customErrors mode="Off"/> to the web.config. Did you try?
0
 

Author Comment

by:agriboy1980
ID: 39757197
uff, can you explain it in details how should I do this pls?

thx
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757202
Hi

Open IIS and walk to the OMA entry, click it and select basic settings which will show you where the directory is on the harddisk.
Browse to this directory and open web.config (might require an elevated (as admin) rights tekst editor) then below the entry <system.web> you enter <customErrors mode="Off"/> like your posts mentions. Save it and open up the page to see what error it throws.
0
 

Author Comment

by:agriboy1980
ID: 39757213
Hi,

I have done it but I still receive the very same thing.
Do you have any suggestions pls?
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757214
No more detailed error?
0
 

Author Comment

by:agriboy1980
ID: 39757219
It seems like nothing has happened, maybe I should restart some services?
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757222
Nope, when IIS sees the web.config changed it will automatically restart the service.
Can you close the web.config and open it again, is the entry still there?
0
 

Author Comment

by:agriboy1980
ID: 39757226
Yepp, check it below.

<system.web>
            <!--  DYNAMIC DEBUG COMPILATION
              Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
              false will improve runtime performance of this application.
              Set compilation debug="true" to insert debugging symbols (.pdb information)
              into the compiled page. Because this creates a larger file that executes
              more slowly, you should set this value to true only when debugging and to
              false at all other times. For more information, refer to the documentation about
              debugging ASP.NET files.
      -->
            <compilation defaultLanguage="c#" debug="false" />
            <!--  CUSTOM ERROR MESSAGES
              Set mode="on" or "remoteonly" to enable custom error messages, "off" to disable. Add
              <error> tags for each of the errors you want to handle.
      -->
            <customErrors mode="off" />
            <!--  AUTHENTICATION
              This section sets the authentication policies of the application. Possible modes are "Windows", "Forms",
              "Passport" and "None"
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757227
Ahhh sorry forgot to mention, the line is case sensitive, change off to Off
0
 

Author Comment

by:agriboy1980
ID: 39757231
yesss, now I got something different:

Denied access to the following path: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\55aaeb43\5ef66257

[UnauthorizedAccessException: Megtagadva a következo elérési út hozzáférése: „C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\55aaeb43\5ef66257”.]
   System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
   System.IO.Directory.CreateDirectory(String path) +195
   System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85
   System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97
   System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
   System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91
   System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +217
   System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
   System.Web.UI.TemplateParser.GetParserCacheItem() +88
   System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
   System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
   System.Web.HttpApplicationFactory.Init(HttpContext context) +485
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
.
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757240
In IIS Basis settings for the virtual directory OMA also shows you which user is used to connect to this C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

User or application pool, if you use a user here it should have access to the path. ( check to click on test settings)
If you use application pool to connect check its user in application pools-> the pool used by OMA and check advanced options. If the user is NETWORKSERVICE try to change this to Local System and try the website again.
0
 

Author Comment

by:agriboy1980
ID: 39757287
At the OMA properties/folder security I found something that is might not good.
There is an Authentication tab and there "anonymus access.." is unchecked where the user is greyed out (IUSR_MAIL)
What do you think, should I check that?
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757322
could you post a printscreen, i dont understand completely what you are saying.
0
 

Author Comment

by:agriboy1980
ID: 39757331
here you are :)
exch.bmp
0
 
LVL 19

Expert Comment

by:Patricksr1972
ID: 39757344
From memory i only select basic authentication, not anonymous and not integrated Windows. You can try it. BUT: the error states the user has no directory rights to that path so that is where i would focus on.

As you go, note the changes you have made. Once you find the solution it is handy to revert some actions. (like the customErrors=Off, you dont want that staying there)
0
 
LVL 1

Accepted Solution

by:
sameert earned 500 total points
ID: 39758626
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 40014459
Can you please advise what in the link posted above you followed that made this work for you in case the link breaks in the future.

Thanks

Alan
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now