Runtime Error <BR>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 remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. <BR><BR>Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<BR><BR><BR><!-- Web.Config Configuration File --><BR><BR><configuration><BR> <system.web><BR> <customErrors mode="Off"/><BR> </system.web><BR></configuration><BR> <BR><BR>Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.<BR><BR><BR><!-- Web.Config Configuration File --><BR><BR><configuration><BR> <system.web><BR> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/><BR> </system.web><BR></configuration><BR> <BR><BR>The code works on my local machine but when I move it (1 aspx file) to another machine this is the error I recieve.<BR><BR>Thanks!<BR><BR>This is a great feature of ASP.NET. It was created so people hitting the site would not be able to see the server side code when there was an error. Simpley create a file called WEB.Config and put it in the sites root directory. Paste that first code block they display in it.Thanks, it worked.