I am trying to stop and start the ftp service from an asp page using the niuser account.
my code is simple: shell.run "net start msftpsvc",0,true. ASP page returns no errors but nothing happens. code works in .vbs but not from the webserver (IIS6).Can someone tell me how to do this? I would also like to edit the registry if i can.
I have an Active Server Page connected to an MS Access database. I use this page to submit information to the database. Among the form fields is a start time and stop time field.
By setting the value of start time to <%=Time()%>, I'm able to collect the start time automatically when the new form is opened. I would also like to collect the stop time by clicking the submit button. Code:
I have a product that when scanned into the web site will scan as a single piece of string but it is really made out of start code - A0, componeneet code - 00150, stop code 3B, how could I drop prefix and sufix when the product is scanned so it only scans the actual product code.
I have a project where I am being asked to expose some functionality to a customer via a web-service-like interface. This service will be written in Classic ASP, and will take a number of parameters, process some logic,and then return some information to the consumer. I've now built a number of these services (Following something of a RESTful approach), and the next one I need to build happens to require some information which is already provided by another service. Code:
I have a .net web service which has a method that takes an xml string as its argument. I want to call this webservice method from ASP (classic) using a mehtod other than the SOAP toolkit.
Can it be done simply by using the MSXML2.ServerXMLHTTP object? If so, how do I specify the arguments to my method.
Service is e.g. http://a.b.c/service.asmx Method is method parameter is p1 argument is a1
I have a client application that uses web services. When the client application an web services are in the same machine, they work fine. But when the application call the same web services hosted in other server, the server return: Code:
Can i make us of the sql reporting services in asp? If so then how do i make a call since what i know is that sql reporting services are available as web services?
how do i display the dimension,level and members in a format that is displayed in the OLAP services (as tree view) using ASP,When it is expanded u can see its member.
since we run BIND as our DNS, I'd like to be able to force it reload changed zone files via an ASP page. I don't need to restart the service itself. There is a specific command that can be sent to it that'll reload the zones without restarting the service, but I don't know how to execute it.
i'd like to be able to create and manage IIS websites from an ASP page. Is there any documentation on this? It must be possible, but I can't find out how.
I created a vb dll and registered the component via a call to regsvr32. I later updated the object and unregistered the old one, but then re-registered on IIS server via component services as a new object. When I tried to call the object via Server.CreateObject call in ASP, i got an error. My object seems to run fine when I register once again using regsvr32 call, but can anyone tell me what may have caused the error?
Has anyone constructed a SOAP request with Classic ASP and sent it to SQL Server Reporting Services to render a report formatted as PDF to a browser and dealt with the SOAP response?
I'm not talking about URL access, but accessing the SSRS web service directly with SOAP passing credentials, parameters, format, etc. There seems to be nothing out there for ASP 3.0 - it's ALL .NET.
I know I have seen a script on here before that would tell what services are installed on a webserver. We have a an old form that sends via CDONTS and the new webserver is running 2003.
I know they could install the CDONTS but it takes them too long to get back to us and I'm sure they wouldn't want to install it. Could some one possibly point me out to the script so I can find out what to use to send the form?
I am trying to send an XML transmission to the US Postal Service to retrieve shipping rates but so far have been unsuccessful. Can any one help me and provide me a source code for usps.
I have been asked to write a client application for consuming a web service for a cms written in ASP 3.0. I have very little experience of developing on a microsoft platform, and very basic skills in ASP. I am a java programmer by trade, and have used java for achieving the same thing in the past.
I have done some research on the subject, and am a little unsure on what is involved in developing the above. The web service simply returns and xml document as a String, based upon 2 parameters, these are both also strings.
I understand I need to utilise the SOAP toolkit, and have downloaded version 3. Is it feasible for me to be able to develop a very basic client application within a few days or is it much more involved?
I've created a new Windows Service in visual studio .NET and I'd now like to use it within my asp pages. I've been all over the web and I keep coming up with .NET remoting as the answer. Trouble is, we don't use .NET, we use ordinary ASP. How can I access methods and properties of a windows service from ordinary ASP?
I have a simple asp page (just to display server time) on the IIS running on Windows Server 2003 Standard version. When I browse to the web site (actually just use same pc, http:localhostestsite), all html pages are fine. But it displayed 'internal error 404' which means page not found, when I view the asp page. Actually, None of asp pages can run.Do I have to activate any services before IIS can execute asp page?
For some reason I've installed IIS but have no Internet Services Manager available for doing things like changing the namd of the "default" page etc. I've gone through the Add/Remove Programs -> Add/Remove Windows Components and I'm getting nowhere I cannot find this snap-in and it doesnt occur with the IIS install.
I've used this before at work but have been completely unable to install Internet Services Manager on my local machine.
I am ready to move my ASP web site onto a remote host. The problem is that when I use Terminal Services to see the host machine, the error does not show up. (I was told that debugging info is only sent to the 'console' session, no others). And the whole thing locks up when there is a server error. How can I see the server errors through Terminal Services?
Anyone know how to display process id's (normally found by going to Component Services and switching to applications to 'Status View') in a web page?
I'm trying to keep remote users from having to terminal server or use com+ to view the process id's they need for asp debugging (via attaching to a process (remote debugging via dcom and machine debug manager))
I have a SQL database, which runs a basic search engine, it has about 3000 links at the moment. I am currently keeping track of the click through rate and displaying in, below the link so it says HITS TODAY / HITS TOTAL. What I would like to do now is to take it one start further and be able to offer people the opportuntiy to have a small piece of code in their site, that will be able to update another hits counter in my SQL server. I obviously dont want to allow people to my SQL or open the 3306 port to the public, I would just like to be able to load a small java / vbs or what ever, to be able to write to my SQL.. I use http://www.counted.com/ at the moment, but I want to be able to do just very basic hit counter, I think from looking at how other people seem to do it, I might need to do this using Java Script
I have a Hello World app written in VS2003 C# it runs fine on my local PC using IIS5 XP Pro Dotnet1.1 but when I up load it to my site I get the following:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'WebApplication1.WebForm1'.
Recently my IIS link in admin tools will not open the iis control panel. I have been doing asp development on the machine for some time so it seems odd this problem has all of a suden happened. I read somewhere a file (iis.mcs?)could be corrupt? Does anyone know how to fix it?I ask this place 'cos I am thinking that someone using ASP too also has had a similar problem or can point me in the right direction.
How do i require ONLY 443 on one site and ONLY 80 on the other. The secure portion does not use Host headers. I have 2 websites on the same machine
SSL.MyMachine.com Normal.MyMachine.com
I want the guy who hits SSL.MyMachine.com to only be able to use port 443 and never port 80. I want the guy who hits Normal.MyMachine.com to only be able to use port 80 and never port 443. How do i require ONLY 443 on one site and ONLY 80 on the other. Becuase the secure portion does not use Host headers.
I am having trouble creating a web site on a server running sharepoint services. I am creating an ASP.Net website using Visual Studio 2005. The server I am trying to create it on is a Windows 2003 server.
From what I understand I need to exclude in sharepoint services the folder where the application will be deployed. I have done this in the Define Managed Paths section of the Sharepoint management site, but it has no effect. Even after I have done this and then attempt to create the ASP.Net website in Visual Studio I get the error message.
"Visual Web Developer does not support opening Sharepoint web sites. See help for more details".
Hence despite excluding the folder, the website still attempts to deploy into Sharepoint Services instead of the IIS. This is backed up by the fact that I can then see the website listed in "Sites and Workspaces" in Sharepoint.