Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Security

Notices

Reply

Problem running .NET user control hosted on Windows Vista / IE 7

 

LinkBack Thread Tools Display Modes
Old 09-01-2007, 09:45 AM   #1 (permalink)
Default Problem running .NET user control hosted on Windows Vista / IE 7

Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <#3ReJ5H7HHA.2476@TK2MSFTNGP05.phx.gbl>
Newsgroups: microsoft.public.windows.vista.security
NNTP-Posting-Host: 84.122.193.174.dyn.user.ono.com 84.122.193.174
Lines: 19
Path: number1.nntp.dca.giganews.com!border1.nntp.dca.gig anews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.alt.net!msrtrans!TK2MSFTFEEDS01.phx.g bl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP05.phx.gbl
Bytes: 1418
X-Original-Lines: 1
Xref: number1.nntp.dca.giganews.com microsoft.public.windows.vista.security:11877

Hello,

I have found a problem running a .Net user control hosted by IE on
Windows Vista / IE7. This problem doesn't occur on Windows XP / IE7.

Here's a sample page that can be used to reproduce the problem:
http://www.softwaresigloxxi.com/Supe...ntControl.html

Please, I'm lost at this point. Can anyone tell me why the <object> is
failing to initialize on Windows Vista / IE7? I have tried adding the
website to trusted sites as well as lowering the security settings but
no luck.

I'm not sure if this is a security problem or a limitation on Windows Vista.

Thank you a lot in advance,

M. Cota
Software Siglo XXI team

M. Cota
Guest
 
Posts: n/a
Reply With Quote  
Old 09-01-2007, 06:56 PM   #2 (permalink)
Default Re: Problem running .NET user control hosted on Windows Vista / IE 7


"M. Cota" <contact@softwaresigloxxi.com> wrote in message
news:%233ReJ5H7HHA.2476@TK2MSFTNGP05.phx.gbl...

<snipped>
Quote:
>
> Please, I'm lost at this point. Can anyone tell me why the <object> is
> failing to initialize on Windows Vista / IE7? I have tried adding the
> website to trusted sites as well as lowering the security settings but no
> luck.
Vista uses UAC/User Account Control, which a .Net solution may have to
present security credentials to Vista in order for the application to run
properly with privileges, which the program presents to Vista in the form of
a UAC manifest the application uses to present the credentials. That's most
likely your problem.


Mr. Arnold
Guest
 
Posts: n/a
Reply With Quote  
Old 09-01-2007, 07:18 PM   #3 (permalink)
Default Re: Problem running .NET user control hosted on Windows Vista / IE 7

Does he have to pay for it?

"Mr. Arnold" <MR. Arnold@Arnold.com> wrote in message
news:%23tcZZnM7HHA.3900@TK2MSFTNGP02.phx.gbl...

"M. Cota" <contact@softwaresigloxxi.com> wrote in message
news:%233ReJ5H7HHA.2476@TK2MSFTNGP05.phx.gbl...

<snipped>
Quote:
>
> Please, I'm lost at this point. Can anyone tell me why the <object> is
> failing to initialize on Windows Vista / IE7? I have tried adding the
> website to trusted sites as well as lowering the security settings but no
> luck.
Vista uses UAC/User Account Control, which a .Net solution may have to
present security credentials to Vista in order for the application to run
properly with privileges, which the program presents to Vista in the form of
a UAC manifest the application uses to present the credentials. That's most
likely your problem.


Vigilante
Guest
 
Posts: n/a
Reply With Quote  
Old 09-01-2007, 07:47 PM   #4 (permalink)
Default Re: Problem running .NET user control hosted on Windows Vista / IE 7


"Vigilante" <kewltoyz@yahoo.com> wrote in message
news:CF358C48-F64E-434F-BE5C-CC2A6A72BF3C@microsoft.com...
Quote:
> Does he have to pay for it?
No, he doesn't have to pay for it. Being a .Net developer, then he should be
able to create the XML UAC manifest that the .Net solution will use to
present security credentials to Vista in order for the program to execute
with the proper privileges. The information is everywhere out there on the
Internet using Google.
Quote:
>
> "Mr. Arnold" <MR. Arnold@Arnold.com> wrote in message
> news:%23tcZZnM7HHA.3900@TK2MSFTNGP02.phx.gbl...
>
> "M. Cota" <contact@softwaresigloxxi.com> wrote in message
> news:%233ReJ5H7HHA.2476@TK2MSFTNGP05.phx.gbl...
>
> <snipped>
>
Quote:
>>
>> Please, I'm lost at this point. Can anyone tell me why the <object> is
>> failing to initialize on Windows Vista / IE7? I have tried adding the
>> website to trusted sites as well as lowering the security settings but no
>> luck.
>
> Vista uses UAC/User Account Control, which a .Net solution may have to
> present security credentials to Vista in order for the application to run
> properly with privileges, which the program presents to Vista in the form
> of
> a UAC manifest the application uses to present the credentials. That's
> most
> likely your problem.
>
>
Mr. Arnold
Guest
 
Posts: n/a
Reply With Quote  
Old 09-01-2007, 08:14 PM   #5 (permalink)
Default Re: Problem running .NET user control hosted on Windows Vista / IE7

Thanks for the tip. I will try it.



Mr. Arnold escribió:
Quote:
>
> "M. Cota" <contact@softwaresigloxxi.com> wrote in message
> news:%233ReJ5H7HHA.2476@TK2MSFTNGP05.phx.gbl...
>
> <snipped>
>
Quote:
>>
>> Please, I'm lost at this point. Can anyone tell me why the <object> is
>> failing to initialize on Windows Vista / IE7? I have tried adding the
>> website to trusted sites as well as lowering the security settings but
>> no luck.
>
> Vista uses UAC/User Account Control, which a .Net solution may have to
> present security credentials to Vista in order for the application to
> run properly with privileges, which the program presents to Vista in the
> form of a UAC manifest the application uses to present the credentials.
> That's most likely your problem.
>
>
>
M. Cota
Guest
 
Posts: n/a
Reply With Quote  
Old 09-01-2007, 10:45 PM   #6 (permalink)
Default Re: Problem running .NET user control hosted on Windows Vista / IE7

Hi,

To make sure UAC is breaking my client side control, I have disabled it
and restarted the system.

My user control still is not working on Vista/IE7 (it works on XP/IE7),
so may be UAC is not the problem in this scenario.

I will appreciate any help.

Thanks.

Mr. Arnold escribió:
Quote:
>
> "M. Cota" <contact@softwaresigloxxi.com> wrote in message
> news:%233ReJ5H7HHA.2476@TK2MSFTNGP05.phx.gbl...
>
> <snipped>
>
Quote:
>>
>> Please, I'm lost at this point. Can anyone tell me why the <object> is
>> failing to initialize on Windows Vista / IE7? I have tried adding the
>> website to trusted sites as well as lowering the security settings but
>> no luck.
>
> Vista uses UAC/User Account Control, which a .Net solution may have to
> present security credentials to Vista in order for the application to
> run properly with privileges, which the program presents to Vista in the
> form of a UAC manifest the application uses to present the credentials.
> That's most likely your problem.
>
>
>
M. Cota
Guest
 
Posts: n/a
Reply With Quote  
Old 09-01-2007, 11:25 PM   #7 (permalink)
Default Re: Problem running .NET user control hosted on Windows Vista / IE 7


"M. Cota" <contact@softwaresigloxxi.com> wrote in message
news:upRVStO7HHA.3400@TK2MSFTNGP03.phx.gbl...
Quote:
> Hi,
>
> To make sure UAC is breaking my client side control, I have disabled it
> and restarted the system.
>
> My user control still is not working on Vista/IE7 (it works on XP/IE7), so
> may be UAC is not the problem in this scenario.
>
> I will appreciate any help.
If you're using this 3rd party solution on the client side, then maybe the
control only works on XP or previous versions of the Windows based O/S
using the .Net Framework, and it flat-out doesn't work with Vista, which you
should verify with the 3rd party vendor that the control works with Vista.
..

Mr. Arnold
Guest
 
Posts: n/a
Reply With Quote  
Old 09-02-2007, 01:46 AM   #8 (permalink)
Default Re: Problem running .NET user control hosted on Windows Vista / IE7

Hi,

First of all, thank you for your quick answers. I appreciate your support.

I have to say that the user control works well on a Windows Form sample
application as well as on ASP.NET web applications.

You can test it here:
http://www.softwaresigloxxi.com/Supe...ary_Trial.html

It doesn't run as a hosted client-side control on IE7.

I have tried lowering permissions, adding the site to trusted zone,
disabled UAC, embed manifest to requiere permission elevation, ...

Well.. I'm begining to think that Vista has broken hosted client-side
..net controls.

Has anyone be able to host a .net user control on client-side on Windows
Vista/IE7?

Thanks!!









Mr. Arnold escribió:
Quote:
>
> "M. Cota" <contact@softwaresigloxxi.com> wrote in message
> news:upRVStO7HHA.3400@TK2MSFTNGP03.phx.gbl...
Quote:
>> Hi,
>>
>> To make sure UAC is breaking my client side control, I have disabled
>> it and restarted the system.
>>
>> My user control still is not working on Vista/IE7 (it works on
>> XP/IE7), so may be UAC is not the problem in this scenario.
>>
>> I will appreciate any help.
>
> If you're using this 3rd party solution on the client side, then maybe
> the control only works on XP or previous versions of the Windows based
> O/S using the .Net Framework, and it flat-out doesn't work with Vista,
> which you should verify with the 3rd party vendor that the control works
> with Vista.
> .
>
M. Cota
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Inside Windows Vista User Account Control (Mark Russinovich) Milhouse Van Houten Windows Vista Security 2 05-25-2007 04:09 AM
Restarting a Windows Service with C# under Vista when User Account Control is Enabled gourmet Windows Vista Security 3 04-04-2007 09:52 AM
Unable to view any web sites hosted on LAN from Windows Vista PC's Marc Russo Windows Vista Networking & Sharing 3 03-29-2007 11:54 AM
problem with active x control in IE7 with windows vista mostafa goha Windows Vista 0 06-20-2006 03:08 PM
problem with active x control with ie 7 in windows vista Mostafa Windows Vista 0 06-20-2006 03:04 PM


All times are GMT. The time now is 12:02 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48