.NET Logo
Welcome Guest Search | Active Topics | Members | Log In | Register

รบกวนท่านผู้รู้ ตอบปัญหา Error ASP.Net เกี่ยวกับ <authentication mode="Windows"/> Options · View
oonstar
Posted: Saturday, September 13, 2008 12:38:44 AM
Rank: มือฝึกหัด
Groups: Member

Joined: 9/12/2008
Posts: 5
Location: bbk

คือผมได้เขียนเวป ASP.Net  ทดลองใช้กับเครื่องตัวเองดู ก็ไม่มีปัญหาอะไรผ่านฉลุย

แต่พอเอาไป upload ที่ Host ที่เช่าไว้  กลับขึ้น Error  ตามในรูป  <authentication mode="Windows"/>

งมแก้ปัญหามาหลายวัน ไม่รู้จะทำยังไงดี  เลยมาสอบถามท่านผู้รู้ช่วยเมตา มาแนะนำทีว่าผมต้องแก้ไขอย่างไรดีครับ  ถ้าได้แบบละเอียดก็ดีนะครับ

รวมไปถึงขอคำแนะนำการเขียน web  asp.net กับ database ลงใน Host ที่เราเช่าด้วย ว่าควรจะทำอย่างไร คือไม่เคยทำอ่ะครับ

 

ขอบคุณครับ

 

 

 

 

nuttaponp
Posted: Saturday, September 13, 2008 1:58:21 AM
Rank: มือพระกาฬ
Groups: Member

Joined: 9/9/2008
Posts: 62

 

ให้กำหนดโฟล์เดอร์ที่เก็บไฟล์ web.Config ใน Host ให้เป็น Virtual directory น่ะครับ

จริงๆแล้ว ส่วนมาก Host ทั่วๆไปเค้าจะกำหนด Virtual directory  อยู่ที่ root โฟล์เดอร์ครับ และผมคิดว่าเค้าคงไม่อนุญาตให้เราตั้งโฟล์เดอร์ย่อยให้เป็น Virtual directory แน่ๆ วิธีการข้างบนคงไม่ไหว

ผมดูแล้วเหมือนว่าคุณมีไฟล์ web.config อยู่ในโฟล์เดอร์ย่อย (คล้ายๆจะเป็น http://www.ชื่อโดเมนคุณ.com/osfc) ผมว่าไฟล์นี้ให้ย้ายไปอยู่ใน root หรือถ้ามี web.config อีกอันใน root ก็ลบมันไปเลยครับ น่าจะแก้ปัญหานี้ได้

 

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.


Sponsored by