Website Membership Doesn't Work After Uploading Website To Iis 5.1 (xp)

Jan 28, 2011

I'm currently developing a web application where everything works fine in the visual studio web server. It authenticates the user, access the database, writes to it, etc.

After I wrestled yesterday to publish it to my local iis, a subject I admit I have little to no experience of doing, suddenly the membership of the website started to not authenticate the users.

At first I suspected maybe the app wasn't accessing SQLServer, or that the data with the users I had in the asp.net membership database was erased when I uploaded the website.

So I stopped iis, i attached the db file to my local sql server, and I can see that all the users are there just like I uploaded them. I also can see the website can access another database with micellaneous contents just fine.

The loging controls don't tell me there's any problem either, they just show a message telling the user that the login attempt wasn't successful.

So, here's what I remember I did to make the app work as it wasn't even doing that when I first uploaded it.

I used the asp.net_regiis tool to copy website scripts to the website.

aspnet_regiis -sn <path>

then I deleted the website, uploaded again from VS. this time it shows in the browser but it doesn't authenticate the users.

The application isn't precompiled, I just uploaded it.

View 6 Replies


Similar Messages:

Web Forms :: Configure Existing Database And Website To Work With Membership?

Jun 13, 2012

I have a website and a SQL Server Database. I want to use ASP.Net Membership for login and roles.

View 1 Replies

JQuery Doesn't Work In A View Of Mvc Website

Jul 12, 2010

in a page of my asp.net mvc website jquery not worked. when i test the html source then i see the jquery script is not writtenonly one master page to load all jquery on every page .so where my jquery. when i debug my jquery then error found $ is not definedoff course it come because jquery not load

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("jquery", "1.4.2");
google.load("jqueryui", "1.8.0");
</script>
<script language="javascript" type="text/javascript">
$(function () {
[code]...

View 3 Replies

MVC :: Area And Default Route / Doesn't Work When Open Website?

May 30, 2010

I use in my application 2 areas: Website and Admin. I will put all controllers and views in these areas, not in root application. So I would like to have default route 'Website/Mycontroller/Myaction', not 'Mycontroller/Myaction'. I have changed Global.asax.cs:

[Code]....

to:
[Code]....

but now my application doesn't work when I open website http://xxxxxx.pl.

View 9 Replies

Activate COM Object Using Website Doesn't Work In Windows 2003 Server

Apr 12, 2010

I have been trying really hard to activate and launch a COM object using an ASP.NET web application. The aspx website has a code-behind file that has a reference to this COM object (which is an actual application -a CAD software). When required, the VB code creates (or launches) the application.

The complete set-up works in a Win-XP (32-bit) environment both under debugging using visual studio and when the website is accessed by an outside user (through IIS server in XP). But the same application doesn't get activated when it is hosted onto the Win-2003 (32-bit) IIS server. I get "Object reference not set to an instance of an object" error.

The way I have setup in Win-XP was to grant ASP user and Internet guest user permissions to the COM object in the DCOM Config and since the windows firewall is enabled, I add the exe file (associated with the COM object) to the exception list. For the case of Win-2003 server, I add the Network Service permission to the COM object. But the setup doesn't seem to work at all. I am not sure what I am missing and how to get the application to launch.

View 1 Replies

Publishing/uploading New DLL To IIS - Website Goes Down Whilst Uploading

Jan 15, 2011

When uploading a new DLL for a large web application (dll is around 1mb) IIS throws an error because the DLL is 'in-use', meaning the website is down while the DLL is being uploaded. Is there a way to stop this behaviour?

Also, although I am using Web Applications, not Web Sites, whenever I upload a new DLL it still takes a while for IIS to restart after a fresh upload. I thought this wait was generally only for websites as they need to be compiled by IIS, not Web Applications?

View 1 Replies

Security :: Login Doesn't Work - Trying To Login Through The Production Website?

Apr 16, 2010

I am using Membership with Login control.

It worked just fine untill this week, but now it fails to login.

the odd think is that it do login from localhost, but when trying to login through the profuction site it fails to login. this is happens to all users.

View 5 Replies

Membership Role Provider Doesn't Work With Custom Connection String

Oct 18, 2010

I have Membership configured with IIS7, tables for it located in my own database, created with aspnet_regsql utility, and I am using custom connection string to access it.

This is part of web.config related to Membership :

[code]...

View 2 Replies

Uploading Files From One Website To Another?

Jul 4, 2010

I have 2 asp.net sites (site1 and site2). site1 have a directory inside in called images. In images directory there are images. I need to upload files using site2 aspx page, but need to upload them to images folder of site1. how can I do that?

View 1 Replies

Configuration :: Publishing And Uploading The Website?

Mar 11, 2010

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.

View 6 Replies

Configuration :: Uploading Pages To Website?

Sep 8, 2010

I created a website. If i upload html pages to my website, it works good. but when i upload asp.net pages, it cannot work. why? is there any coding changes to my web config.

View 2 Replies

C# - Uploading/Pushing Data To A Website?

Jan 22, 2010

I need to let a company push information up to my site.The best way to explain what I am talking about is to explain how it is currently done with their previous website:This company uploads a CSV file to an FTP set up by the website. The website then processes the CSV file and puts it into an SQL database so that it can be used by the website.In this case, I am the website and I am working with the company. Both sides are willing to change what they do. So my question is...

What is the best way to accept batch information like this? Is there a more automated way that doesn't involve FTP? In the future I may have a lot of companies wanting to do this, and I'd hate to have to setup accounts for each one.The project is C# ASP.NET MSSQL

View 2 Replies

Configuration :: Uploading Website & DataBase At Different Places?

Oct 28, 2010

I have created a Website with some DataBase (using LINQ to SQL).

can i upload Website & DataBase at different Places like on different machine etc.

I use "CuteFtp" for upload Website.

View 1 Replies

Configuration :: Uploading A Aspx Website To A Webserver?

Jun 3, 2010

how to upload a aspx website project to a webserver.

I have tried to test the website with the LocalHost, and it is working. The project has both aspx and html files linked inbetween. How can I upload the project to a webserver and test it with the URL address.

View 3 Replies

New Website Attach With Existing Website / Where Attached Website Is Behaving As Pluggable?

Feb 26, 2011

1 new website attach with existing website..where attached website is behave as pluggable. and used anywhere in any website?

View 7 Replies

Finding Free Website For Uploading Testing Pages?

Feb 3, 2010

what free website can i upload my asp.net pages for testing?

View 4 Replies

Web Forms :: Website Page Refreshed When Uploading File

Sep 17, 2010

I am using Standard control FileUpload asp.net to upload a simple file to server. When I select a file and submit, the page is refreshed to the file is uploaded to server. Then I using a UpdatePanel to perevent the refresh. But in this way the file is not uploaded and FileUploaded.HasFile property return false. What can I do?

View 3 Replies

Web Forms :: Error In Uploading Some Video Files From .net Website(C#)?

Dec 7, 2010

While i am Uploading Some Video Files from my asp.net website(C#) for the first time, i foud some error which i am furnishing here under

"Access to the path 'D:inetpubvhostsdemon4netsalt.comhttpdocsStudy MaterialVideo+1' is denied."

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'D:inetpubvhostsdemon4netsalt.comhttpdocsStudy MaterialVideo+1' is denied.ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

i am planning to save my files in side the "

Study MaterialVideo+1,
Study MaterialVideo+2, etc..
" Folders

View 2 Replies

Configuration :: Failure Sending Mail After Uploading Website Online

Feb 18, 2011

I got error 'Failure sending mail' after uploading my website online, but i m able to send mail when website is on local host:

[Code]....

[Code]....

View 7 Replies

Configuration :: Uploading VS 2008 Express Edition Website To Internet?

Apr 2, 2010

i have created a website in VS 2008 express edition and i have a URL and hosting space and i'm sure the space in windows based and not linux based, all i want to know now is how to get my website onto the internet, do i have to up load it through VS or can i use a packaged such as filezila?

View 4 Replies

How To Structure A Website Using Membership

Oct 27, 2010

i have to build a ASPNET website on which some functionalities will be available to logged in users.I'm trying to understand the right thing to to in building my pages.

I've found the following code in Page_PreInit:
protected void Page_PreInit(object sender, EventArgs e)
{
if (Membership.GetUser() == null) //check the user.. Weather user is logged in or not
{
this.Page.MasterPageFile = "~/General.master";
}
if (Membership.GetUser() == "ADMIN") //check the ADMIN.. Weather ADMIN is logged in or not
{
this.Page.MasterPageFile = "~/ADMIN.master";
}
else
{
this.Page.MasterPageFile = "~/Member.master";
}
}

..but i don't' know if this is the right approach in designing an app.Is it right to switch at runtime Master page according to username/role?

View 1 Replies

4.0 Website With Membership And With A Lot Of Data?

Feb 2, 2011

ve a more general question on what would be the best approach for a website with a lot of data (with ASP.NET 4.0) ?To be more specific :What would be the best way to represent the data (what UI controls) datalist , gridview, ... ? There is no need for data manipulation only displaying.What would be the best way to fetch the data (which data sources ? LINQ to sql , ASP.NET database entity model, ...) from a SQL database ? Should I use stored procedures ?

View 1 Replies

Converting Asp.net/VB Website Membership From 2.0 To 3.5?

Mar 9, 2010

The title says it all. We had a working website built on framework 2.0 with membership. After we converted it to framework 3.5 using the Visual Studio automated conversion mechanism by opening it in Visual Studio 2008 and following the prompts, the membership system is now broken. Dammit, all we wanted was some newer AJAX. The rest of the site appears to be functioning fine, but when it comes to logging in or managing security on the site, it fails.

So the errors we receive when trying to manage security via the built-in admin pages, seem pseudorandom; everything from 'user cannot log in to database' to 'this file is being used by another process' to 'there's a problem with your datastore'.

View 2 Replies

VS 2008 - Image Format To Save With Smaller File Size After Uploading With Website?

Aug 11, 2011

I have written a website and let the user upload their photo. It also resizes the picture to 400 x 400 and crops automatically to the center part of the picture. All of this works good but each file is about 355K each for JPG and PNG file formats. I just tried GIF and it is 49K but the picture is grainy when saved this way. Is there any way I can get the picture to a smaller file size with keeping it at 400 x 400? I really thought PNG would be the way to go and was surprised by it being the same as jpg. I don't want to lower the quality either for JPG files.

View 1 Replies

C# - Implement Membership API To Existing Website?

Jan 18, 2010

I have an existing ASP.NET web application that is for public use and any anonymous user can access it. I would like to implement mechanism for users to sign up. The first thought that crossed my mind is to use the ASP.NET membership API.

So, If I use the Membership API:

[code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved