FAQ |
Kalender |
![]() |
#1 | ||
|
|||
Nykomling
|
Hej!
Varje gång jag försöker installera en ASP.NET applikation så får jag bara Runtime Error, hela tiden. Försöker installera SPAW2 ASP.NET versionen. Någon som kan hjälpa mig? Ligger hos Binero. Kod:
Server Error in '/' 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> |
||
![]() |
![]() |
![]() |
#2 | ||
|
|||
Mycket flitig postare
|
Har du slagit på felmeddelanden som det står att man kan göra?
|
||
![]() |
![]() |
![]() |
#3 | ||
|
|||
Har WN som tidsfördriv
|
Börja med att gå till Web.Config och ändra
<customErrors mode="On"/> till <customErrors mode="Off"/> Kör koden sen så får du förmodligen fram ett bättre felmeddelande. Skulle du ändå få samma felmeddelande så kan det bero på att Web.Config är felaktig eller att du försöker köra framework 1 när sajten är konfigurerad för framework 2 eller tvärt om. |
||
![]() |
![]() |
![]() |
#4 | ||
|
|||
Nykomling
|
customErrors raden finner jag inte i config filen?
Citat:
|
||
![]() |
![]() |
![]() |
#5 | ||
|
|||
Mycket flitig postare
|
I felmeddelandet står det ju:
Citat:
|
||
![]() |
![]() |
![]() |
#6 | ||
|
|||
Nykomling
|
Det finns ingen web.config fil i rooten utan det finns två .config filer i spaw2/config mappen som heter spaw2.config och spaw2.default.config jag har nu lagt till customErrors raden i båda och får fortfarande samma felmeddelande?
|
||
![]() |
![]() |
![]() |
#7 | ||
|
|||
Har WN som tidsfördriv
|
Citat:
|
||
![]() |
![]() |
![]() |
#8 | ||
|
|||
Nykomling
|
Har gjort en web.config och lagt i root'en nu men händer fortfarande ingen?
<?xml version="1.0" encoding="utf-8"?> <settings> <configuration> <system.web> <customErrors mode="Off" /> </system.web> </configuration> </settings> |
||
![]() |
![]() |
![]() |
#9 | ||
|
|||
Nykomling
|
Blir snart galen, händer absolut ingenting.
Nu har jag en web.config fil i root'en men får fortfarande samma meddelande. www.gabrielsava.se/test/demo/demo.aspx Min config fil som ligger i root'en.... Kod:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> |
||
![]() |
![]() |
![]() |
#10 | ||
|
|||
Har WN som tidsfördriv
|
Jag hämtade hem SPAW2. Öppnade ZIP-filen och kopierade mappen som heter SPAW2 till en webbplats. De två filerna som fanns i Bin-mappen kopierade jag ut till sajtens Bin-mapp. Sen gick jag till /spaw2/demo/demo.aspx och det fungerade direkt.
- Är det Framework 2.0 på din sajt? |
||
![]() |
![]() |
Svara |
|
|