webForumDet fria alternativet

Något är fel

.NET

8 svar · 270 visningar · startad av Nickemannen

Medlem sedan aug. 20003 575 inlägg
Frågan#1

Jag har precis installerat SQl Server 2000 på min server men jag får upp detta fel meddelandet

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 36: "Passport" and "None"
Line 37: -->
Line 38: <authentication mode="Windows" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING

¨På min dator hemma fungerar allt klockrent med winxp

men efter installationen på win2k proffesional server så får jag detta fel är det någon inställning som jag gjorde eller inte gjorde när jag installerade det på denna ?

Medlem sedan dec. 2000399 inlägg
#2

Gör precis som det står: Skapa ett Virtual Directory för din applikation så ska det fungera. Det hjälpte när jag fick detta felmeddelande.

Medlem sedan aug. 20003 575 inlägg
#3

Men jag kan väl inte dela ut min databas mapp ? eller då kan ju väl som helst ladda ner den ?

Medlem sedan mars 20023 561 inlägg
#4

Nej, du skall inte dela ut din databas-mapp. Skapa bara en Virtual Directory som juventus1 skrev.

Medlem sedan dec. 19996 522 inlägg
#5

Du har nog missförstått application lite nickemannen

Från Msdn
ASP.NET defines an application as the sum of all files, pages, handlers, modules, and executable code that can be invoked or run in the scope of a given virtual directory (and its subdirectories) on a Web application server. For example, an "order" application might be published in the "/order" virtual directory on a Web server computer. For IIS the virtual directory can be set up in the Internet Services Manager; it contains all subdirectories, unless the subdirectories are virtual directories themselves.

Medlem sedan aug. 20003 575 inlägg
#6

Vilken mapp skall jag tillsätta det då ?

SqlServer mappen eller den mappen där jag har mina sql server databas filer ?

Medlem sedan dec. 19996 522 inlägg
#7

Ingen du ska sätta det på den mapp som din asp.net applikation ligger på, där dina aspx filer som kör mot sqlserver ligger

Medlem sedan aug. 20003 575 inlägg
#8

Där mina aspx filer ligger där finns det möjlighet till att de skall kunna köras ja

Medlem sedan aug. 20003 575 inlägg
#9

aha, hittade det num tack jag var nog lite dum

271 ms totalt · 4 externa anrop · v20260731065814-full.e96017d9
139 ms — deklarationer (db)
0 ms — hämta statistik (cache)
127 ms — hämta tråd, inlägg och bilagor (db)
139 ms — ändringar (db)