Quantcast
Channel: Internet Explorer Web Development forum
Viewing all 3527 articles
Browse latest View live

Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy

$
0
0
I'm trying to create a website on an Intranet, but when i try to log in the main page this message appears:

"Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced."

I'm sure that this error has to do with my IIS settings, but I can't figure out where exactly. so can anyone help please?

I have winXP sp2, and my site is built using VS2005 C# code behind.

Thanks


[IE Automation] Why With …End With in VBA IE automation giving unexpected results?

$
0
0

Developers may notice an unexpected behavior of IE automation code while usingWith…End With.

Developers may notice that sometime code can give error or it open a blank IE tab.

If developers are trying toassign any values in with…End With than it can cause this issue.

The reason is that,

When using a With…End With structure, we can only read the values of members or invoke methods.

 

Reference:

https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/with-end-with-statement


Copy & Paste of text with images when source is local and target is not not possible anymore?

$
0
0

Hi,

I'm developing for a customer a simple script for his SharePoint. The point of the script was: The customer copies some text from his local documents and then pastes it into a rich text field online. As his documents have different formatting and insert without formatting removes images, he wants me to remove all stylings. This was easy and the main problem was that when pasted images within the text would be converted into this data-URL format

<imgsrc="data:image/png;base64,iVBORw0KGgoAAAA...RU5ErkJggg=="/>

and SharePoint didn't like that and deleted the data-block when saving. I converted the data into a blob uploaded it separately and then linked the newly uploaded image. This worked fine until sometime last week.

When I now copy&paste text with images from a local document it just links some local temporary image like this:

<img width="227" height="174" src="file:///C:/Users/****/AppData/Local/Temp/msohtmlclip1/01/clip_image003.jpg" v:shapes="Grafik_x0020_3">

This is the case for all online editors I could think of testing (Gmail, Google Docs, Word Online, SharePoint) and for Chrome, Edge, IE11.

When I look at the paste-event under Chrome I can see that the clipboard-object contains 'text/plain' (my copied text in plaintext) 'text/html' (my copied text as html with the images linked locally like up there) and 'text/rtf' (text as rtf and the images are inside as huge binary blocks in hex).

So the solution was simple, get the images from the rtf, upload them and replace the locally linked images with links to the uploaded versions.

But now I'm stuck for IE. IE's clipboard-object just supports giving me the plaintext nothing else. And If I just let the browser paste he'll just create those locally linked images.

My Questions are:

  • Did the copy&paste behavior change, or is there a setting someone could have messed up?
  • Why aren't local images converted into the base64 Data-URL anymore? (Pasting a single image still does that)
  • Is there anyway to access the pictures in the clipboard from within IE11 via script?

Steps to reproduce:

  1. Create a new text document.
  2. Write "text <picture> text" in it.
  3. Replace <picture> with an image you have on your hard drive.
  4. Open any online editor that supports pictures (Word Online, Gmail etc)
  5. Select everything in your local document and copy it (Ctrl + A -> Ctrl + C)
  6. Try to paste it into your online editor.
  7. Result should be "text <dead image> text" and the <dead image> should have some "file:\\" src.

Thank you for your time reading,

Daniel Dengler

vbscript edge browser compatable issues

$
0
0

Hi,

I am trying to select one row from a table of Webapplication(VB Script).

1. If i change compatible settings->add Url in IE11 then am able to select row perfectly.

2.But if i execute the same url in Edge Browser am getting the below issue, as Edge browser is not having any compatible settings to add my web url.

SCRIPT5009: 'mtSelect' is not defined

Please help me......:(

Regards,

Lavanya

Disable inspect element in Windows 10

$
0
0
I purchased a new computer one week ago. I installed Windows 10 when it arrived as it came with Windows 8.1. Everything was going along fine until yesterday when all of a sudden I have inspect element popping up constantly when I try to open programs or click on an article. Even comes up when I want to like a post in Facebook. How do I get this off my computer? Please be specific with info as I don't claim to be a computer expert. Thanks for any help.

TypeError: Intl is not available

$
0
0

When running

o="undefined"!=typeof Intl&&Intl.v8BreakIterator

I am getting an error:

"TypeError: Intl is not available" on IE11

What does "TypeError: xxx is not available" mean?

I tried to find a reference for IE error codes but could not find. In msdn.microsoft.com/library the link to "Internet Explorer 11 reference" is broken.

What is the support for the Intl object in IE11?

Most of the times I am not getting this error, only on some specific installations, not sure what is different in them.

HTML as reply-tool ?

$
0
0

Hallo Everyone,

We need to send out an email with structured fields that the recipient can fill out.

One method which seems/seemed promising was to send out a stand-alone HTML form, let the recipient fill out the fields and then click "Send". Here is the form syntax ...

<form action="mailto:myemail@mydomain.com?subject=Reply Form" method="post" enctype="text/plain">

<input type="Text" name="myfield" size="20" value="an initial value">

<input type="submit" value="Send">

</form>

With Firefox and Chrome this works fine: The user opens the HTML-document, enters data (guided by picklists and validity checks for numbers), clicks on "Send" and the data is written (in a structured format) to a new email to the address given. Excellent!

But with IE none of this works: The picklists and validity checks (e.g. for numbers), which apply automatically in FireFox and Chrome, do not work in IE. And when the user clicks on "Send" no data is transferred to the Email.

This is a REAL shame because such a static (non-hosted) HTML-file would be the perfect way to collect data via email. But it simply doesn't work with IE (or with Edge). Why is this?

So ...

Should I simply drop the idea (and use Excel)? Or are there adjustments that I can make to the HTML-syntax to get IE to apply the checks and send the Email.

Or maybe IE requires this type of action to be carried out from a hosted (URL) location? Rather than working from a physical .html file.

Or should I be looking elsewhere (e.g. Outlook form-fields) to send structured "Reply-requests" (questionnaire / information-gather) to users/recipients?

Many thanks for any tips or links that you can give me.

Yours,

Alan

In Cologne

Order of attributes in XML File

$
0
0

How can we control the order of attributes on the XML file.

Why we see diferent orders of attributes when im opening the XML with diferent Program for that (for instance Notepad, Firefox)

I open it on Notepad and Firefox:
I have this order:

 <currency>
    <Code>AED</Code>
    <Description />
    <Details AmountDecimalPlaces="2:2" UnitAmountDecimalPlaces="2:5" AmtRoundingPrecision="0,01" UnitAmtRoundingPrecision="0,001" />
  </currency>
  <currency>

When opening on IE i have this order:

<Code>AED</Code>

<Description/>

<Details UnitAmtRoundingPrecision="0,001" AmtRoundingPrecision="0,01" UnitAmountDecimalPlaces="2:5" AmountDecimalPlaces="2:2"/>

</currency>

Thanks for the help,

Daniel CSS

<currency>

</currency>

<currency></currency>


Can't drag and drop in Explorer FTP

$
0
0
I am able to log on to my FTP site and view the files there.  I can drag content over to the FTP from my computer, and I can drag content to my computer from the FTP.  FTP to FTP dragging and dropping (such as dragging a file into a folder) is prohibited.  Copying and pasting inside the FTP is also prohibited.

This happens the same whether or not I have the location mapped as a network location.

I tried changing some things in internet options including lowering security, making sure "drag and drop/copy and paste" is enabled, and adding my FTP to my trusted sites.  Still can't drag and drop inside the Explorer window.

Any ideas?

-Sam

Microsoft Edge - Open PDF in a Seperate Tab or Window

$
0
0

Originally posted in the Windows Insider Program forums, I found a issue with opening PDFs using the latest version of the Edge browser (10130) and wanted to know if it has been addressed in later build of Edge. I know this is happening for others as well - but from the user's end, I see it on the user's end and as a developer for a web site. Here's my post (from http://answers.microsoft.com/en-us/insider/forum/insider_internet-insider_spartan/open-pdf-in-a-seperate-tab-or-window-by-default/fec0eb6f-448a-4949-b021-3af1b872263a):

To follow up on this (and related to this issue: http://answers.microsoft.com/en-us/insider/forum/insider_internet-insider_spartan/spartan-must-open-files-in-a-new-window/6214206a-e68a-4a64-8968-20753c89093d), we develop a website that opens a new window (using webforms, after postback of a form to a new target) and then clears the response object, sets the response content type to application/pdf, adds a header for Content-Disposition with the name of the PDF (for Chrome to save the PDF with the correct name) and the write out the byte array (BinaryWrite) to the response before closing. In IE 11, Firefox and Chrome - the PDF comes up as expected but in Edge (10030) I get a "Couldn't open PDF: Something's keeping this PDF from opening." page. Any thoughts as to what's causing this? Thanks!

Thanks in advance!

Wayne

IE 11 Rendering a PDF from Base64, Blob, or ArrayBuffer into an not working

$
0
0

I thought I had a solution for this using an embed so that Adobe would render the PDF in the browser, but this only works when the file is local or provided via a URL:

    <embed src="./assets/pdf/example-1.pdf"
           width="100%"
           height="675px"
           style="border: 1px solid red"
           type="application/pdf">

But when I try to dynamically setting the embed `src` using `URL.createObjectURL(blob)` and bind it to the `embed` in Angular it doesn't render:

    <embed [src]="url"
           width="100%"
           height="675px"
           type="application/pdf">

Is there more to rendering a PDF in an embed using a `blob` other then:

    this.http(..., { responseType: 'blob', observe: 'response' })
      .subscribe((blob) => {

        url = URL.createObjectURL(blob);

        this.url = this.domSanitizer
          .bypassSecurityTrustResourceUrl(url);
      });

I just want to display the PDF sent down in the response using Adobe in Edge and IE11.  It can be in an `iframe`, but this only works in Edge and not in IE11 with no displayed errors

For example, using this was suggested for cross browser compatibility when receiving a `base64` of the PDF, but it doesn't work for IE11, only Edge:

      // Default to Chrome
      let url = `data:application/pdf;base64,${src}`;

      // Internet Explorer 11 and Edge workaround
      if (window.navigator && window.navigator.msSaveOrOpenBlob) {
        const byteCharacters = atob(src);
        const byteNumbers = new Array(byteCharacters.length);
        for (let i = 0; i < byteCharacters.length; i++) {
          byteNumbers[i] = byteCharacters.charCodeAt(i);
        }
        const byteArray = new Uint8Array(byteNumbers);
        const blob = new Blob([byteArray], { type: 'application/pdf' });

        url = URL.createObjectURL(blob);

        if (this.url) {
          // Release URLs for performance and memory usage
          this.window.URL.revokeObjectURL(this.url);
        }
      }

      this.url = this.domSanitizer
        .bypassSecurityTrustResourceUrl(url);


    <iframe id="result"
            [src]="url"
            style="width: 100%; height: 95vh; border: 1px solid red;"></iframe>

System.NotSupportedException when accessing a variable of IHtmlDocument2.Script in 32 bit outlook after a second navigate

$
0
0

Hello all,

I'm working on an addin in outlook using VB .Net that views an html window in the reading pane using mshtml interface. The page has some javascript code which I call using IHtmlWindow2.execScript. I load the page using IHtmlWindow2.navigate(url) function and access some javascript variables by doing the following:

Dim htmlWindow As IHTMLWindow2
htmlWindow.execScript("x=somefunction();","javascript")
Dim result as String = htmlWindow.document.Script.x.ToString()


This code works fine when I run it from an outlook 64bit instance... running the addin from outlook 32bit instance (whether on 32bit or 64bit machine) it gives System.NotSupportedException after I execute a second navigate on htmlWindow, when I first navigate to the url and execute this code it works with no problem. 
using internet explorer debugger F12Chooser on the loaded page in outlook, the below code is executed with no error and return the required value.

x=somefunction();
window.document.Script.x;

However, I tried a breaking point at 

htmlWindow.execScript("x=somefunction();","javascript")

and executed the same code in the immediate window in visual studio but with another variable name each time after i do a navigate, I get no exception.

htmlWindow.execScript("y=somefunction();","javascript")
MessageBox.Show(htmlWindow.document.Script.y.ToString())

I dont understand this behaviour and I would appreciate any help in this. I suspect it has something to do with some caching but I dont know where, i searched the internet for this wih no success.

Thanx

VBScript for Web Automation. Only have Element Names

$
0
0

Have been looking to solve this (test from my boss) for 2 days now.

I have a webpage that is all Javascript that we are trying to automate with a VBScript (yes it needs to be in VBScript)

This issue that I am running into is that the fields I need to populate of select from a combo box do not have ID's and the only unique element is the name.  For another web page that I am automating I am using the .getElementsByID function.   However when I try to use the .getElementsByName I receive WSH error "Object support this property or method:...."

What I am trying to do is select an item from the drop down in HTML Snip1 below and then hard code in a value to enter in the textbox for HTML Snip2 below.  

Any help would be greatly appreciated.

 

VBScript


'Sub for Page Load Time Wait
Sub IEPageLoad(obj)
Do while IE.busy
WScript.Sleep 100
Loop
End Sub

set ie = WScript.CreateObject("InternetExplorer.Application")
    ie.navigate("https://www.thisisthewebpage")
    ie.visible = True

IEPageLoad(IE)

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.SendKeys "UserID"
WScript.Sleep 100
objShell.SendKeys "{TAB}"
WScript.Sleep 100
objShell.SendKeys "Password"
WScript.Sleep 100
objShell.SendKeys "{Enter}"

IEPageLoad(IE)

With ie.Document
    .getElementsByName("searchBy").Select = "User ID"
End with

HTMLSnip1

<tr>
<tdclass ="field">
<selectname ="searchBy"class ="field"onchange = "restrictLength()">
<optionvalue ="Username">
User ID
</option>
'and 13 other options in the dropdown the same way

HTML Snip 2

<formname ="searchValueForm"method ="post"onSubmit ="handleFunction('Search'); return false;">
<td>
<inputtype ="text"name ="searchValue"size ="20"class ="field"value ="" />
</td>
</form>

Question Regarding MS Edge

$
0
0

Hello,

I have noticed that Microsoft Edge doesn't follow CSS Rules like Firefox. I have a problem with line spacing working wonderfully in Firefox, even Edge on mobile, but not on the desktop version. "line-height:260%;" gets ignored but other things like the below will get accepted. - 

h1, h2, h3, h4, h5, h6{
  margin-top:25px;
  margin-bottom:10px;
}

I have tried overriding it in other places in case Edge doesn't accept the CSS rules, but it has the same result. How do I override the default spacing found in the MS Edge browser?

(Sorry I know this isn't IE!)

WEBAUDIO17014: Decoding error: The stream provided is corrupt or unsupported while using audioCtx.decodeAudioData() in Edge browser

$
0
0

Hi I am trying to decode opus/ogg audio using audioCtx.decodeAudioData() in the below Edge version. But I am getting tis error while decoding.

WEBAUDIO17014: Decoding error: The stream provided is corrupt or unsupported.

Microsoft Edge 42.17134.1.0

Microsoft EdgeHTML 17.17134

I am doing something very similar to the below example:This is also giving same error.

https://mdn.github.io/webaudio-examples/decode-audio-data/

I also checked the above link on Browserstack on Edge version (Microsoft EdgeHTML 17.17134) and surprisingly it decodes there properly without any error.

Regards,

Harsimran



Quick Question on HTML & CSS for "object-fit"

$
0
0

Hello,

I am working on developing a website for my client and bumped into a little problem. The CSS property of object-fit works on almost every browser (including chrome, firefox, edge etc), but except IE 11.

I am trying to standardize the image size across the board, that's why I have been using {object-fit: cover}. What are the equivalent alternatives would be on IE11? Also, that needs to work on other browsers as well.

Your help would be greatly appreciated. Thanks! :)


[Kiosk Browser] Accepts only URL URIs?

$
0
0

The Kiosk Browser, which is a single page kiosk mode browser based on Edge, seems to only comprehend plain URLs. Every non-URL URI is understood as a webpage address.

Is there an option to enable non-URL URIs?

We'd like to create custom URIs as a control mechanism for switching to a different local application for the kiosk. Otherwise we have to compromise with Chrome's kiosk mode, which opens all URIs, including our custom created. Edge comprehends them too, but we haven't found any command line arguments to have it run like the Kiosk Browser.

[Workaround] Critical crash bug "typeError: intl is not available" (KB4489881)

$
0
0

We have noticed that some Windows 8.1 andWindows Server 2012 R2 users are facing an error after installing March 12, 2019—KB4489881 (Monthly Rollup) update.

 

Users are getting an error "TypeError: Intl is not available" onInternet Explorer 11.

We find that users are getting this error with Angular when accessing the Intl Api.

 

The work around is to addTry…Catch block around the problematic code may help to avoid the issue.

Microsoft is working on a resolution and will provide an update in an upcoming release.

References:

(1) March 12, 2019—KB4489881 (Monthly Rollup)

(2) Critical crash bug "typeError: intl is not available" #15687

How to install MS Edge (Chromium) preview version

$
0
0

MS Edge (Chromium) preview version is available to download from link below.

User can choose the desired channel to download the MS Edge (Chromium) preview version and install it.

Currently 2 channels are available for download. (1) Canary (2) Dev

Canary will receive updates almost every day, whereasDev should get about one build per week.

Above 2 preview version can only run on Windows 10 OS.

MS Edge preview version will work side by side with the existing version of MS Edge.

MS Edge (Chromium) preview version for Windows 7, Windows 8, Windows 8.1 and macOS will be launch soon.

 

Above 2 preview version of Edge will get updated by itself when user open the browser. So no any manual actions needed to update it. To check the current version of Edge, user  can go to … > Help and feedback > About Microsoft Edge.

 

User can refer link below to get more information regarding MS Edge (Chromium) preview version.

شكاوي باور 0235695244 اصلاح تكييفات باور 01014723434 فرع المنصورة

Viewing all 3527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>