Re: Version 7 Issues on .Net management application
Sorry for not been more specific on my post.
Ok, what I'm trying to do is to link our CRM according to this example:
How can I launch a call from a web based CRM package?
3CX Phone System allows you to easily integrate calling functionality into any web based CRM package, or in deed any software that can make HTTP post requests.
Install Option 1: IIS Web Server
To launch a call to a particular number, simply generate an HTTP post request in the following format
http://10.72.0.15/ivr/PbxAPI.aspx?func=make_call&from=104&to=116&pin=104
If I try to access
http://localhost/ivr/PbxAPI.aspx?func=make_call&from=XXXX&to=ZZZZ&pin=YYYY
I get "The resource cannot be found" HTTP error 404, and I know I got this because URL path do not exist.
If I modify the the URL according to IIS structure created on install, to this:
http://localhost/management/ivr/PbxAPI.aspx?func=make_call&from=XXXX&to=ZZZZ&pin=YYYY
I get this error:
Server Error in '/management' Application.
--------------------------------------------------------------------------------
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 49: ASP.NET to identify an incoming user.
Line 50: -->
Line 51: <authentication mode="Windows"/>
Line 52: <!--
Line 53: The <customErrors> section enables configuration
Source File: C:\Program Files\3CX PhoneSystem\Data\Http\Interface\ivr\web.config Line: 51
Show Additional Configuration Errors:
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:\Program Files\3CX PhoneSystem\Data\Http\Interface\ivr\web.config line 64)
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:\Program Files\3CX PhoneSystem\Data\Http\Interface\ivr\web.config line 66)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
After this, I did try to verify where the authentication error resides and open the web application (management) with VS 2005 C#, and there is where I found the error reported on my first post.
I think the problem is because IVR has not been declared as an application on IIS, what do you think?
I hope this post is somehow more understandable than the previous one
Thank you