I've recently downloaded Ajax Control Toolkit to use with my ASP.NET web app.I added the AsyncFileUpload control to a web form but when I try to run the application,I get an error :
I have got an error "server response error : Unknown server error" while uploading file using Ajax AsyncFileUpload, code behind function is triggered while uploading, but after code behind function executed, we are getting this error.
I'm building a dynamic form using XML and XSLT. Anyway I'm using a custom asp.net control for CKEditor, it's an HTML editor.
When I try to add the controls from the XSLT using Page.ParseControl(<the-string-from-the-xslt-here>), I get a warning saying:
Unknown server tag 'FCKeditor.CKEditor'
And of course, if I remove the control from the XSLT everything is working fine and all the regular asp.net controls like TextBox etc get rendered to the string just fine. Does anyone know what I can do about it?
This problem is driving me absolutely crazy. I developed a very simple Web part and overrode the CreateChildControls to load a user control. The user control contains a ScriptManager and UpdatePanel from System.Web.Extensions. This Web part appeared to be working fine for weeks and all of a sudden today I get the error:
I keep getting a db parser error. I took it from my text book assignment. Here is the error and code: I am confused with the problem
Server Error in '/' Application.
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Unknown server tag 'asp:ControlParameters'.
I don't know what is going on. When I try to add a tab container in my page, it allows me to do that but when I modify the code, the unknown server tag error pops up in the design view of the page.
I checked the source code to see if I had my @register clause in there, and it was there, but still the error shows. I don't know what happened, the last time it worked perfectly.
I have also recently downloaded the cute editor for .net and installed the .dlls to my bin folder and it is showing the same simtoms as well.
I have a web site project. My project contains two files Web.config. One. The configuration file in the root directory, the second child in the directory(see below).All pages in the root directory work fine, but all the pages from the catalog of the child doesn't working. I receive error "Unknown server tag ''Compon##:Calendar""
I just installed Ajax Toolkit. The controls are available in my Toolbox, but when I insert them in a page, Visual Studio underlines them with the error message "unknown server tag".
I googled the problem and found several ideas :
check if the DLL is in Bin folder check if ajaxToolKit tags prefix is registered in web.config and make sure I'm not using a different prefix in my pages check if the DLL is registered in the pages with <% @ Register ... %>
Unfortunately all of this is fine, but I still can't get the controls to work. Is something else missing ?
EDIT : My environment is ASP.Net 2.0, Ajax Extensions 1.0, Ajax Toolkit 1.0.20229, Visual Studio 2005
I have a stored procedure, which I'm calling from ASP.Net application. I'm facing a problem in stored procedure when comparing values.Please check code below to get further details.
Stored Procedure: ALTER PROCEDURE [dbo].[MyStoredProcedure] (@ItemID nvarchar(50), @Weight1 float, @Weight2 float) -- check remaining/available weight in items table DECLARE @RemainingWeight float SET @RemainingWeight = (SELECT RemainingWeight FROM items WHERE ItemID = @ItemID) [code]...
Am getting this error on clicking any of my page link.
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0"
i AsyncFileUpload this is working fine in my local server but when i upload the files into my hosting server no file is uploading. this is my code to save the file.
Protected Sub tbnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles tbnSave.Click Dim cmd As New MySqlCommand Dim cn As New MySqlConnection cn.ConnectionString = "server=localhost;User Id=root; password=papidm;database=jis;Persist Security Info=True" cn.Open() cmd.Connection = cn cmd.CommandType = System.Data.CommandType.Text cmd.CommandText = "Insert into PhotoAlbum (Photo,PhotoName,Descr,AlbumId) values (@Photo,@PhotoName,@Descr,@AlbumID)" cmd.Parameters.Add(New MySqlParameter("@Photo", "~/images/" + txtFileName.Text + ".jpg")) cmd.Parameters.Add(New MySqlParameter("@PhotoName", txtFileName.Text)) cmd.Parameters.Add(New MySqlParameter("@Descr", TextBox2.Text)) cmd.Parameters.Add(New MySqlParameter("@AlbumID", ddlArchive.SelectedValue)) cmd.ExecuteNonQuery() fileName = MapPath("~/images/") + txtFileName.Text + ".jpg" AsyncFileUpload1.SaveAs(fileName) End Sub
AsyncFileUpload not working when .net app published to web server. It works fine in testing on my pc. I have checked security settings. I can get other upload scripts to work, but I wanted to try using the AJAX AsyncFileUpload. I thought maybe it's something on the server blocking it, but not errors, It just keeps saying "uploading" but it never finishes and it never uploads the file. Has anyone else had this happen?
i use a asyncfileupload control to upload files from my web pages. since i have a listview inside an update panel, and the listview needs to have the file upload functionality, i can not use a asp fileupload control.
the uploaded files are saved inside a temp folder in my application directory. i use a asp:button to upload files from the asyncfieupload control to my temp folder.
as long as i work on my local machine, the upload control inside the listview works perfectly fine, and does what is expected of it (i.e upload files :))
but when i move the code to my web server the asyncfileupload onthe page works just once, that is, it uploads just once (no matter whichever row of the listview it is) and for all other subsequent uploads, it uplaods a file of the same name to my temp folder but with 0KB size.
it beats me why asyncfileupload control would behave this way in the two environments.
could anyone suggest a possible reason/or something i m missing to configure on the server?
I recently came across the AsyncFileUpload control in the latest (3.0.40412) release of the ASP.Net Ajax Control Toolkit. There appears to be an issue when using it in a hidden control that is later revealed, such as a tag with
[Code]....
Server-side Code - [Code]....
I have a breakpoint on the UploadedComplete event but it never fires. However, if you take the AsyncFileUpload control out of the , making it visible at initial page render, the control works as expected.
My problem is Asyncfileupload control is working fine when i debug the application and upload large file...but when i run this from iis it only upload file less then 5 kb. why is that so?? i did try adding Httpruntime maxRequestLength="4096" i tried to find on search but no help... did m i mising any settings..??
When the user tries to upload a file with a size more than 4 MB, the AsyncFileUpload control gives a Confirmation alert (with "OK"/"Cancel" button) with the following message "Server Response error: Maximum Request Lengh Exceeded". But when the User clicks the "OK" button a new window popups and shows the server error and on clicking the cancel button the AsyncFileUpload background color turns red. Here I am not sure why the control is showing a Confirmation alert instead of a simple alert message. Is it possible to change the Confirmation alert with the simple alert message? Basically I don't want the popup window to show the server error as it is happening currently. Also, is there a better way to handle the file size error and show apporiate error message to the users?
I recently came across the AsyncFileUpload control in the latest (3.0.40412) release of the ASP.Net Ajax Control Toolkit. There appears to be an issue when using it in a hidden control that is later revealed, such as a <div> tag with visible=false.