配置環境遇到的問題

1.沒有爲請求的 URL 配置默認文檔,而且沒有在服務器上啓用目錄瀏覽。web

1  <system.webServer>
2     <modules runAllManagedModulesForAllRequests="true" />
3     <directoryBrowse enabled="true" />
4   </system.webServer>

 

2.行尾不一致,將行尾標準化sql

在選項裏->環境->文檔中有一個"加載時檢查一致的行尾"鉤去掉就不會檢查了。服務器

若是出現亂碼多是由於編碼的問題,能夠啓用UTF-8的檢測,在工具->選項->文本編輯器->自動檢測不帶簽名的UTF-8編碼,勾選。app

 

3.解決沒法打開項目文件「Web.csproj」 此安裝不支持該項目類型webapp

解決辦法,用不帶sp1的vs新建一個項目,而後將打不開的工程文件csproj中的編輯器

<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

(大約在10行左右)替換爲新建工程文件csproj中的對於行就行。工具

這個說的還有點像,就是先本身新建一個webapplication或者找本身機器上的吧工程文件csproj中的ProjectTypeGuids節點內容拷貝過來就行了。不知這是什麼問題。sqlserver

我比較了兩者的差異:ui

{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} 能打開的
{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} 不能打開的編碼

 

4.解決VS的註釋圖標不見問題

工具欄選項勾選文本編輯器

 

VS2010旗艦版

Key:YCFHQ9DWCYDKV88T2TMHG7BHP

VS2017專業版和企業版激活密鑰

Enterprise:

NJVYC-BMHX2-G77MM-4XJMR-6Q8QF

Professional:

KBJFW-NXHK6-W4WJM-CRMQB-G3CDH

 

附sqlserver 2008 r2密鑰

Developer: PTTFM-X467G-P7RH2-3Q6CG-4DMYB
Enterprise: JD8Y6-HQG69-P9H84-XDTPG-34MBB
Microsoft SQL Server 2008 R2序列號密鑰
開發版32位:MC46H-JQR3C-2JRHY-XYRKY-QWPVM
開發版64位:FTMGC-B2J97-PJ4QG-V84YB-MTXX8
工組版:XQ4CB-VK9P3-4WYYH-4HQX3-K2R6Q
WEB版:FP4P7-YKG22-WGRVK-MKGMX-V9MTM
數據中心版32位:PTTFM-X467G-P7RH2-3Q6CG-4DMYB
數據中心版64位:DDT3B-8W62X-P9JD6-8MX7M-HWK38
企業版32位:R88PF-GMCFT-KM2KR-4R7GB-43K4B
企業版64位:GYF3T-H2V88-GRPPH-HWRJP-QRTYB
標準版32位:CXTFT-74V4Y-9D48T-2DMFW-TX7CY
標準版64位:B68Q6-KK2R7-89WGB-6Q9KR-QHFDW

 

WebStrom

激活碼:
4RULSIH54N-eyJsaWNlbnNlSWQiOiI0UlVMU0lINTROIiwibGljZW5zZWVOYW1lIjoiMjA5OSAxODExIiwiYXNzaWduZWVOYW1lIjoiIiwiYXNzaWduZWVFbWFpbCI6IiIsImxpY2Vuc2VSZXN0cmljdGlvbiI6IkZvciBlZHVjYXRpb25hbCB1c2Ugb25seSIsImNoZWNrQ29uY3VycmVudFVzZSI6ZmFsc2UsInByb2R1Y3RzIjpbeyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMTktMTEtMjcifSx7ImNvZGUiOiJBQyIsInBhaWRVcFRvIjoiMjAxOS0xMS0yNyJ9LHsiY29kZSI6IkRQTiIsInBhaWRVcFRvIjoiMjAxOS0xMS0yNyJ9LHsiY29kZSI6IlBTIiwicGFpZFVwVG8iOiIyMDE5LTExLTI3In0seyJjb2RlIjoiR08iLCJwYWlkVXBUbyI6IjIwMTktMTEtMjcifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAxOS0xMS0yNyJ9LHsiY29kZSI6IkNMIiwicGFpZFVwVG8iOiIyMDE5LTExLTI3In0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDE5LTExLTI3In0seyJjb2RlIjoiUkMiLCJwYWlkVXBUbyI6IjIwMTktMTEtMjcifSx7ImNvZGUiO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5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==

 

激活步驟以下:

修改hosts文件,針對Windows系統 請打開C:\Windows\System32\drivers\etc\hosts文件,添加一行以下語句 複製

0.0.0.0 account.jetbrains.com

相關文章
相關標籤/搜索