<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2833098303099546507</id><updated>2012-02-02T11:49:22.896-08:00</updated><title type='text'>ajax, asp.net, updatepanel, javascript, scriptmanager</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-8261783737766142830</id><published>2010-09-09T06:26:00.000-07:00</published><updated>2010-09-09T06:29:50.206-07:00</updated><title type='text'>A script reference cannot be included multiple times in composite script references.</title><content type='html'>Sometimes when running web pages having ajax implemented you may receive the following error message&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  &lt;strong&gt;A script reference cannot be included multiple times in composite script references. &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt; The reason for this error message is you have more than one script manager in the page. So remove the extra scriptmanager controls&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; To correct the problems please consider the following steps&lt;br /&gt;&lt;br /&gt;  1. Make sure you have only one scriptmanager in the page&lt;br /&gt;&lt;br /&gt;  2. Check the masterpage if theire is scriptmanager&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-8261783737766142830?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/8261783737766142830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/script-reference-cannot-be-included.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8261783737766142830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8261783737766142830'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/script-reference-cannot-be-included.html' title='A script reference cannot be included multiple times in composite script references.'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-4318565953007066351</id><published>2010-09-09T04:08:00.000-07:00</published><updated>2010-09-09T04:15:14.845-07:00</updated><title type='text'>Element 'ScriptManager' is not a known element.  This can occur if there is a compilation error in the Web Site ajax, javascript, asp.net, c#.net</title><content type='html'>When trying to implement implement ajax into your website you may receive the following error message&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt; &lt;strong&gt;  Element 'ScriptManager' is not a known element.  This can occur if there is a compilation error in the Web Site&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;While trying to solve this problems you please make sure the following points&lt;br /&gt;&lt;br /&gt;   1. Please make sure ajx have installed. If you do't have please download and install from &lt;a href="http://www.asp.net/ajax/downloads/"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   2. You should upgrade the file settings of your web.config with the ajax file settings&lt;br /&gt;&lt;br /&gt;   3. You should make sure Visual Studo 2005 SP1 installed&lt;br /&gt;&lt;br /&gt;   4.  Install ASP.NET AJAX Control Toolkit (Optional)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-4318565953007066351?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/4318565953007066351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/element-scriptmanager-is-not-known.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/4318565953007066351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/4318565953007066351'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/element-scriptmanager-is-not-known.html' title='Element &apos;ScriptManager&apos; is not a known element.  This can occur if there is a compilation error in the Web Site ajax, javascript, asp.net, c#.net'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-6759226560602973073</id><published>2010-09-08T05:49:00.000-07:00</published><updated>2010-09-08T05:56:52.930-07:00</updated><title type='text'>Null is Null or not an object Jquery, javascript, ajax, asp.net, lightbox, prototype, js</title><content type='html'>Sometimes when you are opening some web pages you will receive the following error message&lt;br /&gt;&lt;br /&gt;  &lt;strong&gt;Null is Null or not an object&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The error message is comming in the following situations&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Jquery.js and prototype.js&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You may be using jQuery.js and prototype.js in same html file in such case the confusion will come to the program if you are using '#' to identify jquery objects. So you replace '#' with 'jQuery' and get solve the issue&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;document.getElementById('') is null&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Sometimes you will use a document.getElementById('') to find some controls and and will use that controls in that case you make sure the object is not null&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-6759226560602973073?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/6759226560602973073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/null-is-null-or-not-object-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/6759226560602973073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/6759226560602973073'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/null-is-null-or-not-object-jquery.html' title='Null is Null or not an object Jquery, javascript, ajax, asp.net, lightbox, prototype, js'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-8701395808892212349</id><published>2010-09-08T05:13:00.000-07:00</published><updated>2010-09-08T05:24:00.773-07:00</updated><title type='text'>A Runtime Error has occurred.  Do you wish to debug? Error: Access is Denied</title><content type='html'>When opening some web pages which runs ajax 1.0 enabled ASP.NET 2.0 website &lt;br /&gt;&lt;br /&gt;    &lt;strong&gt;A Runtime Error has occurred. &lt;br /&gt;    Do you wish to Debug? &lt;br /&gt;    Line: 5 &lt;br /&gt;    Error: Access is Denied &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;  The reasons for this error message may be.&lt;br /&gt;&lt;br /&gt;     1. You use an iframe element in a Web page that points to another Web  page &lt;br /&gt;        from a different domain.&lt;br /&gt;&lt;br /&gt;     2. The Web page from a different domain uses ASP.NET AJAX server controls.&lt;br /&gt;        You perform an action in the iframe element that triggers an &lt;br /&gt;        asynchronous postback operation.&lt;br /&gt;&lt;br /&gt;     3. In Microsoft Internet Explorer, you click to select the following &lt;br /&gt;        check boxes under Browsing on the Advanced tab in Internet Options: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                Disable script debugging (Internet Explorer)&lt;br /&gt;&lt;br /&gt;                Disable script debugging (Other)&lt;br /&gt;&lt;br /&gt; This problem occurs because the Web page that contains the iframe element and the Web page to which the iframe element points are in different domains. The AJAX 1.0-enabled ASP.NET script fails when it tries to determine the offset of the content. &lt;br /&gt;&lt;br /&gt;    &lt;strong&gt;To resolve this error follow the below steps&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;        1.  Make sure that the Web page that contains the iframe element and the &lt;br /&gt;            Web page to which the iframe element points are in the same domain.&lt;br /&gt;&lt;br /&gt;        2. Update the JavaScript files to avoid the error message. Use the external script files that exist in the AJAX Library package instead of the resource-based files that exist in the AJAX Extension package.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-8701395808892212349?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/8701395808892212349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/runtime-error-has-occurred-do-you-wish.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8701395808892212349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8701395808892212349'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/runtime-error-has-occurred-do-you-wish.html' title='A Runtime Error has occurred.  Do you wish to debug? Error: Access is Denied'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-3629143452754854257</id><published>2010-09-08T03:24:00.000-07:00</published><updated>2010-09-08T03:28:43.583-07:00</updated><title type='text'>An unknown error occurred while processing the request on the server. The status code returned from the server was: 12031 ajax asp.net error message</title><content type='html'>Hello All&lt;br /&gt;&lt;br /&gt;I have done a web application in asp.net 2.0&lt;br /&gt;&lt;br /&gt;and hosted on my web server UK&lt;br /&gt;&lt;br /&gt;Later i integrated ajax into it now i am getting &lt;br /&gt;&lt;br /&gt;the following error message&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;An unknown error occurred while processing the request on the server. The status code returned from the server was: 12031&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Please answer this and help me&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-3629143452754854257?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/3629143452754854257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/unknown-error-occurred-while-processing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/3629143452754854257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/3629143452754854257'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/09/unknown-error-occurred-while-processing.html' title='An unknown error occurred while processing the request on the server. The status code returned from the server was: 12031 ajax asp.net error message'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-7820082668701555887</id><published>2010-02-08T06:59:00.000-08:00</published><updated>2010-02-08T07:08:43.838-08:00</updated><title type='text'>The operation has timed - Out System.TypeInitializationException asp.net web service Ip address class</title><content type='html'>In visual studio when trying add web reference to a web service you may receive the following error message&lt;br /&gt;&lt;br /&gt; &lt;blockquote&gt; &lt;strong&gt;There was an error downloading 'http://WebServerName/WebServicePath/WebServiceName'. The operation has timed-out.&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;  Or when using ipaddress class will receive a TypeInitializationException&lt;br /&gt;&lt;br /&gt;   &lt;blockquote&gt; &lt;strong&gt;Unhandled Exception: System.TypeInitializationException: The type initializer for "System.Net.Sockets.Socket" threw an exception. ---&gt; System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full at System.Net.Sockets.Socket.InitializeSockets() at System.Net.Sockets.Socket..cctor()&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;   The reason for this error is&lt;br /&gt;&lt;br /&gt;     &lt;blockquote&gt; When you install a protocol or a network adapter on your computer, the operating system creates a protocol binding between the network adapters and the protocols that are installed on your computer. Typically, a computer can store up to 50 protocol binding details. Therefore, if the number of protocol bindings exceeds 50, and you use the IPAddress class directly or indirectly (such as when you try to add a Web reference or when you call a Web service method), you receive the error messages that are mentioned in the "Symptoms" section of this article.&lt;/blockquote&gt; &lt;br /&gt;&lt;br /&gt;   To resolve this problem you must reduce the number of protocols binding on your computer to less than 50. Follow the following steps&lt;br /&gt;&lt;br /&gt;    1. Start-&gt;Settings-&gt; Network and Dial-up Connections and right click any existing connection&lt;br /&gt;&lt;br /&gt;  2. Properties-&gt; Select an unused protocol select uninstall&lt;br /&gt;&lt;br /&gt;  3. Click on yes to the propmpt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-7820082668701555887?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/7820082668701555887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/02/operation-has-timed-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/7820082668701555887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/7820082668701555887'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/02/operation-has-timed-out.html' title='The operation has timed - Out System.TypeInitializationException asp.net web service Ip address class'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-86389359994083086</id><published>2010-02-07T07:35:00.000-08:00</published><updated>2010-02-07T07:44:06.891-08:00</updated><title type='text'>Unable to get local copy of file web references\mappointservice\reference.cs. Visual Studio 2005 upgrades MapPoint Web Service SDK 4.1</title><content type='html'>If you are trying to open Microsoft MapPoint Web Service Software Development Kit (SDK) version 4.1 in visual studio 2005 or higher visual studio will upgrade the project and you will receive the following error message&lt;br /&gt;&lt;br /&gt; &lt;strong&gt;ERROR: Unable to get local copy of file web references\mappointservice\reference.cs.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;   This error is comming because visual studio 2005 includes additional features for visual c#.net and vb.net which were not present in earlier versions of visual studio. Other reason is upgrade wizard does not correctly convert the mappoint SDK sample projects.&lt;br /&gt;&lt;br /&gt; To resolve this&lt;br /&gt;&lt;br /&gt;     *  Start visual studio 2005&lt;br /&gt;&lt;br /&gt;     * On the File menu, point to Open, and then click Project/Solution.&lt;br /&gt;    &lt;br /&gt;     *  Locate the project file (.csproj or .vbproj) that you want to open, and then &lt;br /&gt;         click Open. &lt;br /&gt;&lt;br /&gt;     * In Solution Explorer, right-click the name of the project, and then click Add &lt;br /&gt;       Web Reference.&lt;br /&gt;&lt;br /&gt;     * In the URL box, type the following URL:&lt;br /&gt;        http://staging.mappoint.net/standard-30/mappoint.wsdl&lt;br /&gt;          Click Go.&lt;br /&gt;&lt;br /&gt;     * Click Add Reference.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     * Right-click the project, and then click Rebuild Solution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                  REGARDS&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-86389359994083086?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/86389359994083086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/02/unable-to-get-local-copy-of-file-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/86389359994083086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/86389359994083086'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/02/unable-to-get-local-copy-of-file-web.html' title='Unable to get local copy of file web references\mappointservice\reference.cs. Visual Studio 2005 upgrades MapPoint Web Service SDK 4.1'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-8218987932063915863</id><published>2010-02-05T22:41:00.000-08:00</published><updated>2010-02-06T00:15:02.255-08:00</updated><title type='text'>Access Denied Web service , asp.net , c#.net , vb.net ,Anonymous Authentication</title><content type='html'>&lt;strong&gt;Access Denied error message in web service&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  When trying call a web service you may receive the error message as&lt;br /&gt;&lt;br /&gt;   &lt;blockquote&gt;&lt;strong&gt;The request failed with HTTP status 401: Access Denied. &lt;br /&gt;&lt;br /&gt;Description: An unhandled exception occurred during the execution of the current Web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details: System.Net.WebException: The request failed with HTTP status 401: Access Denied. &lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;  The reason for this error is if the anonymous authentication is turned off you must give credentials before calling the web service. To resolve this issue you must use the credential property of the web service client proxy to set the security credentials for web service client authentication.&lt;br /&gt;&lt;br /&gt;  The ways to resolve this issue is explained below.&lt;br /&gt;&lt;br /&gt;   &lt;strong&gt;Assign the default credentials to the credential property of the webservice proxy class.&lt;/strong&gt; To do this follow the following code.&lt;br /&gt;&lt;br /&gt;  &lt;strong&gt;  myProxy.Credentials= System.Net.CredentialCache.DefaultCredentials;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;  Use the &lt;strong&gt;CredentialCache&lt;/strong&gt; class to providecredentials for webservice client authentication. To do this first create an object  CredentialCache class and again create an object of NetworkCredential which uses the specified username and password. To do this follow the following code.&lt;br /&gt;&lt;br /&gt;  In c#.net&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;  &lt;strong&gt; //Create an instance of the CredentialCache class.&lt;br /&gt;   CredentialCache cache = new CredentialCache();&lt;br /&gt;&lt;br /&gt;   // Add a NetworkCredential instance to CredentialCache.&lt;br /&gt;    // Negotiate for NTLM or Kerberos authentication.&lt;br /&gt;    cache.Add( new Uri(myProxy.Url), "Negotiate", new NetworkCredential       ("UserName", "Password", "Domain")); &lt;br /&gt;&lt;br /&gt;//Assign CredentialCache to the Web service Client Proxy(myProxy) Credetials property.&lt;br /&gt;myProxy.Credentials = cache;&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;  In vb.net&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;  &lt;strong&gt;'Create an instance of the CredentialCache class.&lt;br /&gt;Dim cache As CredentialCache = New CredentialCache()&lt;br /&gt;&lt;br /&gt;'Add a NetworkCredential instance to CredentialCache.&lt;br /&gt;'Negotiate for NTLM or Kerberos authentication.&lt;br /&gt;cache.Add(New Uri(myProxy.Url), "Negotiate", New NetworkCredential("UserName", "Password", "Domain"))&lt;br /&gt;&lt;br /&gt;'Assign CredentialCache to the Web service Client Proxy(myProxy) Credetials property.&lt;br /&gt;myProxy.Credentials = cache&lt;br /&gt;  &lt;/strong&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-8218987932063915863?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/8218987932063915863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2010/02/access-denied-web-service-aspnet-cnet.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8218987932063915863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8218987932063915863'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2010/02/access-denied-web-service-aspnet-cnet.html' title='Access Denied Web service , asp.net , c#.net , vb.net ,Anonymous Authentication'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-8840529373726215839</id><published>2009-12-16T04:14:00.000-08:00</published><updated>2009-12-16T04:33:27.981-08:00</updated><title type='text'>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. asp.net , ajax , javascript ,  Adsutil.vbs iis , c#.net , microsoft ,</title><content type='html'>&lt;strong&gt;HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt; The error is comming usually when you try to access microsoft internet information service 6.0 website which is configurred to use windows authentication only, you may be prompted for your user credentials. When try to logon will receive logon prompt again. After trying to logon several times will receive the error message.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  The situation which causes this error is&lt;br /&gt;  &lt;br /&gt;    IIS 6.0 website is part of IIS application pool and the application pool is running under a local account or under domain user account. And the wesite is confugurred to use windows authentication.&lt;br /&gt;&lt;br /&gt;  To resolve this problem follow the steps below&lt;br /&gt;&lt;br /&gt;     1. Install the Setspn.exe tool from the following website&lt;br /&gt;&lt;br /&gt;  &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5fd831fd-ab77-46a3-9cfe-ff01d29e5c46&amp;displaylang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=5fd831fd-ab77-46a3-9cfe-ff01d29e5c46&amp;displaylang=en) "&gt;     http://www.microsoft.com/downloads/details.aspx?FamilyID=5fd831fd-ab77-46a3-9cfe-ff01d29e5c46&amp;displaylang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=5fd831fd-ab77-46a3-9cfe-ff01d29e5c46&amp;displaylang=en) &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   2. start-&gt;run-cmd to change the path of setspn.exe&lt;br /&gt;&lt;br /&gt;   3. In the command prompt change to the directory where you installed setspn.exe&lt;br /&gt;&lt;br /&gt;   4 Type the following commands&lt;br /&gt;&lt;br /&gt;           setspn.exe -S http/IIS_computer's_NetBIOS_name DomainName\UserName&lt;br /&gt;&lt;br /&gt;           setspn.exe -S http/IIS_computer's_FQDN DomainName\UserName&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you have multiple application pools which all run under domain user accounts then you must force iis to use NLM as your authentication mechanism. To do this follow the following steps&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   1.  Start-&gt;run-&gt;cmd&lt;br /&gt;&lt;br /&gt;  2. change the directory to which contains Adsutil.vbs. By default it will be.&lt;br /&gt;&lt;br /&gt;   C:\Inetpub\Adminscripts.&lt;br /&gt;&lt;br /&gt;  3. Type the following command and pres enter.&lt;br /&gt;&lt;br /&gt;   cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"&lt;br /&gt;4.  to verify that the Ntauthenticationproviders metabase property is set to NTLM type the following command.&lt;br /&gt;&lt;br /&gt; cscript adsutil.vbs get w3svc/NTAuthenticationProviders&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then it should return&lt;br /&gt;&lt;br /&gt;   NTAuthenticationProviders       : (STRING) "NTLM"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-8840529373726215839?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/8840529373726215839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2009/12/http-error-4011-unauthorized-access-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8840529373726215839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/8840529373726215839'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2009/12/http-error-4011-unauthorized-access-is.html' title='HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials. asp.net , ajax , javascript ,  Adsutil.vbs iis , c#.net , microsoft ,'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2833098303099546507.post-1306444375932985792</id><published>2009-08-06T00:35:00.000-07:00</published><updated>2009-08-07T23:59:02.136-07:00</updated><title type='text'>'Sys' is undefined - Update panel,jobs,ajax, extensions,postback,ajax enabled,web,website,toolkit,xml,cms,iis,web.config,NRI,asp.net jobs</title><content type='html'>Hi All,&lt;br /&gt;&lt;br /&gt;  When i was doing a web application using Asp.net 2.0 framework and c#.net. And at first the page postback was the major problem because the user was losing more by waiting for page postbacks. In this situation i started using Ajax. &lt;br /&gt;&lt;br /&gt;  I download Microsoft Ajax Extensions dll and added it into my toolbox. And i added scriptmanager into my page. And below scriptmanager i placed updatepanel. And in updatepanel i arranged my controls.&lt;br /&gt;&lt;br /&gt;  Now the problem started is when running the asp.net website no build error is comming. But when page load finishes a javascript error icon is in the left corner of the screen. When clicking on the javascript error the message is&lt;br /&gt;&lt;br /&gt; 'Sys' is undefined&lt;br /&gt;&lt;br /&gt;  And still the page is postbacking. And i checked lots of ways including removing all references and add again etc. But no effect.&lt;br /&gt;&lt;br /&gt; &lt;em&gt;&lt;strong&gt; At last i found the problem is in my web.config. So what i did is i downloaded microsoft ajax setup and installed into my system. After installing ajax web taking asp.net 2005 theire will an option in new website as microsoft ajax enabled website. Open one Microsoft ajax enabled website and use its webconfig for my application and now the sys is undefined error gone&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;  See my web.config also&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;         &lt;br /&gt;                 PRAISE THE LORD&lt;br /&gt;&lt;br /&gt;                MOTHER MARY PRAY FOR US&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2833098303099546507-1306444375932985792?l=sysisundefined.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sysisundefined.blogspot.com/feeds/1306444375932985792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sysisundefined.blogspot.com/2009/08/sys-is-undefined-update-panelajax.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/1306444375932985792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2833098303099546507/posts/default/1306444375932985792'/><link rel='alternate' type='text/html' href='http://sysisundefined.blogspot.com/2009/08/sys-is-undefined-update-panelajax.html' title='&apos;Sys&apos; is undefined - Update panel,jobs,ajax, extensions,postback,ajax enabled,web,website,toolkit,xml,cms,iis,web.config,NRI,asp.net jobs'/><author><name>Top Blogger</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
