Web Forms :: How To Set Default Start Page In Shared Hosting Server
Jul 2, 2012How to set the startup page in asp.net, asp.net taking default.aspx as first page but I want to set the index.aspx instead of default.aspx in server ...
View 1 RepliesHow to set the startup page in asp.net, asp.net taking default.aspx as first page but I want to set the index.aspx instead of default.aspx in server ...
View 1 Repliesi have uploaded my site on hosting server with name www.selectionfurnishing.combut when i try to open any page i got an error that the site does not exits when i try www.selectionfurnishing.com/default.aspx then it gives error that the page does not exits (404)
View 2 RepliesI used visual webdeveloper 2008 express edition to make a new WCF Service Application.If I test it on my pc it works perfectly , But if I publish it to my shared hosting site I get this erroris has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.
View 1 RepliesI have problem with default.aspx setting in global.asax file.When i am running dot net application from solution explorer i can set the default page as start page or when i am running the application the on IIS server i can set that default page as start page through the setting.This thing i want to do in programmatic way using the global.asax file
View 1 RepliesI need to run a daily process at a given time. how to do it in ASP.NET/C#? web site is hosted in godaddy shared hosting server.
I've tried with timers but not working. I think this timers get reset with application pool recycling.
My website/application is in ASP.NET. I use the traditional Session object when people connect so they have their preference, etc. My problem is that sessions were lost very often. I discovered that my hosting company was using load balancing on their servers, so one request on my website can be on one server, and the other on another one.
I tried to store the session data in a SQL Server database, but I quickly discovered that I can't create the needed database on my shared server because I only have one database in my package. Also, there is no guarantee that the rest of the script would have been able to run.
My questions: is there any other way to get around this problem? Should I buy another database only for this? Is there another type of session that I could use? Is there anything else I can use instead of session to keep track of my user when they are connected on my website?
anyone know how to "make work" urlrewriter.net component on IIS 6 ?
Actually i have this web.config section :
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
And the rule is, for example:
<rewrite url="~/tag/(.+)" to="~/default.aspx?tag=$1" />
It's work on the ASP.NET Developmnet server, but not when i go to my shared hosting web site !!! :(
i have implemented URL Routing in asp.net website using article (URL...) and it working file offline on my local system but when im trying to run online (from my hosting site) then it is showing error..
HTTP Error 404.0 - Not Found..
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
I am trying to deploy crystal reports 2008 on shared server. Before publishing on the remote server i published it on the localhost while connecting it to remote sql server 2008 database. The report is shown perfactly but when i publish it on shared server it prompt me for login credentials. My hosting provider is arvixe and it support crystal report. In my popup database field is empty and locked use name field show the correct user name and password field is empty. I read somewhere it may be due to version conflict between my version and version on server.
View 9 Repliesi have database that is stored on local.user should also be able to upload the database to online server . i am able to save it on local .But it is not saving on server.It shows request time out. Is it due to server not allowing external access.
View 1 RepliesWhen you create a new website/web application with webforms, I've noticed that the start page is always Default.aspx, but can't find where this is specified (e.g. in the config files, etc), or if it is part of the web forms specification.
Is it possible to change the startup page so that it isn't Default.aspx? If so, how do you do it?
how I can correct an error. I've built the MVCMusicStore tutorial here:
http://mike-ciccone.com/Store/
The first time I visit the site and attempt a database connection I get this error:
Exception Details: System.Data.SqlClient.SqlException: CREATE DATABASE permission denied in database 'master'.
But when I refresh, it all works fine. I'm at a bit of a loss. I don't believe I'm attempting to create a database, but I realise that the error may not really have anything to do with that. This is hosted at GoDaddy shared hosting. The database was created and I used an SQL script to create the tables initially and populate the data. My connection string works as I can pull data from the database, but I do have
a feeling it will be a web.config setting that will correct this.
I have crated a web page in which i have used some ajax extension its running properly here
but when i have host that page it is giving error
CodeFile="Login.aspx.cs" Inherits="Login" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
how to resolve this error
Why remember me doesn't work? As you can see in picture below Expire date is at the end of session although I set expiration to 1 month. This is my login button codes
protected void btn_login_Click(object sender, EventArgs e) {
if (!Page.User.Identity.IsAuthenticated) {
if (GetMemberAuthenticate(txt_uname.Text, FormsAuthentication.HashPasswordForStoringInConfigFile(txt_pass.Text, "MD5")))
[Code] ....
And this is in global.asax
And in web.config
<authentication mode="Forms">
<forms loginUrl="Default.aspx" defaultUrl="~/" name="MyCookieName"
slidingExpiration="true"
timeout="43200"></forms>
</authentication>
[Code] ....
I was curious if there is a shared hosting platform for asp.net web sites that would allow me to setup a service that would do something at predetermined intervals. Dedicated hosting is not an option due to budget constraints.
So far, it looks like my solution will have to be to set an object in the cache and use the expired callback.
Has any one used the above method? and how successful was it?
Is there a better option or method than this?
I'm wanting to use DB4o on an asp.net MVC project i'm working on but wondering if anyone has got this working on shared hosting plan, have contacted discountasp and asked them and they said go to the forum as they were not sure if they supported it or not or any configuration that would be needed. but the forum wont let my post on because its all filtered to only show comments they like the look of? anyone had any joy with this with another host and one that runs asp.net MVC as it should be run?
View 1 RepliesWhy is there no default 'create/open' access to 'WebSites' from the VS2010 start page?
Background:I've succesfully been developing ASP.NET web applications (via WebSite method ((((Not WebProjects)))), using VisualWebDeveloper) for roughly 3 years. Personally, I prefer the WebSite method or strategy due to the decrease in both size and complexity (the web applications I build are generally for around 50-100 simultaneous users logging in and out and constantly manipulating data). I will continue bulding my sites via the 'Website' method provided VS2010 doesn't begin it's deprecation.The root of this question (which boiled into this post) came from perusing this article and this video tutorial. It's a shame to see functionality that brings with it an overall ease of use and increase in production capacity by decreasing both size and complexity of web application development... downplayed.
If the Visual Studio 2010 Development Team left this functionality out for a reason, I would very much like to know. So that I know what is going to be "sponsored by Microsoft" in a couple of years and I don't waste another second considering using the 'WebSite method' as a viable solution (as I know that I can't stick with vs2008 while rest the development community gets to evolve with the innovations implemented within vs2010)... WebSite method or the WebProjects method.
Is there anyway to convert any video that has been uploaded by the uplaod control to a flv fromat in a shared hosted enviroment or is there any dll etc to use ?.
View 8 Repliesi have just completed my website in asp.net using visual studio 2008 with sql server 2005 express edition.
my database is mdf file based..
i have uploaded my website in godaddy with the help of cute ftp..
but the problem is that my database is not working..
Is it ok to upload complete website along with database using cute ftp? or i have to create separate database for it and make connections...
i read somewhere that file based website doesnot required any connection, database is simply uploaded along with website..
I was surprised at their NOT having AJAX / ASP.NET support as practically every other shared hosting provider does and it's not like it's all that new, right? So to conclusively confirm that it was a no-go, I put the standard "update timer" sample AJAX app into a sub "test" directory and it works as it should. (The middle section that has the AJAX UpdatePanel updates.) Also, since I did not also upload a BIN directory for the AJAX DLLs I am assuming that this would indicate that the necessary AJAX components *are* somewhere in the shared kernel.
View 6 RepliesCan Windows Service work on shared hosting?
View 1 RepliesI just bought 2 months of godaddy hosting. I've written an ASP.NET MVC3 application using EF CodeFirst. In the application I am using an initializer that will drop/create the database if the model has been changed. I get an error when I try to do this saying "Cannot drop the database 'cellularautomata', because it does not exist or you do not have permission."I assume this has to do with the fact that I am on shared hosting and do not have permissions to drop/create databases. Is there any way around this?
View 1 RepliesAny way to scheduled tasks on a shared hosting? So like I can send email every two hours.
View 4 RepliesI am trying to put a basic Hello World Web Service in my Go Daddy Shared hosting.
It is a basic default Hello World Web Service that Visual Studio 2010 automatically generates: it works in my local web machine: i can invoke and can see the xml.
I have transferred the Service1.asmx and the Service1.cs file( in the App_Code folder ). I can view the web service page, but I cannot invoke the web service method, and as a result I cannot see the xml file where the "Hello World" string will be in side the <string> element.
Though I can see the web service page, there is no invoke button. How will I invoke or render the content in an aspx page? As the web page has to change the name space, I have changed the namespace to my website address, but still I cannot see or do an invocation and as a result cannot see the generated xml. My question is
1) what should I do so that I can see the return xml value from the web service?
2) what should I do so that I can render the data of the web service in a web page ( for example, in mywebservicepage.aspx)?
[Code]....
I have a windows shared hosting and i need to run some scheduled c# executable every day for create sitemap, send newsletter,etc...The provider tell me that i can't run executable for security reason.Whay can i do?The provider suggest me to buy a VPS, but do not think it makes sense to spend more money just to run some scheduled task.
View 3 Replies