I have an IIS installed on my machine. When I try to run my asp file, it gives me Active Server Pages error 'ASP 0221' The specified 'page aspcompat="true" ' option is unknown or invalid.
I run the same app from visual studio 2005 and it works fine. I don't know why it is not running from IIS. I have to deploy this up in a remote server and run it from local.I have allowed active server pages to run on the IIS on web service extensions.
Other ASP websites seems to run fine except this website I am working now. I don't why it is complaining about this directive.
The reason is some old ODBC connection will not work if I remove this asp directive 'page aspcompat="true"
Please Help..
Thanks
Related
I had a previously running ASP.NET Core MVC application working fine on local IIS in Visual Studio when I hit the PLAY button, however some other sites and applications I was working on, on the same computer, did not run on IIS Manager when browsing directly to them from IIS manager or running them in Visual Studio.
Most applications that uses HTTPS for example mentioned that the "Remote Certificate is invalid for the validation procedure message". Yet for some other sites that used IIS Express, it worked fine.
What I have done to try to fix this is:
Removed the original IIS Self Signed Certificate from IIS Manager
Then deleted the website that was working fine
I then used GIT to clone the repository the application is located in
When I opened the solution again that previously worked in Visual Studio it gave me the following message about creating a new IIS Certificate:
Message I get when opening visual studio after deleting the already Self Signed IIS Express Certificate for Local development
Initially I hit YES to this which may be the cause of the problem
Now when I run the application that previously was working and seemed to be using LOCAL IIS, it keeps defaulting to IIS EXPRESS I can see beside the play button
Is there anyway I can put this back to running on LOCAL IIS for my ASP.NET Core MVC application? I cannot see it listed even in the IIS Manager on my computer.
Thanks
Henry
I have a project which I moved from one computer to the other. The project worked fine on the initial computer but had to get rid of that computer so copied the project folder to the new computer. Now, on runing the project in the new computer, I get a page that give different messages in deferent browsers:
IE: Page cannot be displayed
Chrome: This webpage is not available
Firefox: Firefox failed to establish a connection whith the server at
localhost.
I run the project using ctrl + F5.
The project is set to use the Local IIS web server (with virtual directory localhost/projectname) and is configured for adfs authentication.
I tried running the project straight from IIS but the same outcome.
I tried creating a blank project a running it on the new machine and all worked well.
How could I fix this please?
The page in question required HTTPS and not HTTP; but I wass missing the IIS binding for HTTPS. I followed the instructions here to create a certificate and binding HTTPS using that certficate; and that solved the issue.
I am trying to host a asp.net razor v3 website to IIS, but it is not working. I tried multiple options including first creating the website then publishing to IIS, or directly creating a new website under IIS using visual studio 2013. It gives me HTTP Error 503. The service is unavailable.
Methods to reproduce Error:
Option 1
1) Create a new asp.net web site (razor v3) in visual 2013, and click publish to publish to a directory. Then, add that directory as a website in IIS.
Option 2
1) On the new website window, in visual studio 2013, go to browse and select IIS, and create a virtual directory directory under IIS to save the site.
Then, go to the browser and try to access the hosted site: localhost/sitename, it always produces some kind of errors. Like 503. What am I missing? Please help, looks like I am missing some steps or some configuration changes.
Also, I am trying this with the default razor v3 webiste content and without modifying anything. So, I have not touched any files or anything, I am just trying to upload to IIS.
The correct answer I found was that for some reason you must use the IIS Express 8.5 to test/host that site.
Even the installations on the fresh copies of Windows with Full IIS prior to version 8 did not work on my test machines.
I've installed RIA Server, set the relevant DLL's to "copy local = true" but whenever my application tries to access my service/db I get:
Load operation failed for query 'GetWeatherDatas'. The remote server returned an error: NotFound.
I deployed by copying the xap file and the test page from Visual Studio.
Fiddler reports a 404 error
GET /TheWeatherProjectv2-Web-WeatherDataService.svc/binary/GetWeatherDatas?$orderby=it.date_recorded%2bdesc&$take=10080
Are there application settings I need to add to IIS or change something in my web config?
The machine is Windows 7 pro, running IIS 7.5, I'm hosting the application on my own machine.
Many thanks
Resolved this problem by using 'publish' via Visual Studio 2012, I also had to add an IISAPPPOOL\DefaultAppPool account in my SQL Server database
I have a Classic ASP aplication and now I installed that on my new PC with Windows7 64bit and IIS 7.5. The problem is that when the app tries to open de dabase, I have this error:
Error HTTP 404.0 - Not Found
I tried to open the database from this path and it works correctly. The fact is that I have my asp aplicacion on inetpub\wwwroot directory, but the access database is on C:\ProgramData\MyApp\bbdd.mdb it would be something with permisions? I added a IUSR_XXX user but it is not working too
any help or clue?
thanks in advance
In IIS 7.0 and 7.5, the classic version of ASP is not installed by default. Because of this, you might see HTTP 404 errors when you try to browse to an ASP page on your server, or you might see the source code for your ASP page displayed in your browser window.
Both of these error conditions are created when configuration settings that are used to define the environment for classic ASP are not installed.
Click Start, and then click Control Panel.
In Control Panel, click Programs and Features, and then click Turn Windows Features on or off.
Expand Internet Information Services, then World Wide Web Services, then Application Development Features.
Select ASP, and then click OK.
Classic ASP Not Installed by Default on IIS 7.0 and IIS 7.5