vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Top-Preis! AP-Access-Tools-CD Volume 1  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

VB.NET - Ein- und Umsteiger
Re: .txt in sav umbenennen auf einem Server 
Autor: ModeratorDaveS (Moderator)
Datum: 05.03.09 14:53

Die Methode ist übrigens durchaus bekannt. Hier ein Ausschnitt aus einem MSDN Artikel. (Es geht hier um Zugriff von IIS Asp auf einen SQL DB Server, aber das Prinzip ist gleich). Eventuell wichtig wäre es die lokale Anmeldung zu unterbinden.

Mirrored Accounts

Mirrored accounts are not recommended, but are a workaround if you need to use Windows authentication and your Web server and database server are not in the same or trusted domain or if Windows authentication is blocked by a firewall. To use mirrored accounts, create a local account with the same user name and password on each server and then create a SQL Server login for the local account on the database server.

To create a local account

Create a local Windows account.
Run the following Aspnet_regiis.exe command to assign the relevant ASP.NET permissions to the account:
aspnet_regiis.exe -ga machineName\userName

On Windows 2003, running the Aspnet_regiis.exe -ga command adds the account to the IIS_WPG group. The IIS_WPG group provides the Log on as a batch job user right and ensures that the necessary file system permissions are granted.

Use the Local Security Policy tool to grant the Windows account the Deny logon locally user right.
Use IIS Manager to create an application pool running under the new account's identity and assign the ASP.NET application to the pool.
For more information see How To: Create a Service Account for an ASP.NET 2.0 Application.

To create a mirrored account on the database server

Create a local account on the database server using the same username and password as the account you created on the Web server.

To grant database access to the mirrored account

Follow the steps outlined above in the section "Using the Network Service account," but create a login and grant access to the local account rather than to the Network Service account.

________
Alle Angaben ohne Gewähr. Keine Haftung für Vorschläge, Tipps oder sonstige Hilfe, falls es schiefgeht, nur Zeit verschwendet oder man sonst nicht zufrieden ist

alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
.txt in sav umbenennen auf einem Server2.036Nokiahandy04.03.09 13:09
Re: .txt in sav umbenennen auf einem Server1.263xtts0204.03.09 15:00
Re: .txt in sav umbenennen auf einem Server1.216Nokiahandy04.03.09 15:12
Re: .txt in sav umbenennen auf einem Server1.327xtts0204.03.09 23:32
Re: .txt in sav umbenennen auf einem Server1.235Nokiahandy05.03.09 08:42
Re: .txt in sav umbenennen auf einem Server1.226xtts0205.03.09 08:59
Re: .txt in sav umbenennen auf einem Server1.265Nokiahandy05.03.09 09:30
Re: .txt in sav umbenennen auf einem Server1.220xtts0205.03.09 09:46
Re: .txt in sav umbenennen auf einem Server1.162Nokiahandy05.03.09 09:57
Re: .txt in sav umbenennen auf einem Server1.286xtts0205.03.09 10:12
Re: .txt in sav umbenennen auf einem Server1.202Nokiahandy05.03.09 10:15
Re: .txt in sav umbenennen auf einem Server1.234xtts0205.03.09 10:19
Re: .txt in sav umbenennen auf einem Server1.243Nokiahandy05.03.09 10:28
Re: .txt in sav umbenennen auf einem Server1.216effeff05.03.09 10:42
Re: .txt in sav umbenennen auf einem Server1.244Nokiahandy05.03.09 10:58
Re: .txt in sav umbenennen auf einem Server1.183xtts0205.03.09 10:42
Re: .txt in sav umbenennen auf einem Server1.224Nokiahandy05.03.09 11:18
Re: .txt in sav umbenennen auf einem Server1.140xtts0205.03.09 11:34
Re: .txt in sav umbenennen auf einem Server1.255Nokiahandy05.03.09 11:52
Re: .txt in sav umbenennen auf einem Server1.146ModeratorDaveS05.03.09 13:23
Re: .txt in sav umbenennen auf einem Server1.200Nokiahandy05.03.09 13:55
Re: .txt in sav umbenennen auf einem Server1.171ModeratorDaveS05.03.09 14:02
Re: .txt in sav umbenennen auf einem Server1.168Nokiahandy06.03.09 10:38
Re: .txt in sav umbenennen auf einem Server1.258ModeratorDaveS06.03.09 10:42
Re: .txt in sav umbenennen auf einem Server1.247ModeratorDaveS05.03.09 14:53
Re: .txt in sav umbenennen auf einem Server1.300Nokiahandy09.03.09 08:41
Re: .txt in sav umbenennen auf einem Server1.159ModeratorDaveS09.03.09 09:10
Re: .txt in sav umbenennen auf einem Server1.165xtts0209.03.09 09:15
Re: .txt in sav umbenennen auf einem Server1.155Nokiahandy09.03.09 09:19
Re: .txt in sav umbenennen auf einem Server1.103ModeratorDaveS09.03.09 09:32
Re: .txt in sav umbenennen auf einem Server1.105Nokiahandy09.03.09 09:58
Re: .txt in sav umbenennen auf einem Server1.244ModeratorDaveS09.03.09 10:04
Re: .txt in sav umbenennen auf einem Server1.222xtts0209.03.09 10:21
Re: .txt in sav umbenennen auf einem Server1.180Nokiahandy09.03.09 10:48
Re: .txt in sav umbenennen auf einem Server1.198Nokiahandy09.03.09 11:47
Re: .txt in sav umbenennen auf einem Server1.184xtts0209.03.09 12:15
Re: .txt in sav umbenennen auf einem Server1.216Nokiahandy09.03.09 12:19
Re: .txt in sav umbenennen auf einem Server1.118xtts0209.03.09 12:45
Re: .txt in sav umbenennen auf einem Server1.156xtts0209.03.09 12:51
Re: .txt in sav umbenennen auf einem Server1.174Nokiahandy09.03.09 13:00
Re: .txt in sav umbenennen auf einem Server1.135xtts0209.03.09 13:04
Re: .txt in sav umbenennen auf einem Server1.153Nokiahandy09.03.09 13:12
Re: .txt in sav umbenennen auf einem Server1.175ModeratorDaveS09.03.09 13:15
Re: .txt in sav umbenennen auf einem Server1.212xtts0209.03.09 13:18
Re: .txt in sav umbenennen auf einem Server1.133Nokiahandy09.03.09 13:32
Re: .txt in sav umbenennen auf einem Server1.227xtts0209.03.09 13:42
Re: .txt in sav umbenennen auf einem Server1.215Nokiahandy09.03.09 13:47
Re: .txt in sav umbenennen auf einem Server1.177ModeratorDaveS09.03.09 14:16
Re: .txt in sav umbenennen auf einem Server1.235Nokiahandy09.03.09 14:35
Re: .txt in sav umbenennen auf einem Server1.330ModeratorDaveS09.03.09 14:46
OK, jetzt rück´ einfach mal mit der Sprache raus...1.176effeff09.03.09 18:52
Re: OK, jetzt rück´ einfach mal mit der Sprache raus...1.206ModeratorDaveS09.03.09 18:58
Re: OK, jetzt rück´ einfach mal mit der Sprache raus...1.118effeff11.03.09 11:42
Re: OK, jetzt rück´ einfach mal mit der Sprache raus...1.120ModeratorDaveS11.03.09 13:02

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel