473,387 Members | 1,891 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.

Server.CreateObject works on IIS 5.x / WinXP Fails on IIS 6.x / Win2K3

I have a VB Script that I call from my ASP page. One of the first
things it does is:
'Launch Access
Server.CreateObject("Access.Application")
'Open DB
'Preview Report

This works fine on IIS 5.x, on Windows XP. But when I try this on
Windows 2003 (with the latest IIS that ships with it), it does not
work. I can see in the IIS Log that the Server.CreateObject failed.

What I'm trying to achieve has been well explained in:
http://www.4guysfromrolla.com/webtech/042600-1.shtml

I tried playing around with the user/permissions (for IIS Out-Of-Proc,
DCom Config - Access DB/App), etc in Component Services and IIS (Pool,
Website properties). But to no avail.

I'm trying this on the local machine, where IIS and Access 2002 are
installed. Other ASP and ASP.Net pages work fine on this box. So there
are no generic configuration / network / firewall issues, per se.

Your ideas/suggestions will be deeply appreciated.

Thanks.
Nov 13 '05 #1
1 1792
"Simple" <wo*****@excite.com> wrote in message
news:2c**************************@posting.google.c om...
I have a VB Script that I call from my ASP page. One of the first
things it does is:
'Launch Access
Server.CreateObject("Access.Application")
'Open DB
'Preview Report

This works fine on IIS 5.x, on Windows XP. But when I try this on
Windows 2003 (with the latest IIS that ships with it), it does not
work. I can see in the IIS Log that the Server.CreateObject failed.

What I'm trying to achieve has been well explained in:
http://www.4guysfromrolla.com/webtech/042600-1.shtml

I tried playing around with the user/permissions (for IIS Out-Of-Proc,
DCom Config - Access DB/App), etc in Component Services and IIS (Pool,
Website properties). But to no avail.

I'm trying this on the local machine, where IIS and Access 2002 are
installed. Other ASP and ASP.Net pages work fine on this box. So there
are no generic configuration / network / firewall issues, per se.

Your ideas/suggestions will be deeply appreciated.

Thanks.


Is MS-Office XP installed?

Try for XP:

Set oAppXP = Server.CreateObject("Access.Application.10")
Nov 13 '05 #2

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

Similar topics

0
by: Michael J. Wendell | last post by:
Hello, I am trying to debug an issue with sessions in my ASP 3.0 web application, which runs fine on WIN2K Pro and WINXP Pro, yet fails to function correctly on WIN2K Advanced Server. My actual...
1
by: cs | last post by:
I have a windows service that interacts with teh desktop, yes I know the consequences, anyways, the service works fine on winxp but when I move it to windows 2003 server the service doesnt interact...
5
by: Max Metral | last post by:
I have an application that has a web interface but also provides a direct TCP interface for some older systems. In IIS5, I used to just spawn a thread in Application_Start and clean it up when the...
2
by: news.microsoft.com | last post by:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. I guess I get this because, my pages are hosted on WinXP IIS and the sql server is on Win2k3. ...
0
by: Shannon Broskie | last post by:
I'm posting this here as I first found the issue trying to run a 2.0 Framework app on a 2003 server. Background -------------- We utilize a strong name policy sent to all XP machines using...
1
by: hazz | last post by:
I tried using the Visual Studio setup and deployment wizard to create an msi to install the .exe, config and .dll resource files from my winxp deve box onto a Windows 2003 server. I don't have...
1
by: Pradeep | last post by:
Hi, I have pounded my head for the last couple of hours tyring ot figure out on how to make my query using LDAP to the AD. The code works fine on XP. And also works great in a windows application....
4
by: julian.tklim | last post by:
Hi, I have built a DLL using VB 6.0 and trying to run create the object in ASP. Eg: <% set a = Server.Createobject("Office.clsOffice") %>
0
by: kkos | last post by:
I noticed the following issue posted as a double-hop issue in many discussion boards but found no answers that explain how to pass the second hop with windows auth from IIS ASPX page to remote SQL...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...

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.