Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 4th, 2004, 10:13 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQL Access/ASP.NET data access issue

HI,

I need to connect a SQL Server db with system DSN. This works fine in ASP. However using ASP.NET I get a runtime error "DSN key work not accepted". The code used in webconfig is:

    <sessionState
            mode="InProc"
            stateConnectionString="tcpip=127.0.0.1:42424"
            sqlConnectionString="DSN=realmadrid;"
            cookieless="false"
            timeout="20"
    />

and setting up a system DSN called 'realmadrid'


Any clue?


 
Old July 4th, 2004, 04:29 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default

you mean sessionstate tag benefit
it's for storing sessions ...using sqlServer as state server

Ahmed Ali
Software Developer





Similar Threads
Thread Thread Starter Forum Replies Last Post
access data of excel sheet into sql server in asp KGANESH2006 SQL Server ASP 2 April 20th, 2006 02:33 AM
how to access sql server meta data using asp? method SQL Server 2000 2 March 7th, 2005 08:12 AM
how to insert to data by ASP.Net with Access ngocntm Classic ASP Professional 2 September 29th, 2004 09:58 AM
Designing data access classes in ASP.NET shawnm ASP.NET 1.x and 2.0 Application Design 3 August 4th, 2004 02:37 PM
SQL Access/ASP.NET data access issue saeta57 Classic ASP Databases 1 July 4th, 2004 03:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.