[ASP.NET]Server Error in '/' Application.

Pagina: 1
Acties:

  • BlackBurn
  • Registratie: Juni 2001
  • Laatst online: 17:25

BlackBurn

One Ring To Rule Them All

Topicstarter
Ik heb een pagina gemaakt en bij een provider op de server gezet (ashosting), deze ondersteund asp.net.

Nu krijg ik alleen als ik een aspx pagina opvraag, elke keer deze melding?
"Server Error in '/' Application."

Nu weet ik, uit eigen ervaring, dat meestal dan de directorie niet ingesteld is op applicatie(zie een eerder topic van mij).

Zou het nu zo kunnen zijn, dat ze bij ashosting de directorie niet op app hebben gezet of doe ik iets fout.

De url is: http://www.mbekkers.nl
en dit is een van de pagina's die het niet doet, in deze pagina staat zelfs geen asp.net code, maar het maakt niet uit of die er wel of niet staat, ik krijg dezelfde melding. http://www.mbekkers.nl/algemeen/informatie.aspx

Ik had er standaard geen web.config bestand bij zitten, deze is toch niet verplicht? Wel heb ik al geprobeerd of het met web.config erbij wel werkt, maar krijg dezelfde melding.

Lokaal werkt overigens alles perfect!

If it is broken, fix it. If it ain't broken, make it better!


  • gorgi_19
  • Registratie: Mei 2002
  • Laatst online: 15:16

gorgi_19

Kruimeltjes zijn weer op :9

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".
code:
1
2
3
4
5
6
7
<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Heb je dit al gedaan?

Maar andere vraag: Denk je dat we met deze informatie iets kunnen?
"Hij doet het lokaal wel, maar op de server niet". Een precieze foutmelding hebben we niet? Hier kunnen we toch ook weinig over zeggen, behalve een hoop gegok?

[ Voor 27% gewijzigd door gorgi_19 op 16-02-2003 13:06 ]

Digitaal onderwijsmateriaal, leermateriaal voor hbo


  • BlackBurn
  • Registratie: Juni 2001
  • Laatst online: 17:25

BlackBurn

One Ring To Rule Them All

Topicstarter
gorgi_19 schreef op 16 February 2003 @ 13:03:
[...]

code:
1
2
3
4
5
6
7
<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Heb je dit al gedaan?

Maar andere vraag: Denk je dat we met deze informatie iets kunnen?
"Hij doet het lokaal wel, maar op de server niet". Een precieze foutmelding hebben we niet? Hier kunnen we toch ook weinig over zeggen, behalve een hoop gegok?
Ja, dit heb ik al geprobeerd, dat was ook de rede, waarom ik een web.config heb toegevoegd.

Over dat gegok, heb je misschien wel gelijk, maar het is zondag en zou het graag werkend willen hebben, je kent het wel, maar zou het dus zo kunnen zijn, dat ze de dir. niet op app hebben gezet?

Want als dat het geval is, dan zou het morgen met een telefoontje op te lossen moeten zijn.

[ Voor 24% gewijzigd door BlackBurn op 16-02-2003 13:07 ]

If it is broken, fix it. If it ain't broken, make it better!


  • gorgi_19
  • Registratie: Mei 2002
  • Laatst online: 15:16

gorgi_19

Kruimeltjes zijn weer op :9

En waar heb je hem toegevoegd? In welke folder?

[ Voor 23% gewijzigd door gorgi_19 op 16-02-2003 13:08 ]

Digitaal onderwijsmateriaal, leermateriaal voor hbo


  • BlackBurn
  • Registratie: Juni 2001
  • Laatst online: 17:25

BlackBurn

One Ring To Rule Them All

Topicstarter
gorgi_19 schreef op 16 February 2003 @ 13:07:
En waar heb je hem toegevoegd?
web.config staat in de root (deze pakt toch automatisch alle diepere liggende directories?)

If it is broken, fix it. If it ain't broken, make it better!


  • gorgi_19
  • Registratie: Mei 2002
  • Laatst online: 15:16

gorgi_19

Kruimeltjes zijn weer op :9

BlackBurn schreef op 16 February 2003 @ 13:08:
[...]


web.config staat in de root (deze pakt toch automatisch alle diepere liggende directories?)
Idd. Dus in de folder /informatie heb je er geen staan.
Hoe ziet je web.config er uit?

Digitaal onderwijsmateriaal, leermateriaal voor hbo


  • BlackBurn
  • Registratie: Juni 2001
  • Laatst online: 17:25

BlackBurn

One Ring To Rule Them All

Topicstarter
Standaard web.config, die vs.net aanmaakt, alleen dan die customErrors gewijzigd (heb trouwens al wel meer proberen te wijzigen, maar dit is de huidige.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    
  <system.web>

    <!--  DYNAMIC DEBUG COMPILATION
          Set compilation debug="true" to insert debugging symbols (.pdb information)
          into the compiled page. Because this creates a larger file that executes
          more slowly, you should set this value to true only when debugging and to
          false at all other times. For more information, refer to the documentation about
          debugging ASP.NET files.
    -->
    <compilation defaultLanguage="vb" debug="true" />

    <!--  CUSTOM ERROR MESSAGES
          Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 
          Add <error> tags for each of the errors you want to handle.
    -->
    
    <customErrors mode="Off"/>

    <!--  AUTHENTICATION 
          This section sets the authentication policies of the application. Possible modes are "Windows", 
          "Forms", "Passport" and "None"
        -->
    <authentication mode="Windows" /> 


    <!--  AUTHORIZATION 
          This section sets the authorization policies of the application. You can allow or deny access
          to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous 
          (unauthenticated) users.
    -->
    <authorization>
        <allow users="*" /> <!-- Allow all users -->

            <!--  <allow     users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
                  <deny      users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
            -->
    </authorization>

    <!--  APPLICATION-LEVEL TRACE LOGGING
          Application-level tracing enables trace log output for every page within an application. 
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
          application trace log by browsing the "trace.axd" page from your web application
          root. 
    -->
    <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />


    <!--  SESSION STATE SETTINGS
          By default ASP.NET uses cookies to identify which requests belong to a particular session. 
          If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
          To disable cookies, set sessionState cookieless="true".
    -->
    <sessionState 
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="data source=127.0.0.1;user id=sa;password="
            cookieless="false" 
            timeout="20" 
    />

    <!--  GLOBALIZATION
          This section sets the globalization settings of the application. 
    -->
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
   
  </system.web>

</configuration>

If it is broken, fix it. If it ain't broken, make it better!


Verwijderd

post effe de foutmelding die JIJ krijgt te zien, wij zien alleen maar dat er een fout is maar dat de configuratie van de site het niet toe laat op de exacte foutmelding te zien.

  • BlackBurn
  • Registratie: Juni 2001
  • Laatst online: 17:25

BlackBurn

One Ring To Rule Them All

Topicstarter
Verwijderd schreef op 16 February 2003 @ 19:50:
post effe de foutmelding die JIJ krijgt te zien, wij zien alleen maar dat er een fout is maar dat de configuratie van de site het niet toe laat op de exacte foutmelding te zien.
Dat is dus hetzelfde, als wat ik te zien krijg, maar heb ze erover gemaild en als ik wat meer weet, post ik het.

iig vast bedankt voor de moeite!

If it is broken, fix it. If it ain't broken, make it better!


  • BlackBurn
  • Registratie: Juni 2001
  • Laatst online: 17:25

BlackBurn

One Ring To Rule Them All

Topicstarter
Het probleem is opgelost, als antwoord kreeg ik: "asp.net-user was niet geinstalleerd. Dit is namelijk niet standaard..."

iig bedankt, voor de hulp.

If it is broken, fix it. If it ain't broken, make it better!

Pagina: 1