404 not found on deploy

Dedicated forum for the visual 'drag and drop' voice application designer that allows easy creation of advanced voice applications without programming knowledge

Moderators: kevin, 3CX staff

404 not found on deploy

Postby SWSDEV » Mon Sep 21, 2009 1:06 pm

I'm now deploying on a 64bit windows server 2008 box

Why is the following config giving me a 404? I have confirmed the files are there and the IIS server is set up properly.

<?xml version="1.0" encoding="utf-8"?>
<Graphical_Application_Designer_Project>
<Version>1.0</Version>
<Files>
<File path="GetAgentPhone.comp" type="component" />
<File path="Main.flow" type="callflow" pbx_callflow_name="CellsAgent" activation_extension="855" activation_extension_debug="856" />
<File path="MenuOptions.comp" type="component" />
</Files>
<Variables>
<ArrayOfVariable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</Variables>
<PbxServer>10.123.86.3</PbxServer>
<PbxConfigurationPort>5485</PbxConfigurationPort>
<PbxDeploymentUri>http://10.123.86.3:5484/VAD_Deploy.aspx</PbxDeploymentUri>
<PbxDownloadDebugFilesUri>http://10.123.86.3:5484/VAD_DownloadDebugInfoFile.aspx</PbxDownloadDebugFilesUri>
<PbxGetDebugFileNamesUri>http://10.123.86.3:5484/VAD_GetDebugInfoFileNames.aspx</PbxGetDebugFileNamesUri>
<NextCallflowActivationExtension>854</NextCallflowActivationExtension>
<DebugBuildSuccessful>True</DebugBuildSuccessful>
<ReleaseBuildSuccessful>True</ReleaseBuildSuccessful>
<DebugBuildNumber>80</DebugBuildNumber>
<ReleaseBuildNumber>80</ReleaseBuildNumber>
<ChangedSinceLastDebugBuild>True</ChangedSinceLastDebugBuild>
<LastDeployedConfiguration>Debug Build</LastDeployedConfiguration>
</Graphical_Application_Designer_Project>
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: 404 not found on deploy

Postby SWSDEV » Mon Sep 21, 2009 1:41 pm

I discovered the problem but not the solution.

In the file VAD_Deploy.aspx.cs you guys are reading the session variable Request.QueryString["projectname"]

When I go to the url for vad_deploy.aspx manually in a browser, the error comes up for OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT.

I confirmed that this is the problem.

What would make the VAD not pass the projectname in the query string?
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: 404 not found on deploy

Postby VAD_Support » Mon Sep 21, 2009 2:14 pm

Hi,

I'm a bit confused. A 404 error should happen if the page can not be located. An error like not sending the projectname in the querystring should report a 500 error (internal server error).

Can you try browsing manually to http://10.123.86.3:5484/VAD_Deploy.aspx ... ROJECTNAME and see what happens?
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm

Re: 404 not found on deploy

Postby SWSDEV » Mon Sep 21, 2009 2:53 pm

Either that or there is more than one problem here. Because it was a 404 error I checked if all the files existed, and they did. When I manually ran the .aspx page I got the object error, but I just realized it probably errored when I checked it in the browser because I wasn't specifying anything in the querystring.

So just forget about that part. The main problem is the 404 error is happening but the file exists.

I checked the url and received:

ERROR: projectname is invalid
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: 404 not found on deploy

Postby SWSDEV » Mon Sep 21, 2009 2:54 pm

Ok, I got this to work in the browser

http://10.123.86.3:5484/VAD_Deploy.aspx ... gent_Debug

I forgot the "_Debug" before.
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: 404 not found on deploy

Postby VAD_Support » Mon Sep 21, 2009 3:06 pm

So, could you finally deploy the project? Or are you still getting the 404 error from the VAD?
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm

Re: 404 not found on deploy

Postby SWSDEV » Mon Sep 21, 2009 3:41 pm

Still getting the 404 from the VAD.
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: 404 not found on deploy

Postby VAD_Support » Mon Sep 21, 2009 5:41 pm

This is very strange...
Just to be absolutely sure about what's going on, can you trace with WireShark a manual request to http://10.123.86.3:5484/VAD_Deploy.aspx ... t_80_Debug? And another request using the VAD? I would like to see what is the difference between both requests...
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm

Re: 404 not found on deploy

Postby SWSDEV » Wed Sep 30, 2009 11:56 pm

Do you want a raw data dump?
Shahzad Qureshi
SWS Development - 3CX Certified Partner
Custom 3CX integration
Salt Lake City, UT USA
801-938-7712
swsdev.com
SWSDEV
Expert
Expert
 
Posts: 246
Joined: Sat Feb 23, 2008 6:51 am
Location: Salt Lake City, Utah - USA

Re: 404 not found on deploy

Postby VAD_Support » Thu Oct 01, 2009 2:31 pm

Yes, the dump from wireshark, so we can open it here and see the difference.
VAD_Support
3CX Valued Professional
3CX Valued Professional
 
Posts: 421
Joined: Thu Aug 06, 2009 5:29 pm


Return to 3CX Voice Application Designer (VAD)

Who is online

Users browsing this forum: No registered users and 0 guests