agriboy1980
asked on
Exchange 2003 OMA testing error
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="mycustomp age.htm"/>
</system.web>
</configuration>
What do you think what could be the problem?
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="mycustomp
</system.web>
</configuration>
What do you think what could be the problem?
ASKER
uff, can you explain it in details how should I do this pls?
thx
thx
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.
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.
ASKER
Hi,
I have done it but I still receive the very same thing.
Do you have any suggestions pls?
I have done it but I still receive the very same thing.
Do you have any suggestions pls?
No more detailed error?
ASKER
It seems like nothing has happened, maybe I should restart some services?
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?
Can you close the web.config and open it again, is the entry still there?
ASKER
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"
<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"
Ahhh sorry forgot to mention, the line is case sensitive, change off to Off
ASKER
yesss, now I got something different:
Denied access to the following path: C:\WINDOWS\Microsoft.NET\F ramework\v 1.1.4322\T emporary ASP.NET Files\oma\55aaeb43\5ef6625 7
[UnauthorizedAccessExcepti on: 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\5ef6625 7”.]
System.IO.__Error.WinIOErr or(Int32 errorCode, String str) +393
System.IO.Directory.Intern alCreateDi rectory(St ring fullPath, String path) +632
System.IO.Directory.Create Directory( String path) +195
System.Web.Compilation.Pre servedAsse mblyEntry. DoFirstTim eInit(Http Context context) +85
System.Web.Compilation.Pre servedAsse mblyEntry. EnsureFirs tTimeInit( HttpContex t context) +97
System.Web.Compilation.Pre servedAsse mblyEntry. GetPreserv edAssembly Entry(Http Context context, String virtualPath, Boolean fApplicationFile) +29
System.Web.UI.TemplatePars er.GetPars erCacheIte mFromPrese rvedCompil ation() +91
System.Web.UI.TemplatePars er.GetPars erCacheIte mInternal( Boolean fCreateIfNotFound) +217
System.Web.UI.TemplatePars er.GetPars erCacheIte mWithNewCo nfigPath() +125
System.Web.UI.TemplatePars er.GetPars erCacheIte m() +88
System.Web.UI.ApplicationF ileParser. GetCompile dApplicati onType(Str ing inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplication Factory.Co mpileAppli cation(Htt pContext context) +43
System.Web.HttpApplication Factory.In it(HttpCon text context) +485
System.Web.HttpApplication Factory.Ge tApplicati onInstance (HttpConte xt context) +170
System.Web.HttpRuntime.Pro cessReques tInternal( HttpWorker Request wr) +414
.
Denied access to the following path: C:\WINDOWS\Microsoft.NET\F
[UnauthorizedAccessExcepti
System.IO.__Error.WinIOErr
System.IO.Directory.Intern
System.IO.Directory.Create
System.Web.Compilation.Pre
System.Web.Compilation.Pre
System.Web.Compilation.Pre
System.Web.UI.TemplatePars
System.Web.UI.TemplatePars
System.Web.UI.TemplatePars
System.Web.UI.TemplatePars
System.Web.UI.ApplicationF
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.HttpRuntime.Pro
.
In IIS Basis settings for the virtual directory OMA also shows you which user is used to connect to this C:\WINDOWS\Microsoft.NET\F ramework\v 1.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.
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.
ASKER
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?
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?
could you post a printscreen, i dont understand completely what you are saying.
ASKER
here you are :)
exch.bmp
exch.bmp
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)
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)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
Thanks
Alan
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?