I have just moved a project to my laptop and get the message "Visual Studio..NET has detected that the specified Web server is not running ASP.NET v1.1.You will be unable to run ASP.NET Web applications or services"
Presumably there is a d/l on MSDN to rectify this, but I can't find it. Does anyone know the URL?
I am using Windows 2000 and I need free server for running ASP. COuld some one pls tell where(link) can I get free server? Or is there nay free server at all for windows 2000??
i have a VB desktop app, that utilizes T SQL to communicate with my backend db.
It sends encrypted data which calls a web page that parses the file and inserts into a table.
I would like to add additional functionality e.g
For my server to be able to do a post the received contents, stored in the database to my sms provider.
I already have implemented a web page script that uses XML to post, web pages, but would like to implement another process for the desktop apps Could this be achieved and how ?
My website connects to a remote sql server. Application works fine when I run from Visual Studio. But when I run the site from IIS, it shows an error.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Our inter/intranet server has just been upgraded to Windows Serve 2003, IIS6, running Sharepoint.
I cannot now run even a "Hello World" ASP (not aspx/.net) script although static html displays fine.
We have enabled ASP in IIS/Web Service Extensions but still nothing. There is no error msg, scripts just do not run. Are there furthe switches in Sharepoint or IIS that I need to know about ??
im trying to run a bat file on windows server 2003 and am running into nothing but problems.
i have IIS on my XP workstation that accesses the 2003 server. what im about to explain below works properly on the XP IIs.
i have two files: somefile.asp and somefile.bat. the asp file creates a wscript.shell and then tries to execute the run method for somefile.bat.
however, it isnt working. after an unexaggerated 7 hours of searching google/etc, i have found nothing but frustration and deep, seething anger regarding this problem. Code:
I am attempting to have an asp page call a batch file. I had it working, I was high on life and then I decided to log off the server. Once I did, the code would no longer work. When I logged back onto the server, I saw:
'The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.'
Now before I get the usual questions, here is what I have/did: These servers are 'secure' so I'm not so concerned about security. I have the anonymous access account in IIS (server 2003, so IIS6) using a local admin account. I have granted full permission to every user account (IUSR, IWAM, ASPNET, Network Service etc. etc.) to all the files in the website's dir. I have granted full rights to cmd.exe, wscript.exe.
Now, after stopping/starting IIS about 7000 times and offering up many a prayer to the IIS/ASP gods (who obviously hate me), my ASP code starts to work again. HOWEVER, as soon as I log off, Poof! The script stops working and I need to go through the whole dance routine (which isn't consistent) until the script starts working again. Code:
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.
i've installed vs.NET 2003 on my pc which is runing window 2000 pro with sp4, but when i'm trying to create new ASP.NET Web appication i got this messages "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services."
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.
I am trying to perform a reboot on my server from an asp page. I have a link on my page that, when clicked on, redirects to a .stm page that displays a message about the server rebooting and executes the following command:
<!-- #exec CMD="cmd.exe /C iisreset /REBOOT" -->. When I click on the link the message is displayed but the server does not reboot. I know that in order for the #exec command to work you have to add a key in the registry, and disable anonymous access to the folder containing the .stm page. I have done both of these and yet I still can't get the server to reboot. Can anyone help me with this, or know another way that I can browse to an asp page on the server and perform a reboot?
if it is possible to run a process after page has loaded? reason being is i have an application that uploads a file, then zip's it up. These are 50 megs sometimes, so zipping the file can take some time. It is a two stage process though, a user will upload a file, then fill out some more info, then submit, so while the user is filling out more info, I'd like to start zipping the file. Does anyone know if that is possible? and if so how to do it?