- ใช้ vista ตั้งแต่เมื่อวาน วันนี้เลยจะรันงาน webservice ที่ทำไว้บน vista ซะหน่อย
- ติดปัญหาเหมือนตอนเอา service ไปรันบน server 2003 เลยแฮะ
http://localhost/webmethod/Service.asmx
Server Error in '/' Application.
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 26: ASP.NET to identify an incoming user.
Line 27: -->
Line 28: <authentication mode="Windows"/>
Line 29: <!--
Line 30: The <customErrors> section enables configuration
Source File: D:\Works\doing\cmp1\backend\webmethod\web.config Line: 28
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
Solved
- แปลง virtual host ที่เราสร้างไว้เป็น Application สิครับ
- ที่ต้องทำงี้เพราะ สร้างเป็น virtual host ไม่ได้สร้างเป็น Application โดยตรง ^^'
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyDAi4xP9VdNR897JZcHNNA_9GflkETmKB0sq9nq4iczGLcEXhLnAlchhFcUTMOV5p_yQx2hFP5nIxaUUYNi8PC53w2UlT9Jc0Ws63hMf4z19QuIE1x6WpKf6kgATyLPlEvid1qA/s400/convert2application.jpg)
Related:
No comments:
Post a Comment