Profile Provider Type?

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

What is the profiler provider type when using a Microsoft Access
database?

Thanks,

Miguel
 
re:
What is the profiler provider type when using a Microsoft Access database?

Whatever you define it as.

For the sample Access Provider, it's :

type="Samples.AccessProviders.AccessMembershipProvider, SampleAccessProviders"

Download the Sample ccess Provider and see for yourself:
http://go.microsoft.com/fwlink/?linkid=49646&clcid=0x409

Also, see:
http://www.theserverside.net/tt/articles/showarticle.tss?id=CreatingProfileProvider
and:
http://msdn.microsoft.com/asp.net/d...rary/en-us/dnaspp/html/ASPNETProvMod_Prt1.asp




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
 
Hello Juan,

I downloaded the file and it was installed but I have no idea what to
do now.

I am a little bit confused. So the SQL provider is built in but it is
the only one?

The other question is:
I am only adding one parameter to profile. LanguageOption.
Will I need to use a database?
Can't this be saved in a cookie?

Thanks,
Miguel
 
Reading this thread might help you:
http://forums.asp.net/1/1371141/ShowThread.aspx

Summarized instructions are here:
http://osmoticweb.wordpress.com/2006/08/26/access-membership-provider/

Sorry for referring you to Google, but this is not the type of thing
where detailed explanations can be made in a newsgroup.

You'll have to absorb some background information to do what you want to do, well.

Brief over the info in the first few articles returned by this search:
http://www.google.com/search?hl=en&q="custom+membership+provider"

You'll be glad you did.

re:
I am only adding one parameter to profile. LanguageOption.
Will I need to use a database?
Can't this be saved in a cookie?

You could use a cookie, but why not standardize your user profile ?
I'd add a LanguageOption field to the db.



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
Hello Juan,

I downloaded the file and it was installed but I have no idea what to
do now.

I am a little bit confused. So the SQL provider is built in but it is
the only one?

The other question is:
I am only adding one parameter to profile. LanguageOption.
Will I need to use a database?
Can't this be saved in a cookie?

Thanks,
Miguel
 
Hi Juan,

I donwloaded the SampleAccessProviders and extracted it to a folder.
There is no BIN folder or DLL file.
I tried to build the solution but my VS2005 is giving errors on
converting and building.
Could you please tell me where could I get the necessary compiled files
so that I could place in my project and start using it?
I have been trying to make this work since yesterday.
It seems many people have the same problem.

Thanks,
Miguel
 
re:
There is no BIN folder or DLL file.

After downloading/saving SampleAccessProviders.vsi, when I double-clicked
the file, it created /bin and /obj directories with the following files :

bin\Debug\ASPNetDB.mdb
bin\Debug\SampleAccessProviders.dll
bin\Debug\SampleAccessProviders.pdb

obj\Debug\ResolveAssemblyReference.cache
obj\Debug\SampleAccessProviders.dll
obj\Debug\SampleAccessProviders.pdb

A /samples directory was also created with a bunch of .cs source files and, of course,
in the root directory, the VS 2005 project files and a few other files were created,
including a web.config with sample entries, the solution files, a vs template and a EULA.

Double-clicking the Access.sln file opened the project in VS 2005.

After you make any changes you want, you'll need to recompile the project.

Are you sure you downloaded the correct file ?

You need to go to :
http://msdn.microsoft.com/vstudio/eula.aspx?id=96713a8e-b8d4-4d6e-bb8f-027e6c8e15d8
and accept the EULA ( at the bottom, the "I accept" link ).

Then you can download SampleAccessProviders.vsi

After you've downloaded it, double click the file and
accept the default installation to the directory of your choice.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
Hi Juan,

I donwloaded the SampleAccessProviders and extracted it to a folder.
There is no BIN folder or DLL file.
I tried to build the solution but my VS2005 is giving errors on
converting and building.
Could you please tell me where could I get the necessary compiled files
so that I could place in my project and start using it?
I have been trying to make this work since yesterday.
It seems many people have the same problem.

Thanks,
Miguel
 
Hi Juan,

Thanks. It was my mistake. I was opening this as a web site and not as
a project in VS2005. Now, I just made everything work.

Thanks,
Miguel
 
Back
Top