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

Problem in IE automation upon Deployment

Dear Sir

I have a created a Web Service that uses ShDocVw.Dll and
Microsoft.mshtml.dll for IE automation. For the development I am using VS
2005 installed on Windows 2000 Professional System. In my application, I use
IE instance to navigate to certain site. This application runs fine on the VS
Development server but when I deploy it on Windows 2003 server, my IE
instance is unable to navigate to the specified page. However if I specify
some local HTML file on Hard Drive it is able to read it. I have written the
following code for creating IE instance and navigating.

object Zero = 0;

object Enmp = "";

ie = new SHDocVw.InternetExplorer();

ie.Navigate("http://www.website.com/default.htm", ref Zero, ref
Enmp, ref Enmp, ref Enmp);

//ie.Navigate(@"G:\Settings\LOG\23.htm", ref Zero, ref Enmp, ref
Enmp, ref Enmp);

while (ie.ReadyState != SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE) {
}

After running this code on Server I am getting "Open the www.website.com
home page, and then look for links to the information you want. If you typed
the page address in the Address bar, make sure that it is spelled correctly.
If you still cannot open the page, click the Internet Explorer Search button
to look for similar sites" as the content of IE HTML document.

I have tried it several times by configuring IE setting and also by
reducing the security settings and giving permissions to IIS worker process,
but this error still persits.

I think ,this seems to be configuration issue on the Windows 2003 server or
could be some mistake in coding. If you could suggest anything that would be
a great help to me.

With Thanks and Regards

Nitin Mittal
Jun 7 '06 #1
0 938

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ZaGras | last post by:
after i pack my vb program using package and deployment wizard, i try to install the program on other computer instead of my computer and run the program. when i click to add a new record to the...
1
by: Lisa | last post by:
Can anyone help me with an "Automation Error" I am receiving in Access XP? I am using the Combo Box wizard to create a combo box on a simple form and receive the following error "Automation Error....
6
by: Frank X | last post by:
Excel 2002 introduced a capability to add custom worksheet functions to Excel direct from a COM/ActiveX object. I can use C# to develop a COM object which I can use fine from Excel/VBA, however...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
2
by: vertexpd | last post by:
To all, We are looking for a full time computer programmer to be involved in programming GUI and automation application in the medical and Semiconductor industry and product development. ...
9
NeoPa
by: NeoPa | last post by:
In VBA (I expect VB would be similar) controlling another Office Application (Automation) can be done using the following steps : Ensure the Reference (VBA Window / Tools / References) has been...
0
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying...
10
by: cj2 | last post by:
I open a word template in VB and add values to the bookmarks then save the document as as pdf. When I then go to close the document it pops up a save as dialog box. It's already saved the...
2
by: MickT | last post by:
I have created a VB.NET application. A number of reports may generated from a form, and 2 of them use office automation to create reports in WORD templates. The reports work well, but I have 2...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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.