Sign In  Sign Up Live-Chat

Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

Last post 03-05-2008, 8:50 PM by mf. 16 replies.
Page 1 of 2 (17 items)   1 2 Next >
Sort Posts: Previous Next
  •  02-26-2008, 2:51 PM 115007

    Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    I am having an issue when the client is Vista, that requires the client to run IE in elevated / administrator mode (right click 'run as administrator') in order to see/use the Aspose.Editor control. I have tried this in IIS7 and IIS6 on our network now, with the same results. I have also seen the same thing happen with the aspose demo project on www.aspose.com. If I do not run as administrator I get the security warning screen, if I do run as administrator it works fine.

    In the last release, it stated that Aspose.Editor now works on Windows Vista-32 bit. Did you see similar problems with UAC and Aspose.Editor?

     
  •  02-27-2008, 2:20 AM 115062 in reply to 115007

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Hello Mark,

    Today I've managed to run our web demo in fresh Windows Vista (ENT 32bit) installation. I run it under user account (not admin) without any problem.

    Try to disable the UAC, check the caspol settings for framework 2.0 and run the demo again.


    Dmitry Burov
    Lead Developer, Aspose Auckland Team
     
  •  02-27-2008, 6:40 AM 115126 in reply to 115062

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Is disabling UAC a requirement? We cannot tell our clients to do that as they are in a corporate environment.
     
  •  02-27-2008, 7:17 AM 115136 in reply to 115126

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Actually, UAC does not affect the control itself, but may raise problems for automatic security configuration scripts if you are going to use them.

    Does our Live Demo (from site) run well under user (not admin) accounts in your system? Also note that automatic configuratin script will fail on the client machine with UAC activated so you should configure the security manually.

    All these difficulties are not related to the Aspose.Editor control itself but are common when using .NET rich UI controls hosted in a web browser.


    Dmitry Burov
    Lead Developer, Aspose Auckland Team
     
  •  02-27-2008, 7:27 AM 115139 in reply to 115136

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    When accessing the online demo from Aspose, I have the same issues with UAC. With UAC on and not running IE under admin, the demo shifts over to security config mode thinking that I have not setup the caspol entry. If I run IE as admin, the demo works. These are the same results that I am seeing locally.

    Unfortunately, if there is no way around the UAC issues, then the control is not of much value to be used in an enterprise product. We cannot expect our customers to grant their users administrative rights and we cannot force UAC to be turned off.

    Thank you for your help though. I guess I am back to the drawing board to find a product that allows Word editing within the browser.

     
  •  02-27-2008, 8:28 AM 115155 in reply to 115139

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    I'm currently on-line in Live Support till (1:00 AM GMT+10), let's troubleshoot if you wish... 
    Dmitry Burov
    Lead Developer, Aspose Auckland Team
     
  •  02-27-2008, 9:46 AM 115170 in reply to 115155

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Looks like we got cut off at the end of the session. I had two additional question for you:

    1. Is the website on your side hosted on a separate machine or is it on the same Vista box that the client browser is sitting on?

    2. What are your Internet Zone settings set to in IE?

    Thanks.

     
  •  02-27-2008, 10:20 AM 115175 in reply to 115139

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Hi Mark,

    I've got the same problem as you described when set "Run components signed with Authenticode" property to disabled. It is located in IE in security settings for internet (or intranet for your case) zone - .NET Framework reliant components - Run components signed with Authenticode.
    Try to play with this setting under user account. For example, check if IE prompts you about Aspose.Editor if you set this property to "Prompt"?


    Dmitry Burov
    Lead Developer, Aspose Auckland Team
     
  •  02-27-2008, 10:57 AM 115188 in reply to 115170

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    copied from our session:

    Mark> Just a few questions on your setup...
    Mark> Is the website hosted on a separate server or is it on the same Vista box as the client browser?
    Mark> What are your Internet Zone settings set to in IE?
    dmitryb> website is hosted on a separate machine
    dmitryb> Internet Zone - Medium-high
    dmitryb> Intranet - Medium Low


    Dmitry Burov
    Lead Developer, Aspose Auckland Team
     
  •  02-27-2008, 12:58 PM 115209 in reply to 115188

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    I'm going to try to setup a new virtual network here off of the domain to see if I can figure out the setting(s) that are causing the problem. The setting you mentioned above is enabled on our Internet Zone.
     
  •  02-27-2008, 8:00 PM 115253 in reply to 115209

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    I'd recommend you to check our Live Demo first in your fresh Vista installation (don't forget to run caspol command manually if UAC is on) and then switch to your local demo project.
    Dmitry Burov
    Lead Developer, Aspose Auckland Team
     
  •  03-03-2008, 1:20 PM 115928 in reply to 115253

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Dmitry,

    I got my virtual environments setup and now have a Vista machine whose security settings are not controlled by group policy. I have connected to the online demo and it functions correctly. However, when I do my local test I am getting the following error. The control displays (see attached screenshot - don't have permissions to attach), but any action within the control causes an error to occur, and there is a red X between the document and the control's menu options. The error appears to be generated from Aspose (obfuscated) code requesting a security permission. Running as an administrator the same error occurs, so I think I am past that being an issue. Any thoughts? Thanks.

    Error:

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

    ************** Exception Text **************
    System.TypeInitializationException: The type initializer for 'xc2c477ae06969bcc.x99d36eaeb8e190b8' threw an exception. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
       at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
       at System.Security.CodeAccessPermission.Demand()
       at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)
       at xc2c477ae06969bcc.x99d36eaeb8e190b8..cctor()
    The action that failed was:
    Demand
    The type of the first permission that failed was:
    System.Security.Permissions.SecurityPermission
       --- End of inner exception stack trace ---
       at xc2c477ae06969bcc.xcd0f71eac0b8ec87.x7516829ed6513963(Graphics x4b101060f4767186, Int32 x01023a7c5d96848c, Int32 x9528f9664a3881e3, Int32 xf67d0ad06e5256e3, Int32 x58fbd68b6e9d8f70, Int32 x7304b15c2c6eea76, Int32 x5b2cec0df3c4dbd1, Single x9570f4c9d2722802, Single x96a6a0179b30d7b8)
       at x695c6a2fce4e6e02.xbe47ed34daf505bb.x58956ea72b60eca5(PaintEventArgs xfbf34718e704c6bc)
       at x695c6a2fce4e6e02.xbe47ed34daf505bb.OnPaint(PaintEventArgs e)
       at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
       at System.Windows.Forms.Control.WmPaint(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at x695c6a2fce4e6e02.xbe47ed34daf505bb.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.312 (rtmLHS.050727-3100)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Aspose.Editor.Client
        Assembly Version: 2.3.0.1979
        Win32 Version: n/a
        CodeBase: http://asposewwwserver/AsposeEditorTest/Aspose/Aspose.Editor.Client.dll
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
        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.312 (rtmLHS.050727-3100)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.

     

     

     
  •  03-03-2008, 8:09 PM 115983 in reply to 115928

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Hi Mark,
    this exception is thrown because ruler control is not allowed to get graphics of the desktop window. It requires graphics in order to measure text which appears on the ruler.

    If you don't need ruler you can turn it off, however I suspect that document view will be next to complain.

    Your administrator rights do not affect your internet security settings. I believe Vista by default assumes that any software on the internet is harmful and thus is granted with minimal permissions. You need to configure your security policy. Use same script as for the online demo but replace URL to http://localhost/...  plus whatever location of your app. Also make sure you specify correct port used for connection if it's not 80.

    Kind regards,
    Michael

     
  •  03-04-2008, 7:07 AM 116048 in reply to 115983

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Michael,

    I appreciate your help, but I am a bit confused by your last statement. On the client Vista machine I have a caspol entry for http://asposewwwserver/AsposeEditorTest/*. Putting a localhost entry on the client machine does not seem correct to me as its localhost is not doing anything. Is that what you intended to say? I have a caspol entry on asposewwwserver for http://localhost/AsposeEditorTest/* because I tried to run the site locally from the server as well with the same results. The site uses the default port, so I don't think that would be an issue.

    Thanks,

    Mark

     
  •  03-04-2008, 8:20 PM 116175 in reply to 116048

    Re: Vista Client Issues - Aspose Editor Requires IE To Be Run In Elevated mode

    Mark,
    sorry to confuse you. I thought your client and server is the same machine. If not then surely localhost entry won't help.

    It's hard to diagnose this issue offline, please use the Online Support to get in touch with me (GMT+10). I believe we can fix all issue you have, or at least find workaround.

    P.S. You can google for this issue first, I think that many people face them often.

    Kind regards,
    Michael.

     
Page 1 of 2 (17 items)   1 2 Next >
View as RSS news feed in XML