Windows 7 Forums


Windows 7: Windows 7 gadget and Windows authentication?

08 Apr 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 help and support threads for: Windows 7 gadget and Windows authentication?
Thread Forum
Solved No redirect for web authentication on some networks, windows 7 64 bit Network & Sharing
Windows 7 Pro clearing cached credentials to force re-authentication Network & Sharing
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 02:30 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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 31 32