AJAX :: Image Cropper Not Working On Remote Server?
Mar 10, 2011image crop is working on local machine but it is not working on Remote server
[Code]....
image crop is working on local machine but it is not working on Remote server
[Code]....
I recently purchased a new domain for the sole purpose of hosting all the static content on a separate server and delegate CPU intensive operation like thumbnail creation on a different pool. Now I would like to do some operations on images uploaded to that remote server : creating thumbnails or updating the image if we need to. Should I download the images to my server, modify them there and then upload them back to the remote server or should I try to create web-services to manipulate the images?One of my solution was to provide an interface to upload and manipulate the images in the new domain, by leaving the old domain when it comes time to work on images, but I find it kind of awkward.I would like to keep the new domain cookie free. How would that affect my ability to restrict any random user to use the web-services if I decide to go that way?
View 1 RepliesI want to display image in image control but the image is on the different server. My application is Intranet based application. My image is stored on "C:ProjectImagesimg123.jpg" and my server name is "MyServer". Can any one send me the code to display image in to the image control?
View 1 RepliesI am working on a web application that resides on one server on a particular domain. The application needs to access files on another server controlled by a different domain. Is there some way I can access these files on the remote server? I have all logon credentials and authorized access, but I simply need to set the servers up to allow this.
View 1 RepliesActually I want to deploy(run) my asp.net 2.0 application using ajax control toolkit2.0 on remote server. Also I have added all the required dlls to the bin folder. Now apart from that Will i have to install ajax extensions on server(OS- Windows Server 2003, IIS 6.0)
View 1 RepliesAJAX is under the same origin policy. Is there a clean way to use ajax to post data to a remote .aspx page and get response ?
View 2 RepliesI using a updatePanel which contains ImageButton and i have onmouseover for imgBtn . But onmouseover is not working
<asp:UpdatePanel ID="updateData" runat="server">
<ContentTemplate>
<input type="image" id="image1" name="imgBtn" runat="server" src="MyImg.gif" onmouseover="ChangeImg()" onserverclick="image1_click"/>
</ContentTemplate>
</asp:UpdatePanel>
******** javascript**********
<script type="text/javascript" language="javascript">
function ChangeImg()
{
document.getElementById('image1').src='AnotherImg.gif';
}
I have an CalanderExtender in a Update panel that wraps my page. Inisde that it is in a hidden panel the gets shown when they pick what type of information they want to input. The problem is that in Chrome when you click on the Image nothing happens. Though it works fine in IE and Firefox.
Code :
<asp:UpdatePanel runat="server" ID="upJobBid">
ImageButton inside Datalist inside update panel is not firing in my asp.net web page. what should i proceed??
View 1 RepliesI 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?
Given a URL to an image (and not the image itself), what's the most efficient of getting it's dimensions? I would like to change the height and width attributes in the image tag (<img>) if it is greater than 200x200. However, if it's smaller than that, then I'd like to keep the size as it is. (I'm using ASP.NET/C#)
View 4 RepliesHow to insert data from local SQL server to remote SQL server (without using linked server) like below?
insert * into [remote server].[northwind].orders
from [local server].[northwind].orders
i am using microsoft visual studio 2008 sp1 for developing my web sitei have done url rewrite with this way and it does work on host perfectly
[Code]....
but it does not working on remote hostmy remote host is windows server 2008 sp1 and iss7do i need to make any setting on remote host to make it work ?
I am trying to create a small app that will stream read a remote web page (specified by user input)find all images within the page (using regular expressions)stream read these imagesadd them as LinkedResource 's to a HTML emailI have got it working fine when the images and defined using absolute urls but not when they are relative - How can I can webRequest / streamReader to behave like a web browser does and locate the images based on their relative location.I have thought about manipulating the main web url and prefixing it to the source of the image, but I am not sure how I would deal with am image source such as
[Code]....
I have created an application which is relying on routing extensively. it works fine in my development machine, and when deployed in the local IIS server. but when i publish it to remote server routing does not work? any idea why it happens. i also have the following in my web.config
[Code]....
The title says it all. After a lot of problems with a simple app we use at my workplace, I decided to redo the app again for .NET4 and add some refactoring.
Upon uploading said app, the website runs well on the local host in iis 7.5 Windows server 2008 r2. But when I try to access it on remote machines the server lists a runtime error.
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 Repliesi 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
I have created an application in Microsoft Visual studio 2005. And I have used Ajax control tool kit version
3.031106.0. It works fine in my local system. When I hosted this on the server,I am getting this following error.
"Could not load file or assembly 'AjaxControlToolkit, Version=1.0.10606.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies"
The server is Windows server 2008.
i have developed a web page using asp.net and ajax.
when i view web page in browser its working, ajax extenders are not working..
but while running on IIS server, they are working.
textboxwatermark extender, validationcallout extender are not working; and when i click on submit button its not validating the text boxes.
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?
View 2 Repliesi 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 have an asp.net application in which i have used autocomplete extender now when i deploy it on the server (2003 and iis 6) the autocomplete extender does not work .. i looked on the net and found out the system.web.extensions system.web.extensions.design dll are needed for it, it was not present so i added them to the gac still it is not working i have .net3.5 sp1 instaled on the server.
View 3 RepliesI have used updatepanel in asp.net 3.5 framework . It is running good in localhost but when i upload it into server which is not working as usual whole page is loading.
View 1 RepliesI have created web pages using VS Web Developer that use a local Developer Edition of SQL server database on my PC with LINQ to SQL. When I deploy my website to a remote web host SQL server, I need for my web pages to be able to use the remote database instead of the local database. So, how do I get the Server Explorer to connect with a remote SQL Server database?
View 6 Replies