EDIT
We are finding a bit more out. Turns out that if you go to the site regularly it doesn't work, but if you manually type /default.aspx on the address bar the functionality works fine.
We are working at deploying a new site and are stuck at the first step on the site.
Essentially the user fills in 1 textbox and hits save which redirects them to the next page. This is the Project Name.
Locally in Dev everything works fine. We think the databases are exactly the same. However, on the production server when a user clicks the Save button the form just posts back and no new record is inserted and no redirect happens.
The code for the same is pretty straightforward and at this point we haven't even implemented error handling at all so if something went wrong we'd expect to see some sort of error.
The biggest point of confusion has to do with the fact that no new record is inserted in the database.
Can anyone think of reasons something like this would happen? I can tell you that between the Page Load and Save Button of this page (which are the only 2 pieces of code in place right now) there are absolutely no If statements, Switch statements, For loops, nothing at all. It is just a straight flow from the page to the database to the redirect.
The relevant code:
var progress_layer = new b_Progress();
var business_layer = new Projects();
var project = Project.CreateProject(0);
project.ProjectName = txtProjectName.Text;
project.Description = txtProjectDescription.Text;
int id = business_layer.AddProjectAndApplicationInfo(project); // THIS IS WHERE IT SHOULD SAVE
theSession.ProjectID = id;
var steps = progress_layer.GetStepsForProject(id);
progress_layer.CompleteStep(id, steps[0].Seq);
if (steps.Count() >= 2)
Response.Redirect(steps[1].URL);