2
Answers

About sql server authentication

kishor choure

kishor choure

11y
1.1k
1
Dear sir,

      I am trying to connect with SQL server 2005 with server authentication but I get an error --

Login failed for user '' ". The user is not associated with a trusted SQL Server connection.

I am already performed following steps ----

"Go to Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio 
Right-click the Server name, select Properties > Security 
Under Server Authentication, select SQL Server and Windows Authentication Mode"
login --enabled.

  Please provide me appropriate solution . 
--
Thanks in advance.

Answers (2)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram