Click here to Skip to main content
15,886,807 members
Home / Discussions / Database
   

Database

 
GeneralRe: Database updating Pin
Tim Carmichael10-Apr-08 8:43
Tim Carmichael10-Apr-08 8:43 
GeneralRe: Database updating Pin
Mycroft Holmes10-Apr-08 20:32
professionalMycroft Holmes10-Apr-08 20:32 
QuestionRestore Database.... Pin
salil_k_singh10-Apr-08 5:54
salil_k_singh10-Apr-08 5:54 
GeneralRe: Restore Database.... Pin
Tim Carmichael10-Apr-08 8:45
Tim Carmichael10-Apr-08 8:45 
GeneralRe: Restore Database.... Pin
salil_k_singh11-Apr-08 5:39
salil_k_singh11-Apr-08 5:39 
QuestionHow to enumerate the databases in network Pin
kssknov10-Apr-08 3:41
kssknov10-Apr-08 3:41 
GeneralRe: How to enumerate the databases in network Pin
SimulationofSai10-Apr-08 4:58
SimulationofSai10-Apr-08 4:58 
QuestionHow to use UNC name (remote computer) in the @outputfile parameter of sp_makewebtask ? Pin
jmavn10-Apr-08 3:04
jmavn10-Apr-08 3:04 
Hi friends,

In my application (developed in asp.net 1.1), I am going to implement the Cache dependency mechanism. I want to automatically invalidate the Cache object, once any manipulations done on a particular table in SQL Server.

My application and DB is running in different system. I found in one of the site, to create a trigger on the table which in tern calls the sp_makewebtask System stored procedure and write output of the query into a file.


EXEC sp_makewebtask @outputfile = 'c:\testcache.txt'
@query = 'select top 1 Problem_Category_Code from SMD_Problem_Category'


But the 'C:\testcache.txt' is pointing the local system in which SQL is running. I want to write a file which is available in remote system. I shared a folder from the system and made a mapped drive in the SQL system. (as z:\ drive)

I used the statements as :
@outputfile = 'Z:\testcache.txt' also as @outputfile = '\\10.160.1.4\wc\testcache.txt'

But in both the cases I got the error as:

Msg 16821, Level 11, State 1, Procedure sp_makewebtask, Line 131
SQL Web Assistant: Could not open the output file.


But in one site it is mentioned that, we can use the UNC name if we want to write file in remote system. How can I run the SP?

Can anyone please help me to solve this problem?

I need some swift reply on this issue, as it is very urgent for me.

Thankfully,
jm

AnswerRe: How to use UNC name (remote computer) in the @outputfile parameter of sp_makewebtask ? Pin
SimulationofSai10-Apr-08 5:04
SimulationofSai10-Apr-08 5:04 
QuestionCombobox datasource remains null even after assining it with a dataset Pin
Ramya Bhaskaran10-Apr-08 2:46
Ramya Bhaskaran10-Apr-08 2:46 
GeneralRe: Combobox datasource remains null even after assining it with a dataset Pin
Adeel Chaudhry21-Apr-08 23:30
Adeel Chaudhry21-Apr-08 23:30 
QuestionHow to export Dataset to excel file using OLEDB connection? Pin
cocoonwls10-Apr-08 0:11
cocoonwls10-Apr-08 0:11 
AnswerRe: How to export Dataset to excel file using OLEDB connection? Pin
Blue_Boy10-Apr-08 0:22
Blue_Boy10-Apr-08 0:22 
AnswerRe: How to export Dataset to excel file using OLEDB connection? Pin
Jörgen Andersson10-Apr-08 22:27
professionalJörgen Andersson10-Apr-08 22:27 
General[Message Deleted] Pin
Talsaniya Jayesh9-Apr-08 10:21
professionalTalsaniya Jayesh9-Apr-08 10:21 
GeneralDouble post - please ignore Pin
pmarfleet9-Apr-08 10:31
pmarfleet9-Apr-08 10:31 
GeneralRe: Double post - please ignore Pin
Talsaniya Jayesh9-Apr-08 10:38
professionalTalsaniya Jayesh9-Apr-08 10:38 
Generalselect * from variablename; Pin
Talsaniya Jayesh9-Apr-08 7:15
professionalTalsaniya Jayesh9-Apr-08 7:15 
GeneralRe: select * from variablename; Pin
SimulationofSai9-Apr-08 7:55
SimulationofSai9-Apr-08 7:55 
GeneralRe: select * from variablename; [modified] Pin
Talsaniya Jayesh9-Apr-08 9:36
professionalTalsaniya Jayesh9-Apr-08 9:36 
QuestionHow to connect PROGRESS databse? Pin
Dong Kim9-Apr-08 6:18
Dong Kim9-Apr-08 6:18 
GeneralRe: How to connect PROGRESS databse? Pin
Colin Angus Mackay9-Apr-08 6:21
Colin Angus Mackay9-Apr-08 6:21 
GeneralRe: How to connect PROGRESS databse? Pin
Kschuler9-Apr-08 10:53
Kschuler9-Apr-08 10:53 
Generalinsert into oracle table from mssql server table Pin
acodman9-Apr-08 2:48
acodman9-Apr-08 2:48 
GeneralRe: insert into oracle table from mssql server table Pin
Mycroft Holmes10-Apr-08 20:40
professionalMycroft Holmes10-Apr-08 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.