2007 Error On Page
18, 20073 0 0 0 If you hit a default page and it throws an error and you're kind of stuck as to what to do next, try navigating toone of the system pages - of which Site Settings is probably the most useful. So if the page throwing an error was: http://
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up SharePoint 2007 Custom https://blogs.msdn.microsoft.com/michael_yeager/2007/10/18/tip-getting-around-a-sharepoint-error-page/ Page Error up vote 0 down vote favorite I have created a custom aspx page and deploy into \12\TEMPLATE\LAYOUTS folder, I trying to access the page via url e.g: http://sharepoint2007/sites/mySite/_layouts/DocLibrary.aspx, then I hit "Unknown Error" in the page. But it work fine when I "View in Browser" (local host) via Visual Studio. The environment is in MOSS 2007, am I missing start some services? http://stackoverflow.com/questions/5287343/sharepoint-2007-custom-page-error Please help... Thank you. sharepoint-2007 share|improve this question asked Mar 13 '11 at 4:06 sams5817 47142345 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted Temporarily change the web.config file so you can see the true error. See: SharePoint - An unexpected error has occurred. Sharepoint errors An unexpected error has occurred. Sharepoint “Unknown Error” debugging - but can't turn on CallStack… ?? share|improve this answer answered Mar 15 '11 at 16:26 Rich Bennema 8,84632147 I have solved this anyway, by deploy the dll into the bin folder –sams5817 Mar 17 '11 at 6:48 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard 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 sharepoint-2007 or ask your own question. asked 5 years ago viewed 591 times active 5 years ago Linked 1 An unexpected error has occurred
for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://sharepoint.stackexchange.com/questions/46662/how-does-layouts-1033-error-htm-work Business Learn more about hiring developers or posting ads with us SharePoint Questions Tags http://sharepoint.stackexchange.com/questions/63070/server-error-in-application-runtime-error Users Badges Unanswered Ask Question _ 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: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top how does /_layouts/1033/error.htm work? up vote 0 down 2007 error vote favorite 1 I am stuck and need someone who knows sharepoint indepth! EDIT This is not, not for other errors like 404, 403 ect, this error is somthing else! it only shows when you have a blocked file type in central admin and you go to that blocked extension by url like https://site.mysite.com/portal/default.asp, the asp extension is a blocked file type! it will then show you the error.htm page only! if 2007 error on it were default.aspx it would work as normal becasue aspx is not in the blocked file type list END EDIT somthing is overwriting the logic but i dont know what! Say you have blocked a filetype like asp in sharepoint central admin. Now you go onto the url and remove from the extention .aspx so that it is .asp It shows a html page with the title error and says: The following file(s) have been blocked by the administrator: /portal/default.asp It is taking that htm page from 12hive located at /_layouts/1033/error.htm , I would like to redirect to a custom page but I cant and need to know where that error.htm is being called so I can overwrite it so that it goes to a custom error.aspx page instead! I have used the following to redirect but it doesnt work: HttpContext.Current.Server.ClearError(); HttpContext.Current.Response.Clear(); strCustomAcssDndURL = getAppSettingsValue(m_SiteCollCustError + "-" + strSiteURL); HttpContext.Current.Response.Redirect(strCustomAcssDndURL, false); but it breaks on: HttpContext.Current.Response.Redirect(); It throws an error: Cannot redirect after HTTP headers have been sent. I am a bit confused as to what to do and if its even possible! For any other error that i get the code above works perfectly! Any help would be greatly appriciated :) 2007 httpmodules error.htm share|improve this question edited Sep 28 '12 at 15:18 as
for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us SharePoint Questions Tags Users Badges Unanswered Ask Question _ 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: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Server Error in '/' Application. Runtime Error up vote 6 down vote favorite 2 I am new to SharePoint. I am developing a web part. I that I have created the .aspx page. When I am going to access that page by the URL it throws an error like. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed. Details: To enable the details of this specific error message to be viewable on the local server machine, please create a