Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows 7 gadget and Windows authentication?

08 Apr 2011   #1
Arnelaa

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?




Thread Tools





Similar help and support threads
Thread Forum
Windows 7 Enterprise Authentication Error, 0x8004fe21
I've been suddenly receiving error message regarding Windows activation. I do not have the KB3004394 update installed. Diagnostic Report (1.9.0027.0): ----------------------------------------- Windows Validation Data--> Validation Code: 0 Cached Online Validation Code: 0x0 Windows...
Windows Updates & Activation
No redirect for web authentication on some networks, windows 7 64 bit
Dear experts, I am having trouble obtaining internet access on some wireless networks that require web authentication via an initial redirect. I have a Toshiba Satellite laptop running Windows 7 64 bit. This issue is particularly frustrating because: 1) This computer can successfully get...
Network & Sharing
Adding Two-Factor Authentication in Windows 7
Hello. I have a HP Pavilion dv6 laptop, equipped with a simplepass fingerprint reader, Windows 7 (64-bit). I was wondering if there was any way I could possibly require BOTH the fingerprint and a password for the login screen before the computer allowed me to log on (multi-factor/two-factor...
General Discussion
IIS 7.0 on Windows7 H Premium (Windows Authentication)
Hi guys, I'm trying to install a web application that requires below feature. Internet Information Services\World Wide Web Services\Security\Windows Authentication. Neither Windows 7 Home Premium nor Vista H Premium in that matter have Windows Authentication under the the Security node. Can...
Network & Sharing
Kerberos Authentication to UNIX from Windows 7 OS
Hi, I am testing Windows 7 OS in our domain and found that Kerberos authentication to UNIX domain from Windows 7 is not working. It is prompting for a password everytime I connect to a unix host and not going throuh pass-through authentication. This works perfectly fine on Windows XP OS in our...
System Security
Windows 7 RC1 and wireless router authentication issues
I have done a clean dual boot install of my machine with Vista & Win 7 RC. Windows Vista boots up fine and successfully connects to my wireless router and gets internet connectivity. Windows 7 boots up fine but cannot authenticate to the router. When it prompts, I enter in the password but it...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 16:40.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App