This morning we had a quier issue with an IIS Server. In the log we saw a line saying "ASP_0149|Application_Restarting" and had to make an iisreset.exe to get it back from the dark side.
We looked for this error number and message in the Web but didn't find an official articule about it nor something really helpful to know what occured.
Is it possible to restart a service using ASP ? I have some code here to restart a service using vbscript, but it doesnt translate into asp at all. I also have a script here that displays the status of a service, and that works fine in ASP, so i know that it can be done, and that security, once set, wont be an issue.
Does anyone know how i can restart a service with ASP? any examples?
We have our web-site developed in classic ASP, and I need to add this additional feature on one of the pages to access a VB application. How can I do that? The VB application basically sends output to the COM3 port and opens a USB-Cash drawer that is attached to it. I am not sure how to go about with this.
Sometime this morning our classic asp web application stopped authenticating against active directory. This is our only "classic" asp app that authenticates against ad. Note that this app has been in production for three years with no problems. All .NET apps are authenticating fine from the same server. This same classic asp app authenticates fine from our development server. There have been no code changes to this app. We're using the login id and password to bind the necessary ad objects - we check for err.number - if equal to zero, we're authenticated, if not equal to zero then authentication failed. We checked with the network people and they say ad is working fine and the server is able to authenticate. The app doesn't go through a firewall -so no hang up there. The guys who manage the web server say they haven't made any changes to it. They confirmed that the app is in the correct app pool so it doesn't conflict with 2.0 apps. I'm stumped.
I remember coming across a MS tool that would allow me to monitor the performance of all aspects of a DNA based application - all the way from the ASP level to MS SQL server. It was part of the NT resource kit. I am trying to locate this tool for Win 2000. Can someone who has come across such a tool help me
I've just been given some code to decipher in classic ASP and have come across this function (Application()) in several instances. I can't seem to figure out what it does?
I am about to create a web application using asp and vbs to build an online roster for a department of 25 people. The roster covers some 10 shifts a day, 7 days a week always starting on a Sunday. I will be using an access database file to hold the information. At this this stage I will hold all the data for each week based on the date that the week starts. I am looking for ideas on how to dynamically give the user the option to choose any given week in any given year, always starting on a sunday. Could this be created on the fly or would it be easier creating a database table holding the dates for Sunday for a year or 2 ? Once a week is chosen a check on the database will determine if that weeks roster has been created or not. If not a user with the correct permissions can then create it.The rosters are currently written out by hand. It is a labourious task which must have certain numbers of staff working each shift for a given day. By creating a web application automating the checking process and making the roster available online and by email will make life easier for all staff involved.
i am trying to install my ASP web application to my client side server, but 1 thing i am worry is they my stole my source code to sell-over or they might modify my source code... how those software house which develop ASP web application they gonna avoid this?I know Microsoft have a program that can encrypt & encode ASP files and run properly in IIS.... But to bad... i also found the Decode program too So what is the safety way to deploy my application to client without any worries? Some might ask me go for .NEt, in this momment not yet toward .NET.
I am trying to develop an ASP.net application using Visual Studio .Net 2003. When I attempt to create the project, it gives me an error stating that the IIS on my hosting server may not be compatible and the active directory cannot find the web server. The server is running Windows 2000, IE 5.5. Is there some sort of patch I can download to allow me to create ASP projects on that server? Or something I should install?
I am trying to set up a fax ASP web (or vb 6) application and I want to use the FaxComEx.dll library that comes with winXP fax services. But I cant find documentation about this library.
I found something in msdn but it is very dificult to watch the logic that appeared. It's very confusing. Is there something else that can I rely to learn how to make a fax application?
I have a client that wants to have ticket system on their web site where people could order a ticket online and after they send their payment to paypal they would be redirected back to the web site and have a unique ticket that they would be able to print out the ticket but they cant be the same ticket to prevent people from printing out the same tickets. Is this possible? Is there a program?
create a user subdirectorie with a webpage that he o0r she can fill with there own logo and with some text,perhaps a link but just one page.That page must automaticly come up in a link page so people can see his page.
Thing I want to have is a way that our customers, that dont want to pay for a a bigger website,can have just one page on our website in there own subdir.
I see lot's of free csm style websites but that's to time consuming for people that want just a simple page with just there logo an advertising and some info.
I am building a web reservation system for a hotel. I'm working in the hotel as a manager as well. Hotel has 18 rooms and 4 Suites. Now it is my first time with such application. I planned to use ASP and Access DB. Can anyone give me ideas of basics. How to start and what an application should look alike. This is nonpaid project so i cannot actually go somewhere else except looking into forums and i can find anything.
Functionality will be, for user, gives dates, no of people and search, select room and pay. backend will be process payment(i have one processor), store it in db and generate email for the reception. Managing will be set availability, review availabity and set prices individually for the room. how the database should look alike and what will be the search criteria.
I need to build a web application based on user's rights (roles) web interface where each user has his/her own web page depending on their user role.It is a web application that is based totally the user needs Could you please give me some insite on where to begin.
On my local sandbox , in IIS I created some Websites. Now when I try to create a ASP.NET we app , it tries to create it in the website last created and fails .
But my requirement is to create it in the Default We Site mapped to C:Inetpubwwwroot
Can anybody guide me how to do that? I have a doubt that when a new website is created in IIS , it becomes the Default web site . If it is so how to revert the default back to 'Default Web Site'
You are required to create an online tracking system for the Webmaster which should show the current online status of all the users currently logged on to your site with the following details about every user:
SessionId Current Page requested Time of request Browser used for making the request
If a user remains inactive for 10 minutes, then it should be assumed he is not online. You are not supposed to use any permanent storage features.
you know when you have a browser based application (written in ASP or whatever), which uses a database, how can you ensure that the username and password of the database is secured? My ASP application has got a file containing all the information you need to connect to the SQL database, if anyone happens to get hold of that file on the Web server then he'll be able to do anything he wants.is there a safer way to handle this?
I am creating a scheduling application like that of what Mcdonalds' uses.The screen shows which cars are in need of services in which they were entered into the system. The application will refresh and show the mechanics, which car arrived first for an oil service. Does anyone have any demos, samples, or examples of something like this? This is my first full-fledged ASP application and I need some help getting started.
Code: For Each strKey In Application.Contents Application.Contents.Remove(strKey) Next It throws the following error: Quote:
Microsoft VBScript runtime error '800a01b6'Object doesn't support this property or method: 'Application.Contents.Remove' /processweb/html/cpr/includes/functions.asp, line 18
I think the server I'm using is running ASP V2 (ie I can't use Application.Contents.RemoveAll()).
Here's what I/m doing to sanitize/validate/secure my input.
1. The front end checks what kind of data is entered. 2. I am using parameterized query instead of concatenated strings (Against XSS) 3. I am replacing symbols like <,>,# etc with their appropriate entity number eg. & #32; without the space. (Agains SQL Injection)
I want to execute a VB application from a ASP page (not .Net). Want I want to do is that I write some parameters to a database and then start the external application that will pickup these parameters and run in the background. I looked for a sample but I can't find any.
I have to allow access for administrators to sections of my website which contain sensitive data. Ther is a link on the homepage called "Admin Login". They are asked for a PIN number which is a randon four letter four number combo and if they get that correct then have to enter their personal username and password.
The text field inputs are cleaned before being used to make up dynamic SQL by replacing all apostrophes with the below function
function clean(clean_this) clean=trim(replace(clean_this,"'","''")) end function
Is this all safe....I am slightly uneasy about having the login on the website and it could be hidden in a special link only given to admins - but this is the same mechanism that ebay and amazon etc rely on to let people log in....
Application Event Log 6/16/2004 4:23 ERROR - ASP.NET 1.1.4322.0 -
aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account.
I have not used ASP before. Are there cookbook instructions for how to set up an asp directory structure. It is not clear to me how I must mark directories (virtual or physical), so they will all be considered to be part of the same application.