?
Solved

is OMA still using v1.1 ?

Posted on 2009-02-18
21
Medium Priority
?
870 Views
Last Modified: 2012-05-06
With OMA I have always a blank page.
I dont know what to do more!
0
Comment
Question by:Eprs_Admin
  • 12
  • 8
21 Comments
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 23670352
Hard to say what's wrong if you only get a blank page.  Can you see the /OMA requests in your IIS log file?
0
 

Author Comment

by:Eprs_Admin
ID: 23671043
Yes, I see the requests in the logfiles.
Can we chekc together, why I just recieve a blank page for OMA ?

For OMA I get always this error:
An unknown error occurred while processing the current request:
Message: Method not found: 'System.String System.DirectoryServices.DirectoryEntry.get_Password()'.
Source: Microsoft.Exchange.OMA.Preferencing
Stack trace:
   at Microsoft.Exchange.OMA.Preferencing.AdUserObject.get_globalWirelessEnable()
   at Microsoft.Exchange.OMA.Preferencing.AdUserObject.get_UserIsWirelesslyEnabled()
   at Microsoft.Exchange.OMA.Preferencing.OmaUserInfo.get_UserIsWirelesslyEnabled()
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)

Message: Exception of type 'Microsoft.Exchange.OMA.DataProviderInterface.ProviderException' was thrown.
EventMessage:
UserMessage: A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
Source: Microsoft.Exchange.OMA.UserInterface
Stack trace:
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)
   at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
   at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
   at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
0
 
LVL 31

Assisted Solution

by:LeeDerbyshire
LeeDerbyshire earned 800 total points
ID: 23671354
In IIS Manager, have a look at the OMA Virtual Directory.  On the ASP.Net tab, see which version it is configured to use.  I think it should be v1 (as you may suspect, from the title of your original message).
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 

Author Comment

by:Eprs_Admin
ID: 23671555
I have version 2.0.50727 installed.
I tried to switch it back to v1.
But later on it is swtiched back automatically to v2 . Why?

All other settings in the ISS are v1.

But my error in eventlog is now:

An unknown error occurred while processing the current request:
Message: Unrecognized attribute 'SessionStateHistorySize'. Note that attribute names are case-sensitive. (D:\Exchsrvr\OMA\Browse\web.config line 99)
Source: System.Configuration
Stack trace:
   at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at System.Web.HttpContext.GetSection(String sectionName)
   at System.Web.UI.MobileControls.ControlsConfig.GetFromContext(HttpContext context)
   at System.Web.UI.MobileControls.MobilePage.get_RequestingDeviceConfig()
   at System.Web.UI.MobileControls.MobilePage.get_Adapter()
   at System.Web.UI.MobileControls.MobilePage.OnUnload(EventArgs e)
   at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
   at System.Web.UI.Page.UnloadRecursive(Boolean dispose)
   at System.Web.UI.Page.ProcessRequestCleanup()
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.oma_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Maybe ASP.NET is the problem ?
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 23671750
Try temporarily renaming the OMA\Browse\web.config file to web.config.old .  There seems to be something in there that isn't compatible with its own operation.  Maybe something else, like SharePoint, got installed on the server?
0
 

Author Comment

by:Eprs_Admin
ID: 23671937
ok, I have renamed.
Sharepoint is not installed on exchange.
Whats now to test ?
0
 

Author Comment

by:Eprs_Admin
ID: 23671967
now I got this error:
  A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.

AppEventlog:
An unknown error occurred while processing the current request:
Message: Value cannot be null.
Parameter name: assemblyString
Source: mscorlib
Stack trace:
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)

Message: Exception of type 'Microsoft.Exchange.OMA.DataProviderInterface.ProviderException' was thrown.
EventMessage:
UserMessage: A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator.
Source: Microsoft.Exchange.OMA.UserInterface
Stack trace:
   at Microsoft.Exchange.OMA.UserInterface.Global.Session_Start(Object sender, EventArgs e)
   at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
   at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
   at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


SystemEventlog:
A process serving application pool 'ExchangeMobileBrowseApplicationPool' terminated unexpectedly. The process id was '7488'. The process exit code was '0xe0434f4d'.


0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 23672019
Are you able to reset OMA to v1 after renaming the file?
0
 

Author Comment

by:Eprs_Admin
ID: 23672786
When I rename the file and switch back to v1.
After the test, it is switched back to v2 automatically.

I am using the testtool : https://www.testexchangeconnectivity.com/
And the check tells me :
      Exchange Activesync returned an HTTP 500 response.

What about the configfile, put it back ?
0
 
LVL 65

Assisted Solution

by:Mestha
Mestha earned 800 total points
ID: 23672992
I have seen this where asp.net version is set on the web site itself, rather than on the virtual directories.

-M
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 23674100
The config file you have is correct, so it should go back if changing it didn't help.  You will somehow need to get it to accept the v1 setting.
0
 

Author Comment

by:Eprs_Admin
ID: 23678700
The default website has v1 but always the OMA has v2
How to change it permanently?
All other virtual directories have v1.
Strange or ?
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 23681010
How about if you create a new VDir (called OMA2, or something like that)?  I don't think there's anything special about it (like there is with the Exchange VDir, which can't be created manually).  With luck, it will retain the v1 setting.

Or, you could delete the original, and recreate it with this:
http://support.microsoft.com/kb/883380
but I'd prefer to just try creating a copy manually, first.
0
 

Author Comment

by:Eprs_Admin
ID: 23731357
But is it sure, that OMA just accepts ASP v1 ??
0
 

Author Comment

by:Eprs_Admin
ID: 23731633
I have installed a new virtual directory called OMA2.
But this directory is empty. What to do with it ?
I have seen, this OMA2 folder is now ASP version 1

When I log in to https://domain.com/oma2 I get the content of the folder directory.

Please help me here.

George
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 23733325
How did you create the OMA2 VDir?  If you did it in IIS Manager, I think that some of the settings (like the source folder path) have not been correctly set to the same value as the original.  But I think that if you do it in Exchange System Manager (under Protocols/HTTP/Exchange Virtual Server), then the settings will be made automatically.
0
 

Author Comment

by:Eprs_Admin
ID: 23733337
please write it down how to do it !
0
 

Author Comment

by:Eprs_Admin
ID: 23733400
I created the OMA3 Vdir.
But automatically the v2 from ASP.NET is assigned.
And after the login I get this error:

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

Collection was modified; enumeration operation may not execute.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.  

Stack Trace:


[InvalidOperationException: Collection was modified; enumeration operation may not execute.]
   System.Collections.ArrayListEnumeratorSimple.MoveNext() +2833870
   Microsoft.Exchange.OMA.Tracing.OmaTrace.set_DebugOutputTracing(Boolean value) +167
   Microsoft.Exchange.OMA.UserInterface.Global..ctor() +262
   ASP.global_asax..ctor() +5

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +268
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +200
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +114
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +350

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 23735605
Sorry for the delay - I was away for a few hours.  Anyway, it would be good to see if your new OMA3 directory will accept the ASP.Net v1 setting, or if it keeps getting reset to v2 like your original one does.
0
 

Author Comment

by:Eprs_Admin
ID: 23742517
ok I did it.
now the ASP.NET version is v1.
But its a long description from MS to create it correctly for OMA.

0
 

Accepted Solution

by:
Eprs_Admin earned 0 total points
ID: 23743420
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

807 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