Monday 15 July 2013

MS SQL Server 2008 error 17058, when debuging .dll C++ -



MS SQL Server 2008 error 17058, when debuging .dll C++ -

i have problem.

i'm trying debug .dll external stored procedure ms sql 2008 x64 in visual studio 2010 in windows 8.1 (uac turned off, full-access opened "ms sql server" folder).

1. stop server service 2. include <srv.h> amd export xp_func library 3. project properties of ms vs a. post built-in event: re-create "c:\...\x.dll" "c:\...\mssql\binn\" b. debugging command: c:\...\sqlserv.exe -c 4. start project , open "server management studio" write script, phone call xp_func.

yesterday worked , debug library. can't - there error message 17058 in sqlserv.exe !only in ms vs console!, server can't access errlog file in "c:...\mssql\log\" folder, because busy process. process? not know...

how can handle problem? , go on debug?

i have solved problem, i've given myself rights of folders in programfiles. i've checked mark 'to start admin' in 'serv.exe' file. start ms vs admin. problem has been disappeared.

it not elegant solution, works.

c++ sql-server visual-studio-2010 tsql debugging

No comments:

Post a Comment