i tried to open an exe through a shortcut from an ASP page. although the exe shows in the task manager i cant see its UI.can anyone help me with it. i used the following code
cmdExe = "D:DevWalkwire est.exe"
Set WshShell = Server.CreateObject("WScript.Shell")
WshShell.Run (/c cmdExe)
Set WshShell = Nothing
I have an opt in form on my site that ties into a 3rd party contact management system, however when I made the form for visitors to opt-in, I neglected to realize that I need to pass my username and password to this 3rd party site, so using a get or any url encoded method isnt a good idea becasue you'd be able to see the username and password to my account clear as day. Code:
I found some code on the Internet that I have modified for my needs and it works nicely from a localhost, but not when it is sitting on our intranet server.I believe the reason is that the instruction
<authentication mode="Windows" />
is missing.
In asp.net I would put this instruction in web.config, but since the code is in an earlier version of asp (the code is at http://www.hypergurl.com/verticaltext.html) I don't know how to include it.
I have done a CMS system and if I could do something in background mode,for example, send a newsletter.I don't want to wait until the page loads completely.I'm creating a mail object for each record of my newsletter suscriptors,I don't know if it would be better to use bcc with all records.
I am running an ASP application from within VS .NET 2003. When I run, the files are put in readonly mode, even thought its only an ASP page. Is there a way to edit the ASP (not ASP.NET) page (not in the middle of debugging ofcourse) without quitting debug mode
i have searched through a ton of past posts in an effort to find the answer to my problem but so far have come up with nothing. The problem I am experiencing is with VS6, visual interdev on windows 2000, with IIS.
When ever i attempt to debug my asp web app the debugger will step into the code and will start an Iexplore.exe process, but not actually make internet explorer visible.
Does anyone know any way round this I have spent loads of time trying to sort it already.
I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in.see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it ....
I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online . I want them to fill data and images offline and then send them online.
but i have a problem regarding the images i want it to be sent to the web site So i want if there is a possible way to fill data offline and this will put it in offline database then on browsing images it'll be sent online and at the same time put on their location i adjusted offline . So how can i put Images at a desired location Offline and at the same time upload them online .
I am pretty new to asp.net, and have recently taken over a project. I have gotten to the point where I am about to release my changes, but for some reason when i build the project in release mode and launch in in IE I always get a "The Page cannot be displayed" page instead of my login form.
Anyone have any ideas? The applciation works fine in debug mode, its just in release mode that this happens.
We have an webservice application that has a memory leak when the application is compiled release mode. However, when the application is compiled in debug mode it does not exhibit a memory leak.
We are running .net 1.1 compiled with VS 2003.
The application does reference an unmanaged dll that provides security functionality. This dll is instantiated once and referenced on every web service call.
how can i get the data submitted by the previous form using " for each x in Request.Form " and display them same as the the previous form before and the only different is tat this time the all the data in this form is being disabled. (the data may consists from text box, combo box, radio button, etc.) . just wondering is there any way to perfrom like this..
I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in....
Please see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it. Code:
When searching through code in Vis. Interdev 6, when in the Find dialog, it listed the results in the results pane below. The cursor didn't change position to the next found item until you clicked on a line in the results.
This is actually a nice feature that I haven't seen before - all the matches show up at once in a list, with a column containing the text for the line the string was found in, so you can quickly see the context of the match.
Anyway, the first couple times I used CTRL-F, I saw a results pane. Then I must have changed something without realizing, because now when you search, no results appear in the results pane, but the cursor moves in the editor window. This is the behavior I am used to with Vis Studio 6, but I would prefer to turn the results pane back on.
I've installed iis6.0 on win2003. All static content with ssi etc rendered fine on the browser, but gives a 500 internal server error if i try access any asp page. The log file says:
I'm cobbling together an e-commerce site with thousands of items (spares, accessories etc) and want to distribute it as a catalog on CD. I don't fancy rewriting it to HTML. Is there any way to run the ASP and database on a CD-ROM. I've tried Dynamic-CD but it won't do the job and there is little or no help on their web site.
I am trying to run a simple VB exe from the asp. I am using the following code
Set oWSH= Server.CreateObject("WScript.Shell") oWSH.run "%COMSPEC% /C est est.exe",3, False
The exe is seen in the task manager. But it is not running. When I use this same command in the command window, it works fine. Can some please help me. It is for Intranet development. I am trying to run the exe in the server only.
I had a windows xp professional and I install the windows component so that I can use the IIS 5.1 to test an ASP file. I went to start and click the run button and then type mmc. As soon as the mmc window opens I click the console but there is an error saying that there is nothing into it.
I need to open asp.net solution files whose source location files have moved. I am creating new virtual directories on the fly (using vbscript) as part of a automated build process that are configured to point to my new source directory. The build is following because I get the following error
<b>Unable to open Web project 'Abc'. The file path 'c:dev...' does not correspond to the URL 'http://localhost/Abc'. The two need to map to the same server location. HTTP Error 404: Object Not Found.</b
I am getting around this in the build process by removing the <b>GlobalSection(ProjectConfiguration)</b> section from the *.sln file
Is there a proper way to avoid this error occuring
Is there a way to open FrontPage automatically on a user's computer using a web page?I wan't the user to be able to click a link or a button and have FrontPage open to a specific URL. The FP permissions should take over from there. I'm looking for the same kind of execution that you get when you type
I am very new to asp programing, so this may seem a silly question but here goes. I am creating a page that will generate random lotter numbers. I have created the actual code to generate the numbers and have added the code to the top of the page. the problem is the code runs when the page loads and I want it to run only on the click of a button. I read various starter tutorials and none seem to mention how to asign code to the click of a button.
I know there have been posts about this issue before, but I can't seem to find what I'm looking for. I'm not well versed in ASP, but in PHP there is a function called exec. This launches a process. I can call a PHP script from the command line and have it run in the background i.e.
<?php
exec(php myscript.php &);
?>
is there a way to do the same thing with ASP? I want to run an ASP script in the background
I am trying to run an ASP page in IIS 6.0 and I keep getting one of two errors:
-2147467259 (0x80004005) The remote procedure call failed and did not execute.
I have Win XP. It's been running fine for a long time and then yesterday, for no apparent reason, I get this. I've tried the links to asp.faq that I've seen others post and nothing works.
As a test, I created a simple ASP page with just '<% Response.Write("Hello") %>' in it and still the error occurs so it's not a scripting or database problem. DotNet seems to run fine and I can run HTML pages, I also have Apache and can run PHP scripts with no problem ... everything except classic ASP.
Any ideas? This is driving me crazy and I need IIS running because I am falling behind in my work. As I mentioned, I've been running ASP scripts on this machine for years and have never seen this problem.
I had the error "Visual studio.net has detected that the specified web server is not runnning ASP.Net version 1.1. Yow will be unable to run ASP.Net web applications or services." in .NET 2003.
I fixed it by running the IIS mappings for ASP.NET, aspnet_regiis -r. But I figured that my IIS had some issue and I had to register the dll for IIS.
After doing that my .net is throwing the same error, "Visual studio.net has detected that the specified web server is not runnning ASP.Net version 1.1. Yow will be unable to run ASP.Net web applications or services."
I ran the aspnet_regiis -r again it is overwriting the 1.1 .net framework scripts but the error in .Net is not fixed.
I know my webserver is running Ok because I can develop ASP pages using Visual Interdev and my default website is running fine.
Here is a simple test class Ive built to try and find out, why another class I built (that works fine on my testing server running iis on xp) throws up an error on the live server running red hat 8.3 on linux, Im new to asp and only just now found out the live server is a linux box. Code:
I want to make a simple simple asp page. All I want is when the page loads it does "net stop <service>". The code is below, it is not running as IUSR_<machine>, I am authenticating as Administrator yet the service does not stop.
The blank page just loads with no errors and the service remains running, what am I missing? I am completely new to ASP, I just want one simple page for this purpose. Code:
I am setting up a new server for an already running website. The problem is the person before me ran ASP scripts on .html extension pages (The old machine is a windows 2000 server with IIS 5.0). Now when I transfer all the pages on to the new machine I am having trouble running the ASP scripts on the .html pages.
The pages work fine when I rename them to .asp. But with the ..html extension I cannot run the scripts. I am thinking that I am missing some settings or some dlls which take care of running the ASP scripts on the ..html page. But I do not know what I am missing. Please post if you know anything about this.
if there are any disadvantages for running my whole site on SSL server (i.e All pages would run on SSL after the user logs in to their account).PS: The service I provide on my site doesn't require users to login everyday to their account. So I don't expect that heavy load.