473,383 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Load .NET control in browser on Vista

(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 1702
epots9
1,351 Expert 1GB
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
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...
3
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:...
7
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"...
6
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
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...
1
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...
2
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...
6
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...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.