Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Error When Using Mode Provider...


No replies to this topic

#1 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:12.10
  • Spam Patrol

Posted 15 February 2011 - 07:37 AM

i am working on asp.net, using microsoft visual web developper 2010 express. and i was trying to use the provider model. so i installed the SDK so i can use the (aspnet_regsql.exe) tool to setup the database required to use (membership, profile, role,...etc). but the first problem i met is not finding the database in the database explorer, or solution explorer. maybe because i am saving my projects in D: drive not C: drive. and when i searched in c: drive i found the database that is created by the tool aspnet_regsql.exe. therefor, i solved the problem by attaching the database manually from the solution explorer. so, is ehat i did right or wrong?? and if it is then how can i attach te database that it seems only can be created in C: drive??

after that when i tried to set up the profile provider, i edited the web.config file, created a login page and added the required code but i got this error:

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'system' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

[No relevant source lines]


i am struggling with this error for the whole last two weeks, so any help will be appreciated, thanks in advance.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users