Controls :: Mondor Captcha Control Not Working In IIS Server
Sep 15, 2012Code is too good. but its working only on local host.
When I upload my files on server,it didn't show captcha image...
Code is too good. but its working only on local host.
When I upload my files on server,it didn't show captcha image...
I m using your Captcha Code [URL]. This code is working at local system but not working on Server Side. Captcha Image is not Displaying any Code.
View 1 RepliesI have implemented captcha control in my webpage based on the article How to implement Captcha in ASP.Net.
It is working fine when running through the VS IDE, but when i deployed the website in IIS 8 (Windows 8.1) server the captcha image does not show.
How to implement captcha in ASP.NET. I've a strange scenario where the captcha letter is showing correctly but the background image(the black dots) is not displaying.I checked it by using firebug in firefox,to my surprise i found that an additional div(which i have not written) is enclosing the captcha,and its background color is set to white.This is how i placed the captcha inside the form tag in aspx page
<div id="divCaptcha">
<cc1:CaptchaControl ID="Captcha1" runat="server" CaptchaBackgroundNoise="none" CaptchaLength="5"
CaptchaWidth="200" CaptchaLineNoise="none" CaptchaMinTimeout="5"
CaptchaMaxTimeout="240" FontColor="#529E00" CaptchaHeight="60"/> </div>
This is what i got when i checked using the firebug
<div id="divCaptcha">
<div style="background-color:White;">
<img width="200" height="60" border="0" src="CaptchaImage.axd?guid=1e625862-4447-41ff-a6a5-86ad1e95261a">
</div></div>
I used ur captcha code of asp.net in my project. and i want to regenerate the captcha on the button click so how can i do that.
View 1 RepliesI used numeric captcha in my website
[URL]
It worked correctly in Localhost but when I upload my site on host when I open page that I used captcha for it, it didn't show captcha image so I can't enter captcha in textbox
I use IIS6 but i try your code but again it didn't show any image
see here in code is Path="Image.ashx" but i didn't have any file like that im my website? what is that?
when i see view source for captcha is below code
<img alt = 'Captcha' src = '/Image.ashx?key=potezmL9FvScT6cn0%2b2Jnnj3liguFvrFBT38H9ZMCHA%3d&color=%23000000' align = 'NotSet' /><input type = 'hidden' name = 'ASPNET_Captcha1_Expression' value = 'LL/VwR57t2e4qP5UmLxEDA==' /></span>
and when i click on SRC below error occure
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /Image.ashx
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I have used your mathematical captcha in my project but it is not working on all browsers.if I open the page in one browser & then copy the aaaurl in other browser the other browser does not show me the captcha.
View 1 RepliesHere is the code:
[Code]....
code behind:
[Code]....
The problem is that if the textcap changetext event is fired which is in the updatepannel then the captcha will always validate to false. If the textcap changetext event is not fired then all goes well.
[URL]
I have implemented as writeen in the aritcle but the captcha image is not being shown when I run the application.why
I have implemented captcha in my Register.aspx page. I am verifying captcha at server side. here is the code which is working fine.
protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
{
bool IsCaptcha;
IsCaptcha = validateCaptcha();
if (IsCaptcha == true)
StringBuilder bodyMsg = new StringBuilder();
TextBox textBoxUserName = (TextBox)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl("UserName");
[code]...
I tried this link to generate verification Image [URL] ..... It works fine.
But I'd like to put a button in page for regenerating captcha for example. When the image was unreadable for user.
So I put an updatepanel in page and this is my code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<tr> <td colspan="2">
<asp:Image ID="imCaptcha" ImageUrl="~/Captcha.ashx" runat="server" />
[Code] .....
Although the image changes but the whole page is refreshed. Whether this is due to incompatibilities httphandler and updatepanel?
while i was using flash movie on my application nobody was able to watch it . However I know the reason that is flash plugin should be installed on client side. So here i want to deploy a msg or utility to install a flash plugin as:
there should be a button having text install flash plugin now and on clicking it setup should execute on client side so that it will run setup and every body will be able to watch it.
I have a login control that is working beautifully on my localhost, but not working on the server. It validates my username & password - and gives me an error if I enter an invalid username/password. However, if I enter the correct username/password, the page refreshes, but does not redirect me to the "ReturnUrl" that I see in the URL. I've seen posts on this, but nothing that I tried worked. I've tried setting the 'MembershipProvider'attribute of the login control. I don't want to set the DestinationUrl...I want it to take what is in the ReturnUrl in the querystring. I don't think it's a web.config issue cuz it works on localhost??
View 3 RepliesI have build a composite control containing a Label, TextBox and a ImageButton. The idea:
Label text | textbox | imagebutton used for triggering an event
This textbox has a build-in validation.
When the imagebutton is set, i will use this imagebutton as a trigger. This imagebutton has an onclick event. Nou my problem is the following:
When i have my textbox on a form an click a button to validate my textbox validation takes place correctly.
If my textbox has the imagebutton enabled and i click this imagebutton validation takes place.
In my composite control i have implicity set imagebutton.CausesValidation = false;
I am developing a website where I need a captcha control and I want to develop the captcha control itself, so in the future I can change its length, type, color, and have it be easy to manage as well.
So, suggest me which technology used for to develop the capha control and how.
I am using asp.net platform with vb.net as the language.
I am looking for captcha control for .net framework 4.0
View 11 RepliesI have a working registration page and I'm adding CAPTCHA. The CAPTCHA works and I have a simple if/else loop to do what happens if the CAPTCHA input was correct or incorrect.
if (Page.IsValid)
{
feedback.InnerHtml = "Correct.";
//I would like to put something here to process the registration -- CAPTCHA was done correctly
}
else
{
feedback.InnerHtml = "Incorrect.";
}
I want to write something in the if/else loop that will enact the registration.
Therefore, my button in CustomNavigationTemplate,
<CustomNavigationTemplate>
<asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext"
Text="Create User" ValidationGroup="CreateUserWizard1" />
</CustomNavigationTemplate>
is obsolete.
Is there something I can type that will programmatically achieve what this button performed?
I am using Jeff Atwood's captcha control in a CreateUserWizard. It all works, but I have an issue with the tabindex. I want the user to enter the captcha code, hit enter and that automatically fires the Next button on the wizard. No matter what combination of tabindexes I try, I can't get it to work.
View 1 RepliesI am integrating a Captcha control inside a CreateUserWizard. As I wanted to do a validation for user's input based on the Captcha using an if.. else.. statement. However an error occured when I trying to get the Captcha control from the createuserwizard. Here the is error : The name 'Captcha1' does not exist in the current context.I had tried to get this control as a textbox, image, control but it was not successful. Here is the code :
<asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
<ContentTemplate>
<tr>
<td class="style4">Answer:</td>
<td>
<cc1:CaptchaControl ID="Captcha1" runat="server"
[code]....
How can I bind image control with captcha from generic handler using jquery.
View 1 RepliesIam developing a custom checkbox control deriving from the 'compositecontrol' which i need to use it for a composite control purpose.
public
class
TngCheckBox :
CompositeControl
{
i have written the required properties which are working fine except the "checked" property. here is my code for 'checked' property. i tried both the below ways (commented one and not commneted) . the problem is the 'checked' value is not setting the value at the get set part of the property.its assigning the value at the design time , but when i check and uncheck its not updating the property value.which is resulting me wrong .
[Code]....
Iam developing a custom checkbox control deriving from the 'compositecontrol' which i need to use it for a composite control purpose.
public
class
TngCheckBox :
CompositeControl
{
i have written the required properties which are working fine except the "checked" property. here is my code for 'checked' property. i tried both the below ways (commented one and not commneted) . the problem is the 'checked' value is not setting the value at the get set part of the property.its assigning the value at the design time , but when i check and uncheck its not updating the property value.which is resulting me wrong .
[Code]....
When I implement Custom web control inheriting ASP.NET Menu Ajax is not working. I try to Override Render method and generate Li's rather than table.I try to use Control Adapters, but when I am not using adapters for some pages ithe base adapter is generating just hyperlinks with span. I do not want this way. So I can not use these.
View 1 RepliesI need to create a reusable custom control,which is like a form containing a listbox and some fields.The fields can be either textbox or combobox as needed for different applications,which can be selected on the property of the form onwhich page that i am using it,also i needed to specify the number of fields in that property.And also need place 3 buttons below for edit and delete the selected item in the listbox and a button to save.Data will be binded from the database as needed for different applications.
tell me with code how to create it using asp.net server control in C#.
I have used Ajax control Toolkit(1.0.11119.20010) with ASP.Net 2.0.My website working fine at local network and ajax control functioning well but at server end ajax control not functioning, my website running and not throwing any error but whatever ajax control i have used is not functioning at server end..Following dlls are included in project: AjaxControlToolkit, AjaxExtensionbox, System.Design, System.Drawing.Design, System.Web.Extensions, System.Web.Extensions.Design
View 5 Replies