/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
Spørgsmål omkring asp.net
Fra : Allan Schuster Bach


Dato : 18-05-02 19:40

Jeg har nu siddet og bøvlet lidt med .net
og har nu kun to problemer tilbage som jeg ikke lige kan finde løsningen på.

hvad betyder nedenstående
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="test.aspx.vb"
Inherits="dotnet.test"%>
som i øvrigt giver fejl på siden. Hvis jeg fjerne den, virker min side.

Og hvorfor får jeg ingen fejlmeddelelser i min browser, men kun denne her
Og ja, jeg har forsøgt at sætte den til off
Server Error in '/dotnet' 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>




Allan Bach



 
 
N/A (18-05-2002)
Kommentar
Fra : N/A


Dato : 18-05-02 20:23



Jakob Andersen (18-05-2002)
Kommentar
Fra : Jakob Andersen


Dato : 18-05-02 20:23

"Jakob Andersen" <jakob@effectus.dk> wrote in message
news:ac69jh$28uv$1@news.cybercity.dk...
[SNIP]

How jeg glemte lige Inherits attributten i Page:

Inherits er kun nødvendig når man bruger Codebehind, den specificerer hvilke
klasse koden nedarver fra.

--
Jakob Andersen



Søg
Reklame
Statistik
Spørgsmål : 177504
Tips : 31968
Nyheder : 719565
Indlæg : 6408549
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste