2010-11-22 2 views
0

Silverlight Business Application에서 인증을 도와 주시겠습니까? 템플릿 (VS2010, Silverlight 4)을 사용하여 Silverlight 비즈니스 응용 프로그램 프로젝트를 열었습니다. 나는 여분의 코드를 추가하지 않았으며, Web.config에 godaddy sql 서버 연결 항목 만 추가했습니다. 프로젝트를 게시하고 FTP를 통해 godaddy 서버에 전송하십시오.호스팅 Silverlight 비즈니스 응용 프로그램 - Godaddy

"IIS가 명시한 인증 방식 인 '기본, 익명'이지만 바인딩은 정확히 하나의 인증 스키마 만 지원합니다 ... IIS 설정을 변경하여 단일 인증 체계 만 사용하도록합니다."

나는 godaddy에 연락하여 기본 인증 스키마를 사용하지 않도록 설정했습니다. 나는 그것을 다시 시도하고 같은 메시지를 얻었다. 나는 godaddy에게 다시 연락한다. (아마도 그들은 저장 단추를 누르는 것을 잊어 버렸다.) 그들은 IIS 인증 스키마 'IntegratedWindowsAuthentication, Anonymous'를 지정했지만 바인딩은 정확히 하나의 인증 스키마만을 지원한다는 오류를 확인했다. " 이 일을 끝내기 위해 무언가를하기 위해 실종 되었습니까? 도와주세요! 다음은 내 web.config 파일입니다.

<configuration> 
<configSections> 
<system.web> 
    <customErrors mode="Off"/> 
    <httpModules> 
     <add name="DomainServiceModule" 
     type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, 
     System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, 
     PublicKeyToken=31BF3856AD364E35" /> 
    </httpModules> 
    <compilation debug="true" targetFramework="4.0" /> 
    <roleManager enabled="true"/> 
    <authentication mode="Forms">  
    </authentication> 
    <profile> 
     <properties> 
     <add name="FriendlyName"/> 
     </properties> 
    </profile> 
</system.web> 
<system.serviceModel> 
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> 
</system.serviceModel> 
<connectionStrings> 
    <remove name="LocalSqlServer" /> 
    <add name="LocalSqlServer" connectionString="Data Source=myhost; Initial Catalog=mydatabase; User ID=myusername; 
    Password='mypassowrd';" providerName="System.Data.SqlClient"/> 
</connectionStrings> 
</configuration> 

답변

0

인증 체계를 익명 전용으로 설정하도록 지시합니다.

관련 문제