Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Asp.net webpart causing problem in wss when tring to link

Asp.net webpart causing problem in wss when tring to link

Scheduled Pinned Locked Moved SharePoint
csharpdatabasehelpasp-netsql-server
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nainakarri
    wrote on last edited by
    #1

    Hi I am using WSS3.0 and i have a webpage (developed with asp.net+c#). The webpage contains webparts. Now i am trying to display the webpage in WSS PageViewerwebpart. But i am getting the below error when i try to do so. Error Login failed for user, the user is not associate with trusted sql server connection. I checked in event viewer and found the below error listed SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT:xxx.xx.xx.xxx] I have a connection string where i give username and password of DB and authenticate the user from active directory by getting the emailid from database. Note When i try to connect the webpage without webpart, the page displays properly in WSS. If i have webpart, it gives error. If i run the page seperately out from WSS site, on visual studio, the page works fine. Thank in advance Naina

    Naina

    N 1 Reply Last reply
    0
    • N nainakarri

      Hi I am using WSS3.0 and i have a webpage (developed with asp.net+c#). The webpage contains webparts. Now i am trying to display the webpage in WSS PageViewerwebpart. But i am getting the below error when i try to do so. Error Login failed for user, the user is not associate with trusted sql server connection. I checked in event viewer and found the below error listed SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT:xxx.xx.xx.xxx] I have a connection string where i give username and password of DB and authenticate the user from active directory by getting the emailid from database. Note When i try to connect the webpage without webpart, the page displays properly in WSS. If i have webpart, it gives error. If i run the page seperately out from WSS site, on visual studio, the page works fine. Thank in advance Naina

      Naina

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      What are the webparts you are using?


      I know the language. I've read a book. - _Madmatt

      N 1 Reply Last reply
      0
      • N Not Active

        What are the webparts you are using?


        I know the language. I've read a book. - _Madmatt

        N Offline
        N Offline
        nainakarri
        wrote on last edited by
        #3

        I have a webpage, one webpart is showing RSS feed. The other one is a usercontrol which connects to db and shows the result. Naina

        Naina

        N 1 Reply Last reply
        0
        • N nainakarri

          I have a webpage, one webpart is showing RSS feed. The other one is a usercontrol which connects to db and shows the result. Naina

          Naina

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          And where are you getting the database connection string from? The more detail you give in your question/reply the better we will be able to help.


          I know the language. I've read a book. - _Madmatt

          N 2 Replies Last reply
          0
          • N Not Active

            And where are you getting the database connection string from? The more detail you give in your question/reply the better we will be able to help.


            I know the language. I've read a book. - _Madmatt

            N Offline
            N Offline
            nainakarri
            wrote on last edited by
            #5

            Sorry for not giving a clear idea of my prob' I have the connection string in web.config. When i access the db without webpart in the webpage, i am able to load the page in wss. But if i have the webpart in the webpage, i could load the webpage normally in the browser, but in wss i couldnt load the webpage :( Naina

            Naina

            1 Reply Last reply
            0
            • N Not Active

              And where are you getting the database connection string from? The more detail you give in your question/reply the better we will be able to help.


              I know the language. I've read a book. - _Madmatt

              N Offline
              N Offline
              nainakarri
              wrote on last edited by
              #6

              Was my question still not clear?

              Naina

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups