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.


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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