<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Registry'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Registry&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Registry'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Not able to access Registry Key</title><link>http://forums.asp.net/thread/3497635.aspx</link><pubDate>Fri, 06 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3497635</guid><dc:creator>pavangm</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am currently running my ASP .Net Solution in Windows Server 2008 R2 Machine. I am not able to access the manually created Registry key &amp;nbsp;through C# Code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The new Registry Key has been created under HKLM\Software\Microsoft. KeyName =’A’.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;RegistryKey RepKey = Registry.LocalMachine.OpenSubKey(&amp;quot;software&amp;quot;).OpenSubKey(&amp;quot;microsoft&amp;quot;).OpenSubKey(&amp;quot;A&amp;quot;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;OpenSubKey method returns null although there is valid Registry Key.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Whereas, the method returns the valid key when same solution is run on windows Xp Machine. I am able to access the Registry key in Form Application too in Windows Server 2008 R2. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Has anyone faced the similar issue?&lt;/p&gt;
&lt;p&gt;-Pavan&lt;/p&gt;</description></item><item><title>Regasm Stability Problem on Windows 2003 Server</title><link>http://forums.asp.net/thread/3334270.aspx</link><pubDate>Thu, 06 Aug 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3334270</guid><dc:creator>SCDavies</dc:creator><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having an issue with the v2.0.50727 regasm tool. I have 2 dlls that I add to the registry with regasm. I then restart IIS (6) on the server. My app can call methods in the dll for awhile it seems, then for no apparent reason I get the server error that basically means &amp;#39;not found&amp;#39; (I can&amp;#39;t remember the specific error number returned to the browser).&lt;/p&gt;
&lt;p&gt;I then re-register my dlls and restart IIS, and it&amp;#39;s working again. Then, I reboot the server and it&amp;#39;s broken again. Can anyone shed some light on why this seems so flakey? I have a release next week that my work is going into and I&amp;#39;m about to send Microsoft some hate mail if I don&amp;#39;t get this stablized soon.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item><item><title>Creating a sign up page without using the CreateUserWizard?</title><link>http://forums.asp.net/thread/3090891.aspx</link><pubDate>Wed, 15 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3090891</guid><dc:creator>Magosk</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can anyone recommend how to create a sign up page without using CreateUserWizard? I am using MS Access.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Erik&lt;/p&gt;</description></item><item><title>Re: cannot install Visual Studio 2008, Error code 1603</title><link>http://forums.asp.net/thread/2788801.aspx</link><pubDate>Fri, 05 Dec 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2788801</guid><dc:creator>hardboni</dc:creator><description>&lt;p&gt;I was having similar issues.&amp;nbsp; Tnx to Randys post i solved it.&lt;/p&gt;
&lt;p&gt;I used the:&amp;nbsp;&lt;a class="" title="RegistryCleaner" href="http://ms-errors.com/"&gt;RegistryCleaner&lt;/a&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;&lt;a class="" title="RegistryCleaner" href="http://ms-errors.com/"&gt; &lt;/a&gt;he recomand and it solve my problems and some other&amp;nbsp;&lt;a class="" title="Registry" href="http://ms-errors.com/"&gt;Registry&lt;/a&gt;&lt;/font&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3"&gt; issue i had&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font face="Calibri"&gt;&lt;span style="COLOR:#1f497d;"&gt;&lt;font size="3"&gt;tnx randy u just saved me from formating my computer.&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;</description></item><item><title>Re: Get rid of &amp;quot;Windows Internet Explorer&amp;quot; in title of new IE window..</title><link>http://forums.asp.net/thread/2770907.aspx</link><pubDate>Thu, 27 Nov 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2770907</guid><dc:creator>barrettc4</dc:creator><description>This code will modify registry key for the window title of internet explorer. If it does not already exist it will create it. For this to work your web sites needs to be in the &amp;quot;Trusted Zone&amp;quot; in internet explorer on all your clients computers.&lt;br /&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;!DOCTYPE&lt;/span&gt; html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;
&amp;lt;&lt;span class="tag"&gt;html&lt;/span&gt;&lt;span class="attr"&gt; xmlns=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&lt;/span&gt;&amp;gt;
&amp;lt;&lt;span class="tag"&gt;head&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span class="tag"&gt;title&lt;/span&gt;&amp;gt;Untitled Page&amp;lt;/&lt;span class="tag"&gt;title&lt;/span&gt;&amp;gt;

    &amp;lt;&lt;span class="tag"&gt;script&lt;/span&gt;&lt;span class="attr"&gt; type=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;
           var shell = new ActiveXObject(&amp;quot;WScript.Shell&amp;quot;); 
           shell.RegWrite(&amp;quot;HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\main\\Window Title&amp;quot;, &amp;quot;newtitle&amp;quot;, &amp;quot;REG_SZ&amp;quot;);           
    &amp;lt;/&lt;span class="tag"&gt;script&lt;/span&gt;&amp;gt;

&amp;lt;/&lt;span class="tag"&gt;head&lt;/span&gt;&amp;gt;
&amp;lt;&lt;span class="tag"&gt;body&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;body&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;html&lt;/span&gt;&amp;gt;&lt;/pre&gt;&amp;nbsp;</description></item><item><title>aspnet_setreg Registry encryption issue</title><link>http://forums.asp.net/thread/2630737.aspx</link><pubDate>Thu, 18 Sep 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2630737</guid><dc:creator>ds12will</dc:creator><description>&lt;p&gt;I&amp;#39;m in the process of testing the encryption method of using aspnet_setreg in .net 1.1 to establish a encrypted connection string.&amp;nbsp; To read the registry you have to give ASPNET user read access to that specific registry or a security error occurs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The testing is now on a DEV server that is Windows 2003 using 6.0 IIS.&amp;nbsp; From the following reading instead of using ASPNET user I should have to use NETWORK SERVICE to give read access to the registry. Here is the link: &lt;a href="http://support.microsoft.com/kb/329290"&gt;http://support.microsoft.com/kb/329290&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I haven&amp;#39;t had the chance to test using this name because we dont have access to the DEV server, the server people have to test if for us.&amp;nbsp; But has anyone had experience with this and instead used NETWORK Service instead of ASPNET user to read a registry or something?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>IIS - AppPool Identity vs Registry - HKEY_CURRENT_USER </title><link>http://forums.asp.net/thread/2259971.aspx</link><pubDate>Thu, 27 Mar 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2259971</guid><dc:creator>crixo</dc:creator><description>&lt;p&gt;My&amp;nbsp;web application is using ad hoc AppPool(IIS6) using as identity a specific user(User1).&lt;/p&gt;
&lt;p&gt;Into this web app. I need to read/write a Registry Key under HKEY_CURRENT_USER.&lt;/p&gt;
&lt;p&gt;I thought key red by my application, runnign under User1 based AppPool Identity, is same as User1 is logged on the machine...but is not...&lt;/p&gt;
&lt;p&gt;rather than my web app is running under User1, key registry reead/write is always: HKEY_USER -&amp;gt; .DEFAULT also if my C# is calling HKEY_CURRENT_USER&lt;br /&gt;&lt;font size="2"&gt;Microsoft.Win32.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;RegistryKey&lt;/font&gt;&lt;font size="2"&gt; hiveKey = Microsoft.Win32.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Registry&lt;/font&gt;&lt;font size="2"&gt;.CurrentUser;&lt;/font&gt;&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;..why??&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also using same code into a service, running under User1, and what happend is what I aspected: HKEY_CURRENT_USER belong to user under who is running the service, in fact User1... why is not the same for AppPool?&lt;/p&gt;</description></item><item><title>avoid unnecessary dll files to access</title><link>http://forums.asp.net/thread/2227230.aspx</link><pubDate>Wed, 12 Mar 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2227230</guid><dc:creator>ManickMagesh</dc:creator><description>&lt;p&gt;Hi i need some guideliness from u guys,&lt;br /&gt;&lt;br /&gt;See i have created one project, it contained lot of sub modules...,&lt;br /&gt;&lt;br /&gt;Take example, i created one &lt;b&gt;ERP package&lt;/b&gt;...,&lt;br /&gt;&lt;br /&gt;In that &lt;b&gt;HR, Payroll, Filemanagement &lt;/b&gt;like this sub modules will be there...,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;This all the things, i have in one project and the dll file name is project name...,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Now my question is, i like to differentiate the modules...,&lt;br /&gt;&lt;br /&gt;It mean, while accesing my project &amp;quot;Enduser&amp;quot; will interacting with that one dll file...,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Suppose lot of enduser will interact this one dll, then it will be critical, then the process will be slow down...,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;So i like to create each module as separate , separate dll&amp;#39;s...,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;so when the &lt;b&gt;user interact with dll using his &amp;quot;Id&amp;quot; and &amp;quot;pwd&amp;quot;, if he have to rights to access another dll, he can access else he wont disturb that dll.&lt;/b&gt;..,&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Example the enduser can have rights only HR and Payroll then he can interact with that 2 dll&amp;#39;s only...,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;So it will avoid enduser to access all the dll&amp;#39;s &amp;amp; we can make process spead also high...,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;How to procedure this?,&lt;/p&gt;
&lt;p&gt;I dont have any team members with me,I am building this project alone,&lt;br /&gt;&lt;br /&gt;So i like to share with u guys how to solve this probs...,&lt;/p&gt;
&lt;p&gt;Enduser accessing that single dll using his id and pwd, now i want the above format,&lt;/p&gt;
&lt;p&gt;For that what i have to do?, and how to achieve this one?,&lt;/p&gt;
&lt;p&gt;Help me, &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Application Pool and Registry permissions</title><link>http://forums.asp.net/thread/2182679.aspx</link><pubDate>Tue, 19 Feb 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2182679</guid><dc:creator>CSAX</dc:creator><description>&lt;p&gt;Hi guys&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I know this has been discussed a lot. However, not in the detail I&amp;#39;d like to and after browsing through x-hundrets of articles I though I gonna past it here.&lt;/p&gt;
&lt;p&gt;I wrote an application, which needs to read and write to the registry. After creating the Virtual Directory (&amp;quot;WebAd&amp;quot;) I created an Application Pool called &amp;quot;RegSec&amp;quot; and specified an ads user account to identify with. This user is local admin and there are no restrictions to his permissions.&lt;/p&gt;
&lt;p&gt;However, when running my application, reading of the registry works fine, but when writing I get the Message:Cannot write to the registry key&amp;quot;.&lt;/p&gt;
&lt;p&gt;It appears that it is not clear to me, how this happens, as the user I specified as Identity in the application pool is local Admin and that application pool has been assigned to the virtual directory.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I want to achieve is the following:&lt;br /&gt;Create an Application Pool, through which permissions are granted to any Virtual Directories that have this application pool assigned (so if I specify a user account which is member of the local admin group, all grants, including writing to the registry, should be there).&lt;br /&gt;I preferrably don&amp;#39;t want to bother anywhere else but in the application pool and also I don&amp;#39;t want to assign the NETWORK SERVICE permissions on the registry.&lt;/p&gt;
&lt;p&gt;Is this possible the way I want this to work? If not, has anyone an Idea how I could achieve that in a very similar way (w/o hacking registry)?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your help!&lt;/p&gt;</description></item><item><title>Items no longer being added to Project MRU list and File MRU list</title><link>http://forums.asp.net/thread/1813499.aspx</link><pubDate>Thu, 19 Jul 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1813499</guid><dc:creator>thelyonken</dc:creator><description>&lt;p&gt;Like most people, I get tired of the accumulation of projects in the &amp;quot;Recent Projects&amp;quot; list when I start up Visual Web Developer. Today I went in to the registry and cleared both the project list and file list at the following locations:&lt;br /&gt; &lt;/p&gt;&lt;p&gt;HKCU\Software\Microsoft\VWDExpress\8.0\ProjectMRUList &lt;br /&gt;HKCU\Software\Microsoft\VWDExpress\8.0\FileMRUList&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve done this a few times before and it&amp;#39;s been fine. However, for some reason this time the lists are broken in some way. When I use VWD, it no longer adds items to either of these lists. It&amp;#39;s as if VWD can&amp;#39;t (or just won&amp;#39;t) add things any more.&lt;/p&gt;&lt;p&gt;In the mean time, I&amp;#39;ve hacked the ProjectMRUList to have the paths to the projects I&amp;#39;m working on just now, but that won&amp;#39;t be a good long-term solution.&lt;/p&gt;&lt;p&gt;I really don&amp;#39;t think I deleted anything else in the registry, I&amp;#39;m pretty careful with it.&lt;br /&gt;&lt;br /&gt;Does anyone have any ideas about how to fix this?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>