?
Solved

How to use sp_makewebtask when database server and application server are on two different machines

Posted on 2004-08-20
3
Medium Priority
?
597 Views
Last Modified: 2012-06-27
I have a need to generate dynamic HTML pages that get data from executing stored procedures. I think sp_makewebtask is the way to go for this, but I am using a shared SQL server and probably don't have privledges to write HTML files or TPL files on the shared environment. I need an example showing me how to use a template file on my web server and output the HTML file to my webserver or client browser as well. THANKS!
0
Comment
Question by:paulfryer
1 Comment
 
LVL 11

Accepted Solution

by:
ram2098 earned 2000 total points
ID: 11867841
I guess the only way is to ...

Instead of using sp_makewebtask (since your sql server do not have previliges), Get the result set to the web application and build it using the front-end code.

Not sure..what kind of access you have (since you are saying shared SQL Server), using sp_makewebtask, you can write to the SQL Server hard drive and let web server copy the file from the SQL Server to other shared locations. Of course, this again depends on the previleges you have (but will be a simple job using sp_makewebtask..you know!!)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
In this article, we will see two different methods to recover deleted data. The first option will be using the transaction log to identify the operation and restore it in a specified section of the transaction log. The second option is simpler and c…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

585 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question