I managed to install it under 4.0.3 and Win2k3 without any trouble but when trying to submit the form, it returns an error message:"error sending form. we are sorry but we have some problem to
deliver your message. please try again soon"
... and the windows event viewer show this exception error:
Exception information: Exception type: InvalidOperationException Exception message: Only Web services with a [ScriptService] attribute on the class definition can be called from script.
Request information: Request URL: http://company/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm Request path: /umbraco/webservices/RVContactFormMailer.asmx/SendContactForm User host address: xxx.xxx.xxx.xxx User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE
SendContactForm InvalidOperationException
Nice package !! thanks a lot.
I managed to install it under 4.0.3 and Win2k3 without any trouble but when trying to submit the form, it returns an error message:"error sending form. we are sorry but we have some problem to deliver your message. please try again soon"
... and the windows event viewer show this exception error:
Exception information:
Exception type: InvalidOperationException
Exception message: Only Web services with a [ScriptService] attribute on the class definition can be called from script.
Request information:
Request URL: http://company/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm
Request path: /umbraco/webservices/RVContactFormMailer.asmx/SendContactForm
User host address: xxx.xxx.xxx.xxx
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
....
Are we missing some configuration ?
hi,
its nice to see that you like the package. you can also vote for it on the top right of the project page.
1. are you using the latest release of the package?
2. are your smtp configuration in the web.config are correct?
3. did you do any modification to the source code? and i mean especially the web service code?
Hi Eran, thanks for your prompt reply to my report.
1. Yes I am using the latest version 1.3 just downloaded this morning
2. Yes, smtp it's ok
3. Nope, zero modifications to the source code.
I only changed the "RVContactForm.config" settings, some CSS and the dictionary entries
is it your server or shared hosting? is the ajax extension is installed correctly on this server?
It's a dedicated server. I believe the ajax extension is properly installed
I just found sometimes there is a javascript error when opening the page with the form:
Error: GUnload is not defined
Source File: http://company/scripts/RVContactForm.js
but I'm not sure the main problem is related to Ajax or javascript because the webservice is being call
... hope you have a better idea of what could be the issue :(
its defianatly some settings at your server. from the exception info, i guess its reletad with ajax.
which version of .net framework you are using?
please check your web.config setting, especially the ajax extensions dll version:
if you are using 3.5, you can use the umbraco web.config that fits to the 3.5 version. you can find it here: http://umbraco.codeplex.com/releases/view/51165
if its not help, please take a look at:
http://our.umbraco.org/forum/getting-started/installing-umbraco/3341-Jquery-ajax-calls
http://forums.asp.net/t/1072274.aspx
is working on a reply...