Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jak otworzyc przeglądarkę z konkretnyum adresem z poziomu procedury?
stachuf11
post
Post #1





Grupa: Zarejestrowani
Postów: 154
Pomógł: 1
Dołączył: 24.04.2006

Ostrzeżenie: (0%)
-----


witam
z poziomu procedury w mssql 2005 chciałbym uruchomić przeglądarkę internetową z konkretnym adresem

próbuję użyć polecenia

  1. exec master..xp_cmdshell "c:\IEXPLORE.EXE", no_output


plik IEXPLORE.EXE skopiowałem do katalogu c więc ścieżka jest dobra

ale nie otwiera się przeglądarka, nie zgłasza żadnego błędu, executed successfull, , czy ma ktoś jakiś pomysł dlaczego nie działa to polecenie?
pozdrawiam
Stachu

Ten post edytował stachuf11 9.08.2009, 13:59:06
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
vokiel
post
Post #2





Grupa: Zarejestrowani
Postów: 2 592
Pomógł: 445
Dołączył: 12.03.2007

Ostrzeżenie: (0%)
-----


Coś mi się kojarzy, że procedury składowane są uruchamiane na prawach konta uruchamiającego usługę MSSQLSERVER. Zatem może trzeba dodać tego użytkownika do grupy administratorzy.

Poza tym znalazłem:
Cytat
Now not just anyone can run this extended stored procedure. If you want to execute this extended stored procedure, you will either need to be a member of the sysadmin role, or have the xp_sqlagent_proxy_account set up on your SQL Server. If a login executing this extended stored procedure is a member of the sysadmin role then the submitted command will run under the security context associated with the SQL Server Service account in which it runs. If the login executing this procedure is not a member of the sysadmin role, then the command uses the xp_sqlagent_proxy_account login security context for determining whether operating system commands can and cannot be run. If there is no xp_sqlagent_proxy_account then using this procedure will fail for all users not in the sysadmin role.

http://sqlblog.com/blogs/tibor_karaszi/arc...ermissions.aspx
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 14.10.2025 - 01:29