UAC Problem IE toolbar on Vista

Add-in Express™ Support Service
That's what is more important than anything else

UAC Problem IE toolbar on Vista
UAC Problem IE toolbar on Vista 
santisan james




Posts: 15
Joined: 2008-12-02
Hi,

We have facing a problem about turning on/of the UAC If the UAC is unchecked our program in IE toolbar worked fine but we to run withoout unchecking the UAC on vista ..

Please help us to solve this problem, We are using addins epress premium for IE toolbar.

Hoping you can help..

Thank you,
Santisan

Posted 02 Dec, 2008 05:25:32 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Santisan,

If the UAC is unchecked our program in IE toolbar worked fine


What is going wrong when you turn the UAC on?

IS it IE7? Protected mode?


Andrei Smolin
Add-in Express Team Leader
Posted 02 Dec, 2008 12:09:06 Top
santisan james




Posts: 15
Joined: 2008-12-02
Hi Andrei,
When UAC is on this the error when i registered..

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: An exception occurred during a WebClient request. ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Internet Explorer\ConfigFile' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at TuboNews_Toolbar.Module1.GetConfigFileInfo() in C:\Users\me\Desktop\FromFlash\Nov19\nov18\oct24\TuboNews_Toolbar\Module1.vb:line 485
at TuboNews_Toolbar.frmIEToolbar.frmIEToolbar_Load(Object sender, EventArgs e) in C:\Users\me\Desktop\FromFlash\Nov19\nov18\oct24\TuboNews_Toolbar\frmIEToolbar.vb:line 255
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at AddinExpress.IE.ADXIEToolbar.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TuboNews_Toolbar
Assembly Version: 1.0.0.25
Win32 Version: 1.0.0.25
CodeBase: file:///C:/Users/me/Desktop/FromFlash/Nov19/nov18/oct24/TuboNews_Toolbar/bin/Debug/TuboNews_Toolbar.DLL
----------------------------------------
AddinExpress.IE
Assembly Version: 4.3.124.0
Win32 Version: 4.3.124.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/AddinExpress.IE/4.3.124.0__4416dd98f0861965/AddinExpress.IE.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Interop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Users/me/Desktop/FromFlash/Nov19/nov18/oct24/TuboNews_Toolbar/bin/Debug/Interop.SHDocVw.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


pls. help

Thank you,
Santisan
Posted 03 Dec, 2008 00:34:04 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Santisan,

You missed my questions:

IS it IE7? Protected mode?

Access to the path 'C:\Program Files\Internet Explorer\ConfigFile' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)


So you access some file. Aha! If it is IE7, if it is the Protected Mode case then try googlong for protected mode API.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Dec, 2008 08:06:44 Top
santisan james




Posts: 15
Joined: 2008-12-02
Hi Andrei,

Let go to basic.

I had just create simple button on IE toolbar with no codes, when i build this this is the error.


Error 1 Cannot register assembly "C:\Users\me\Documents\Visual Studio 2008\Projects\tubotest\tubotest\bin\Debug\tubotest.dll" - access denied. Please make sure you're running the application as administrator. Access to the registry key 'HKEY_CLASSES_ROOT\tubotest.IEModule' is denied. tubotest


I am running as administrator, but UAC is on and I don't want to be off because that is the requirements, what should be possible solution for this?

I hope you can help .

Thank you,
Santisan
Posted 04 Dec, 2008 21:32:23 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Santisan,

Try running Visual Studio "as administrator".


Andrei Smolin
Add-in Express Team Leader
Posted 05 Dec, 2008 09:09:07 Top