[Webinar] Streamline your web hosting managementRegister Today

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
?
593 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

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Question has a verified solution.

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

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 …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Viewers will learn how the fundamental information of how to create a 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…
Suggested Courses

591 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