473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to create DSN using asp.net ?

Hi,
Can anyone tell me how to create a DSN from asp.net..

Thanks
Shibu
Nov 18 '05 #1
6 1894
Hi Shibu,

Are you trying to create a DSN to use with an ASP.NET application? If so,
you'll want to use data connection strings instead. Lots of samples here:

http://www.able-consulting.com/dotne...anagedProvider

"Shibu" wrote:
Hi,
Can anyone tell me how to create a DSN from asp.net..

Thanks
Shibu

Nov 18 '05 #2
Hi Ken,
I have specific requirement to creat DSN in a server from ASP.NET. But
the DSN is going to be used by some other kind of application in a different
technology other than .NET. Is there a way to create DSN using ASP.NET..

Thanks
Shibu

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:E5**********************************@microsof t.com...
Hi Shibu,

Are you trying to create a DSN to use with an ASP.NET application? If so,
you'll want to use data connection strings instead. Lots of samples here:

http://www.able-consulting.com/dotne...anagedProvider
"Shibu" wrote:
Hi,
Can anyone tell me how to create a DSN from asp.net..

Thanks
Shibu

Nov 18 '05 #3
It looks like you'll have to poke around with SQLConfigDataSource in
odbccp32.dll

How To Create ODBC Data Sources Using SqlConfigDataSource

http://support.microsoft.com/default...b;en-us;142216

http://www.tek-tips.com/faqs.cfm?fid=301

The ASP.NET account or its impersonator is going to need wide security
permissions to do this.

"Shibu" wrote:
Hi Ken,
I have specific requirement to creat DSN in a server from ASP.NET. But
the DSN is going to be used by some other kind of application in a different
technology other than .NET. Is there a way to create DSN using ASP.NET..

Thanks
Shibu

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:E5**********************************@microsof t.com...
Hi Shibu,

Are you trying to create a DSN to use with an ASP.NET application? If so,
you'll want to use data connection strings instead. Lots of samples here:

http://www.able-consulting.com/dotne...anagedProvider

"Shibu" wrote:
Hi,
Can anyone tell me how to create a DSN from asp.net..

Thanks
Shibu


Nov 18 '05 #4
I am going to try using SQLConfigDataSource in odbccp32.dll .. As you
said, it might require extra security privileges.
Can you please tell me the type of security permission it might require? Do
I need to give permission to ASPNET user specific to this odbccp32.dll . If
so how can I do it..

Thanks
Shibu

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:A5**********************************@microsof t.com...
It looks like you'll have to poke around with SQLConfigDataSource in
How To Create ODBC Data Sources Using SqlConfigDataSource

http://support.microsoft.com/default...b;en-us;142216

http://www.tek-tips.com/faqs.cfm?fid=301

The ASP.NET account or its impersonator is going to need wide security
permissions to do this.

"Shibu" wrote:
Hi Ken,
I have specific requirement to creat DSN in a server from ASP.NET. But
the DSN is going to be used by some other kind of application in a different
technology other than .NET. Is there a way to create DSN using ASP.NET..

Thanks
Shibu

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:E5**********************************@microsof t.com...
Hi Shibu,

Are you trying to create a DSN to use with an ASP.NET application? If so, you'll want to use data connection strings instead. Lots of samples here:

http://www.able-consulting.com/dotne...anagedProvider

"Shibu" wrote:

> Hi,
> Can anyone tell me how to create a DSN from asp.net..
>
> Thanks
> Shibu
>
>
>


Nov 18 '05 #5
You'll probably want to create a special Windows NT account for that task
and then use impersonation in the ASP.NET page.

This page has info on how to do that and code samples:

http://support.microsoft.com/default...en-us;306158#2

"Shibu" <sh********@yahoo.com> wrote in message
news:OV**************@TK2MSFTNGP10.phx.gbl...
I am going to try using SQLConfigDataSource in odbccp32.dll .. As you
said, it might require extra security privileges.
Can you please tell me the type of security permission it might require?
Do
I need to give permission to ASPNET user specific to this odbccp32.dll .
If
so how can I do it..

Thanks
Shibu

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:A5**********************************@microsof t.com...
It looks like you'll have to poke around with SQLConfigDataSource in
How To Create ODBC Data Sources Using SqlConfigDataSource

http://support.microsoft.com/default...b;en-us;142216

http://www.tek-tips.com/faqs.cfm?fid=301

The ASP.NET account or its impersonator is going to need wide security
permissions to do this.

"Shibu" wrote:
> Hi Ken,
> I have specific requirement to creat DSN in a server from ASP.NET. But
> the DSN is going to be used by some other kind of application in a different > technology other than .NET. Is there a way to create DSN using
> ASP.NET..
>
> Thanks
> Shibu
>
>
>
> "Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in
> message
> news:E5**********************************@microsof t.com...
> > Hi Shibu,
> >
> > Are you trying to create a DSN to use with an ASP.NET application? If so, > > you'll want to use data connection strings instead. Lots of samples here: > >
> >
> http://www.able-consulting.com/dotne...anagedProvider > >
> > "Shibu" wrote:
> >
> > > Hi,
> > > Can anyone tell me how to create a DSN from asp.net..
> > >
> > > Thanks
> > > Shibu
> > >
> > >
> > >
>
>
>



Nov 18 '05 #6
Hi Ken
It worked.. Thanks for your help..

Shibu

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:uO*************@tk2msftngp13.phx.gbl...
You'll probably want to create a special Windows NT account for that task
and then use impersonation in the ASP.NET page.

This page has info on how to do that and code samples:

http://support.microsoft.com/default...en-us;306158#2

"Shibu" <sh********@yahoo.com> wrote in message
news:OV**************@TK2MSFTNGP10.phx.gbl...
I am going to try using SQLConfigDataSource in odbccp32.dll .. As you
said, it might require extra security privileges.
Can you please tell me the type of security permission it might require?
Do
I need to give permission to ASPNET user specific to this odbccp32.dll .
If
so how can I do it..

Thanks
Shibu

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:A5**********************************@microsof t.com...
It looks like you'll have to poke around with SQLConfigDataSource in
How To Create ODBC Data Sources Using SqlConfigDataSource

http://support.microsoft.com/default...b;en-us;142216

http://www.tek-tips.com/faqs.cfm?fid=301

The ASP.NET account or its impersonator is going to need wide security
permissions to do this.

"Shibu" wrote:

> Hi Ken,
> I have specific requirement to creat DSN in a server from ASP.NET. But > the DSN is going to be used by some other kind of application in a

different
> technology other than .NET. Is there a way to create DSN using
> ASP.NET..
>
> Thanks
> Shibu
>
>
>
> "Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in
> message
> news:E5**********************************@microsof t.com...
> > Hi Shibu,
> >
> > Are you trying to create a DSN to use with an ASP.NET application? If
so,
> > you'll want to use data connection strings instead. Lots of samples

here:
> >
> >
>

http://www.able-consulting.com/dotne...anagedProvider > >
> > "Shibu" wrote:
> >
> > > Hi,
> > > Can anyone tell me how to create a DSN from asp.net..
> > >
> > > Thanks
> > > Shibu
> > >
> > >
> > >
>
>
>


Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: anon | last post by:
I have been used to using DAO in the past, and then converted to ADO. Now I am having to use VB.Net(2000) and ADO.NET and am experiencing difficulties with the creation and population of an mdb....
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
6
by: SamIAm | last post by:
Hi am creating a email application that needs to mail out a very large amount of emails. I have created a multithreaded c# application that using message queuing. I have created a threadpool of 5...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
23
by: sandy | last post by:
I need (okay, I want) to make a dynamic array of my class 'Directory', within my class Directory (Can you already smell disaster?) Each Directory can have subdirectories so I thought to put these...
27
by: max | last post by:
Hello, I am a newbye, and I'm trying to write a simple application. I have five tables with three columns; all tables are identical; I need to change some data in the first table and let VB...
10
by: SM | last post by:
Hello I'm trying to create a multi dimensional array in JavaScript, but after some reading i still can't figure out how to apply it to my model. Here it is: I have a list A and for each item...
1
by: MaryamSh | last post by:
Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button...
0
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.