Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
585 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

704 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