Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7127991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:05:29+00:00 2026-05-28T11:05:29+00:00

It works on my development serve within Visual Studio 2010 but when I deploy

  • 0

It works on my development serve within Visual Studio 2010 but when I deploy the site to a testing environment it returns null. Can one explain? I tried googling it but no one was able to give a definitive answer.

I have a login page that is only a script. A user’s account can only be created by an administrator to the site. The user’s id is retrieved from a value within the http request. Once the login page retrieves this ID it’s used to check the .net membership user table for the user’s account. If the user exits they are authenticated.

I use the base.Getuser(string username, bool isOnline) method to return the MembershipUser object. If it’s not null, authenticate.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T11:05:30+00:00Added an answer on May 28, 2026 at 11:05 am

    After some troubleshooting I was ableot find the problem. No applicationname was entered for the profile and roles provider in the web.config file. So when I published the site the vroot was used as the default application name for the published site.

    Hers’e the article that helped me figure it out.

    Always set the “applicationName” property when configuring ASP.NET 2.0 Membership and other Providers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a report that works perfectly in development previews. But when I deploy
I am having issues debugging locally within Visual Studio 2010 on Server 2008 R2
My new ASP.NET MVC Web Application works on my development workstation, but does not
I have an application that works great on my development workstation but fails when
Is there a good Flex IDE/development env that works on Ubuntu? Where can this
I'm using Twitter's Bootstrap translated to SCSS files. It works in local-development, but when
I run vim with cscope in my C development environment. I start vim within
Everything works as supposed to on the Django development server. In Apache, the django
I have an Asp.Net MVC application that works in the vs.net development web server.
Can someone explain how the ASP.NET Web Development Server work? I don't have IIS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.