 |
|
รบกวนน่อยคับ เรื่อง IIS น่อยคับมันมี Error ผมแก้ไม่หายซักที onfig Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'C |
|
 |
|
|
 |
 |
|
ผมใช้ VS 2010 เขียนเว็ป ซึงมันจะต้องใช้ .net framework 4
การรันบนเครื่องก็แสดงผลดี แต่ พอเอาไปใส่ในserver มันไม่สามารรันได้
ที่ทำตอนนี้ก็คือ Set IIS แล้ว เปลี่ยนเป็น .net framework 4 แล้ว
แต่มันก็ยังไม่ได้ซักที
แถบDetailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007000d
Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ChartImageHandler'
Config File \\?\C:\inetpub\wwwroot\CHART\web.config
แถบ Config Source
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
61: <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Tag : ASP.NET, Ms SQL Server 2008, Ajax, Excel (Excel.Application), C#, VS 2010 (.NET 4.x)
|
|
 |
 |
 |
 |
Date :
2011-03-03 10:57:11 |
By :
ปู |
View :
2299 |
Reply :
4 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File \\?\C:\inetpub\wwwroot\customeroffer\web.config
Requested URL http://localhost:80/customeroffer/
Physical Path C:\inetpub\wwwroot\customeroffer\
Logon Method Not yet determined
Logon User Not yet determined
ช่วยผมทีครับไม่รู้ว่ามันเป็นอะไรอะครับแก้มาครึ่งเดือนละครับยังไม่ได้อะครับ
|
 |
 |
 |
 |
Date :
2011-12-22 11:38:29 |
By :
sam |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มี key ใน Web.Config ซ้ำแน่นอน
|
 |
 |
 |
 |
Date :
2011-12-22 12:01:56 |
By :
nooknoname |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
<add key="PostgresConnectionString" value="Provider=PostgreSQL OLE DB Provider;Data Source=127.0.0.1;location=postgres;User ID=openbravo;password=sam;Pooling=false;"/>
<add key="NPgsqlConnectionString" value="Server=127.0.0.1;Port=5432;User Id=tad;Password=tad;Database=openbravo; Pooling=false; timeout=120;"/>
ตรงสว่นนี้หรือป่าวครับที่มันซ้ำกัน ถ้าใช่ผมก็เปลี่ยนเป็นตามชื่อฐานข้อมมูลของผมและรหัสผ่านผมด้วยอะครับ
|
 |
 |
 |
 |
Date :
2011-12-22 13:04:54 |
By :
sam |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|