473,806 Members | 2,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Load .NET control in browser on Vista

2 New Member
(Maybe these details aren't all necessary? The upshot is in the final paragraph)

So, about a year and some months ago a .NET assembly was developed to work as an in-browser control. Because it requires connectivity to a web service, there was a bunch of fooling about with the .NET security policy required to get it to work to begin with. The control is used by many users in an organization, so an MSI was distributed to users to install the correct security policy. It worked.

At the time, all boxes were XP Pro. Now, some of the users have moved to Vista x64, and the control no longer works unless the user starts IE7 in "Run as administrator" mode. If IE7 is run in admin mode, everything is peachy keen. I had originally suspected a trust policy problem, but have ruled that out for the following reasons:

- The security policy is installed on the Vista machines (visible in .NET 2.0 security.config )
- A manifest is embedded in the control to request elevation, but the prompt does not appear
- The control does not load, period. Normally, if the trust policy is missing, the control UI appears and the security exceptions are handled by directing the user to the security policy.

I presume that the problem stems from UAC, and that the control is not being loaded to begin with because the browser does not have permission to do so.

A network admin had actually resolved this problem a few months ago on the very first Vista user's machine, but has since left the company with no record of what the resolution was.

I'm completely green on Vista configuration, and if I was inclined to throw switches left and right until the lights come on, wouldn't know where to begin. What I'd ideally like to know is what permissions are required by IE7 to load a .NET control assembly, and where this might be configured. Thanks!

Randall
Oct 29 '07 #1
1 1724
epots9
1,351 Recognized Expert Top Contributor
yes the problem is with the UAC, it has to be disabled and there is anything setting to adjust so it is no longer needed for admin to right click and run as admin.

start -> run -> gpedit.msc [ENTER]
Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
and make the following changes



on my work computers i haven't made any changes to the second highlighted option.
Oct 29 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
13495
by: Dave | last post by:
Hi, I'm creating a windows forms utility to create dhtml flyout menus. I want to load the html and javascript generated into a webbrowser control, thats on the form, so I can view the menus and view them in control. I found there is no control in .net for this so I'm using the webbrowser control. How can you load the html directly into the control? Or do I have save the
3
2127
by: Shapper | last post by:
Hello, I am working on an ASP.NET/VB web site. I have several links including menu links. Considerer a want to load a page named page.aspx. I can do it using javascript. Or using this code: Sub loadPage(sender As Object, e As System.EventArgs, pageURL as String)
7
3004
by: Nathan Sokalski | last post by:
I want to make sure I am doing a browser detection that will work once IE7 is released. My current detection statement (written using VB.NET) is: If Me.Request.Browser.Browser.ToUpper() = "IE" Then 'Code to use for Internet Explorer browsers Else 'Code to use for browsers other than Internet Explorer End If
6
4739
by: ipy2006 | last post by:
Other than the JavaScript of timing and rotating images every few seconds or minutes, is there a way to uniquely load a different picture every time a browser open a page? Thanks, yip
6
2044
by: Wayne | last post by:
Has anyone noticed that Access databases (2003) are much slower to load under Vista or is it just me? I have a dual boot machine (XP and Vista). Applications generally are a bit slower to load under Vista, Access included, and an Access DB of say 5mb size takes several seconds to load out of memory under Vista and is instantaneous under XP. Speed is definitely not one of the new OS's strong points.
1
2018
by: swaykid | last post by:
Hi, I have a webbrowser control embedded in a winform (vs2005) and use it for previewing documents. The form works perfectly in XP with office 2003 When using the same form in Vista with office 2007 the document opens Word/excel etc and doesn´t allow the preview within the webbrowser control.
2
2368
by: Vighneswar | last post by:
Hi All Please let me know is there any way to clear the address bar history ( Typed URLs) of Firefox browser programmatically. Deleting 'index.dat' under profiles folder of firefox will delete both ( history and Typed URLs ). Here I need to clear only the address bar history of firefox. Also is there any way to programmatically delete IE7 browser history on Windows Vista. I could able to delete IE7 browser history on Xp machine, but...
6
1719
by: =?Utf-8?B?UGFycm90?= | last post by:
I cannot access my SQL database in a browser control created in my C# Windows application program I can, however, access the database from an IE browser. I get the ubiquitous "Login failed for NT AUTHORITY\NETWORK SERVICE" error message. I researched all the advice on the internet and tried to add an NT AUTHORITY\NETWORK SERVICE login to my database under the Security/Users tab using SQL Server Mangement. However, there is no NT...
0
1031
by: David Jackson | last post by:
Hello, I first posted this several weeks ago but didn't get any replies so I'm trying again in the hope that someone might be able to help. We are in the process of upgrading our internal web applications from v2.0 to v3.5. A colleague has built a machine with 4GB RAM, 64-bit Vista Business Edition and Visual Studio.NET 2008.
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10372
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.