I am developing a automated website creation process for our members. They are being walked through a series of pages that gather input and make template selections etc... The problem I have is when the scripts execute I get permission denied on the section of code that connects to IIS and creates the new site.
The only way around this so far is to set IIS directory security (on the folder that has the scripts) to log in automatically with a domain admin account. I of course do not want that to be the case. Here is the line of code that bombs out.
set objservice = getobject("IIS://venus/w3svc")
The script pages are located on the same server. I have tried using a local admin account (not good either) with no luck.
By the time this line is run the directory has been created the appropriate files copied over and database has been filled with appropriate info. This seems to be my last issue to overcome.
I want to develop a little application for my intranet. There is a person who is on-call, and this person changes once a week. Rather than having the person remember to change him/herself in the system so that they are reflected as the new "person who is on-call" for their week.
Instead, I would like to automate the process by developing an application that would read a series of ID's (that reflect the people who are in the database) who will sequentially be "on-call".
My question is, how can I (through ASP/VBscript on an IIS 5.0/Win2K Platform) automatically run a set of ASP without invoking the page (so that it can automatically change the person who is "on call" every weekend.)?
I need to send a set of Emails from my application (reminders) each month 1st. Is there anyway in ASP scripts to trigger an event to run automatically? I have no dedicated server, so no DLLs or Scheduler scripts can be used. Also adding the trigger script in the application object may not send emails in time, as we have not enough visitors to that application. Is there any way other than 'Clicking a Send button'
How do I create an app that will send out emails automatically based on some criteria? Is it possible? I have some projects in a db and I would like to send emails at the end of the day to certain people in the project if that project has been update.
These emails would be sent some time between the end of a business day and beginning of another but only if the project has been updated that day. That is if someone updates project1 today, I need to send an email out sometime between today and tomorrow only for project1 but not for project2, project3, etc. I would like this to be some automated app.
Update: I have created a report in Crystal Reports that contains the reports I need to send. If anyone can direct me somewhere I can find out how to do this in either plain old ASP, ASP.Net by itself of using CR it would be great.
My team would like to use an ASP script to have an automatic transfer of files to our live server happen each evening at a predetermined time. I was looking on the web for a script but all I could find is user driven upload scripts.
Is there anything out there that will facilitate automatic uploads of several folders and files via ASP scripts?
I am design an web application that requires information mation to be created from tables once a day, once this information has been created it is stored temporarily in another table until the folowing day. The problem is that to creat this information a seperate .asp page has to run.
I would like this page to run early in the morning when no one is in the building and accessing the servers. I have tried using windows scheduler... this works but still needs a user to press ok on the internet security password screen we have set up. Is there any other way to get the page to run without using the browser, or to change the page into a dfferent format??
Ok, this is a true testament to the fact that "If you work more on the design process, you spend less time in the development process."
Anyways, I am looking for an ASP based solution (ideas, I like writing the code!) for the following situation. I have read multiple articles saying that "You should never store passwords unencrypted in a database", in as much what I do is store the passwords in one way Hash MD5 encryption (can't decrypt it)
So after working for 5 hours on a getting a nice automated system that emails the user their username and password depending on the username/email address they supplied, I noticed in the email that I sent myself, that the password was a MD5 hash.
Great; all that for nothing.
When I've lost my passwords, I've seen "reactivate your account" links in emails where the user clicks on a HUGE links (the querystring is the big part) and it takes them to a page where they can do something in order to have some random password override their old password, which they can then of course log back into their control panel and change it to something more memorable (I wuv my control I made)
Anyways, you guys got an ideas how they do this, or by what method I should use to get the safest and most secure results.
I want to make sure that through both information/password changes (should I automate it and let user change PW or should they always request that change from me) and with automated pw recovery / account reactivation, that I never accidentally lock them permanently out of their accounts.
I have a booking system that allows a user to book a room for a set time period of a day, what i want to do is on the day that the room is booked for is send an email to the person that booked it.
I can already send an email thats not an issue i have all the other information other than the ability for the site to on its own with no user input send an email so when it comes to the day they have the room booked for at 8.30 am i want the site to check all bookings and email the person responsible, make sense?
How do I put a carriage return in the body of an email sent from the asp? Also I am getting an error with this test code:
sendFrom="LoanerPool" SendTo=Request.Form("NTechOut") strSubject="Automated Checkout Response (do not reply)" strBody="This is an automated response from the loanerpool." set MailObject = Server.CreateObject("CDO.Message") MailObject.From = sendFrom MailObject.To = sendTo MailObject.Subject = strSubject MailObject.HTMLBody = strBody MailObject.Send
The error is: Error: The "SendUsing" configuration value is invalid.
when we register a email account, it hv a picture that got few words inside, n ask us to write the word to prevent automated registration attack. wat is this techinque called ? n anybody got this sample code ?
i am sending automated mails once a person registers to the site using CDONTS, but this mail does not reach persons with msn or rediff maild's , i have tried using CDOSYS, even this is of no help.
most websites make use of CAPTCHA to prevent automated Form submission. give me examples of how automated Form submission can be achieved? It's not that I intend to do some nefarious activities; rather I don't understand how can automated Form submission be done other than the website developer coding it (for e.g. using JavaScript to automatically post a Form, say, after 2 minutes).
Is there any way I can call an ASP script (script.asp) on a regular basis? There are several catches:
I have no access to the server setup I might have access to the global.asa (but might not) I have no SQL Server
If this is one of those things that are just impossible, is there a service out there that will call a URL on a regular basis for low cost? It's not a very intense operation, basically it is called once a day.
How I can send an automated email from ASP. In case if I want a report on the inventory of a shopping Cart Database ebveryday on aparticular time hw I can made it possible thru ASP.
I am familiar witH CDONTS and CDO.How will I initiate or set the server code to set such scedules using ASP.
I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work?
The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp
If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it?
Can a Html website be loaded and working on an asp server or host?
Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.
I'm trying to write a Function/Subroutine to send e-mail. I want it to create this to be used as an Include file so I can just give it the info and it will send the e-mail.
The following code works, but is now portable:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" --> <!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" --> <% @LANGUAGE="VBSCRIPT" %> <% Option Explicit Response.Expires = 0 %>
How can I write a program to send automated email to user's email address after they registered to my site.
I want my email has HTML format or even links. Not just one sentence. Once the user click on the link or reply this email, their registration will be complete.
im new to the rss "movement" and would like to implement it on one of my companies internal sites. we have a site that allows users to leave messages for other users based on email address. so for example i can visit the site and type in my email address and if any messages are waiting they will be displayed. the page uses a GET to fetch the messages based on email address so the URL looks like this:
http://mysite.com?emailaddress=my@address.com
since the address is passed in the URL i imagine ill need an rss feed that does the same kind of thing... can anyone point me in the right direction or get me started with an example? im ot even sure if this is something that can be done simply with some ASP object, or if ill have to actually write out some XML at some point.
I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.
Whenever I do a site that is mostly static but with some semi-dynamic sections, I've struggled to find a good site search solution without paying for a hosted search service.
I like the FSO-based search engines, but they fail to pick up on some of the dynamic part.
I was just creating a Google sitemap and it made me wonder: has anyone created or seen a script that uses the XML Google sitemap to power a search engine for your own site?
Seems like if you were keeping it updated for Google, why not use it for your own site?
Could anyone provide asp.net code that would generate an automated email containing a users password from a database when they submit there email address. Any good sites on the subject either!
The problem is that I cannot create an object at the Application level using GLOBAL.ASA. However, the aftfam object works perfectly well when created on an ASP page using Server.createobject. It outputs "true556" which is expected. The problems does not seem to be syntax since the reference to the AUtils object seems to work just fine. Is there some magic difference in my VB code that differs depending on how I create the object?
I've been developing a dynamic content management system that you can hook up to any database (with minimal changes) and manage any of it's data. Ultimately, I'm looking to compile the scripts then sell them compiled so nobody can take the source code. Anyway, I'm not sure how to go about making a component out of these scripts and if anybody is willing to do this for me, I can either compensate you with money or a free copy of the software. A link to a working version of it can be found at http://adminscreens.libdev.com/?cDB=dsnPredig. Use the demo login (demo/demo).
If nobody knows how to actually compile the scripts, I guess the next best thing would be to point me in a direction of a company or whatever that can get it done for me. I've tried using ASP2DLL and various other articles with little luck. All of the VB code is in a single include file.
I have an application I am working on that uses "compiled" asp pages. Once the asp pages are done, they are moved into a VB6 dll to be Response.Written from there. This work great, and results in keeping our code safe at client sites. Currently this works great here and at most client sites. I have one client who is having intermittent problems with this setup Code: