Server Error in '/' Application.http://forums.asp.net/t/950095.aspx/1?Server+Error+in+Application+Fri, 14 Aug 2009 08:07:22 -04009500951156128http://forums.asp.net/p/950095/1156128.aspx/1?Server+Error+in+Application+Server Error in '/' Application. <p>Hi. I have problem written in Subject. I upload my files to server then I wanted to install the donetnuke version 4.0.2 but I saw an error as &quot;Server Error in '/' Application.&quot;I don't know the reason so I want help.how can solve this problem?what can I do? Also I saw a notice which was settled ASP.NET version 1.0.is that the reason?Please help me about this subject.</p> <p><span>This is the error message:</p> <h1>Server Error in '/' Application. <hr width="100%" color="silver" size="1"> </h1> <h2><i>Runtime Error</i> </h2> <p></span><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Description: </b>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> <b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a &quot;web.config&quot; configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its &quot;mode&quot; attribute set to &quot;Off&quot;.<br> <br> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><pre class="prettyprint"><pre>&lt;!-- Web.Config Configuration File --&gt;</pre> &lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode=&quot;Off&quot;/&gt; &lt;/system.web&gt; &lt;/configuration&gt; <pre></pre></pre></TD></TR></TBODY></TABLE><BR><B><FONT face=Verdana>Notes:</FONT></B> The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's &lt;customErrors&gt; configuration tag to point to a custom error page URL.<BR><BR> <TABLE width="100%" bgColor=#ffffcc> <TBODY> <TR> <TD><pre class="prettyprint"><PRE>&lt;!-- Web.Config Configuration File --&gt; &lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/&gt; &lt;/system.web&gt; &lt;/configuration&gt;</PRE></pre></td> </tr> </tbody> </table> </font></p> <p>&nbsp;</p> <p>where is system.web or web.config file?can I change this file or do I have any permissions on this changing?please help me and thank you.</p> 2005-12-31T18:47:54-05:001156193http://forums.asp.net/p/950095/1156193.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hello,</p> <p>You should set &lt;customErrors mode=&quot;Off&quot;/&gt; in your web.config to see the full error description.</p> <p>web.config is located in the root of DNN application.</p> <p>&nbsp;</p> <p>Regards</p> 2005-12-31T23:05:21-05:001156855http://forums.asp.net/p/950095/1156855.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <font face="Verdana" size="2">It can also be an issue with&nbsp;Virtual Directory. If you have hosted with a hosting company then contact them and hopefully they will resolve the issue.</font> 2006-01-02T14:18:11-05:001158109http://forums.asp.net/p/950095/1158109.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. Yes the company should be able to tell you the error via looking at it on the local server.<br> 2006-01-03T21:11:01-05:001518755http://forums.asp.net/p/950095/1518755.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>I found the solution. Thanks to everyone. Hint is in the web.config file. If anyone want the sample file I can send it with email. But I have also a problem with the installation about permissions on SQL server. It's written below :<br> </p> <h1>Installing DotNetNuke</h1> <h2>Version: 04.04.00</h2> <br> <br> <h2>Installation Status Report</h2> 00: -&nbsp;Installing Version: 4.4.0<br> 00: -&nbsp;Installing Script: DotNetNuke.SetUp.SqlDataProvider&nbsp;<font color="green">Success</font><br> 00:00:00.015 -&nbsp;Installing Script: DotNetNuke.Schema.SqlDataProvider&nbsp;<font color="green">Success</font><br> 00:00:03.172 -&nbsp;Installing Script: DotNetNuke.Data.SqlDataProvider&nbsp;<font color="green">Success</font><br> 00:00:07.281 -&nbsp;Installing MemberRole Provider:<br> 00:00:07.281 -&nbsp;&nbsp;&nbsp;Installing Script: InstallCommon.sql<br> 00:00:07.469 -&nbsp;&nbsp;&nbsp;Installing Script: InstallMembership.sql<br> 00:00:07.641 -&nbsp;&nbsp;&nbsp;Installing Script: InstallProfile.sql<br> 00:00:07.703 -&nbsp;&nbsp;&nbsp;Installing Script: InstallRoles.sql<br> 00:00:07.828 -&nbsp;Performing General Upgrades<br> 00:00:07.891 -&nbsp;Loading Host Settings:<br> 00:00:07.938 -&nbsp;Configuring SuperUser:<br> <p>&nbsp;</p> <hr> <span> <h1>Server Error in '/' Application. <hr color="silver" size="1" width="100%"> </h1> <h2><i>EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database 'myDB', owner 'dbo'.</i> </h2> </span><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br> <br> <b>Exception Details: </b>System.Data.SqlClient.SqlException: EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database 'myDB', owner 'dbo'.<br> <br> <b>Source Error:</b> <br> <br> <table bgcolor="#ffffcc" width="100%"> <tbody> <tr> <td> <pre>Line 132: Response.Write(&quot;&lt;h2&gt;Installation Status Report&lt;/h2&gt;&quot;)<br>Line 133: Response.Flush()<br><font color="red">Line 134: Services.Upgrade.Upgrade.InstallDNN(strProviderPath)<br></font>Line 135:<br>Line 136: Response.Write(&quot;&lt;h2&gt;Installation Complete&lt;/h2&gt;&quot;)</pre> </td> </tr> </tbody> </table> </font> <p>Thank you again for your help.<br> </p> 2007-01-04T18:56:50-05:001796310http://forums.asp.net/p/950095/1796310.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>I'm having the same problem &quot;Server Error in '/' Application.&quot;--Can you send me your fix?</p> 2007-07-10T16:35:42-04:001796350http://forums.asp.net/p/950095/1796350.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>My problem was in my connection to the database I solved my error creating a VB class in the APP_Code folder and everytime I need to access my connection string I call a funtion that returns a string with my connection. <br> Dim link As String = &quot;connection string&quot;<br> Public funtion something()<br> return link<br> end function<br> <br> and every time i need the connection I do this<br> <br> Dim css As New DataAccess()<br> Dim teste As String = css.Link()<br> <br> Using con As New System.Data.SqlClient.SqlConnection(teste)<br> con.Open()<br> <br> I really don´t know if it was a good solution but at least it´s working now. </p> 2007-07-10T16:56:47-04:001826229http://forums.asp.net/p/950095/1826229.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>&nbsp;</p> <p>Hi folks. I've just spent two days trying to figure out how to access a web page that comes up with the error message:</p> <p>Server Error in '/' Application.</p> <p>I know very, very little about computers and after googling myself into a cold sweat for the past two days, downloading internet information services and searching for web.config files, I've realised that I'm a grade one idiot. </p> <p>As I am not hosting the webpage it seems I can do nothing useful to resolve the access issue. (something, it would seem, that was hysterically obvious to my partner who believe's I am unable to fix the problem on my own!) :)</p> <p>My question, or request, is for someone to supply me with instructions for the web host, who I am in contact with, so that they can fix the problem and I can avoid a months worth of dishwashing which is the consequence of failing to find&nbsp;a solution to this problem!</p> <p>The error as shown on the site is copied below. Any help would be greatly appreciated. :)</p> <p>Regards,</p> Charlie<span></span><span> <h1>Server Error in '/' Application. <hr width="100%" color="silver" size="1"> </h1> <h2><i>A generic error occurred in GDI&#43;.</i> </h2> <p></span><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br> <br> <b>Exception Details: </b>System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI&#43;.<br> <br> <b>Source Error:</b> <br> <br> <table class="" width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td class=""><pre class="prettyprint">An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</pre> </TD></TR></TBODY></TABLE><BR><B><FONT face=Verdana>Stack Trace:</FONT></B> <BR><BR> <TABLE class="" width="100%" bgColor=#ffffcc> <TBODY> <TR> <TD class=""><pre class="prettyprint"><PRE>[ExternalException (0x80004005): A generic error occurred in GDI+.] System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +581 System.Drawing.Image.Save(String filename, ImageFormat format) +61 mkebay.additem.Page_Load(Object sender, EventArgs e) System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750 </PRE></pre></td> </tr> </tbody> </table> <br> </p> <hr width="100%" color="silver" size="1"> <p><b><font face="Verdana">Version Information:</font></b>&nbsp;Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 </font></p> 2007-07-27T01:04:18-04:001826640http://forums.asp.net/p/950095/1826640.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hello,</p> <p>It looks like a permission is missing on&nbsp;the folder it tries to save the picture. Make sure the &quot;ASPNET&quot; account has write permission in that folder.</p> <p>If it does not help, please provide more information on the application (is it a product?) and when this error occurs.</p> <p>Regards,</p> <p>Samuel</p> 2007-07-27T07:07:36-04:001826677http://forums.asp.net/p/950095/1826677.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hello,</p> <p>It looks like a permission is missing on&nbsp;the folder it tries to save the picture. Make sure the &quot;ASPNET&quot; account has write permission in that folder.</p> <p>If it does not help, please provide more information on the application (is it a product?) and when this error occurs.</p> <p>Regards,</p> <p>Samuel</p> 2007-07-27T07:31:58-04:001831337http://forums.asp.net/p/950095/1831337.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Thanks Samuel</p> <p>Unfortunately I have no idea how to make sure that the ASPNET account has write permission. This is someone elses website I'm trying to access, it's not my website.</p> <p>The error occurs when I try to open a page within the website.</p> <p>The error message is copied again below.</p> <p>I appreciate any help you can give me. :)</p> <h2><i>A generic error occurred in GDI&#43;.</i> </h2> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br> <br> <b>Exception Details: </b>System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI&#43;.<br> <br> <b>Source Error:</b> <br> <br> <table class="" width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td class=""><pre class="prettyprint">An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</pre> </TD></TR></TBODY></TABLE><BR><B><FONT face=Verdana>Stack Trace:</FONT></B> <BR><BR> <TABLE class="" width="100%" bgColor=#ffffcc> <TBODY> <TR> <TD class=""><pre class="prettyprint"><PRE>[ExternalException (0x80004005): A generic error occurred in GDI+.] System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +581 System.Drawing.Image.Save(String filename, ImageFormat format) +61 mkebay.additem.Page_Load(Object sender, EventArgs e) System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750 </PRE></pre></td> </tr> </tbody> </table> <br> </font><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <hr width="100%" color="silver" size="1"> <p><b><font face="Verdana">Version Information:</font></b>&nbsp;Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 </font></p> 2007-07-30T19:55:39-04:001832070http://forums.asp.net/p/950095/1832070.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hello,</p> <p>If you have no control over the web server, I suggest you to contact the web master. If the application is a web site starter (i.e. a product), then there are probably some configuration steps that have been missed.</p> <p>As a note, the page tries to save an image. I am guessing the path of the file, points to a&nbsp;folder with restricted permissions.</p> <p>Regards,</p> <p>Samuel</p> 2007-07-31T06:52:05-04:001853137http://forums.asp.net/p/950095/1853137.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Please Send me your Solution Regargind this hosting solution</p> <p>Bye</p> <p>Sudipto</p> 2007-08-11T09:40:47-04:001854509http://forums.asp.net/p/950095/1854509.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p></p> <blockquote><span class="icon-blockquote"></span> <h4>sudipto10</h4> <p>Please Send me your Solution Regargind this hosting solution</p> <p>Bye</p> <p>Sudipto</p> <p></p> </blockquote> <p></p> <p>Hello Sudipto,</p> <p>If you would like more information on the hosted solution, you can visit this link : <a href="http://www.microsoft.com/technet/serviceproviders/default.mspx">http://www.microsoft.com/technet/serviceproviders/default.mspx</a></p> <p>Regards,</p> <p>Samuel</p> 2007-08-13T08:46:39-04:001897439http://forums.asp.net/p/950095/1897439.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>i have same problem of &lt;CustomErrors mode=&quot;Off&quot;/&gt; in asp.net 2.0</p> <p>could u&nbsp;send me the sample file or any fix email for this error.&nbsp;</p> <p>&nbsp;</p> 2007-09-07T08:27:23-04:001900901http://forums.asp.net/p/950095/1900901.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hi,</p> <p>By default the CustomErrors mode is&nbsp; &quot;RmoteOnly&quot;&nbsp; which is set in Machine.config.</p> <p>So Please mention CustomErrors tag is your application configuration file&nbsp; and set the mode as </p> <p>&quot;Off&quot; so that you can observe the actual error.</p> <p>&nbsp;</p> <p>Regards</p> <p>G Sureesh kumar</p> 2007-09-10T13:38:22-04:001902394http://forums.asp.net/p/950095/1902394.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hi Suresh,</p> <p>thanks for suggestion but all these things are correct as u said and problem is continue.</p> <p>Vikrant</p> 2007-09-11T09:20:28-04:001911993http://forums.asp.net/p/950095/1911993.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hi Dear,</p> <p>firstly u make sure CustomErrors mode should be Off, after that u see the real errors.</p> <p>if u already done this then query to Ur WebMaster to &quot;currently supported version of .net Framework&quot;, it should match with ur.</p> <p>&nbsp;</p> <p>Vikrant</p> 2007-09-17T10:17:34-04:001912865http://forums.asp.net/p/950095/1912865.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. well i m hosting my webpages on a free site www.brinkster.com or on our office Xibersot server but both giving this error i set custom error mode off but geting same error please help me. 2007-09-17T18:03:06-04:001913521http://forums.asp.net/p/950095/1913521.aspx/1?Re+Server+Error+in+Application+Re: Server Error in '/' Application. <p>Hi Kaleem,</p> <p>May be you have hard coded&nbsp;a file path you are&nbsp;accessing in you application.</p> <p>It may be not matching in the server and resulting the mentioned error.</p> <p>So please check if any hard coded path and use Application path instead.</p> <p>Hope this helps you</p> 2007-09-18T03:57:42-04:00