Ask a Question related to ASP.NET General, Design and Development.
-
Artmic #1
ASP.NET and MS-SQL debug info?
Hello can anyone help me with a MS-SQL2000 install
and .Net + windows2000 advance server.
I installed everything, and everything works fine on its
own. But when i try to run my ASP.NET application it
gives me a very basic error message, and i can not figure
out what is wrong with the application, i have included
the error message below.
The problem is that it is not specific enough to track
down the problem, although i'm pretty sure it is MS-SQL
Server specific since i can access parts of my
application that do not connect to the MS-SQL server,
Please help !!! :( At least so i can figure out how i
can get some detailed debug messages out of the error
page...
Server Error in '/MyApplication' Application.
----------------------------------------------------------
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 remotely (for security reasons). It could,
however,
be viewed by browsers running on the local server
machine.
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".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
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.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
..
Artmic Guest
-
Broken Table - Debug Info
Hi All When I edit a page the tables are breaking, I think its becuas eof the debug info and scope variables being displayed as well. I have... -
debug info overwritten by rendered html
I have debug turned on, however the html is absolute position so it overwrites the debug information. Is there a setting to have the debug... -
Add debug to help info
On Fri, 25 Jul 2003 08:43:44 +0000, Robert Cowham wrote: I'd like to second this. I was trying to debug something last night, and I had to open... -
I can't debug!
I'm a member of the admin group and debuggers group and I still get an error saying "UNABLE TO DEBUG ON THE WEB SERVER ACCESS IS DENIED" What... -
VB6 COM ASP DEBUG on XP
Hello. Soon after setting up my XP development machine with VB6, I applied the registry fixes that Microsoft describes to work around VB6 COM... -
CT #2
Re: ASP.NET and MS-SQL debug info?
You need to edit the Web.config file as suggested, <customErrors
mode="Off"/>, or run the web app on the server. Then you'll see the detailed
error description.
--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and MSF
[url]http://www.apress.com/book/bookDisplay.html?bID=105[/url]
"Artmic" <ads@dhal.com> wrote in message
news:05c801c34740$15082440$a301280a@phx.gbl...> Hello can anyone help me with a MS-SQL2000 install
> and .Net + windows2000 advance server.
>
> I installed everything, and everything works fine on its
> own. But when i try to run my ASP.NET application it
> gives me a very basic error message, and i can not figure
> out what is wrong with the application, i have included
> the error message below.
>
> The problem is that it is not specific enough to track
> down the problem, although i'm pretty sure it is MS-SQL
> Server specific since i can access parts of my
> application that do not connect to the MS-SQL server,
>
> Please help !!! :( At least so i can figure out how i
> can get some detailed debug messages out of the error
> page...
>
>
> Server Error in '/MyApplication' Application.
> ----------------------------------------------------------
> 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 remotely (for security reasons). It could,
> however,
> be viewed by browsers running on the local server
> machine.
>
> 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".
>
>
> <!-- Web.Config Configuration File -->
>
> <configuration>
> <system.web>
> <customErrors mode="Off"/>
> </system.web>
> </configuration>
>
>
> 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.
>
>
> <!-- Web.Config Configuration File -->
>
> <configuration>
> <system.web>
> <customErrors mode="RemoteOnly"
> defaultRedirect="mycustompage.htm"/>
> </system.web>
> </configuration>
>
>
> .
>
>
CT Guest
-
Artmic #3
Re: ASP.NET and MS-SQL debug info?
Thanks for the help,
so in other words, i should run the web-application like
this:
[url]http://myComputer/myFolder/myApplication.aspx[/url]
right?
Thanks.
<customErrors>-----Original Message-----
>You need to edit the Web.config file as suggested,you'll see the detailed>mode="Off"/>, or run the web app on the server. ThenMSF>error description.
>
>--
>Carsten Thomsen
>Enterprise Development with Visual Studio .NET, UML, andits>[url]http://www.apress.com/book/bookDisplay.html?bID=105[/url]
>"Artmic" <ads@dhal.com> wrote in message
>news:05c801c34740$15082440$a301280a@phx.gbl...>> Hello can anyone help me with a MS-SQL2000 install
>> and .Net + windows2000 advance server.
>>
>> I installed everything, and everything works fine onfigure>> own. But when i try to run my ASP.NET application it
>> gives me a very basic error message, and i can not--->> out what is wrong with the application, i have included
>> the error message below.
>>
>> The problem is that it is not specific enough to track
>> down the problem, although i'm pretty sure it is MS-SQL
>> Server specific since i can access parts of my
>> application that do not connect to the MS-SQL server,
>>
>> Please help !!! :( At least so i can figure out how i
>> can get some detailed debug messages out of the error
>> page...
>>
>>
>> Server Error in '/MyApplication' Application.
>> -------------------------------------------------------server.>> Runtime Error
>> Description: An application error occurred on thecreate>> 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.
>>
>> Details: To enable the details of this specific error
>> message to be viewable on remote machines, please>>> 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".
>>
>>
>> <!-- Web.Config Configuration File -->
>>
>> <configuration>
>> <system.web>
>> <customErrors mode="Off"/>
>> </system.web>
>> </configuration>
>>
>>
>> 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.
>>
>>
>> <!-- Web.Config Configuration File -->
>>
>> <configuration>
>> <system.web>
>> <customErrors mode="RemoteOnly"
>> defaultRedirect="mycustompage.htm"/>
>> </system.web>
>> </configuration>
>>
>>
>> .
>>
>>
>
>.
>Artmic Guest



Reply With Quote

