Add a SQL Datasource to a Web Test

时光总嘲笑我的痴心妄想 提交于 2019-12-02 11:29:46

This is just a typical day using VS2017. I swear this product has not been properly tested.

So I ran a Process Monitor trace when I clicked the OK button in the Data Connection Dialog and I found one Access Denied:

Event Class:    Registry
Operation:  RegCreateKey
Result: ACCESS DENIED
Path:   \REGISTRY\A\{A8BB3990-53C7-4BD7-A7E3-CFA0DD6BD4EC}\Software\Microsoft\VisualStudio\15.0_8708a912\Data Connection Dialog
TID:    11800
Duration:   0.0000764
Desired Access: Read/Write

I opened Visual Studios own Registry Hive (using these steps) and it turns out the Data Connection Dialog key didn't even exist. I created the Key, closed the registry, re-opened VS2017 and added a DataSource successfully:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!