hello all,
i have a permission issue.
my script works fine on my windows2000 server development
box, however when i move it to my windows2003 production
server it produces an error. any help would be great.
script
<%
set oWS=server.crea teobject("WScri pt.shell")
ret=oWS.Run("c: \bat\send_erp_t est.bat", 0, true) 'line 19
if(ret=0) then
message = "test_sent"
else
message = "not working<br>"
end if
%>
error:
Microsoft VBScript runtime error '800a0046'
Permission denied
/admin_rps/erp_send_test_s ql.asp, line 19 3 58301
I am guessing that, Windows 2003 permissions are tighter and hence the
account your are running this ASP under, does not have permissions to
execute the BAT file. Check in the security tab of file properties, what the
IUSR account permissions are.
--
Manohar Kamath
Editor, .netBooks www.dotnetbooks.com
"nicholas.gadac z" <ni************ *@yahoo.com> wrote in message
news:05******** *************** *****@phx.gbl.. . hello all,
i have a permission issue.
my script works fine on my windows2000 server development box, however when i move it to my windows2003 production server it produces an error. any help would be great.
script <% set oWS=server.crea teobject("WScri pt.shell") ret=oWS.Run("c: \bat\send_erp_t est.bat", 0, true) 'line 19
if(ret=0) then message = "test_sent" else message = "not working<br>" end if %> error: Microsoft VBScript runtime error '800a0046'
Permission denied
/admin_rps/erp_send_test_s ql.asp, line 19
i am sure it is a permissions problem but i just don't
know what.
for the bat file. it is in
c:\bat
and IUSR has rights to the directory and that file. do i
have to do anything in iis? in windows 2000 server i did
not have to do anything, but my machine is pretty open
because i am behind a firewall.
any help would be great. there is some difference between
2000 and 2003 that i am missing.
nicholas.gadacz -----Original Message----- I am guessing that, Windows 2003 permissions are tighter
and hence theaccount your are running this ASP under, does not have
permissions toexecute the BAT file. Check in the security tab of file
properties, what theIUSR account permissions are.
-- Manohar Kamath Editor, .netBooks www.dotnetbooks.com
"nicholas.gada cz" <ni************ *@yahoo.com> wrote in
messagenews:05******* *************** ******@phx.gbl. .. hello all,
i have a permission issue.
my script works fine on my windows2000 server
development box, however when i move it to my windows2003 production server it produces an error. any help would be great.
script <% set oWS=server.crea teobject("WScri pt.shell") ret=oWS.Run("c: \bat\send_erp_t est.bat", 0, true) 'line
19 if(ret=0) then message = "test_sent" else message = "not working<br>" end if %> error: Microsoft VBScript runtime error '800a0046'
Permission denied
/admin_rps/erp_send_test_s ql.asp, line 19
.
nicholas.gadacz wrote: i am sure it is a permissions problem but i just don't know what.
for the bat file. it is in c:\bat
and IUSR has rights to the directory and that file. do i have to do anything in iis? in windows 2000 server i did not have to do anything, but my machine is pretty open because i am behind a firewall.
any help would be great. there is some difference between 2000 and 2003 that i am missing.
<snip> error: Microsoft VBScript runtime error '800a0046'
Permission denied
/admin_rps/erp_send_test_s ql.asp, line 19
What about permissions for whatever the batch file is doing? IUSR needs
permissions for those activities as well ...
HTH,
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: |
last post by:
I am accessing the same error-containing ASP page on an ISP server using w2k
IE6 but with different effect.
On the first computer I get several line of HTML outputed by ASP, shown
correctly by the browser, followed by a descriptive error message:
Microsoft VBScript runtime error '800a000b'
Division by zero
followed by the number of the error-making line
|
by: Mike Kanski |
last post by:
I get this error Microsoft VBScript runtime error '800a01fb'
When i call LoadPicture method, or when i pretty much do any operation with
PictureBox like setting width and height.
It happened after i apllied Service Pack 4 to my 2000 machine. Before it
worked properly.
Any suggestions?
|
by: Seeker |
last post by:
Hi!
I have to do some developing and I'm trying to configure my server to mimic
the operation of our production server. The issue I'm having is that I'm
trying to use CDONTS to send an email under IIS on a Windows 2003 Server.
The server does not have the SMTP service running, but I do have a third
party SMTP/POP/IMAP server running.
I have copied the CDONTS.DLL file and registered it. In the Web Serice
Extensions I have enabled the...
|
by: PaulieS |
last post by:
Hi all.
Am migrating a customer from IIS5 on W2K server to IIS6 on W2K3.
Zipped all the websites and unzipped them to the identical locations
on new server. Used IISMT to migrate metabase.
Got this error when I tried to run a very basic page... code:
<%@ LANGUAGE=vbscript %>
<%
|
by: Manojkumar |
last post by:
Hai Folks,
I am a new member to this group, can any one help me to find the solutions to
this problem
I am using Windows 2003 server and ASP Tear Component to encrupt the
values while sending the values to other pages, it shows me error
| |
by: anidmarty |
last post by:
Hey
I'm a Sysadmin and my users are getting this error on my production box.
It works fine on the dev box.
There is a script that is run that generates this error.
Production is clustered environment using Microsoft Application Center.
This was working before and starting throwing this error about 15 days ago.
any help would be much appreciated
thanks
|
by: =?Utf-8?B?TWF0dCBDYWxob29u?= |
last post by:
HI there,
I am getting an error on my page which calls up a web service.
Microsoft VBScript runtime error '800a13ba'
Unknown runtime error: 'SearchQueryXML'
/SearchResults.asp, line 142
|
by: Genken |
last post by:
Hi can anybody help me i get this error when running this code.
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ''
And then a line number indicating where the error is, i cant see any errors with this code please assist.
Thanks in advance.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
|
by: Concheso |
last post by:
Hi there!
I just created a login page. 1/3 of the login works fine, but some like "Lost Password" of "Admin access to add users" are not working.
Any help will be great!
The erros:
On the Lost Password using for instance: me@me.com
|
by: .nLL |
last post by:
Erorr is
---------------------
Microsoft VBScript runtime error '800a0046'
Permission denied
/a.asp, line 3
-----------------------
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |