Click here to Skip to main content
15,921,276 members
Home / Discussions / Database
   

Database

 
GeneralRe: extremely strange ado.net issue Pin
ekynox19-Nov-07 14:08
ekynox19-Nov-07 14:08 
QuestionADO: Encoding problem ? Pin
Gofur Halmurat19-Nov-07 7:50
Gofur Halmurat19-Nov-07 7:50 
QuestionHow to access a variable and foward it down the Data Flow in SSIS 2005 Pin
huertj19-Nov-07 6:15
huertj19-Nov-07 6:15 
QuestionSQL Reporting services 2005 Pin
MSinha19-Nov-07 4:17
MSinha19-Nov-07 4:17 
AnswerRe: SQL Reporting services 2005 Pin
pmarfleet19-Nov-07 5:23
pmarfleet19-Nov-07 5:23 
GeneralRe: SQL Reporting services 2005 Pin
MSinha20-Nov-07 19:40
MSinha20-Nov-07 19:40 
GeneralRe: SQL Reporting services 2005 Pin
pmarfleet20-Nov-07 22:01
pmarfleet20-Nov-07 22:01 
QuestionWindows authentication / ms access connection string Pin
desboss19-Nov-07 3:58
desboss19-Nov-07 3:58 
I have recently mnodified the security arrangements of my ASP.NET application and am now receiving the error

"The Microsoft Jet database engine cannot open the file '\\W91\AvolitesDownload\Databases\2008License.mdb'. It is already opened exclusively by another user, or you need permission to view its data"

I have got my self in a bit of a tangle over this and now can't work out how it used to work!

Application details:
ASP.NET pages(C#)
one SQL Server 2005 database which I can read/write to fully and correctly
one MS Access 2003 database for which I now receive the above error
connection strings for both are stored in the web.config, a sample of which is below:
<code>
<configuration>
<connectionStrings>
<add name="W123_LicensingSourceData" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source W123\Databases\Copy of 2008License.mdb;Persist Security Info=True;" providerName="System.Data.OleDb" />
<add name="LicensingConnectionString" connectionString="Data Source=s321;Initial Catalog=Licensing;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<compilation debug="true"/>
<authentication mode="Windows"/>
<identity impersonate ="true"/>
</system.web>

<location path="Operator">
<system.web>
<authorization>
<allow users="DOMAIN\Reception"/>
<allow roles="SoftwareDeveloper"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="Admin">
<system.web>
<authorization>
<allow users="Reception"/>
<allow roles="SoftwareDeveloper"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="Production">
<system.web>
<authorization>
<allow users="DOMAIN\Production"/>
<allow roles="SoftwareDeveloper"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>
</code>

The windows authentication seems to be the correct way forward, and "Everyone" is allowed full access to the MSAccess database. There is no user name or password needed to open the DB itself. The ASP.NET app discussed above is on a different server to the Access DB. A second ASP.NET which is hosted on the same server as the Access DB has no problem with connecting to it.

Any help for the above much appreciated

Thanks, Des
Questionsql express keyword to identify new row Pin
dandamudi padma18-Nov-07 21:14
dandamudi padma18-Nov-07 21:14 
AnswerRe: sql express keyword to identify new row Pin
pmarfleet18-Nov-07 21:41
pmarfleet18-Nov-07 21:41 
GeneralRe: sql express keyword to identify new row Pin
dandamudi padma18-Nov-07 21:49
dandamudi padma18-Nov-07 21:49 
GeneralRe: sql express keyword to identify new row Pin
pmarfleet18-Nov-07 21:53
pmarfleet18-Nov-07 21:53 
AnswerRe: sql express keyword to identify new row Pin
Pete O'Hanlon18-Nov-07 22:16
mvePete O'Hanlon18-Nov-07 22:16 
Questionsql express Pin
dandamudi padma18-Nov-07 21:14
dandamudi padma18-Nov-07 21:14 
AnswerRe: sql express Pin
Panchal Hardik21-Nov-07 1:15
Panchal Hardik21-Nov-07 1:15 
Questionsql express Pin
dandamudi padma18-Nov-07 20:51
dandamudi padma18-Nov-07 20:51 
AnswerRe: sql express Pin
Giorgi Dalakishvili18-Nov-07 20:56
mentorGiorgi Dalakishvili18-Nov-07 20:56 
Questionoracle query Pin
mahenputta18-Nov-07 20:39
mahenputta18-Nov-07 20:39 
AnswerRe: oracle query Pin
joemonvarghese18-Nov-07 22:46
joemonvarghese18-Nov-07 22:46 
GeneralRe: oracle query Pin
mahenputta18-Nov-07 22:56
mahenputta18-Nov-07 22:56 
GeneralRe: oracle query Pin
joemonvarghese19-Nov-07 1:03
joemonvarghese19-Nov-07 1:03 
Questionconvert varchar to datetime Pin
dandamudi padma18-Nov-07 20:10
dandamudi padma18-Nov-07 20:10 
AnswerRe: convert varchar to datetime Pin
joemonvarghese18-Nov-07 20:16
joemonvarghese18-Nov-07 20:16 
GeneralRe: convert varchar to datetime Pin
dandamudi padma18-Nov-07 20:44
dandamudi padma18-Nov-07 20:44 
AnswerRe: convert varchar to datetime Pin
Krish - KP19-Nov-07 0:55
Krish - KP19-Nov-07 0:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.