2009-11-28 2 views
0

로컬 컴퓨터 (Windows Vista)에 DOTNETNUKE 모델을 설치하려고하는데 데이터베이스를 설치 한 직후 문제가있는 것 같습니다. 문제를 해결하기 위해 어디로 가야하는지 또는 다음에해야 할 일을 정확히 알지 못합니다. 아무도 내가이 문제를 어떻게 처리 할 수 ​​있는지 모른다. 미리 감사드립니다.도메인 이름 Windows Vista가 데이터베이스에 존재하지 않습니다.

 
DotNetNuke Error 
-------------------------------------------------------------------------------- 

Domain Name Windows Vista Does Not Exist In The Database 

DotNetNuke supports multiple portals from a single database/codebase. It 
accomplishes this by converting the URL of the client browser Request to 
a valid PortalID in the Portals database table. The following steps 
describe the process: 


Web Server Processing 

When a web server receives a Request from a client browser, it compares the 
file name extension on the target URL resource to its Application Extension 
Mappings defined in IIS. 
Based on the corresponding match, IIS then sends the Request to the defined 
Executable Path (aspnet_asapi.dll in the case of ASP.NET Requests). The 
aspnet_isapi.dll engine processes the Request in an ordered series of events 
beginning with Application_BeginRequest. 


HttpModule.URLRewrite OnBeginRequest (UrlRewriteModule.vb) 

The Request URL is parsed based on the "/" character 
A Domain Name is constructed using each of the relevant parsed URL segments. 

Examples: 

URL: http://www.domain.com/default.aspx = Domain Name: www.domain.com 
URL: http://209.75.24.131/default.aspx = Domain Name: 209.75.24.131 
URL: http://localhost/DotNetNuke/default.aspx = Domain Name: localhost/DotNetNuke 
URL: http://www.domain.com/virtualdirectory/default.aspx = Domain Name: www.domain.com/virtualdirectory 
URL: http://www.domain.com/directory/default.aspx = Domain Name: www.domain.com/directory 


Using the Domain Name, the application queries the database (Portals table - 
PortalAlias field) to locate a matching record. 

Note: If there are multiple URLs which correspond to the same portal then the 
PortalAlias field must contain each valid Domain Name in a comma seperated list. 

Example: 

URL: http://localhost/DotNetNuke/default.aspx 
URL: http://MACHINENAME/DotNetNuke/default.aspx 
URL: http://209.32.134.65/DotNetNuke/default.aspx 
PortalAlias: localhost/DotNetNuke,MACHINENAME/DotNetNuke,209.32.134.65/DotNetNuke 

Note: If you are installing the application to a remote server you must 
modify the PortalAlias field value for the default record in the Portals 
table according to the rules defined above. 

답변

0

설치 상태를 알기가 어렵습니다. 설치하는 동안 데이터베이스가 만들어지고 채워 졌다고 가정합니다. 설치하면

첫째, 당신의 계획은 해당 지역의 IIS에서/디버그를 실행하는 경우, 테이블

dbo.PortalAlias 

보면, 당신은 그것을,

localhost/YOURVIRTUALDIR 
+0

내 PortalAlias ​​테이블과 내 포털 테이블이 모두 비어 있습니다. 이게 사실인가요? – Kobojunkie

+0

비어 있음 틀림 없음. SQLServer 또는 Express 단일 파일 MDF를 사용하고 있습니까? – BozoJoe

+0

SQLServer Enterprise Edition을 사용하고 있습니다. – Kobojunkie

0

의 HTTPAlias에 대한 항목이 있어야합니다 마지막 단계 인 Portal의 기본 설치가 실행되지 않았을 가능성이 있습니다. 비슷한 경우에 "사용자 정의"설치를 선택하면이 마지막 단계가 누락되었지만 오류가 발생하지 않은 것으로 나타났습니다.

해상도 : 다시 설치 (모든 것을 제거하거나 새 위치에 설치, 다른 DB를 사용하거나 하나 다시 설치하기 전에 제거) 온라인 마법사를위한 선택 "자동"설치를. 이것은 작동하고 기본 포털의 생성을 포함합니다. 자동으로 구성된 모든 항목은 나중에 변경 될 수 있습니다.

0

나는이 문제가 발생한 사람에게이 문제가 발생한 사람에게 의 "Portal Alias"테이블을 업데이트하고 HTTP 별칭 (내 로컬 호스트, 나는 포털 ID 0 (내 포털 ID는 0)으로, 내가 localhost : 8089로 설정했는데, 이는 DNN 웹 사이트의 IIS 바인딩에서 설정 한 것과 동일합니다. 확실한지 확인하고있었습니다. web.config 파일을 데이터베이스 연결 문자열로 업데이트했지만 web.config에 데이터베이스 연결에 대한 두 가지 점이 있다는 것을 깨달았습니다. 그 중 하나가 누락되었습니다. 두 연결을 다음과 같이 업데이트하십시오.

1) <connectionStrings> 
2) <appSettings> 

희망 사항.

관련 문제