Posted on: 2/24/2015 9:13:46 AM | Views : 602

Hi! Suddenly the Respons.Redirect function in the .CS file doesnt work. I get throwed back to login page. When i log in again the image is correct uploaded as i should.  I have migrated to another server and changed Visual Studio but haven't touch the code. It worked before.  I see error in the "insert into" line but no solution.  It's been years since i developed this solution and my developing skills are decreasing.  Can anyone help? 
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.IO; using System.Drawing; using System.Data.SqlClient; public partial class admin_Bildeadmin : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...

Go to the complete details ...