An attempt was made to perform an unauthorized registry operation

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default An attempt was made to perform an unauthorized registry operation

    Hi,

    I am trying to develop a web application from VS.net 2003 for Sharepoint Search in my page.

    topology = new TopologyManager();
    portal = topology.PortalSites[new Uri("http://localhost:8080/personal/sathishe/")];
    context = PortalApplication.GetContext(portal);

    My Application is running on 81 port.With that if i rry to run it, it's throwing the error "An attempt was made to perform an unauthorized registry operation". if i given server name and database name in TopologyManager class. Again it throwing error
    " Login failed for user 'NT AUTHORITY\NETWORK SERVICE'"

    I don't know how it can be solved.It is problem with iis virtual server port or some other configuration needed for it.Please help me to solve this problem.

    Advance Thanks
    Regards
    Sathish

    --
    Message posted via [url]http://www.dotnetmonster.com[/url]
    Sathish Elango via DotNetMonster.com Guest

  2. Similar Questions and Discussions

    1. ASP.NET: 401 (Unauthorized) error
      My distributed app has the following cofiguration: My machine is not networked and I use localhost on IIS as a Web container. On localhost I...
    2. Web Service & 401: Unauthorized
      so post what you did
    3. HTTP Error 401: Unauthorized
      Hi all, Sorry if you had this one before, but I hope you can help. I'm running VS.NET 2003 on a Windows Server 2003 Standard Edition. The server...
    4. 401 Unauthorized when using DefaultCredentials
      Hi all I hope this is the right newsgroup. I'm having a hard time making a web request from an authenticated process. Here's the scenario Managed...
    5. A possible cause of this error is insufficient access rights to perform the operation. You can manually configure the application root ...
      Hello everybody: I got this error creating ASP.NET projects. The configuration is the following. WorkStation - Windows2000 & VS.NET 2003...
  3. #2

    Default Re: An attempt was made to perform an unauthorized registry operation

    I had the same problem. I solved it by using the Sharepoint AppPool for my
    website. I can't explain why it solved the problem, but i did work.

    Good luck
    Kaj

    --
    Message posted via [url]http://www.dotnetmonster.com[/url]
    Kaj Bonfils via DotNetMonster.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139