MyPhone Interface for users

Status
Not open for further replies.

jsmack79

Joined
Jul 31, 2009
Messages
12
Reaction score
0
The MyPhone web interface won't work on my system.

I'm using 3CX 7.1.7139.

This is on a Windows Vista Pro machine using Cassini.

It is the commercial version of 3cx.


When i try and get to the MyPhone application from the server computer, http://localhost:5481/myphone, i get the following:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 155: by Microsoft that offers a single logon and core profile services for member sites.
Line 156: -->
Line 157: <authentication mode="Forms">
Line 158: <forms cookieless="UseCookies" defaultUrl="UserMain.wgx" enableCrossAppRedirects="false" loginUrl="Logout.aspx" name="myPhone" protection="All" requireSSL="false" slidingExpiration="true" timeout="10"/>
Line 159: </authentication>

Source File: C:\ProgramData\3CX\Data\Http\Interface\myphone\web.config Line: 157

I can't even see the error when I'm using a different computer... as though MyPhone isn't available to other machines.

Any help would be appreciated.

Thanks.
 
Here's more information from the Event Viewer on my XP business machine:

Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 8/10/2009 1:45:05 PM
Event ID: 1310
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: 3cx-PC
Description:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 8/10/2009 1:45:05 PM
Event time (UTC): 8/10/2009 5:45:05 PM
Event ID: 36c5b46254de48e7a76694f510106d08
Event sequence: 6
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: 641638e8-3-128943997780422433
Trust level: Full
Application Virtual Path: /
Application Path: C:\ProgramData\3CX\Data\Http\Interface\
Machine name: 3CX-PC

Process information:
Process ID: 4080
Process name: UltiDevCassinWebServer2a.exe
Account name: NT AUTHORITY\SYSTEM

Exception information:
Exception type: ConfigurationErrorsException
Exception message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\ProgramData\3CX\Data\Http\Interface\myphone\web.config line 157)

Request information:
Request URL: http://localhost:5481/MyPhone/index.aspx
Request path: /MyPhone/index.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM

Thread information:
Thread ID: 17
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
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.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_Identity()
at System.Web.HttpContext.get_ImpersonationToken()
at System.Web.ClientImpersonationContext.Start(HttpContext context, Boolean throwOnError)
at System.Web.HttpApplication.ThreadContext.SetImpersonationContext()
at System.Web.HttpApplication.ThreadContext.Enter(Boolean setImpersonationContext)
at System.Web.HttpApplication.OnThreadEnterPrivate(Boolean setImpersonationContext)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)


Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1310</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-08-10T17:45:05.000Z" />
<EventRecordID>712</EventRecordID>
<Channel>Application</Channel>
<Computer>3cx-PC</Computer>
<Security />
</System>
<EventData>
<Data>3008</Data>
<Data>A configuration error has occurred.</Data>
<Data>8/10/2009 1:45:05 PM</Data>
<Data>8/10/2009 5:45:05 PM</Data>
<Data>36c5b46254de48e7a76694f510106d08</Data>
<Data>6</Data>
<Data>1</Data>
<Data>0</Data>
<Data>641638e8-3-128943997780422433</Data>
<Data>Full</Data>
<Data>/</Data>
<Data>C:\ProgramData\3CX\Data\Http\Interface\</Data>
<Data>3CX-PC</Data>
<Data>
</Data>
<Data>4080</Data>
<Data>UltiDevCassinWebServer2a.exe</Data>
<Data>NT AUTHORITY\SYSTEM</Data>
<Data>ConfigurationErrorsException</Data>
<Data>It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\ProgramData\3CX\Data\Http\Interface\myphone\web.config line 157)</Data>
<Data>http://localhost:5481/MyPhone/index.aspx</Data>
<Data>/MyPhone/index.aspx</Data>
<Data>127.0.0.1</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>NT AUTHORITY\SYSTEM</Data>
<Data>17</Data>
<Data>NT AUTHORITY\SYSTEM</Data>
<Data>False</Data>
<Data> at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object&amp; result, Object&amp; resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_Identity()
at System.Web.HttpContext.get_ImpersonationToken()
at System.Web.ClientImpersonationContext.Start(HttpContext context, Boolean throwOnError)
at System.Web.HttpApplication.ThreadContext.SetImpersonationContext()
at System.Web.HttpApplication.ThreadContext.Enter(Boolean setImpersonationContext)
at System.Web.HttpApplication.OnThreadEnterPrivate(Boolean setImpersonationContext)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
</Data>
</EventData>
</Event>
 
You may wish to try and use IIS, I never seem to have an issue with it like I do Cassin.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,884
Messages
589,542
Members
164,743
Latest member
aa1