IIS Configuration :: Membership Forms Remember Me Is Not Retained When Hosted On Shared Hosting
Jan 17, 2013
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] ....
View 1 Replies
Similar Messages:
May 27, 2013
i 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 Replies
Jul 13, 2010
i 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..
View 2 Replies
Dec 16, 2010
I have in the past used Godaddy shared hosting with .net 4.0 and had no problems viewing and logging into the administration pages of a asp.net 4.0 website, using the default ASPNETDB.MDF. I don't remember if there was any changes to the web.config file. I can view the site but can't log into the site throws a error which has no detail just the custom error message explaining to change the custom tags for a more detailed message and even then it don't work get same message.
View 2 Replies
Mar 24, 2013
I have developed an e-comm web site in asp.net with sql server as a database. Now I want to upload that web site with DB to hosting server. This is my first web hosting and I don't know how to do it.
I've created the DB script to recreate the DB at the hosting server, but I don't know how to run it on server.
What changes need to be done in my connection string in web.config file for connecting the DB which will be on hosting server.
I also have ftp client "Filezilla" which i am able to use for uploading static html pages on server.
My connection string is:
<add name="DBCS" connectionString="data source=(local)SQLEXPRESS;database=LAAFOOD;Integrated Security=SSPI;" providerName="System.Data.SqlClient"/>
View 1 Replies
May 7, 2015
I am using below link to upload files , the code wrking fine on my system with win 8 and studio2012 but when i put code on my hosting with shared hosting package the page giving error . my hosting runs on iis7.5. what to keep in web.config and what to remove. URL...
View 1 Replies
Jan 13, 2014
I am uploading file through ftp using asp.net,c#. If my file size is small(3 MB) then it is uploading file bit if my file size is large then it is not uploading all file. it is uploading only about 3500 kb. i am using the following code.
try
{
string Path = Server.MapPath("~");
string filename = System.IO.Path.GetFileName(fImage1.PostedFile.FileName);
string ftpfullpath = ftpurl + filename;
FtpWebRequest ftp = (FtpWebRequest)FtpWebRequest.Create(ftpfullpath);
[code]....
How i will upload the large size file through ftp.
View 1 Replies
May 7, 2015
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.
View 1 Replies
Apr 28, 2014
What will change in connection string after upload database to hosting?
View 1 Replies
Dec 26, 2010
I have multiple sites hosted at a hosting company that does not support domain pointing. Right now I have all of my domains go to the root directory and Response.Redirect() to a sub-directory which leaves me with mydomain.com/subdir/. Is there a way to make my own pointer to eliminate the /subdir/ portion of the URL?
View 1 Replies
Feb 15, 2011
I have hosted a website in Client's Server.
One of the functionality of the site is to create a PDF File on a Specific Shared Path.
The Shared path is mentioned in the Web.Config File.
If the given shared path exists in the same machine then the PDF File is created and stored in the shared path.
If the Shared path exists in the other shared network System then the PDF is not created and not stored in the shared path.
View 3 Replies
Apr 20, 2010
The error is mentioned below, the cssfriendly.dll is in bin, and browser file is in there app_browsers folder. And it is working in same PC (developping PC), on remote server that belong to my company (i just installed .net 3.5 on that server)
I tried uploading the same site on 2 dufferents hosting, and finally i got the same error. What could gone wrong ? I tried contacting the hosting support but they work in ticketing system and this is extremely slow.
Configuration Error 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: Could not load type 'CSSFriendly.MenuAdapter'.
Source Error:
[Code]....
View 4 Replies
Jan 22, 2011
On localhost use SQLServer Express Edition. When I upload file to real hosting,my hosting use Full SQL Server 2005. How to config the ConnectionString of Membership(aspnetdb.mdf)
View 2 Replies
Apr 19, 2013
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
View 1 Replies
Jul 2, 2012
How 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 Replies
Nov 23, 2010
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?
View 1 Replies
Feb 15, 2010
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 Replies
Jun 24, 2010
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 Replies
Feb 1, 2010
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 Replies
Feb 25, 2011
Can Windows Service work on shared hosting?
View 1 Replies
Jan 2, 2011
I 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.
View 3 Replies
Feb 25, 2011
I 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 Replies
Dec 1, 2011
Any way to scheduled tasks on a shared hosting? So like I can send email every two hours.
View 4 Replies
Oct 4, 2010
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?
View 4 Replies
Apr 25, 2010
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 !!! :(
View 1 Replies