Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Windows 7 gadget and Windows authentication?

 
04-08-2011   #1


windows 7
 
 

Windows 7 gadget and Windows authentication?

Hi everybody,

I'm new at gadget development, so I already have a problem

I want to make a gadget that will, for a start, be returning user name through windows authentication. I'm not sure is this even possible to do?

I've already done an asp web service, which returns user name. Then I've done a html file, from which I'm calling that web service with ajax. And it is all working perfectly fine in web browser.

But when I convert it to a gadget, I get An error occured.

Here is the part of code that is returning an error. As we can see, GetUser function is called, but for some reason i get error.

.ajax({

type: "POST",

contentType: "application/json; charset=utf-8",

url: "http://localhost:888/Service.asmx/GetUser",

dataType: "json",

success: function (data) { $('.result').html("User: " + data.d); },

error: function (e) { $('.result').html("An Error Occured"); }
});




If you have any ideas, how to do it in a easier way, I will be happy to hear it

My System SpecsSystem Spec
Reply

 Windows 7 gadget and Windows authentication? problems?



Thread Tools



Similar Threads for: Windows 7 gadget and Windows authentication?
Thread Forum
Windows 7 Pro clearing cached credentials to force re-authentication Network & Sharing
Disabling POP3/IMAP Authentication Failed Error in Windows 7 Browsers & Mail
IIS 7.0 on Windows7 H Premium (Windows Authentication) Network & Sharing
Kerberos Authentication to UNIX from Windows 7 OS System Security
Windows 7 RC1 and wireless router authentication issues Network & Sharing


All times are GMT -5. The time now is 06:46 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

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