IIS Configuration :: Website Hosted Not Working Without Default ASPX Page
Oct 22, 2013
We recently changed our server.
If I write www.abc.com it is not working but if i write www.abc.com/default.aspx it start working.
When I write www.abc.com
It is showing this page
Parallels
Parallels Plesk Panel
© 1999-2012. Parallels IP Holdings GmbH.All rights reserved.
View 1 Replies
Similar Messages:
Mar 9, 2011
i have created a website with a template (CSS Full Site Flash 8) using VS 2010
and after i did host the site to the internet, ASP code didn't work
but HTML code works fine, for example this code for desplaying picture didn't work and the picture is not displaying:
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/photo1.jpg" />
i don't know if it is from the web.config or if i missed something also i notes that the site in is not working in firefox browser (HTML code will appear instead of design) but in internet explorer the design works fine but without the asp controls
View 4 Replies
Aug 20, 2013
Asp.net Javascript Countdown clock timer for each row of gridview( [URL] ).Its working fine forme.
After placing iis 5.1. its not working. let me know what is the problem of this code.
View 1 Replies
Jun 16, 2010
i am trying to ste my Home Page other than Defualt.aspx in IIS but im getting a message saying This is a marker file generated by the precompilation tool, and should not be deleted! i do my precompilation of web project using aspnet_compiler -nologo -f -v i do not want to use Default.aspx and route it to the Home Pgae. it works in Visual STudio but when i deploy it to IIS it gives me this message.
View 2 Replies
Nov 20, 2010
I have remove default.aspx page from remote server then the site is also running.
View 4 Replies
Feb 28, 2011
I have the following pages structure in my asp.net 3.5 website. i want if anybody directly access any page of my site as [URL] then it will automatically redirected to [URL] How to do this using vb.net, asp.net
View 2 Replies
Mar 25, 2011
I sent a lot of time trying to trouble shoot IIS 6.0 yesterday on a pre-compiled website. I could never browse the default web page. I got the initial bar on the bottom right when I set up the site but then got a blank page. The I got frustrated with IIS and decided to try just copying all my web application files to the IIS server. When I did this the application worked! I have used pre-compiled sites before with no problem.
View 2 Replies
Jan 18, 2010
I have the following setting in my web.config to redirect to a default page:
<defaultDocument>
<files>
<clear/>
<add value="default.aspx"/>
</files>
</defaultDocument>
For example when a user enters www.homeforhire.com they should be redirected to default.aspx (for operational reasons the user is then redirected to
www.homeforhire.com/home.aspx).
Instead an error is caught in the Rewrite module (which should not be activated). I am using an http module to perform URL rewriting.
It appears as if the default document setup is not working correctly, and the requested page ~/ is being sent to the Rewrite module, causing an error (which is then caught by my error handler and the user is redirected to the home page).
Entering www.homeforhire.com/default.aspx works correctly.
Can anyone tell me why the default document settings in the web.config do not appear to be working?
View 1 Replies
Feb 23, 2011
I have been reading up on encrypting the connectionStrings section of the web.config file and I have noticed that all of the methods embed the cypher key in either the registry or the machine.config file. My site is currently being hosted for me by a hosting company and as such I do not have direct access to the registry (or aspnet_regiis for that matter). I was wondering what options are available to me if I cannot use the usual aspnet_regiis method or am I misreading the posts?
View 4 Replies
Jul 8, 2013
My asp.net site has very good performance on local ips on all the systems. But it 5 time slow down on live ip.
1. What could be the issue:
Server is not capable? I have checked the ping and it response time is 153 ms for each require on live ip but on local ip it gives < 1 ms response time.
2. I have not compile the solution just copy and paste on the iis and create virtual directory?
View 1 Replies
May 7, 2015
i have created RDLC Report and tested on my system its working well but its not working when i am uploading these files on server i-e on my domain. My Code:-
.ASPX
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</div>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="956px">
<LocalReport ReportPath="~/Admin_AR315_Report.rdlc">
[CODE]...
View 1 Replies
Oct 19, 2010
I have a strange problem that I am trying to find a solution to or even only know why does this happen. I built a website using ASP.NET, when I run the website locally it looks very normal (I am speaking Style and CSS wise) on all the browsers (including IE8). And when I deploy this website to the test server which has Windows Server 2003 and IIS 6, the applications looks normal too on all the browsers except IE8. I did not try other versions of IE but I have a requirement to have this website working on IE8. Some tweaking on the CSS solves some of the problems but I do not want to go through each and every tiny detail and rework my whole CSS. There are even some problem which cannot be resolved.I have no clue why is this happening. It should be something either with the OS or the application server because those are the only differences between my machine and the server. On my machine I have Windows 7 Enterprise and I was test the website on the ASP.NET development server.
View 3 Replies
Mar 18, 2010
I have a simple webApplication. Now I have a second webapplication with few web aspx pages. When I build each project I get aspx files with 1 dll per project.
Now the structure of the first webApplication is like this
inwebapplication1.dll
Default.aspx
Is it possible to load the dll of the second application dynamically and put its dll into the bin directory. The result will be something like this:
inwebapplication1.dll
inwebapplication2.dll
Default.aspx
application2default.aspx
The problem is that when I try to open application2default.aspx the compiler is throwing an error that it cannot find the class for that particular page because the assembly inwebapplication2.dll is not loaded. I tried to load the assembly from the web config like this <add assembly="myassemly, Version=1.0.0.0, PublicKeyToken=null, Culture=neutral"/> and also from the code like this Assembly.LoadFrom( @"D:Projectsinmyassemly.dll" ); OR Assembly.Load( "myassemly, Version=1.0.0.0, PublicKeyToken=null, Culture=neutral" ); but I still have no success. Can u tell me what is the logic here with the assembly load?
View 2 Replies
May 7, 2015
I am using most of the Ajax Control, but when I deployed it in IIS. It is not working.
View 1 Replies
Dec 24, 2010
how to redirect multiple domain name on the one website that is hosted on IIS server???
View 2 Replies
Jun 10, 2010
while i was trying to add my aspx pages(framework2.0) to a html precompiled website,
i get the following error
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. correct the error and then click the
Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'file:///D:/Site/Login.aspx'. Line 1, Position 2
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="_Default" %>
-^
here is my source code-
The XML page cannot be displayed Cannot view XML input using XSL style sheet.
View 1 Replies
Feb 25, 2016
when application runs on local machine, it returns data correct, but when website hosted on server then it cannot retunrs data in jscript serialize
C#
JavaScriptSerializer jscript = new JavaScriptSerializer();
List<ListItem> items= new List<ListItem>();
return jscript.Serialize(items);
Javascript
var jsdata = JSON.parse(items);
View 1 Replies
Apr 12, 2010
I have a hosted site and just added some additional error notification to my global.asax file and works like a charm. I decided to add the same logic to our test server and it doesnt work. The server.transfer never happens and the email never gets updated. Now i know the email works on the test and production server since we have other pages that use the same SMTP server name and setup as i have in the global file. Below is my code as it is in the file now. I setup a test page to cause an error and the page displays the detailed error which we dont want. But i would like to be notified if this happens. What am i missing? I can only assume that its a IIS confige issue, since the exact same code works on a hosted site, but not at work on our test or production servers. Here is the code i have in the global.asax
[Code]....
View 18 Replies
Mar 15, 2011
Is it worth while considering a CDN for a UK hosted site with mostly UK traffic.
The server is in London, so I am not sure if it would be worth it as I guess any CDN server is just going to be in London as well?
Am I right in thinking that CDN is really only applicable for US websites (due to the geographical size of the country) and global sites?
View 1 Replies
Feb 15, 2011
I have my iis set up and I can view html pages but I cannot view the default aspx. I can view the test aspx. Any reason why I may not be able to view it?
View 1 Replies
Oct 1, 2010
I have a website that my company hosted using hubspot.. now the guy who made it is gone..
Currently all the code is in the front end which i think was made by using the CMS tool of hubspot.
What i need to do is add another page to this website which has my code and also has a backend code in it.
how do i proceed.. i am currently working with asp.net and C#...
which language i should chose to do the backend coding.. the code i plan to write is not that complex.. i just need to get a value for the user using a textbox, multiply with a number and display/email it back.
View 1 Replies
Jul 7, 2010
I have a simple test page using a couple asp features that I want to incorporate in a future site. It runs fine in Visual Web Developer.I deploy the site on a device running Windows CE with a web server. When I go look at Default.aspx I just read the file as text. Do I need to install something else on the device to get the web page to work?
View 1 Replies
May 27, 2010
i have a website project. i have 2 folders within default.aspx. in the root i have no default.aspx.
How can i redirect users when they are in Role "Folder1" to the ../Folder1/default.aspx
and user in Role "Folder2" to the .../Folder2/default.aspx
View 2 Replies
Nov 18, 2010
I have made some changes to the markup in the default.aspx. It renders perfectly on my development server but doesn't render on the production. We are using ASP.Net 2.0.
I republished it serveral times but still not taking effect.
View 6 Replies
Jul 21, 2010
I just recently upgraded a site from 3.5 to 4.0. After editing the web.config, creating a new app Pool in IIS, configuring the site to use 4.0 and the new app Pool, I can no longer browse to any default.aspx page without explicitly typing 'default.aspx'. This site was originally written for .NET 2.0, upgraded to 3.5, and finally updated to 4.0 a few days ago.If I try to browse to http://[mysite]/ I see the following error:
Server Error in '/[mysite]' Application.The resource cannot be found. Description:TTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.Requested URL: /Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1However if I browse to http://mysite/default.aspx, everything works fine.
If I undo all the changes made to the web.config, and revert the site back to the app Pool used for 2.0/3.5 the site loads and runs fine. Restarting IIS will solve the problem for an hour to a day, but the issue will always come back. Other sites running on our sever which were not originally made in 2.0, but 3.5, have upgraded to 4.0 without this issue.
View 6 Replies