ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

connect to Access data base from ASP.NET

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> .NET Programming (ASP.NET, VB.NET, C#)
View previous topic :: View next topic  
Author Message
mike



Joined: 19 Jul 2005
Posts: 3

PostPosted: Wed Sep 28, 2005 9:43 am    Post subject: connect to Access data base from ASP.NET Reply with quote

hi to all programmers !
I have made a little ASP.NET application.It is hosted on Windows XP PC.
I want to connect to Acces data base situated on Windows 98 PC.
I have installed Framework for NET on it,but I receive a error.
When I move .mdb file on other Windows XP PC everything work fine.
My conclusion is problem is on operation system Win 98.
Can ASP.NET work with (Win 98 based PC as file server) ?

Any suggestion?
Thanks in advance!
Back to top
View user's profile Send private message
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Thu Sep 29, 2005 8:50 pm    Post subject: Reply with quote

Hi Mike,

This is security issue, because you are trying to access resource (in your case MS Access database) over a network. The article below explains how to do this properly by using delegation and impersonation in ASP.NET:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconaspnetdelegation.asp

Let me know if this helps?
_________________
Peter
ASP & ASP.NET Articles and Tutorials
Back to top
View user's profile Send private message
mike



Joined: 19 Jul 2005
Posts: 3

PostPosted: Tue Oct 04, 2005 2:57 am    Post subject: Reply with quote

thanks administrator for advice !
I have read this articles.I found that if mySharedFolder with database.mdb is without password all work fine.
But when MySharedFolde has password I receive error
Could not create Windows user token from the credentials specified in the config file.

in web.config file I have put

<identity impersonate="true" userName="myComputerName\IUSR_myComputerName" password="MyPaswordForSharedFolder" />

How solve this problem?
Thanks to all
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> .NET Programming (ASP.NET, VB.NET, C#) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial