VS 2008 Trying To Use Newer MEMBERSHIP Driven Pages In An Older Web App?
Mar 27, 2010
I'm trying to take some pages from one of our newer web apps and put them into an older web site we created several years ago.The newer pages uses the membership provider and has proper roles that allow users access to folders that pages reside in.The older pages do not use the membership provider.It seems to want to access ASPNETDB.mdb - which we do not have in the older site.Where are references to the ASPNETDB.mdb made - I can't seem to find them and I need to turn them off.
View 8 Replies
Similar Messages:
Jun 25, 2010
I'm a total noob to anything ASP. I'm a web designer for my county's sheriff dept. and I don't create dynamic pages because out content doesn't require it. In fact, I'm still quite new to web design. The programmer who created the apps has zero experience with IIS7. These apps are designed to run on our organization's intranet server. I'm not having any luck with getting these sites to run properly. I have the sites created with the proper directories. When I click in the right-hand column of IIS Manager to browse to the sites, they launches but don't function as they should. They load up like static pages. I installed .Net 1.1 hoping that would make a difference but it had no effect.
View 4 Replies
Jul 27, 2010
[Code]....
View 5 Replies
Feb 18, 2010
I'm trying to create two ASP.NET Membership login pages for an ASP.NET website I'm creating.
Here is structure:
/ - Anonymous Access for page off root
/registeredUser - Must be part of RegisteredUser Role
/registeredUser/login.aspx - Login page Registered Users
/admin - Must be part of AdminUser Role
/admin/login.aspx - Login page Admin Users
Another person asked the question and it was suggested to use the location tag in the web.confg:
http://stackoverflow.com/questions/525988/redirect-user-to-mulitple-login-pages-using-asp-net-membership
But I receive errors related to the using the forward slash / in the location path. I removed the forward slashes and the security rules are ignored.
So my question is, can I have more than one logon page using ASP.NET Membership without creating separate applications in IIS?
View 2 Replies
Mar 13, 2010
How can I get older revisions of the toolkit source code? I only see the latest release and some recent changesets. I don't see any way to browse for older change sets or release sets...
View 1 Replies
Nov 18, 2010
i am working in mvc & using jquery.jeditable.js plugin for performing editing in MVCContrib grid.
i am able to get the new_edited_value for the filed via jquery.jeditable.js plugin BUT is there a way to get the older value of the filed which has been updated.
View 2 Replies
Oct 14, 2010
I am currently working on an ASP.NET MVC2 application and would just like to know the best way of achieving the following:
Each user that logs into the site pays membership fee which lasts X amount of days. I record the membership payments and the expiry dates in the database.
I would like all users to be able to login even if their membership has expired. However certain Controllers/Actions will be out of bounds to members whose membership have expired.
So my question is what is the best way to redirect users who try to access these pages when their membership has expired?
I don't really want to be calling a method that checks the membership status from each action where I don't want expired members to have access (although if this is the only way I would have to).
I thought about a custom ViewPage that inherits from System.Web.Mvc.ViewPage which I would override the OnInit function and check the membership status and redirect if necessary.
View 1 Replies
Feb 28, 2011
I have a website which makes use of Custom Membership/Role Provider, Website used to work fine with my earlier server.
recently we changed our webserver which has IIS 6.0 on Windows server 2003, on this server my site doen't work, i have installed Framework 2.0 and Ajax Extension as well, but only html pages inside this project works but not aspx.
we also have other asp.net websites hosted on this server which runs without any problem but they don't make use of Membership/Role providers
to be precise i do not get any error message aspx jus goes blank, i tried all the options ASP.Net is allowed under Web Service Extensions.
View 1 Replies
Jun 25, 2010
My Exe had a reference to a older version of a dll in the GAC both old & new versions are present in the config file i have given the binding redirect setting to refer the new version of the dll , thouhg when exe is running it is still refering to the old version , could some one shed some light here.
View 1 Replies
Jun 22, 2010
I have 3 dll's compiled and put inside the bin dir of a website. They were referenced some time ago on a different computer with their respective source code.
I don't have the original source code for this version (all 3 dlls are like one app. They use each other functions) but I do have a newer version.
What I wanted to do was to completely remove any reference for the old version and just add a reference to the new version dlls. I tried:
Rightclick on dll---> delete , tried: look inside project file,sln, anywhere - web.config etc. to find the reference ..... Nothing. The old dlls come back after I recompile.
One of the new dlls has a different name than the same one in the older version. When I replace the older versions with the new ones and add the third dll with the different name and delete the older one and recompile. The older one just comes back from nowhere, and I get an error that I have some functions running both on the older dll and the newer one and it won't compile.
How do I completly remove the older version so I can start over with the new one?
View 2 Replies
Aug 16, 2010
I have been developing my first setup program and for that It needs few dlls to be registered using the Regasm and also Regsvr32. I have used vsdraCOM and vsdrfCOM registering options for the dlls to register in VS2008 for Regasm and Regsvr32 respectively.
1) Are the registering options that I have used correct?
2) Also if there is a new version of the dll then it should install the newer version of it. How am I supposed to do this? And the fact which is running in my mind is where does(I mean the location) the Setup project will look for the newer versions of the dlls while installing the program?
View 1 Replies
Jan 26, 2010
I have a code that runs correctly when compiled with Compaq Visual Fortran 6.1; however, when compiled with Visual Studio 2003 (w/ intel fortran compiler), it crashes due to a convergence issue. Since the input deck that the code reads from is exactly the same in both cases, I assume this has to be a configuration issue between the two compilers.
View 2 Replies
Sep 1, 2011
I am using the asp.net membership on my website and I have a user called DemoUser for someone who has not joined and wants to try out the site. All they can do is look around and search records. Nothing more. If more than one person logs in with this username, will all of these people be counted in how many are online? Or will that username only be counted once even though 20 people might be using it?
View 3 Replies
Oct 19, 2010
I am having an issue, with the membership and form authentication. I am having a problem where when an logged in user types a url they can see the content of pages they're not suppose to. When the user tries to click on the screen or any ajax fires they are redirected to the main page. What is going on? I have all the items setup in the webconfig properly just wondering what is happening. Also I don't want to use a redirect solution for each page since that is what I thought webconfig was setup for.
View 1 Replies
Aug 11, 2010
I am attempting to add a database to the AppData folder. It seems to only want to use SQL Express, which I have read is not a good idea for a live website for the purposes of memberships. How do I change the default Express to SQL2008.
View 6 Replies
Nov 17, 2010
When i add asp.net membership provider it uses some default database to add those records?How to change the default database to my own sql database?
View 1 Replies
Sep 2, 2010
I have created two custome membership providers that I would like to add to my web.config. The first one would be the default that the asp.net application would use. The second would be called by a WCF service that I have in the same application.
The providers in the membership section of my web.config looks like the following:
<add name="SiteProvider" type="MyNameSpace.SiteProvider, MyNameSpace" ApplicationName="Si2" EnablePasswordReset="true" PasswordStrengthRegularExpression="(?=[w$#_ ]{8,})(?=.*?d)(?=.*?[A-z])[w$#_ ]*" ResetPasswordMinimumLength="8" ResetPasswordPattern="USL9SLU9SLU9SLLLL" ResetPasswordAllowDuplicateCharacters="false" />
<add name="WCFProvider" type="MyNameSpace.WCFProvider, MyNameSpace" ApplicationName="Si2" EnablePasswordReset="true" PasswordStrengthRegularExpression="(?=[w$#_ ]{8,})(?=.*?d)(?=.*?[A-z])[w$#_ ]*" ResetPasswordMinimumLength="8" ResetPasswordPattern="USL9SLU9SLU9SLLLL" ResetPasswordAllowDuplicateCharacters="false" />
I receive the error "Item has already beed added. Key in dictionary: 'SiteProvider' Key being added: 'SiteProvider'" any time I browse to the site.
This doesnt make sense to me sense they have unique names. If i remove the second provider the site is browseable.
View 1 Replies
Mar 11, 2010
I created a database with aspnet_regsql, the database was created in sql sever 2008 and not in data folder in my project (do I need to move it to the folder manually?). Next, in Web Site Administration Tool I went to provider section and clicked don Test button.
I got an error:
Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider.
Maybe I need to set something in a web.config, like membership settings or connection strings (or ASP.NET Website Administrator Tool should create those settings for me)?
Update: Maybe it happens because I am using SQL server 2008 full and not express?
Update 2:
After setting membership section and connection string to my aspnetdb database in Web Site Administration Tool I've opened security->Security Setup Wizard->Define Roles (stage 4) I got this error:
An error was encountered. Please return to the previous page and try again.
The following message may help in diagnosing the problem: Unable to connect to SQL Server database. at
System.Web.Administration.WebAdminPage.CallWebAdminHelperMethod(Boolean is Membership, String methodName, Object[] parameters, Type[]
paramTypes) at ASP.security_wizard_wizardpermission_ascx.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control
namingContainer)
View 2 Replies
Mar 25, 2011
There is an existing asp.net 2.0 app on an IIS 6 server. I need to add a feature/page to this site (third party app, don't have source code). I'm creating my tool in VS targeting dotnet 4. For end user convenience I need my tool to be available within the same url namespace as this .net 2.0 app. I assumed I would just create a new virtual directory within this existing app to put my app. But I hadn't thought about the different framework versions.... the web server does have v 4 installed. So can I create my virtual directory and host my v4 tool there, within the v2 website?
anything I should be aware of to make that work?
View 13 Replies
Nov 11, 2010
I am preparing for the interview, I searched a lot on the Internet, but I didnt find anything. what are Content Pages?
View 1 Replies
Mar 14, 2011
I`m building the web app in which I will have couple of different modules, and I want to have an opportunity to assign different modules to each users.
I know that good way of doing it is to use ASP.NET Membership and Roles etc.
But -> In my app I have a very simple Memebrship management -> Administrator is the only person who can create and delete users, and I also want to use my own SQL database to hold user data. So to use ASP.NET Mebership I should write my own Membership and Role Providers.
It is clear, but there is a lot of functions I should ovveride which I will never use. Like the whole stuff with question and answer.
View 3 Replies
Aug 8, 2011
Is this right way to save a cookie across several pages in one web folder?
It does not seem to be working
Code:
Response.Cookies("LoggedIn").Value = 1
Response.Cookies("LoggedIn").Expires = Now.Date.AddHours(1)
What is wrong?
View 2 Replies
Apr 2, 2010
Is it possible to use VS 2008 Pro to edit classic ASP pages/projects? If so, what needs to be done? Is it advisable to use VS 2005 Pro instead?
View 2 Replies
Aug 2, 2011
I am having a very simple intranet site. I took the sample for my project from [URL] ....
I have integrated windows authentication with Role based authorization. There are only 3 .aspx pages and I have a tree view control on the master page. depending on the choices that the user's make on the tree view control the .aspx pages gets displayed.
There are only 2 active directory groups. Sales and Marketing. My network id is not in Sales AD group.So obviously it prompts me to put userid and password and it throws not authorized error when i try to access PortfolioData.aspx page. So far so good.
But I am a member of AD group MARKETING. I should be able open the page Schedules.aspx (please see the config file below). But I still get the Error message 401.2.: Unauthorized: Logon failed due to server configuration.
Code:
<!--
<authorization>
<allow roles="domainADGROUP_SALES"/>
<deny users="*"/>
</authorization>
[Code] .....
View 2 Replies
Sep 29, 2010
I just upgraded to 2010 and converted my VS 2008 ASP.NET web application. There were no conversion errors and everything displays in the Design mode correctly but when I try to View in Browser or debug the site won't display. I just get a blank page untitled page displayed.
View 1 Replies