Solved

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

Posted on 2004-08-20
3
581 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 500 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

627 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