Go Premium for a chance to win a PS4. Enter to Win

x
?
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
?
590 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

877 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