PDA

View Full Version : error در برنامه ویژوال استودیو



parswf
سه شنبه 03 آذر 1388, 09:02 صبح
سلام
من ویستا دارو ویژوال استودیو 2008 نصب کردم
وقتی می خوام یک پروژه باز کنم این ارور رو میده
requested registry access is not allowed
لطفا کمک کنید

Afshin160
سه شنبه 03 آذر 1388, 17:00 عصر
سلام ..
برو به آدرس زير مثل اينكه خيلي ها اين مشكلو داشتن :

http://social.msdn.microsoft.com/Forums/en/vbide/thread/79968ade-ac05-447e-8d81-db46be3a1184


http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=302366

ترجمه اش با خودت :
فكر كنم كارت را راه بندازه :




Fix: Requested registry access is not allowed error when creating silverlight project in visual studio 2008




This is an issue that had me stumped for a while. I was getting a “Requested registry access is not allowed.” message from visual studio when trying to create a new silverlight application.



turns out the culprit is a few registry entries that somehow don’t have the correct permissions.



To fix this:



Download the “SubInACL (http://www.microsoft.com/downloads/thankyou.aspx?familyId=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displayLang=en)” tool from Microsoft and install it
create a batch file in its install dir (C:\Program Files\Windows Resource Kits\Tools\)
the batch should contain:



subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl /grant=system=f



subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl\CLSID /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl\CLSID /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl\CLSID /grant=system=f







subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl.2.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl.2.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl.2.0 /grant=system=f




subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl.3.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl.3.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\AgControl.AgControl.3.0 /grant=system=f







run the batch file from a command line as administrator, and that should fix the problem. This problem can also occur on other project types, so you may need to fix it by calling out to different registry keys. like this one for example (http://petesbloggerama.blogspot.com/2008/01/fix-requested-registry-access-is-not.html).





اينك منبع:

http://weblogs.asp.net/rosherove/archive/2009/05/27/fix-requested-registry-access-is-not-allowed-error-when-creating-silverlight-project-in-visual-studio-2008.aspx