webForumDet fria alternativet

Problem med säkerheten

.NET

0 svar · 227 visningar · startad av NETwork

Medlem sedan juni 20011 732 inlägg
Frågan#1

Vet inte om det är ett .net-problem eller ett IIS-problem. Men jag har en sida som fungerar bra så länge jag sätter den som virtual root i IIS, men jag vill inte ha den direkt under min domän utan den ska ligga i en katalog under domänen. Men då får jag följande felmeddelande:

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 30: "Passport" and "None"
Line 31: -->
Line 32: <authentication mode="None" />
Line 33:
Line 34: <!-- APPLICATION-LEVEL TRACE LOGGING

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