Hi,
i have a Process.Start call that fails with 267 Error Code
if invoked with another user and password other than the
applications user. It is a ordinary piece of code just create
a Process Object , fill its StartInfo and then go a process.Start() ,
It works fine, unless i try to execute the process with another
user. Why, what do i have to take care of,...i gt the
267 Win32Exception Code with the Exception thrown,...
OS is XP Pro, Runtime Host is .NET is v2.0 up2date
TIA,...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied." 2 12219
Possibly the path is not identical between the two users, or possibly the
second user does not have execute permision on the file (like
IUSR_MachineNam e). Can you log in as that user and run the process in a
command window successfully?
"Kerem Gümrükcü" wrote:
Hi,
i have a Process.Start call that fails with 267 Error Code
if invoked with another user and password other than the
applications user. It is a ordinary piece of code just create
a Process Object , fill its StartInfo and then go a process.Start() ,
It works fine, unless i try to execute the process with another
user. Why, what do i have to take care of,...i gt the
267 Win32Exception Code with the Exception thrown,...
OS is XP Pro, Runtime Host is .NET is v2.0 up2date
TIA,...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Hi Mike,
interessting is that everything works fine after
rebooting the system. I think it was some problem
with the environment, because i was directly manipullating
the OS Env. for the Computer,...
Now everything is ok,...
Thanks for your reply,...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
"Family Tree Mike" <Fa************ @discussions.mi crosoft.comschr ieb im
Newsbeitrag news:CE******** *************** ***********@mic rosoft.com...
Possibly the path is not identical between the two users, or possibly the
second user does not have execute permision on the file (like
IUSR_MachineNam e). Can you log in as that user and run the process in a
command window successfully?
"Kerem Gümrükcü" wrote:
>Hi,
i have a Process.Start call that fails with 267 Error Code if invoked with another user and password other than the applications user. It is a ordinary piece of code just create a Process Object , fill its StartInfo and then go a process.Start() , It works fine, unless i try to execute the process with another user. Why, what do i have to take care of,...i gt the 267 Win32Exception Code with the Exception thrown,...
OS is XP Pro, Runtime Host is .NET is v2.0 up2date
TIA,...
Regards
Kerem
-- ----------------------- Beste Grüsse / Best regards / Votre bien devoue Kerem Gümrükcü Microsoft Live Space: http://kerem-g.spaces.live.com/ Latest Open-Source Projects: http://entwicklung.junetz.de ----------------------- "This reply is provided as is, without warranty express or implied." This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Seth |
last post by:
Pretty straight forward. Reason I'm asking is because I'm not sure if I
should explicitly close my recordset and database connections before each
redirect or get away with having a one time close at the bottom of my page.
Thanks for the help.
|
by: microsoft |
last post by:
Hi People, when I try to modify an active directory user programatically, I
receive the following exception:
The server is unwilling to process the request
Reading the microsoft web site, I found this article:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;248717 that says the
following:
..........................
|
by: Solution Seeker |
last post by:
Hi,
we are using MSDE as our Database
Now we have a Validation to check the MSDE availability
If Database Connectivity fails, I need to check the MSDE availability
If MSDE is not available(i.e., Service is stopped), then i have to Start the
Service thro' VB.Net Code
|
by: kmounkhaty |
last post by:
Hi Guru,
I'm tired of trouleshoot one of my sql box that the sqlagent can't
started. Here is the message:
SQLServerAgent could not be started (reason: Unable to connect to
server '(local)'; SQLServerAgent cannot start)
· SQLSERVER runs on LocalSystem account with started up type
automatic and successful
· Connect to SQL Analyzer: LocalHost, . (period), (local) and blank
all successful
|
by: ad |
last post by:
HI,
How can I start the default web site of my IIS with C#.
| |
by: Simon |
last post by:
Dear reader,
How to start the event "Activate" in a report as the report is a sub report.
By opening the main report the event "Activate" in the sub report is not
actived..
Thanks for any help.
Regards,
Simon
|
by: Justin |
last post by:
Recieved the message: SQL0954C Not enough storage is available in the
application heap to process
the statement. SQLSTATE=57011
After viewing other posts, they recommended changing the applheapsz
(which was completed). We have restarted DB2. The query is not too
complex. The interesting point is that we ran the query yesterday
with no issues. The server we are testing is a new box in which
multiple "break DB2" queries were...
|
by: =?utf-8?B?5Lq66KiA6JC95pel5piv5aSp5rav77yM5pyb5p6B |
last post by:
I made a C/S network program, the client receive the zip file from the
server, and read the data into a variable. how could I process the
zipfile directly without saving it into file.
In the document of the zipfile module, I note that it mentions the
file-like object? what does it mean?
class ZipFile( file]])
Open a ZIP file, where file can be either a path to a file (a
string) or a file-like object.
|
by: Asad Asad |
last post by:
How can I hide a process name in Taskmanager,in Visual Basic 6.0?
I can hide/unhide a application(which is running) name in taskmanager by using following code:
Private Sub Command1_Click()
App.TaskVisible=True
End Sub
Private Sub Command2_Click()
App.TaskVisible=False
End Sub
|
by: herman |
last post by:
Hi,
I would like to find out all the process id with the process name
'emacs'.
In the shell, i can do this:
$ ps -ef |grep emacs
root 20731 8690 0 12:37 pts/2 00:00:09 emacs-snapshot-gtk
root 25649 25357 0 13:55 pts/9 00:00:05 emacs-snapshot-gtk rtp.c
|
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: 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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: 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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |