473,403 Members | 2,270 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,403 software developers and data experts.

401 unauthorized exception

Hi,
I am trying to convert a word document to pdf file from java for
this, I am using a asp file to convert doc file to pdf. I got it
working when I put the url which has file name as the query string in
the browser but when I call that asp file through the java application
I am getting 401 unauthorized xxx exception.
I am using weblogic 7 as the app server and IIS as the web server and
Adobe acrobat 6 which has pdf distiller in it. The problem is when the
asp file tries to create the
Server.createObject(pdfdistiller.pdfdistiller.1), since it is a third
party component, the machine doesnt allow me to create the object, I
guess I am not sure, but I got it working when I put the virtual
folder security anonymous user as domain admin but if i give any other
user name it is giving the exception 401 unauthorized exception. Is
there any other way I can give someother user name

Thanks In Advance,
Jayakumar.
Jul 19 '05 #1
2 2457
On 8 Oct 2004 18:44:37 -0700, ja********@yahoo.com (Jayakumar) wrote:
I am trying to convert a word document to pdf file from java for
this, I am using a asp file to convert doc file to pdf. I got it
working when I put the url which has file name as the query string in
the browser but when I call that asp file through the java application
I am getting 401 unauthorized xxx exception.
I am using weblogic 7 as the app server and IIS as the web server and
Adobe acrobat 6 which has pdf distiller in it. The problem is when the
asp file tries to create the
Server.createObject(pdfdistiller.pdfdistiller.1 ), since it is a third
party component, the machine doesnt allow me to create the object, I
guess I am not sure, but I got it working when I put the virtual
folder security anonymous user as domain admin but if i give any other
user name it is giving the exception 401 unauthorized exception. Is
there any other way I can give someother user name


The anonymous user needs permission to the object and the location it
is creating the file.

Jeff
Jul 19 '05 #2

Hi Jeff Thank You for your reply

"The anonymous user needs permission to the object and the location it
is creating the file."

I did gave the permission as domain admin user it is working but that
may be a security risk , so i dont want to give that permission , I just
want to give ordinary user permission or at the maximum local
administrator permission and also If you can tell me how to set the
permission it will be very great.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3

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

Similar topics

1
by: Leonard Danao | last post by:
I get this error when i run my code below "An unhandled exception of type 'System.Net.WebException' occurred in system.dll Additional information: The remote server returned an error: (401)...
2
by: hazz | last post by:
I don't get it. I have a VS2005 solution with a web service project and a windows project. The web service when tested on its own works fine. But when I add it as a web reference and refer to it my...
0
by: Pmcg | last post by:
I would appreciate any help with the following, havn't found any answers for this in my research to date. I am trying to retreive a web page (a htm file intially) from a vdir on an intranet site...
2
by: Sachin | last post by:
Scenario: Machine A: ASP.NET Web UI IIS 6.0 Windows Server 2003 Impersonation Account: domain\Acct1 Machine B: ASP.NET Web Service IIS 6.0
3
by: pagates | last post by:
Hi All, I am attempting to write values to the registry, but get an UnauthorizedAccessException when I try to do a SetValue on an existing key. However, I can create the key, with a value, when...
2
by: ALI-R | last post by:
Hi All, I have a webservice on a win 2003 server and I'm trying to call it from another win2003 server which is hosting my sharepoint portal server. I am trying to call that webservice from a...
0
by: David Davis | last post by:
I am setting up some collaboration software called eProject for a client. eProject is a web based asp application. During setup, the instructions called for registering a service called...
0
by: Shree | last post by:
While invoking the web service from client, I am setting the credentitals using the following code... ReportingService.Credentials = System.Net.CredentialCache.DefaultCredentials; But in...
1
by: gnewsgroup | last post by:
In my web application, I need to access a simple web site on a remote host. That web site only allows Integrated Windows Authentication. So, in my web application, I collect user name, password...
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: 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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.