Avoid dll probing of WinForm application hosted in IE browser with a bootstrap

Hi All,
We are hosting a WinForm application in IE.
The winform application is hosted in IE as a Bootstrap.dll (container web control). The Bootstrap.dll further references to various other dlls required by the winform application (eg. A.dll, B.dll etc. For simplicity I am calling these as “application”
dlls).
The application dlls will be downloaded to the client only after the framework does the probing in the order of the paths mentioned below:
1) root/ A.dll
2) root/bin/ A.dll
3) root/ A / A.dll
What we want to achieve:-
Avoid probing of the application dlls and force the framework to download the dll directly from the specific path to avoid the time it takes in probing the dlls adding up to the application loading.
What we have already tried:-
We tried adding the CodeBase path hint in the web.config (of web application) & app.config (of win form application)
Result:- does not avoid probing.
Please suggest any way to avoid these unwanted requests to the server. Please let me know if you need further information.
Thanks and Best Regards,
Madhu

Hello Madhu,
Based on your description, I think this issue is not pending on WinForm part. I have no idea how you deployed your application but I think the download or probing action is called from your IE application, could you please check that first? I would think
http://forums.asp.net/ is a better place for you to ask this question.
Regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • MVC OWIN Application hosted in Azure fails with custom domain names

    I am not entirely sure if this is the proper forum for OneDrive API questions, but hoping this is close enough or can be redirected.
    I am working on integrating Microsoft Account authentication into my application, and in testing have based it off of the VS 2013 MVC starting template.  Everything works fine if I set my target domain and redirect url to be sitename.azurewebsites.net
    / sitename.azurewebsites.net/signin-Microsoft respectively. 
    However, this site has a custom domain associated with it, so I would like to actually point to use
    www.sitename.com /
    www.sitename.com/signin-Microsoft under my dev account settings for this application.  When I am in this configuration, I consistently get the following error:
    We're unable to complete your request
    Microsoft account is experiencing technical problems. Please try again later.
    Accessing www.sitename.com works fine.  How can I configure this to work with my actual domain name versus the azure name?
    Thanks in advance!

    Hi Rob,
    Can you contact me at [email protected] with the actual domain name that you are trying to register so that I can take a closer look?
    Thanks,
    Toan

  • How to use the 64 bit Adobe PDF Browser Control (AcroPDF64.dll) in x64 WinForms VS2012

    I noticed that sice 11.0.07 there is a 64 bit version of the AcroPDF.dll called AcroPDF64.dll. Does this mean that I can use the PDF Browser Control in a x64 WinForms application? If so, what do I need to do to get this to work?
    When I right click on the "Toolbox" and select "Choose Items..." there is only the possibility to select the Adobe PDF Reader pointing to "C:\Program Files (x86)\Common Files\Adobe\Acrobat\ActiveX\AcroPDF.dll" and not a version using the AcroPDF64.dll
    When I click in this dialog on the "Browse..." btton and select the AcroPDF64.dll nothing happens.
    Now I am stuck with an "Initializing..." message when loading a PDF in the control. The control is working when switching back to x86 (but which I can't because I need to reference a dll that is only available in 64 bit).
    Please advice, thank you in advance!

    Thank you for your reply.
    Does this means that it is still not possible to use the PDF ActiveX control in a x64 WinForms application?

  • How can I keep my winform application running after logout

    Dear developers,
    I have an application that insert or update Data to an SQL server every 2, 3 hours.
    I can’t use the SQL server itself (creating a new job). Instead I defined a timer which executes the code every 3 hours.
     The application runs in the server - a winform application.
    And this is the problem, when I logoff the application is being closed…
    Is there a way to keep the application running? (same as Jobs)
    Tanks,
    Patric

    Uri's solution may work for you.
    The proper approach though is a SQL Server Agent job. It resides on SS, it gives you nice history.
    Talk with the responsible DBA?
    Kalman Toth, SQL Server & Business Intelligence Training; SQL SERVER GRAND SLAM

  • Blurring the entire screen in a WinForms application

    Hello,
    I am trying to come up with a way to blur the entire screen (all forms visible) on a WinForms program. I am using C# in VS2005. I have tried the code from this link:
    .net - C# dialog form with blur background - Stack Overflow
    ...and it works quite well, however it only works for the active form, not for all forms visible. How would I adapt this code to work for the entire screen? I looked at
    the Application.OpenForms[] controls, but I can only do one control.
    Is there a more elegant way to do what I'm trying to achieve?

    Hi friend,
    Like your title mentioned, this is a WinForms application case. So I moved your case to Winform forum for better support.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Call a method in VB dll from Java Web Application

    Hi,
    I'm trying to call a method of a VB dll, from a web application developing with J2EE. Is it possible without JNI? And, if it is not possible with a tool, can you help me with an example of JNI using?
    Thank you
    Mary

    maria_eg wrote:
    I'm trying to call a method of a VB dll, from a web application developing with J2EE. Is it possible without JNI? Maybe using Runtime#exec() and rundll32.exe. Depends on the DLL which you want to call.
    And, if it is not possible with a tool, can you help me with an example of JNI using?JNI tutorial: http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html
    JNI forum: http://forum.java.sun.com/forum.jspa?forumID=52

  • Is there any Profile option available to encrypt and use APPS password Oracle Application Host script

    @Hi, How do we encrypt APPS password usage  in Oracle Application Host script and still let it be used in encrypted format (eg.$1, $FCP_LOGIN should not show plain text password).
    Appreciate the process along with any Profile available to place this control.
    Concurrent Program Setup Option SECURE/ENCRYPT controls $1, $FCP_LOGIN respectively, but Developer still has access to view/log the APPS Password.
    Can we have a System profile or an Apps DBA level Setup to encrypt and use the APPS/Password.
    Thanks in Advance
    Lakshmi

    Are you linking the host script to fndcpesr? E.g.:
    Host script defined with prog extension:
    XXSCRIPT.prog
    Move it to relevant dir:
    $XX_TOP/bin
    Create a soft link to fndcpesr
    ln -s $FND_TOP/bin/fndcpesr XXSCRIPT

  • User32.dll Causing Error on Application Exit

    I have an application built into an exe with LabVIEW 8.2. It uses 1 simple call to user32.dll to determine if caps lock is on. When I build the application, it copies user32.dll to the 'data' subdirectory of my application. Everything works fine, however when I exit the program it throws a Windows error, "... has encountered a problem and needs to close..."
    Now the fun part. If I remove user32.dll from this directory, everything works fine. I guess it just goes out and finds the original user32.dll in the system directory and there are no errors when I exit. Replacing the file in \data causes the error again.
    The simplest thing would be to remove the call in my program as it isn't absolutely necessary (it just shows a warning when entering a password if caps lock is on), but there seems to be something weird going on because it only throws the error when using the dll it copied.
    Is there any way to stop the application builder from copying dlls? I couldn't find anything.
    Is there a way to force LabVIEW to release and cleanup any dlls it is using? If I could do this when the user exits, maybe whatever is causing this won't get left behind.

    Marc A wrote:
    I have an application built into an exe with LabVIEW 8.2. It uses 1 simple call to user32.dll to determine if caps lock is on. When I build the application, it copies user32.dll to the 'data' subdirectory of my application. Everything works fine, however when I exit the program it throws a Windows error, "... has encountered a problem and needs to close..."
    Now the fun part. If I remove user32.dll from this directory, everything works fine. I guess it just goes out and finds the original user32.dll in the system directory and there are no errors when I exit. Replacing the file in \data causes the error again.
    The simplest thing would be to remove the call in my program as it isn't absolutely necessary (it just shows a warning when entering a password if caps lock is on), but there seems to be something weird going on because it only throws the error when using the dll it copied.
    Is there any way to stop the application builder from copying dlls? I couldn't find anything.
    Is there a way to force LabVIEW to release and cleanup any dlls it is using? If I could do this when the user exits, maybe whatever is causing this won't get left behind.
    You should not copy system DLLs to other systems. That is a recipy for troubles. Make sure to reference user32.dll form inside the Windows System directory in your Call Library Node. LabVIEW will then see this as system library and not include it in the build. Any Windows system will have user32.dll in the system directory so there is really absolutely no need to distribute that with your app, (and actually it is legally not even correct).
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to make my android phone vibrate from a c# winform application?

    Hello everybody,
    I am working on c# winform application. I would like to send force Feedback( Vibration) to android mobile phone from my application.
    How do i Register my device without connecting my device to PC?
    Could someone suggest me ways to do it?
    Thankyou so much in advance.
    Note: Please correct me if this is a wrong Forum.

    I actually don' have any android application. But I want to connect to mobile from winform application.
    So, I understood i can do it using TCP. But could you tell me something in c#?
    Hello,
    The document I shared in previous reply does in C#, since there should be two parts, android and the winform, the C# part are just for winform, and that means we need to code for both android and winform.
    I actually found a library for c# which is
    AndriodLib can be used to communicate between c# and andriod device.
    But as of my knowledge, It could only Register conneted devices.
    Also, after connecting the device, I want to Access vibrate function to send forcefeedback to that device.
    That is another way to communicate and it is absolutely different issue of your original post.
    In addition, that is not a built-in library and belongs to third-party, I would recommend you connect to its publisher to get help.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to uninstall Application host helper service?

    Hi all,
    I have remove IIS features from my server 2008 R2 64bits sp1 but i still see this application host helper service. How can i remove this service from my system?
    Thanks

    HI,
    The ApplicationHost Helper Service in IIS 7.0 and above hosts IIS functionality that is needed even if IIS is not running.
    This service currently hosts the following functionality:
    l  Configuration
    history
    l  Application
    Pool account mapping
    For more information, please refer to the following Microsoft article:
    ApplicationHost Helper Service
    http://www.iis.net/learn/install/installing-iis-7/applicationhost-helper-service
    Source: http://social.technet.microsoft.com/Forums/windowsserver/en-US/33b02e01-acf6-4444-a7ed-5bebade77c10/iis-install-left-behind-application-host-helper-service?forum=winserver8gen
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • Form initialization on winform application

    I am modifying a old .net 2.0 winform application, and fond this:
    Form0 is the startup form, form1 is a normal form, there is a button on form0, when click, form1 is shown, the old code is this:
    private sub button1_Click
        dim fm as new Form1
        fm.showModal()
        fm.dispose()
    end sub
    When I change the code to:
    private sub button1_Click
        Form1.showModal()
    end sub
    it also works. I change the code that way because I saw some cross form code calls without initialize the form first(something like: in form2, there is a call like: Form1.functionX).
    So I was wonder if all the forms in a winform application already initialized somewhere?
    I put a break point in Form1's "New", and did not see it is been called when application start, and the Form1 class is not declared as static.
    Why the Form1 class behave like a static class? Does anyone knows?

    These are called "Form default instances". They were there in VB6, have been removed in VB.Net 2002, and unfortunatelly they came back in a later version (IIRC with VB 2005). The functionality is hidden, therefore it's a bit confusing, even for
    VS to display correct information. I would not use them. Instead, go the first way. It was mainly made for beginners, but IMO, it's more confusing them because they don't learn to distinguish between what a class is and an instance, and what shared and instance
    members are.
    For example, if you write "form2.show" and move the mouse over the word Form2, it shows "Class Form2". But this would mean that Show is a shared method. It is not.
    What really happens is that "Form2" is actually referring to My.MyProject.Forms.Form2.
    My is a namespace.
    MyProject is a Module in the My namespace.
    Forms is a public property of MyProject.
    The type of Forms is My.MyProject.MyForms, which is a nested class inside the Module MyProject.
    Form2 is one of the properties of the MyForms class.
    Addition: These are not all visible as source code but added during compilation by the compiler.
    Armin

  • ClickOnce WinForms Application to retrieve data from an Oracle Database

    I am hoping someone can help us.
    We are trying to create a ClickOnce WinForms Application that will allow our Customer Service group to retrieve data from an Oracle Database.
    We are currently able to use such a ClickOnce WinForms Application to allow our Customer Service group to retrieve data from SQL Server 2000 databases and even to a PICK Basic database. We use ole db drivers for these connections and keep the connection strings in a configuration file.
    Our primary question now is:
    1) What files would be needed on each client machine?
    Thanks for any pointers.
    :) Anne

    The problem has been fixed.
    If you wanna to load data from Oracle DB,the connect String should be like this:
    cnss.open "Provider=OraOLEDB.Oracle.1;data source=orcl;User Id=fdmitf;Password=fdmitf"
    besides, you should assign a value (True/False) to your function, as TonyScalese said in this post:
    Import from RDB Fails with "Error:Import failed.Invalid data or Empty..."
    Problem solved is always a great joy! Thanks!

  • How to simulate ModelState.IsValid in C# winform application for any model validation

    in asp.net mvc the people validate model this below way
    using System;
    using System.Data.Entity;
    using System.ComponentModel.DataAnnotations;
    namespace MvcMovie.Models {
    public class Movie {
    public int ID { get; set; }
    [Required]
    public string Title { get; set; }
    [DataType(DataType.Date)]
    public DateTime ReleaseDate { get; set; }
    [Required]
    public string Genre { get; set; }
    [Range(1, 100)]
    [DataType(DataType.Currency)]
    public decimal Price { get; set; }
    [StringLength(5)]
    public string Rating { get; set; }
    public class MovieDBContext : DbContext {
    public DbSet<Movie> Movies { get; set; }
    if (ModelState.IsValid)
    db.Movies.Add(movie);
    db.SaveChanges();
    return RedirectToAction("Index");
    now guide me how could do the model validation same way in any c# win and webform application ? guide me in details. thanks

    this question has been cross posted to forums.asp.net and to stackoverflow:
    "How to simulate ModelState.IsValid
    in any application for any model validation"
    "How
    to simulate ModelState.IsValid in C# winform application for any model validation"
    Gerry (Lowry) Ability Business Computer Services ~~ Because it's your Business, our Experience Counts!

  • What's the recommended practice on logging errors from custom built applications hosted on Terminal Servers.

    Hi,
    We have custom built applications which are now hosted on Windows Terminal Servers.
    We are looking for recommendation on logging. Is it
    advisable to use a shared NAS folder or make use of event log on individual servers? 
    Thanks,
    Raj

    Hi Dharmesh,
    Thanks for responding.
    This is a large deployment involving hundreds of applications and servers. My responsibility is to come up with development guidelines for applications hosted on TS. I have gone through the guidelines
    posted by Microsoft @
    http://msdn.microsoft.com/en-us/library/aa383490(v=vs.85).aspx. But it didn't cover the topic on logging.
    Do you know whether Microsoft has published any other document on this topic.
    Thanks,
    Raj

  • Error After deployment of c# winforms Application

    I have following code in c# winforms Application in button click event its image change       
    private void HandPiece400Ache_Click(object sender, EventArgs e)
    SelectHandPiece = "400nm ACHE";
    HandPiece400Ache.Image = Image.FromFile(@"C:\Users\Ahmed\Desktop\WindowsApplication\WindowsApplication\button.png");
    HandPiece500Ache.Image = Image.FromFile(@"C:\Users\Ahmed\Desktop\WindowsApplication\WindowsApplication\borderlessbutton.png");
    HandPiece400Vascular.Image = Image.FromFile(@"C:\Users\Ahmed\Desktop\WindowsApplication\WindowsApplication\borderlessbutton.png");
    HandPiece500Vascular.Image = Image.FromFile(@"C:\Users\Ahmed\Desktop\WindowsApplication\WindowsApplication\borderlessbutton.png");
    but when i deploy the project in other PC's the following error occures system.io.FileNotFound @"C:\Users\Ahmed\Desktop\WindowsApplication\WindowsApplication\button.png"

    If you change your resource you application can not find it. However you can make the resource of the new computer as same as the old one so your application can consider the same and works well.
    Hope above help !
    Doanh

Maybe you are looking for

  • Can I use one computer for 2 different iPhones?

    I have 2 iPhones, one for work and the other for personal use. Can I sync them both using the same computer without screwing up the contacts, calendar, etc.?

  • PDF File Not Being Shown

    When I try to open files that are PDF based from the Internet the file opens, however, the content of the file is not seen. What could be the problem?

  • ITunes App on my iPhone 4S - Not working!

    I have an iPhone 4S running iOS 7.1.1. Over the last 3 days, the iTunes App has stopped working.  When I open the App, I get a white page and at the top of the screen, the two options for 'Featured' and 'Charts' and then the options at the bottom to

  • Web sevice data control deploy error.

    We developed an ADF application. We deploy this application to SOA 10.1.3.3 it works correctly. After that we add this project a web sevice data control pointing a BPEL process (initiate method). it works from Jdev 10.1.3.3. no problem. But when we d

  • Search Text Include Folder Names

    It appears that when I create a filter searching specific text, the text values of the underlying folders that the images are in are not being considered.  For instance if my folder structure was YYYY\Event\Eventsub1\Eventsub2 and I wanted to search