Launching A Sql Server Job

I am executing a stored proc that starts a sql server 2000 job and everytime I call the proc from my asp.net 2.0 page it gives me the error message that this particular job id does not exists, any suggestions?

View Replies


ADVERTISEMENT

Launching Word From ASP

I have followed the steps in the MS article 288367 to enable Word to run from a web page. I have done this several times and it has worked OK. However, at a customer site I am getting the following error: Access denied attempting to launch a DCOM Server. The server is {000209FF-0000-0000-C000-000000000046}.

This AppId is the Word.Application object which the article does not mention, it only talks about the Word.Document object. You have to create the Application object before you can create the Document object, so does the Application need the same DCOM
settings to be applied to it?

View Replies View Related

ASP - Launching Executables

I have an Executable which I want to run from an ASP page on the server. I have the following code in place:

strcommand = "C:UsersSSR_BWUpload
unme.bat"

strcommand = "cmd.exe" & " /C " & Chr(34) & strcommand & Chr(34)

set ws = server.createobject("WScript.Shell")
ws.Run strcommand

The exectuable gets launched but does not complete as the control is passed back to the ASP page. How do I wait for the Executable to finish before getting back to the user.

View Replies View Related

Launching MS Word

I have the path generated from asp variables. I have the following code:

<a href="file:<%=sPath & sYear & "" & sFileName%>" TARGET="_blank">Open Generated File</a>

This will launch the file in an IE window. I was wondering if it would be possible to have the same link above but have word open the file instead of IE? Have something like a jscript function that does onclick...blah..blah. Is this possible? If so, any sample coding or where to get more information.

View Replies View Related

Launching MSN Messenger

Is it possible to open a new MSN Messenger window from a link on a site using ASP? I want to try and use it like a live chat link, but want to use the audio and webcam facilities MSN provides.

Haven't managed to find much on search engines and not sure where to start. I notice that this forum provides a link to send an MSN message to members, but it didn't seem to work when I clicked one(it just opened up a new window and then redirected to the home page).

View Replies View Related

Launching Word From An Asp Page

I am trying to launch word from an asp page. I need to pass data picked up from a recordset into a word template and then email the resulting merged word doc to the user.
I keep getting the error:

Microsoft Word (0x800A1772)
Word could not fire the event.

It appears the problem lies with the path. As I am only running this locally on my pc at present the code path I have is:

set MyWord = createobject("Word.Application")
MyWord.Documents.Open "D:sitewebprojsummariesEnvUtil.doc"

This is where the Word Doc is located. Am I missing something?

View Replies View Related

Launching A POP Up In A Responce.write

I have a asp page which need to launch lets say x.asp in a pop up window the asp page itself has a bag load of responce.write's within and i was wondering if i could lanch x.asp in a pop up window 100 x 100px etc etc.

View Replies View Related

Launching Notepad.exe Client Side

I have written an ASP application using our IIS server which retrieves data and displays them in a nice grid. My boss wants the application to create a .txt file of this data when a button is clicked and then open Notepad with this new file so that it can be saved locally on a user's harddrive.

I can create the file itself fine, but trying to launch Notepad client-side with this new .txt file has proven to be an absolute nightmare. It is a nightmare because I've gotten errors such as from "Automation server can't create object" to others that are a constant, annoying road-block to what seems to me ought to be a simple trick.

Bottom line, how do I do the above without getting errors (opening Notepad with the file created)? Again, Notepad is what my boss wants used, so with that I need to know the solution with ASP (not ASP .NET).

View Replies View Related

Sending Launching Email With HTML Attachment

Can anyone get me started or point me to a resource for some help?

I have an ASP page that displays various boxes, tables, and information. I want to be able to click an "Email" button and have the asp page save the page as an attachment (html?) and then launch Outlook and automatically attach the page to it and enter the email address of the person I want to send it to.

I can't just send a link because the page is generated on an Intranet and I need to send it to people outside the network. So, I need to save a print screen of the page and then have Outlook grab that and the recipient's email address and put those into Outlook so the sender can review and send out.

View Replies View Related

SPLIT FROM Launching MS Word To Open File From A Hyperlink?

How would this be done for something like a text editor?

For example, say I wanted to launch a text editor from a hyperlink AND also the file I wanted to open with the editor as as well?

View Replies View Related

[Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL Server Does Not Exist Or There Is No Permission

I have sql server express at my PC-windows xp professional, I try to connect to a table via asp (queryString :"Driver={SQL Server};" &"Server=localhost;" & _
"Database=local;" & "Uid=nikos;" & "Pwd=nikos;" but there is an error
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL server does not exist or there is no permission.

I can login with EMS lite both with sql server Auth. and windows auth.What is fault?

View Replies View Related

Server Object Error 'ASP 0177 : 800401f3' Server.CreateObject Failed

I'm trying to install a simple e-mail form to my webpage; which takes some info from user (like name, phone, e-mail,etc...) and when user pushes submit button e-mails them to me immediately. I've tried to do so with ASP Formmail but I couldn't succeed. . it gives me: Server object error " 'ASP 0177 : 800401f3' Server.CreateObject Failed " error. Can anyone please help me to install my form? Because I need to install it immediately;

View Replies View Related

Server Object Error 'ASP 0177 : 800401f3' Server.CreateObject Failed

I'm getting the error,

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/pdf_project/form1.asp, line 19
Invalid class string

I'm trying to submit the data in my pdf form to the web server.I've written the .asp code for it but it has been giving me this error.

View Replies View Related

How To Read An SQL Server Into A ASP Page And Then Change, Add, Delete And Write It Back To SQL Server

I need to read a SQL Server table into a Web Page and within the Web
Page to permit my users to make changes to the records, delete or add
new records and then save the entire contents back to the SQL Server
table back.

The functionality I am looking is almost the same as In the SQL
Enterprise Manager whereby I can choose a table open the table and
then return all rows and I can maintain the same and save it back to
the SQL Server table. I want almost a similar web interface to such a
functionality.

Even if not a generic functionality as the SQL Enterprise Manager
table maintenance appreciate if somebody can share the code with a
sample how I can do it in ASP pages + T-SQL if need be.

View Replies View Related

Server.CreateObject Error: Server Object, ASP 0177 (0x800401F3), Invalid Class String

What do I need to do to enable CDONTS om my macine to make it working

I'm testing the code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "xyz@xxxxx.com"
objCDO.From = "zyx@zzzzz.com"
objCDO.Subject = "TESST CDONTS MAIL"
objCDO.Body = "SOME TEXT TO SEND OVER"
objCDO.Send
Set objCDO = Nothing

It gives me an error after Set objCDO =
Server.CreateObject("CDONTS.NewMail")
Server object, ASP 0177 (0x800401F3)
Invalid class string

View Replies View Related

Sending Email By Using Corporate Exchange Server Instead Of Local Server

I have created a form that sends email thru my local server. What I want to do is send the email thru our corporate Exchange server. Does anyone know how I can accomplish this task? Please advise. Thanks.

P.S. I’m using Dreamweaver MX2004.

The code that sends email is shown below ....

View Replies View Related

Server.execute/response.redirect/server.transfer

Real quick, please refresh my memory which one of the following preserves the information that was posted from a form?

server.execute

server.transfer

response.redirect

I need to have a page execute if an error occurs while processing a page that a form was submitted to and have the data preserved.

View Replies View Related

HTTP 500 Internal Server Error Online Server

I have made a site in ASP and I can navigate the site fine locally. However once I get to the product page I get:

"HTTP 500 - Internal server error Internet Explorer"

Does anyone have any idea as to why this may be? ....

View Replies View Related

Server.Mappath() To Include Files For Other Domains On Same Server?

If I have multiple websites on the same server,can I use the #include directive to reference include files elsewhere on the server? I tried this -

<!--#include file="C:InetpubvhostsATRAMEMBER.COMhttpdocsheader.asp" -->

But no dice...

View Replies View Related

Combining Index Server And SQL Server Search Results

I'm just about to start a project that needs to combine the results of a SQL
Server query with the results of an Index Server query. The basic idea is
that the user enters/selects a bunch of search criteria on a form.

Most of
the criteria selected by the user will be used to select records from the
database - standard WHERE clause stuff - but the user can also enter
free-text that should be searched for in associated uploaded documents.

The
documents are sitting in the file-system with file-name pointers only stored
in the database (not the document). Only records where the associated
free-text is found in the documents should be returned. I'm new to Index
Server and am wondering how is this done. Any good references/tutes?

View Replies View Related

External Server Pull Files From Internal Server

I have an application that needs to pull files from an internal server. This
is the setup. The web server is external facing, meaning exposed to the
internet. I then have a file server that sits inside our domain. I created a
COM object that can impersonate a user to retrieve files from that server.
However, I cannot get the application to pull files from the internal server.

I first tried a domain account that could reach both servers. This did not
work. I then had the network team create the same account on both machines.
This is not working either. I can impersonate the user (I am able to get the
user/users authenticated), but the script keeps coming back with and access
denied. Code:

View Replies View Related

Problem With Special Characters In Server-to-server Communications

I'm stumped by one single thing when using Msxml2.ServerXMLHTTP.4.0. I'm sending an XML-formatted text string to a foreign server and getting a response back (using Windows 2000 Server and IIS). The problem is, when they send any special characters in the response string, my application chokes. Code:

View Replies View Related

Getting HTML Content From One Server And Saving It On Another Server

I'm incharge of updating the stats on a chl hockey teams Web Site. I
would like to know if there is a way to be able to save
the content of the CHL Statistics WebPage on our Server and using it
to update our Microsoft Access 2000 database.

If it possible, then I would take the content of that page. Execute
some code that will take this information an place it in our
database on our server. By doing this, our Team WebSite would be
update automaticaly at a time that I specify on our server.

At this time, I have to open the CHL Statistics WebPage. Then Save the
HTML page as a txt file, upload it on our server via FTP, then execute
my my code that places it in our database.

Could you send your suggestions to Join Bytes!?

View Replies View Related

Copy Or Upload File From Server To Ftp Server

I want to copy or upload a file from server say some lanserver to ftp server through ftp. Is it possible.

View Replies View Related

Server Not Serving ASP To Some Clients? Including Server Itself!

I have a server that we installed a Web Application (ASP) and It works with
a few clients that we tested, IE 5.5, and it does not work on the server
machine itself. So we've tested a few thing.

Created a simple file with the contents of <html> <body> Hello World </body>
</html> Made one with .HTM extension and one with .ASP.

I can see the HTM file from all machines. I can only see the .ASP file on the machine running IE 5.5 The server itself cannot see the .ASP page. We places the files in the root of the server web and in the Application folder with the same results.

View Replies View Related

Error Server.Transfer / Server.Execute ()

Any one has Idea, How to use Server.Transfer and Server.Execute, When I tried to use these methods I got an eror:

Server object error 'ASP 0230 : 80004005'
Server.Transfer Error
/SISWeb/portal_logon.asp, line 40
The call to Server.Transfer failed while loading the page.

anybody is there who can respond to this problem. Do I need to change any setting at IIS?

View Replies View Related

HOWTO: Server.MapPath To A Different Server Computer

How do you use server.mappath to update a access database on a completely different computer? One of my websites needs to update a database on a completely different website. Code:

View Replies View Related

Server.createobject On Shared Win2003 Server

I've recently uploaded a site to a new ISP, which is on a Win2003 platform. I've had a problem in that the existing ASP scripts handling email form submissions all experience the following error:

Microsoft VBScript runtime error '800a0046' Permission denied

From what I can gather this is due to moving from Win2000 to Win2003, and specifically the problem lies in this line of code: ....

View Replies View Related

Index Server & Site Server + PDFs

I fire the following code on Index Server (different obj) and it returns a PDFs no problem, but when I change the object to use the MSSearch for Site Server I don't get any PDFs. Anything in the code that would cause this? I can see the PDFs getting crawled in Site Server, but when I try and search I don't get any pdfs .....

View Replies View Related

User Registration From One Server To Another Server

Previously I have canvassed a few way to get a registration code from one server to another - checking the results of the search and returning a function in a string tro be executed at the end. Well that worked until one of my beta testers decided that he would fiffle and get around the syste mmm...

View Replies View Related

Transfer Files From One Web Server To Another Web Server

How can i transfer files from one web server to another web server. Is it possible?

View Replies View Related

Server.Transfer Vs. Server.Execute

i'm using a model, view, control architecture for a group of .asp pages.

i can't decide whether to use Server.Transfer or Server.Execute to pass posted data from my control to my model. are there security implications for using Server.Execute?

just wanting some advice on pros/cons to each of these since this is the first time i'm attempting to use these methods.

View Replies View Related

Post File From Server To Another Server

I accept a few user inputs and a file from the user, post it to my ASP page.
I'm able to receive the data as well as the file properly in Receiver.asp.
In my receiver.asp, I need to process the user inputs and subsequently POST
this data and the file again to a different server. I would like to use
ServerXMLHttp. Now, how do I simulate Form creation in receiver.asp.

I use the following code to post to the second server
MyXmlHttp.open "post", myTargetURL,false
MyXmlHttp.setRequestHeader "Content-Type", "multipart/form-data"

Now here's where I get stuck.

1) How do I construct the form data? How can I put together the data i
received (which is text) as well as the received file (which is Binary) in
the same Send statement for the Post? -- I assume that if HTML forms do it in
some format, I should be able to simulate the same through ASP, but how???

2) The received file will not be stored anywhere in my server. It has to
be forwarded in memory.

Should it look somewhat like the following?

MyXmlHttp.send ("userId=" & someUserId & "&privateLabelID=" & someLabel &
"&File=" & receivedBinaryFileInMemory)

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved