Configuration :: Publishing Website - Can't See Home Page Or Anything?
Dec 21, 2010
When I try to upload my website I have created to [URL] then test it I cannot see any home page or anything. Just a list of pages etc I have uploaded, Its like im looking into a FTP server. I publish using visual studio 2010, I have tried both Copy website over to my FTP server and Publish website under the build button.
I have sucessfully published a couple of WebMatrix sites withour a problem but this time I'm stumped. When I try to visit the new site all I get is a directory listing of my files and folders. The home page does not show.
I hv a query regarding publishing the website. I use aspnet2.0 and for uploading we use filezilla.
Whenever I make any changes to my website (either in aspx or aspx.cs page), I need to upload the entire website (along with my bin folder, after publishing)again otherwise my site just doesnt work.Its very time consuming.
I am trying to move my web application from my computer to a server by publishing as a web site. But, after publishing, the user controls defined in the designer files are no longer recognized by the code behind.
Login not working after publishing asp.net website
I am used default login control, form based authentication and default sqlmembership provider.but in local my site working fine,when i publish it locally in iis means,the login is not working , i don't know what is the reason?
The file system I'm publishing to is a not hosted by me, but by my university. IT here offers students their own web directory to host a website. My intention is to use it to host projects for classes and demo them for my professors. You can enter in a specific link in any browser to go to this website and view it as long as there is a file named 'index.html' in the directory with some presentable html code.
So here's the problem. I want my website to be written using ASP.NET and when I use VS2010 to publish my ASP.NET website to the 'File System,' I cannot simply open up my browser, type in the normal link, and have it display. It just shows up as a list of files in the directory and I can see all my source code for the web site
In one of webforms user must enter the percent of tax and then I convert it to the float number and finally save it into database. here is a sample:
Dim txtMyPercent txtMyPercent=Convert.ToSingle(txtPercent.text) label.text=txtMyPercent insert into(txtmypercent)
This peice of code, works perefect while runs via Visual Studio 2010, however after publishing, numbers are converted to integer. Thus it can't be inserted into Sql server database .... Server OS: Windows 2003 x64 IIS: 6 .Net Framework: 4.0
I spent the better part of today hunting down an elusive error. I was getting a message saying that it couldn't find the Index view for the Home controller, and it gave a list of locations it searched, e.g., ~/Views/Home/Index.aspx. This was really confusing as the file definitely existing and was at ~/Views/Home/Index.aspx, the first place in the list of locations it searched for the view!
What I eventually discovered was that there was a file that did not get published when I used Visual Studio's "Publish" feature (this is on the "Build" menu). That file was Views/Home/Home.master, and (as you can probably guess) is the master file used by Views/Home/Index.aspx. Once I copied that file into place manually, it started working. But I am left wondering--why??? Why does this file not get published? It's a part of my project, I can see it in the solution explorer, and it's obviously a critical file that's necessary for the MVC app to run. It has the same permissions as every other file in my project. So why wouldn't it get copied? And how can I fix it so it does get copied?
I have a Asp.Net application eg its name is ABC and I have a server eg whose name is XYZ, where the application is hosted from. The default page for the application is Home.aspx.Now the requirement is I want Home.aspx to open automatically when the server name is typed in the URL. Currently for accessing the Home page I writehttp://XYX/ABC/Home.aspx but I want Home.aspx to open if I writettp://XYZCan anyone suggest how I can achieve this. I have one solution that is making a HTML page as default in IIS and then redirecting it to the respective link.
i have been recently requested from a client to upgrade his static html web site (hosted from another provider) to a new asp.net mvc web application (hosted from my provider). The current home page rank is 3/10 and i woul not like to lose it ehwn transferring the hosting DNS to another hosting provider company.
Is it possible to keep the home page rank? I am realy not interested in all the other pages.
Also, my home page can be accessed via [URL] disadvantage when comes to SEO?
I have website in arabic, whenever i browse any link it redirects to main page without accessing actual link. Can any one help me how i fix this issue.
Am stuck up with a task to display tweets from a particular user in website's home page.The website uses a web service which inturn uses Twitter APi to fetch tweets.The thing is Twitter Api returns tweets in a page containing tweets, posted over a week.
results per page is sent as a parameter. But for one request call the web service can return only one page which contains tweets for a period of one week.
But i want to fetch tweets posted over last three months.
I have seen in so many sites on the home page there is a search option and after searching any word of the website it displays and in w3schools it navates to goolge with his reference.
How to write a code for the same and which control we should use.
I have installed all on my server 2008. When i got to /localhost/sitecore/Website/sitecore. i get following error. what should i need to do Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error:
Line 2575: <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 2576: </httpHandlers> Line 2577: <membership defaultProvider="sitecore"> -- this line shows errr Line 2578: <providers> Line 2579: <clear />
I have an web based application. The content for the Home page has been currently mentioned in the HTML code for the Home page using , and tags. To change the content anytime in future, it needs to be changed in the HTML code.
Is there a way that we can pick up the content from some external place and get it reflected through the website. This ways, any change if required can be made at the external location without referring to the application's code.
if i have a separate dll for each page on my server and that is working fine. if I make some changes in code behind file of a particular page say, xyz.aspx page. then I have to upload the dll of that particular page. and that refreshes the whole web application and all sessions and other values got disturbed in the application. Is there any way that uploading the xyz.dll (of page xyz.apsx) on refreshes the xyz.aspx and didn't disturb the whole web application.
publishing my website,i published my site before just to test how will it look like.but then when i intended to make some changes and publish them, it doesnt update the file that i've copied.even if i deleted the file from the hosting provider then re publish it, it still doesnt work.
When I publish my new web application onto the localhost, my error handling class did not get published with it. Therefore when I go to run the code, the site crashes out because it cannot find the class in the 'App_Data' directory.
Two of the pages (aspx) refer to the class using the following code.
When I build the website and upload everything as it is, I get this error:
Quote:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) I guess I have to deploy Database, or?
I have created a website with asp.net and uses oracle connectivity with pl/sql developer.i have uses the crystal report which is a third party tool. how to purchase it.
i am using visual studio 2005 and yes i am using basic crystal crystal that comes with visual studio. Now suppose i hav purchase a domain www.abc.com.
I've published my website and tried to host in my localsystem.Im getting the login page but cannot login to my application.When i click the submit button in the login page,the page simply refreshes and comesback.The page is not showing any error like 'invalid username or password' which i've set for not proper login
I am using visualstudio 2008 and iis 5.1.What could be cause of this error ??