SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have setup of SharePoint 2007 with ASP.NET and K2 2003 workflow and few custom web services, when my ASP.NET application tries to create a new site using web services I get following error,

System.Net.WebException: The request failed with the error message:
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2f_layouts%2feshare2010%2ferror.aspx">here</a>.</h2>

I guess its because when my code tries to create a site and then redirects get this error, I think it could be because sharepoint is stopping my code from redirecting to that new site.

share|improve this question
up vote 0 down vote accepted

I partially fixed problem by removing custom HTTP module that was redirecting pages with error 404 or 403 and got real exception saying that one dll is missing so I put that back and everything working now, not sure why HTTP module was acting like that before need more research.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.