Why is it that I can run my website in vs 2005 and bs 2008 but it won't work on this live hosting site? I'm told there is a invalid character right where my connection string begins.
This is madness. I have never had this issue before. I looked at my web.config in internet exploer. IE has an add on to validate xml. It gives the error message:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please 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:///C:/zlinkexchange/web.config'. Line 55, Po...
<add name="sqlConnectionString" connectionString="Data Source=localhost;Initial Catalog=Linkexchanger;Integrated Sec..
Anyone have some connection strings that work? I followed the example on Arvixe hosting website but it doesn't work...
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'm working with an external team with our website and they recently added one of my scripts to the .NET MasterPage of the site... well it did finally get my script running but now... it loads Banners on 'every' page on the site.
How can I write an 'if' statement that basically says... if this is the home page... run this script... if not don't...?
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.
I am having a small doubt. Suppose i am in some xyz.aspx page there i clicked log out button and the form redirects to login page. When i login again the page is redirecting to the sme page form where i logged out. But i need to display home page how can i do this.
I tried to view ads in my home page to present each ad admin add it in new label for example like this I have 3 ads now, and I want to add new one and preview it in that page above old ads,is there any way to do that without using grid view ?
On facebook we can see update's for Image's Video's,comments,friend added etc on our wall.I want to show same this in my project.The problem is that which data control should use for the same to show these different types of notifications/updates.
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.
How can I prevent user to go back after logging out from any of the page of my website ? Even if the user press back button, redirected to the login.aspx page. Like we have seen in social or any other member ship sites.
I am using some Html.ActionLinks to change the value of a Session variable. Right now I am RedirectToAction("Index","Home"). This puts the user back at the home page every time they change that value. I would like to return the user to the view they were one when they clicked that link instead of redirecting them back to the home page. How can I do that?
I hv Declared two Master page one Is Base and Derived.. Base Page Load is working but when i hv written load controls in Derived Page Load Using C# it's not working..
I am having a website with header only as a masterpage. I need to design a Home page which contains again header and below to this I need to display the content about the website. Please provide me any good looking home page.
I need to display only text in home page but that should be in a good looking format.
I have created a website. I login with username and password and after authenticating i redirect the user to Home Page. When the user clicks Logout, they are redirected to the Login Page. But after this when i click the BACK button on the browser, it again goes back to the Home Page with that user's login credentials. I have used Session["username"]=null in the Page_Load function of Home Page. How to avoid going back to the Home Page when the BACK button is clicked by the User??
How to make your home page shows a small part of your post with the title and "read more.." button, so once you click on the "read more.." button you will be taken into page with the entire post.
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 want to add a background picture in the Content Page in sql server reporting services home page?I am working on my PC that is on intranet and working on the Reporting Services files that is on Server.
The picture is on Server at Location: \auh00048274RSReportManagerimages
and the image name is MyLogo.jpeg.
Actualy in which file do I have to write code and what code to insert there?