473,837 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS 6.0 ASP.NET Process Identity and ODBC

Hi,

My WS ASP.NET application runs on IIS 6.0 and should connect to FoxPro DB on
file server over OLE DB ODBC connection. Special user is created on file
server for this application. I cannot find the right solution how to change
Process Identity.

App impersonates some user identity

<identity impersonate="tr ue" userName="MyUse r" password="MyPas s" />

In this case application can read files with System.IO components on
specified file server directory, but System.Data.Odb c namespace components
not, because the try to connect with default IIS user identity - NETWORK
SERVICE. Maybe the problem is in MTS? Vfpodbc.dll starts in different
process with other identity?

How to find a solution?

Thanks

Aras

Nov 21 '05 #1
2 1415
On Fri, 3 Sep 2004 16:37:16 +0300, "Aras Kucinskas" <ar**@skuba.l t> wrote:

¤ Hi,
¤
¤ My WS ASP.NET application runs on IIS 6.0 and should connect to FoxPro DB on
¤ file server over OLE DB ODBC connection. Special user is created on file
¤ server for this application. I cannot find the right solution how to change
¤ Process Identity.
¤
¤ App impersonates some user identity
¤
¤ <identity impersonate="tr ue" userName="MyUse r" password="MyPas s" />
¤
¤ In this case application can read files with System.IO components on
¤ specified file server directory, but System.Data.Odb c namespace components
¤ not, because the try to connect with default IIS user identity - NETWORK
¤ SERVICE. Maybe the problem is in MTS? Vfpodbc.dll starts in different
¤ process with other identity?
¤
¤ How to find a solution?

If you need to enable impersonation for a specific user then your web application should be
implementing Basic or integrated NT authentication. Your web site isn't set up for Anonymous access
is it?
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #2
Thanks. I change application pool's worker process identity in Application
Pools Properties - Identity Tab.

"Paul Clement" <Us************ ***********@sws pectrum.com> wrote in message
news:2u******** *************** *********@4ax.c om...
On Fri, 3 Sep 2004 16:37:16 +0300, "Aras Kucinskas" <ar**@skuba.l t> wrote:

¤ Hi,
¤
¤ My WS ASP.NET application runs on IIS 6.0 and should connect to FoxPro DB on ¤ file server over OLE DB ODBC connection. Special user is created on file
¤ server for this application. I cannot find the right solution how to change ¤ Process Identity.
¤
¤ App impersonates some user identity
¤
¤ <identity impersonate="tr ue" userName="MyUse r" password="MyPas s" />
¤
¤ In this case application can read files with System.IO components on
¤ specified file server directory, but System.Data.Odb c namespace components ¤ not, because the try to connect with default IIS user identity - NETWORK
¤ SERVICE. Maybe the problem is in MTS? Vfpodbc.dll starts in different
¤ process with other identity?
¤
¤ How to find a solution?

If you need to enable impersonation for a specific user then your web application should be implementing Basic or integrated NT authentication. Your web site isn't set up for Anonymous access is it?
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)

Nov 21 '05 #3

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

Similar topics

0
335
by: DougD | last post by:
Hello, I have been hunting for a while on this... I need to change the process identity for my asp.net application. I'm familiar with changing the processModel node in machine.config, but it did not have an effect. This note in machine config.... "When ASP.NET is running under IIS 6 in native mode, the IIS 6 process model is used and settings in this section are ignored. Please use
4
7719
by: Nanchil | last post by:
Hi, We created a database (DB2 UDB 7.2 on solaris 8) without this (COLLATE USING IDENTITY ) option. But we need this now for binary sorting. The database is siebel database. Is it possible to drop and recreate the database with COLLATE USING IDENTITY option and restore the database. Please advise. Nanchil.
1
5797
by: Bucky Pollard | last post by:
I have a web service that needs to create a batch file and call it (since there are no APIs for the functionality I am looking for). I am using the Process and ProcessStartInfo objects. When I try to call the batch file, it just returns with a return code of 1. When I call cmd.exe, and pass the batch file as a parameter it hangs. After much frustration and aggrevation, I found that CMD IS in fact running, but it is running under the context...
7
960
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted c:\inetpub\wwwroot and rebooted before reinstalling. I created a new virtual directory from within IIS (e.g. MyWebTest). Then I tried to create a new Visual C# ASP.NET Web Application pointing to the location http://localhost/MyWebTest. I get...
2
1748
by: Aras Kucinskas | last post by:
Hi, My WS ASP.NET application runs on IIS 6.0 and should connect to FoxPro DB on file server over OLE DB ODBC connection. Special user is created on file server for this application. I cannot find the right solution how to change Process Identity. App impersonates some user identity <identity impersonate="true" userName="MyUser" password="MyPass" />
7
1893
by: Cliff Harris | last post by:
I don't currently have an installation of Windows 2003 server, or I could answer this myself. After having a client install ASP.NET on Windows 2003, I then tried to find the aspnet_wp.exe process but he claims it's not here. Now at first I didn't beleive him, however, I wondered if now that Asp.Net is integrated into IIS in WIndows 2003, is there a separate process? In the end, what I want to find out is, on a default installation of...
3
1710
by: Henrik Dahl | last post by:
Hello! From default, the ASPNET user is giving the process identity for the ASP.NET runtime environment of IIS, however it's possible to change the user by modifying the <processModel> element in the machine.config file. Is it possible to have multiple IIS servers running, each with their own user specified for the process identity or to specify the process identity specifically for each of the ASP.NET WebForms applications run by a...
0
755
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR Driver's SQLSetConnectAttr failed ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN...
0
12078
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in '/CinemaBookingSystem' Application. -------------------------------------------------------------------------------- ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN for process
1
3262
by: Justyn | last post by:
Hi everyone, I hope someone can help me out! I have added a trigger that gets fired on INSERT and which itself inserts data into another table WITHOUT an identity I used to get back the @@IDENTITY and I changed this to get back the SCOPE_IDENTITY so I was not affected by the trigger. However, after adding the trigger I get this error regardless of whether I use @@IDENTITY or SCOPE_IDENTITY: Microsoft OLE DB Provider for ODBC Drivers...
0
9693
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,...
0
10897
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, 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...
0
10583
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 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...
0
10280
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 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...
0
9419
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7009
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();...
0
5859
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4481
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
2
4056
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.