473,387 Members | 1,863 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,387 software developers and data experts.

Error while creating InternetExplorer Class object.

Hello All,

I am facing an issue with relation to creating an Internet Explorer object through C#.

My application receives requests from users and for each request it needs to create an IE object, and then call an intranet URL. Then user the document object in the IE and perform some action.

Then once the activity is complete, send data to a web service and close the session.

The application work fine for some time but then, it starts giving error while creating the IE object.

Any help / question is highly welcome. Need your attention urgently.
May 18 '09 #1
5 2828
PRR
750 Expert 512MB
Please post some code ...
May 18 '09 #2
tlhintoq
3,525 Expert 2GB
I know nothing of ASP, and am not able to help but I do have a comment/question.

Does this mean your website is restricted to Internet Explorer? No other web browser will work?
May 18 '09 #3
Frinavale
9,735 Expert Mod 8TB
What type of application are you developing?
A Desktop application that opens Internet Explorer?
Or an ASP.NET application that is accessed using Internet Explorer?
May 20 '09 #4
It is an ASP.Net application running on IIS6 on Win 2003 server. The ASPX page creates a Internet Explorer object on run time using SHDocvw.dll.

InternetExplorerClass ie = new InternetExplorerClass
May 22 '09 #5
Frinavale
9,735 Expert Mod 8TB
Why?

All the .NET code code in an ASP.NET application is run/executed on the server.
Therefore, even if this works, the end user will not see the new instance of Internet Explorer.

What are you trying to accomplish?
May 22 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: ddd | last post by:
Hi, I am having problems with using the DrawToDC of the MSHTML.iHTMLElementRender in a VB.net application. For some reason I am getting a "catastrophic error". I am basing the code on c#...
1
by: Robin Dindayal | last post by:
Does anyone know how I can print a fully rendered .aspx to the server's printer? I know that, if I wanted to print to the client's printer it would be easy (ie. use javascript's window.print()). ...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
1
by: Paul W | last post by:
I attempted to find the solution and came close (http://blogs.msdn.com/robgruen/archive/2005/01/24/359660.aspx) but cannot go any further. I have an ASP.NET (2003/C#) app that calls a VB 6 DCOM on...
2
by: Teja | last post by:
What is "ValueError: argument is not a COM object" ? I get this error when I try to pass a COM object to a thread. Any pointers???? Thanks Teja
3
by: Teja | last post by:
Hi all, What is attribute error? what causes that error, especially with COM objects? To be precise : Attribute Error: LCAS.LabcarController.writeLogWindow() Here, LCAS.... is a COM...
10
by: Teja | last post by:
HI all, I have a problem in accesing COM objects in threads. To be precise, lets assume that I have a class GenericFunctions which is defined as follows: import win32com.client, pythoncom,...
12
by: garyusenet | last post by:
I have had no replies to my previous post so perhaps I didn't write it good enough. Please excuse new thread but i wanted to break from the last thread hopefully this thread will be better. ...
8
by: Ludwig Wittgenstein | last post by:
Hi, all. How can i hook up an InternetExplorer object to a WebBrowser control that I have in my windows form. Basically what I want to do is automate the WebBrowser control via the...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.