473,804 Members | 3,123 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 18 '05 #1
2 1747
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 18 '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 18 '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.
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...
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
1708
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...
2
1415
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" />
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
12072
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
3261
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
9708
marktang
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...
0
9587
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
10085
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
9161
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...
1
7623
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
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
5527
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...
0
5662
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4302
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 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.